@font-face {
    font-family: jost-regular;
    src: url(/data/font/Jost/static/Jost-Regular.ttf);
}

@keyframes fadeUp {
  from {opacity: 0; transform:translateY(20px);}
  to {opacity: 1; transform:translateY(0px);}
}

@keyframes appearing_from_above {
    from {opacity: 0; transform:translateY(-10vh)}
    to {opacity: 1; transform:translateY(0vh)}
}

@keyframes disappearing_from_above {
    from {opacity: 1; transform:translateY(0vh)}
    to {opacity: 0; transform:translateY(-10vh)}
}

:root {
    --distance-sections: 50px;
    --logo-h: clamp(60px, 16vw, 100px);
    --audio-btn-transition-time: 0.4; 
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    container-type: scroll-state;
    scroll-behavior:smooth;
    scroll-padding-top: 25vh;
}

a {
    font-family: "Bodoni Moda", serif;
    font-size: clamp(0.8rem, 2vw, 2.5rem);
    text-decoration:none;
    width: fit-content;

    &:visited, &:link {
        color: black;
    }
}

a.button{
    letter-spacing: .03em;

    padding: 14px 28px;
    border-radius: 30px;

    display: inline-flex;
    align-items: center;
    text-align: center;
    width: fit-content;
    min-height: 44px;
    transition: background .18s ease, transform .18s ease;

    color: whitesmoke;
    background-color: #a95353;
    text-decoration: none;
}

a.button:hover{
    background-color: #7f3f3f;
    transform: translateY(-1px);
}

body.non_latin_font a:not(.no-font) {
    font-family: "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK SC", sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 2.0rem);
}

h1 {
    font-family: "Bodoni Moda", serif;
    font-weight: normal;
    font-size: clamp(1.6rem, calc(1.114rem + 2.429vw), 5rem);
}

body.non_latin_font h1 {
    font-family: "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK SC", sans-serif;
    font-size: clamp(1.2rem, calc(0.8rem + 2vw), 4rem);
}

h2 {
    font-family: "Bodoni Moda", serif;
    font-weight: normal;
    font-size: clamp(1.6rem, calc(1.114rem + 2.429vw), 5rem);
}

body.non_latin_font h2 {
    font-family: "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK SC", sans-serif;
    font-size: clamp(1.2rem, calc(0.8rem + 2vw), 4rem);
}

p {
    font-size: clamp(0.9rem, calc(0.814rem + 0.429vw), 1.5rem);
    font-family: "Bodoni Moda", serif;
    line-height: 1.6;
}

/* Animazioni scroll */
.fade{
    opacity: 0;
    transition: opacity .8s ease-in;
    will-change: opacity;
}

.fade.active {
    opacity: 1;
}

.fade-left,
.fade-right {
    opacity: 0;
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
    will-change: transform, opacity;
}

.fade-left {
    transform: translateX(-35px);
}

.fade-right {
    transform: translateX(35px);
}

.fade-left.active,
.fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Bar Section */
.header {
    height:15vh;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    background-color: transparent;

    position: sticky;
    top: 0;
    z-index: 50;

    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolling {
    background-color: #E9DCC9;
}

.header > img {
    display: none;
    height: 100%;
    width: auto;
}

.header.scrolling > img#logo_black{
    display: block;
}

.navigation_menu {
    display: flex;
    flex-direction: row;
    align-items: center;

    column-gap: clamp(10px, 5vw, 30px);
    height: 100%;
}

.navigation_menu > a {
    color: white;
    font-weight: bold;
    padding:5px;
    &:hover{
        transform: scale(1.1);
    }
}

.header.scrolling > .navigation_menu > a{
    color:  #1d1a17;
}

.navigation_menu > button {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    border: none;
    background-color: transparent;
    color: white;

    font-weight: bold;
    text-transform: uppercase;

    cursor: pointer;
    font-size: 1.5rem;

    margin-left: 5px;

    &:hover{
        scale:1.2;
    }
}

.header.scrolling button{
    color:  #1d1a17;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color:  white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header.scrolling span{
    background-color: #1d1a17;
}

/* Languages Grid */
.languages_grid {
    display: flex;
    flex-direction: column;
    row-gap: 10px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    z-index: 9999;

    text-align: center;
    align-content: center;
    position: fixed;

    padding: 10px;
    width: auto;
    max-width: 92vw;
    height: fit-content;

    border-radius: 25px;
    background-color: #E9DCC9;
}

.languages_grid h1 {
    cursor: default;
}

.language_title{
    display: flex;
    flex-direction: row;
    padding: 10px;

    justify-content: space-between;
    align-items: center;
    height: fit-content;
    width: auto;
}

#cross_language{
    height: fit-content;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

#cross_language > span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

#cross_language > span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 1px)
}

#cross_language > span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -1px)
}

.list_languages {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 16px;
    width: auto;
}

.list_languages > a {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    
    text-align: center;

    padding: 14px 24px;
    background-color: #d2b17f;
    color: #1d1a17;
    border: 3px solid #d2b17f ;
    border-radius: 20px;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.2rem, 4vw, 2rem);

    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.list_languages > a:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.55);
}

body.non_latin_font .list_languages > a{
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
} 

/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.7)
    );

    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Up Button */
#up_button {
    display: none;
    position: fixed;
    bottom: clamp(1rem, calc(0.143rem + 4.286vw), 7rem);
    right: 2%;
    z-index: 100;

    background: url(/data/img/icons/arrow_up.webp);
    background-color: rgb(255 255 255 / 75%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    width: clamp(3rem, calc(2.571rem + 2.143vw), 6rem);
    height: clamp(3rem, calc(2.571rem + 2.143vw), 6rem);
    border-radius: 50%;
    border: none;
    cursor: pointer;

    &:hover {
        transform: scale(1.1);
    }
}

#up_button.displayed {
    display: block;
}

/* Volume Button */

#mute_button {
    display: block;
    position: fixed;
    bottom: clamp(1rem, calc(0.143rem + 4.286vw), 7rem);
    right: 2%;
    z-index: 100;

    width: clamp(3rem, calc(2.571rem + 2.143vw), 6rem);
    height: clamp(3rem, calc(2.571rem + 2.143vw), 6rem);

    border: none;
    border-radius: 50%;
    cursor: pointer;

    background-color: rgb(255 255 255 / 75%);
    background-image: url("/data/img/icons/audio_on.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: transform 0.2s ease, background-color 0.2s ease;

    &:hover {
        transform: scale(1.1);
    }
}

#mute_button.scrolling{
    bottom: clamp(6rem, calc(4.857rem + 5.714vw), 14rem);
    transition: bottom calc(var(--audio-btn-transition-time) * 1s) ease;
}

#mute_button.transition{
    bottom: clamp(1rem, calc(0.143rem + 4.286vw), 7rem);
    transition: bottom calc(var(--audio-btn-transition-time)/2 * 1s) ease;
}

/* Hero Section */
.hero {
    margin-top: calc(-1 * var(--header-height, 15vh));
    height: 100vh;
    min-height: 480px;
    display: flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.hero_poster,
.hero_video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter: brightness(75%);
}

.hero_poster { 
    z-index: 0;
}

.hero_video  { 
    z-index: 1; 
}

.hero_title {
    position: absolute;
    z-index: 2;
    display: flex;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: auto;
    align-items: flex-end;
}

.hero_title > img {
    width: clamp(120px, 20vw, 220px);
    height: auto;
    animation: fadeUp;
    animation-duration: 1s;
}

/* Prenota Ora Section */
.booking_section{
    padding: 40px;
    margin-bottom: var(--distance-sections);

    height: fit-content;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 26px;

    background-color: #211A15;
    position: relative;
}

.booking_section > h1{
    color: whitesmoke;
    animation-name: fadeUp;
    animation-duration: 0.2s;
}

.booking_section > a{
    min-width: 0;

    text-align: center;

    padding: 14px 34px;
    background-color: #d2b17f;
    color: #1d1a17;
    border: 3px solid #d2b17f ;
    border-radius: 14px;

    font-size: clamp(1rem, 2.5vw, 1.4rem);

    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.booking_section > a:hover {
    transform: translateY(-1px);
    background-color: #b8955f;
    border-color: #b8955f;
}

.booking_section > a.wa{
    margin-top: -6px;
    padding: 0;
    background-color: transparent;
    border: none;
    color: #d2b17f;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.booking_section > a.wa:hover {
    transform: none;
    background-color: transparent;
    color: #e6cfa6;
}


/* Chi Siamo Section */
.about_us {
    padding: 40px;
    margin-bottom: var(--distance-sections);

    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(20px, 6vw, 15%);
    row-gap: 4vh;

    background-color: white;
    position: relative;
}


.au_description {
    display: flex;
    flex-direction: column;
    justify-content: center;

    row-gap: 20px;
    flex: 1 1 300px;
}

.au_description span{
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-style: oblique;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.au_imgs {
    flex: 1 1 auto;
    max-width: clamp(30rem, 27rem + 8vw, 42rem);
    display: flex;
    align-items: center;
    height: fit-content;
}

.au_imgs > img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Il Nostro Ristorante */
.restaurant {
    padding: 40px;

    height: fit-content;

    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(20px, 6vw, 15%);
    row-gap: 4vh;

    background-color: #EDEADE;

    position: relative;
}

.re_description {
    display: flex;
    flex-direction: column;
    justify-content: center;

    row-gap: 40px;
    flex: 1 1 320px;
}

.re_imgs {
    display: flex;
    align-items: center;
    flex: 1 1 300px;
}

.re_imgs > img {
    height: auto;
    width: 100%;
    border-radius: 6px;
}

/* Street Food */
.street_food {
    padding: 60px;
    margin-bottom: var(--distance-sections);

    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(20px, 6vw, 15%);
    row-gap: 4vh;

    background-color: #1d1a17;
    position: relative;
}

.sf_description {
    display: flex;
    flex-direction: column;
    justify-content: center;

    row-gap: 40px;
    flex: 1 1 280px;
}

.sf_description h2,
.sf_description p,
.sf_description a {
    color: white;
}

.sf_description a.button{
    background-color: #cb5757;

    &:hover{
        background-color: #903d3d;
    }
}

.sf_logo {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf_logo > img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Le Nostre Esperienze Section */
.experiences_cl {
    padding: 40px;
    margin-bottom: var(--distance-sections);

    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: white;
    position: relative;
}

.exp_description {
    display: flex;
    flex-direction: column;
    justify-content: center;

    row-gap: 40px;
    flex: 1 1 320px;
}

.exp_scroll_wrapper {
    width: 100%;
    position: relative;
    flex: 1 1 320px;
}

.swiper-slide {
    width: 60%;
    max-width: 380px;
}

.exp_scroll img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 6px;
}

/* Pale Shop Section */
.pale_shop {
    padding: 40px;
    height: fit-content;

    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(20px, 6vw, 15%);
    row-gap: 4vh;

    background-color: #EDEADE;
    position: relative;
}

.ps_description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 320px;
    row-gap: 40px;
}

.ps_imgs {
    display: flex;
    align-items: center;
    flex: 1 1 300px;

    > img {
        height: auto;
        width: 100%;
        border-radius: 6px;
    }
}

/* Footer Section */
.footer {
    padding: 5px 20px 5px 20px;
    height: fit-content;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #E9DCC9;
    position: relative;
}

.footer > img {
    height: 15vh;
    width: auto;
}

.informations {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 20px;
    align-items: center;
    width: 100%;
}

.general_info {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    height: fit-content;

    a {
        font-family: jost-regular;
        font-size: large;

        &:visited, &:link {
            color: black;
        }
    }

    img {
        width: 8%;
        height: auto;
    }
}

.where {
    display: flex;
    align-items: center;
    column-gap: 5%;
}

.cell {
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 5%;
}

.mail {
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 5%;
}

.social_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    height: 100%;

    img {
        width: clamp(28px, 8vw, 40px);
        height: auto;
        &:hover{
            transform: scale(1.1);
        }
    }

    a {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 44px;
        min-height: 44px;
    }
}

hr.solid {
  border-top: 3px solid black;
  width: 100%;
}

.bottom-bar{
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    flex-direction: column;
    gap:12px;
    font-size: 12.5px;
}

.bottom-bar > span{
    font-family: jost-regular;
}


/* Mobile */
@media screen and (max-width: 1023px) {
    .header {
        height: auto;
        min-height: 60px;
        padding: 10px 16px;

        > img {
            width: auto;
            height: var(--logo-h);
        }
    }

    .header > img#logo_white{
        display: block;
    }

    .header > img#logo_black{
        display: none;
    }

    .header.scrolling > img#logo_white{
        display: none;
    }

    .header.scrolling > img#logo_black{
        display: block;
    }

    .navigation_menu {
        position: absolute;
        top: 50px;
        padding-top: calc(var(--logo-h) - 30px + clamp(12px, 3vw, 24px));
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        display: none;
        z-index: -1;
    }

    .navigation_menu.active {
        display: flex;
        animation-name: appearing_from_above;
        animation-duration: 700ms;
        background-color: #E9DCC9;
        &>a{
            color:  #1d1a17;
        }
    }

    .navigation_menu > a {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        padding: 8px 0;
        margin-bottom: 22px;
    }

    body.non_latin_font .navigation_menu > a:not(.no-font) {
        font-size: clamp(1rem, 4vw, 1.35rem);
    }
    
    .navigation_menu > button{
        color:  #1d1a17;
    }

    .languages_grid {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        width: 90vw;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span{
        background-color: #1d1a17;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .header:has(.hamburger.active) {
        background-color: #E9DCC9;
    }

    .header:has(.hamburger.active) > img#logo_white {
        display: none;
    }

    .header:has(.hamburger.active) > img#logo_black {
        display: block;
    }

    body:has(.hamburger.active) #up_button {
        display: none;
    }


    .hero_title > img{
        display:none;
    }

    .about_us,
    .restaurant,
    .street_food,
    .pale_shop,
    .experiences_cl {
        flex-direction: column;
        height: auto;
        overflow-x: clip;
    }

    .au_description,
    .re_description,
    .sf_description,
    .ps_description,
    .exp_description {
        flex-basis: auto;
        width: 100%;
    }

    .exp_scroll_wrapper{
        flex: 0 0 auto;
        height: fit-content;
    }

    .swiper-slide {
        width: 78%; 
    }

    .footer > img {
        height: auto;
        width: 40%;
        max-width: 160px;
    }

    .bottom-bar {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {

    body.non_latin_font h1 {
        font-size: 1.6rem;
    }

    body.non_latin_font h2 {
        font-size: 1.6rem;
    }

    a.button {
        padding: 12px 22px;
        font-size: 1rem;
    }

    .list_languages > a {
        padding: 12px 16px;
    }

    .about_us,
    .restaurant,
    .street_food,
    .pale_shop,
    .experiences_cl {
        padding: 20px 16px;
        row-gap: 3vh;
    }

    .swiper-slide {
        width: 88%;
        max-width: none;
    }

    .sf_logo > img {
        max-width: 220px;
    }

    .general_info img {
        width: clamp(16px, 5vw, 22px);
    }

    .social_info img {
        width: clamp(24px, 9vw, 32px);
    }
}

/* Mobile language grid */
@media screen and (max-width: 425px) {
    .list_languages {
        grid-template-columns: auto;
    }

    .list_languages > a , body.non_latin_font .list_languages > a{
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
}

/* Tablet language grid */
@media screen and (width: 768px) {
    .languages_grid  a{
        font-size: 3rem;
    }
}

/* Landscape mode */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .header {
        --logo-h: min(18vh, 70px);
        height: fit-content;
        min-height: 0;
    }

    .header > img {
        width: auto;
        height: var(--logo-h);
    }

    .hero {
        min-height: 100vh;
    }

    .navigation_menu {
        padding-top: calc(var(--logo-h) - 30px + 12px);
        padding-bottom: 16px;
    }

    .navigation_menu.active {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        column-gap: 28px;
        row-gap: 0;

        max-height: calc(100vh - 50px);
        overflow-y: auto;
    }

    .navigation_menu > a {
        font-size: clamp(1rem, 2.6vw, 1.2rem);
        padding: 10px 6px;
        margin-bottom: 0;
    }

    body.non_latin_font .navigation_menu > a:not(.no-font) {
        font-size: clamp(0.95rem, 2.4vw, 1.1rem);
    }

    #up_button {
        width: clamp(1.5rem, calc(0.786rem + 3.571vw), 2.5rem);
        height: clamp(1.5rem, calc(0.786rem + 3.571vw), 2.5rem);
    }

    #mute_button {
        width: clamp(1.5rem, calc(0.786rem + 3.571vw), 2.5rem);
        height: clamp(1.5rem, calc(0.786rem + 3.571vw), 2.5rem);
    }

    #mute_button.scrolling {
        bottom: clamp(5rem, calc(4.857rem + 0.714vw), 6rem);
    }
}

/* 4k and beyond support */
@media screen and (min-width: 2560px) {

    :root {
        --distance-sections: 100px;
    }

    html {
        scroll-padding-top: 20vh;
    }

    a { font-size: 2.6rem; }
    body.non_latin_font a:not(.no-font) { font-size: 2.4rem; }

    a.button {
        font-size: 2.4rem;
        padding: 28px 56px;
        border-radius: 60px;
        min-height: 88px;
    }

    .navigation_menu {
        column-gap: 80px;
    }

    .navigation_menu > button {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .hero_title {
        bottom: 80px;
    }

    .hero_title > img {
        width: 440px;
    }

    .about_us,
    .restaurant,
    .pale_shop,
    .experiences_cl {
        padding: 80px;
    }

    .au_description span{
        font-family:Georgia, 'Times New Roman', Times, serif;
        font-style: oblique;
        font-size: clamp(1.5rem, 100vw, 2rem);
    }

    .street_food {
        padding: 120px;
    }

    .au_description { row-gap: 40px; }

    .re_description,
    .sf_description,
    .ps_description,
    .exp_description {
        row-gap: 80px;
    }

    .experiences_cl {
        gap: 80px;
    }

    .swiper-slide {
        width: 88%;
        max-width: 520px;
    }

    .sf_logo > img {
        max-width: 640px;
    }

    .footer {
        padding: 10px 60px;
    }

    .general_info {
        row-gap: 20px;

        a { font-size: 2.6rem; }
        img { width: 64px; }
    }

    .social_info {
        margin-top: 3vh;
        column-gap: 40px;

        img { width: 80px; }
        a {
            min-width: 100px;
            min-height: 100px;
        }
    }

    hr.solid {
        border-top-width: 6px;
    }

    .bottom-bar {
        font-size: 2rem;
        gap: 24px;
        padding-top: 48px;
    }

    .languages_grid {
        padding: 40px;
        border-radius: 50px;
        row-gap: 20px;
    }

    .list_languages {
        gap: 40px;
    }

    #cross_language {
        gap: 10px;
        padding: 20px;
    }

    #cross_language > span {
        width: 50px;
        height: 6px;
    }

    #cross_language > span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 2px);
    }

    #cross_language > span:nth-child(2) {
        transform: rotate(-45deg) translate(10px, -2px);
    }
}