@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Frank+Ruhl+Libre:wght@300&family=Lora&family=Martel:wght@200&family=Montserrat:wght@300;400;700&family=Noto+Serif+JP:wght@200&family=Noto+Serif+TC:wght@200&family=Playfair+Display:ital@0;1&family=Prata&family=Vollkorn:ital@1&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html{
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

body{
    min-height: 100vh;
    overflow-x: hidden;
}

header{
    position: absolute;
    height: fit-content;
    width: 100%;
    padding: 46px 5% 50px 5%;
    z-index: 1;
}

.navbar_computer{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    height: 40px;
    margin-right: auto;
}

.logo img{
    height: 100%;
    width: auto;
}

.menu{
    list-style: none;
}

.menu li{
    display: inline;
    float: left;
}

.menu li a{
    padding: 6px 16px;
    margin: 0 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
}
.menu li a:hover{
    transition: background-color .5s ease;
    background-color: #b21005;
    color: #fff;
}
.menu li a.active{
    background-color: #b21005;
    color: #fff;
}

.navbar-list i{
    transition: 0.3s;
}
.navbar-list i.open{
    transform: rotate(-180deg);
}

.navbar-list .list {
    position: absolute;
    width: fit-content;
    height: 0;
    margin-top: 20px;
    padding: 0 10px 0 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    transition: height 0.2s ease;
    overflow: hidden;
    z-index: -1;
}
.navbar-list .list.open{
    height: 136px;
    padding: 12px 10px 12px 10px;
    animation: discoverlist 0.2s linear forwards;
}
.navbar-list .list.open::before{
    position: absolute;
    content: '';
    top: -32px;
    left: 35px;
    border: 16px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.about-us-list .list.open{
    height: 97px;
    padding: 12px 10px 12px 10px;
    animation: discoverlist 0.2s linear forwards;
}

@keyframes discoverlist{
    80%{
        overflow: visible;
    }
    100%{
        overflow: visible;
    }
}

.navbar-list .list li{
    display: block;
    float: none;
    width: 100%;
    margin:0 0 5px 0;
}

.navbar-list .list li a{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    text-shadow: 0 0 5px #000;
}

.navbar-list .list li.download a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-menu {
    position: relative;
    width: 31px;
    height: 31px;
    margin-left: 26px;
}

.option-selected{
    width: auto;
    height: 100%;
    float: right;
    cursor: pointer;
}
.option-selected:hover {
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.5);
}

.language-options {
    list-style: none;
    position: absolute;
    width: 31px;
    height: 0px;
    right: 0;
    margin: 51px 0px;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    transition: height 0.2s ease;
    gap: 8px;
}
.language-options.open{
    height: 100px;
}

.language-options li {
    width: 100%;
    height: 31px;
    cursor: pointer;
}

.language-options .italian-flag {
    background-image: url(images/italy-flag-icon.png);
    background-size: cover;
}
.language-options .italian-flag.active {
    opacity: 0.5;
}

.language-options .english-flag {
    background-image: url(images/uk-flag-icon.png);
    background-size: cover;
}
.language-options .english-flag.active {
    opacity: 0.5;
}

.navbar_smartphone{
    display: none;
}

.hero{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(images/IMG_3222\ 2-03.webp);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}
.hero::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

.hero__text{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero__text h1 {
    display: block;
    position: relative;
    width: fit-content;
    font-size: 6rem;
    color: white;
    text-align: center;
    animation: textzoom 1s ease-out;
}

@keyframes textzoom{
    from{
        font-size: 5.5rem;
        color: #ffffff50;
    }
}

.hero__text h2 {
    display: block;
    position: relative;
    width: 0;
    font-size: 2.5rem;
    color: white;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s ease-out forwards;
    animation-delay: 1.2s;
}

.hero__text .h2_smartphone {
    font-size: 0;
}

@keyframes typing{
    100%{
        width: 100%;
    }
}

.container{
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: #28282B;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card{
    position: relative;
    height: fit-content;
    margin: 130px 6%;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.card__content{
    width: 100%;
    padding: 50px 40px;
    text-align: left;
    transition: 0.5s;
}
.card__content h3{
    color: #fff;
    font-size: 4rem;
}
.card__content p{
    color: #fff;
    text-align: justify;
}

.explorebtn{
    position: relative;
    display: block;
    width: fit-content;
    height: fit-content;
    margin-top: 15px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #b21005;
    z-index: 1;
    overflow: hidden;
    transition: background-color 0s linear .2s;
}
.explorebtn:hover,
.explorebtn:focus{
    transition: background-color 0s linear .3s;
    background-color: transparent;
}
.explorebtn::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-color: #fff;
    transition: clip-path .5s ease-in-out;
    clip-path: circle(0% at 50% 50%);
}
.explorebtn:hover::before,
.explorebtn:focus::before{
    clip-path: circle(100% at 50% 50%);
}

.explorebtn a{
    display: block;
    height: 100%;
    width: 100%;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    transition: color .1s ease .3s;
}

.explorebtn:hover a,
.explorebtn:focus a{
    color: #28282B;
    transition: color ease .1s;
}

.card__news-section{
    display: grid;
    padding: 50px 30px 10px 30px;
    height: fit-content;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 80px;
}

.card__news-section .news{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: fit-content;
}

.card__news-section .news .news-image{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
}
.card__news-section .news .news-image.show{
    animation: changeopacity 1s ease forwards;
}

.card__news-section .news .image{
    height: 300px;
    width: 100%;
    max-width: 300px;
    background-image: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.card__news-section .news p{
    margin: 35px 0 15px 0;
    height: auto;
    max-width: 300px;
}

.card__news-section .btn{
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}


.grid-container{
    display: grid;
    padding: 0px 40px;
    margin: 0 6% 60px 6%;
    gap: 130px 100px;
    grid-template-rows: 450px 450px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.text h3{
    color: #fff;
    font-size: 4rem;
}
.text p{
    color: #fff;
    text-align: justify;
}

.works__text{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}

.works__image{
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;

    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    
    cursor: pointer;
    transition: transform 0.4s ease;
}
.works__image:hover{
    transform: translateY(-15px);
}

.works__image a{
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
    text-decoration: none;
}

.works__image h3{
    position: absolute;
    right: 0;
    display: block;
    margin: 15px 25px;
    color: #fff;
    font-size: 1.7rem;
    text-shadow: 0 0 10px #000;
    text-align: right;
}

.works__image1{
    background-image: url(images/organo-nuovo.webp);
    background-position: center;
    background-size: cover;
    opacity: 0;
    padding: 0;
}
.works__image1.show{
    animation: discoverimage 1.5s ease forwards, changeopacity 2s ease forwards;
}

@keyframes changeopacity{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes discoverimage{
    0%{
        width: 90%;
        height: 90%;
    }
    100%{
        width: 100%;
        height: 100%;
    }
}

.works__image2{
    background-image: url(images/OrganoLeffeResize2.webp);
    background-position: center;
    background-size: cover;
    opacity: 0;
    padding: 0;
}
.works__image2.show{
    animation: discoverimage 1.5s ease forwards .4s, changeopacity 2s ease forwards .4s;
}

.sound__image{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sound__image a{
    position: relative;
    height: 100%;
    width: 100%;

    background-image: url(images/copertinaSuono.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.4s ease;
}
.sound__image a:hover{
    transform: translateY(-15px);
}
.sound__image a.show{
    animation: discoverimage 1.5s ease forwards, changeopacity 2s ease forwards;
}

.sound__image h3{
    position: absolute;
    right: 0;
    display: block;
    margin: 15px 25px;
    color: #fff;
    font-size: 1.7rem;
    text-shadow: 0 0 10px #000;
    text-align: right;
}

.sound__text{
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
}


footer{
    background: #151515;
    padding: 20px;
    text-align: center;
    margin-top: 130px;
}

footer p{
    color: #fff;
}

@media (max-width: 1390px){

    .card__news-section{
        padding: 50px 0 10px 0;
    }

}

@media (min-width: 1280px){

    .works__image h3{
        font-size: 2rem;
    }

    .sound__image h3{
        font-size: 2rem;
    }

}

@media (max-width: 1100px){

    .menu li a{
        margin: 0 5px;
    }

    .language-menu{
        margin-left: 21px;
    }

    .works-list .list.open::before{
        left: 30px;
    }

    .card__news-section{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card__news-section .news3{
        display: none;
    }

    .card__news-section .btn3{
        display: none;
    }
}

@media (max-width: 1050px){

    .menu li a{
        margin: 0 3px;
    }

    .language-menu{
        margin-left: 12px;
    }

    .navbar-list .list.open::before{
        left: 30px;
    }
}

@media (max-width: 991px){

    header{
        padding-top: 30px;
    }

    .navbar_computer{
        display: none;
    }

    .navbar_smartphone{
        display: flex;
        width: 100%;
        height: fit-content;
        justify-content: space-between;
        align-items: center;
    }

    .togglebtn{
        display: flex;
        color: #fff;
        cursor: pointer;
        font-size: 35px;
        width: 31px;
        justify-content: center;
    }
    
    .dropdown_menu{
        position: absolute;
        right: 5%;
        top: 94px;
        width: 300px;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 10px;
        transition: max-height 0.2s ease;
    }
    .dropdown_menu.open{
        height: fit-content;
        max-height: 517px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown_menu ul{
        position: relative;
        display: block;
        width: 100%;
        list-style: none;
    }

    .dropdown_menu ul li.dropdown_navbar{
        padding: 0;
    }

    .dropdown_menu ul li.dropdown_navbar label{
        padding: 8px 20px;
    }
    .dropdown_menu ul li.dropdown_navbar label.active{
        background-color: #b21005;
    }

    .dropdown_menu ul li.dropdown_navbar ul li{
        padding: 8px 50px;
    }

    .dropdown_menu li ul.dropdown_list{
        height: 0;
        overflow: hidden;
        transition: height 0.2s ease;
    }
    .dropdown_menu li ul.dropdown_list.open{
        height: 138px;
    }

    .dropdown_menu .dropdown_about_us ul.dropdown_list.open{
        height: 92px;
    }

    .dropdown_menu ul li{
        padding: 8px 20px;
        line-height: 40px;
        color: white;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .dropdown_menu ul li.active{
        background-color: #b21005;
    }

    .dropdown_menu ul li label{
        color: white;
        font-size: 18px;
        display: block;
        cursor: pointer;
    }

    .dropdown_menu ul li a{
        color: white;
        text-decoration: none;
        font-size: 18px;
        display: block;
        text-shadow: 0 0 5px #000;
    }

    .dropdown_menu ul ul{
        position: static;
    }

    .dropdown_menu ul ul li{
        line-height: 30px;
        padding-left: 30px;
        border-bottom: none;
    }

    .dropdown_menu ul ul li.download a{
        display: flex;
        align-items: center;
    }

    .dropdown_menu ul ul li.download a i{
        padding: 0;
        margin-top: 0;
        margin-left: 20px;
        font-size: 17px;
        float: auto;
    }

    .dropdown_menu ul ul li a{
        font-size: 17px;
    }

    .dropdown_menu ul li i{
        padding: 0 10px;
        margin-top: 10px;
        font-size: 20px;
        float: right;
        transition: 0.3s;
    }

    .dropdown_menu ul li i.rotate{
        transform: rotate(-180deg);
    }

    .logo{
        height: 35px;
        margin: auto;
    }

    .language-menu{
        margin-left: 0;
        height: 35px;
        width: 35px;
        gap: 10px;
    }

    .language-options{
        margin-top: 61px;
        width: 35px;
    }

    .language-options li{
        height: 35px;
    }

    .hero__text{
        height: 100svh;
    }

    .hero__text h1 {
        font-size: 4rem;
    }

    @keyframes textzoom{
        from{
            font-size: 3.5rem;
            color: #ffffff50;
        }
    }

    .hero__text h2 {
        font-size: 1.8rem;
    }

    .card__news-section{
        padding: 50px 20px 10px 20px;
        gap: 0 60px;
    }

    .grid-container{
        grid-template-rows: auto 400px auto 400px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 60px;
    }

    .works__text{
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
        padding-bottom: 60px;
    }

    .works__image1{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .works__image2{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .sound__text{
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 3;
        grid-row-end: 4;
        padding: 130px 0 60px 0;
    }

    .sound__image{
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 4;
        grid-row-end: 5;
    }

    .sound__image a{
        max-width: 46%;
    }
}

@media (max-width: 767px), (max-height: 370px){

    header{
        padding-top: 25px;
    }

    .dropdown_menu{
        transform-origin: 0 100%;
        left: 0%;
        top: 84px;
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        overflow: hidden;
        transition: transform .3s ease;
        transform: scaleY(0);
    }
    .dropdown_menu.open{
        max-height: 100dvh;
        height: 100dvh;
        transform: scaleY(1);
    }

    .dropdown_menu ul {
        display: flex;
        flex-direction: column;
        height: calc(100dvh - 84px);
    }

    .dropdown_menu ul li {
        flex-basis: 14%;
        overflow: hidden;
        transition: none;
    }

    .dropdown_menu ul li.open {
        flex-basis: 44%;
    }

    .dropdown_menu ul .dropdown_about_us.open {
        flex-basis: 35.5%;
    }

    .dropdown_menu ul li a{
        display: flex;
        align-items: center;
        height: 100%;
    }

    .dropdown_menu ul li label{
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .dropdown_menu ul li label i{
        margin-top: 0;
    }

    .dropdown_menu ul li label i{
        margin-top: 0;
    }

    .dropdown_menu ul li.open label{
        height: 30%;
    }

    .dropdown_menu ul .dropdown_about_us.open label{
        height: 40%;
    }

    .dropdown_menu ul li.open ul.dropdown_list.open{
        height: 70%;
    }

    .dropdown_menu ul .dropdown_about_us.open ul.dropdown_list.open{
        height: 60%;
    }

    .dropdown_menu ul li.open ul.dropdown_list.open li{
        height: 33.3%;
    }

    .dropdown_menu ul .dropdown_about_us.open ul.dropdown_list.open li{
        height: 50%;
    }

    .logo{
        height: 28px;
        margin: auto;
    }

    .hero__text h1 {
        font-size: 3em;
        padding: 0 15px;
    }

    @keyframes textzoom{
        from{
            font-size: 2.5rem;
            color: #ffffff50;
        }
    }

    .hero__text h2 {
        font-size: 1.4rem;
    }

    .card{
        height: auto;
        margin: 75px 6% 75px 6%;
    }

    .card__content h3{
        font-size: 2.5rem;
    }

    .card__news-section{
        width: 100%;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding-top: 65px;
        padding-left: 0;
        padding-right: 0;
    }

    .card__news-section .news1{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .card__news-section .btn1{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
        margin-top: 0;
    }

    .card__news-section .news2{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 3;
        grid-row-end: 4;
        margin-top: 65px;
    }

    .card__news-section .btn2{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 4;
        grid-row-end: 5;
    }

    .card__news-section .news .image{
        max-width: 400px;
    }

    .card__news-section .news p{
        margin-top: 30px;
        margin-bottom: 0;
        max-width: none;
    }

    .grid-container{
        display: none;
    }

    footer{
        margin-top: 75px;
    }
    
}

@media (max-width: 520px) {

    .hero__text h1 {
        font-size: 2.1rem;
    }

    @keyframes textzoom{
        from{
            font-size: 1.8rem;
            color: #ffffff50;
        }
    }

    .hero__text h2 {
        font-size: 0;
    }

    .hero__text .h2_smartphone {
        padding: 0 20px;
        font-size: 1.2rem;
        white-space: normal;
        animation: changeopacity 1.5s ease backwards 1.2s, typing 0s ease-out forwards;
    }

}

@media (max-height: 370px) {

    .dropdown_menu li a{
        font-size: 1rem;
    }

}



