@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: relative;
    height: fit-content;
    width: 100%;
    padding: 46px 5% 50px 5%;
    z-index: 1;
}

.navbar_computer{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: flex-end;
    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(25px);
    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;
}

body{
    background-color: #28282B;
}

h1{
    position: relative;
    margin: 30px 6% 4px 6%;
    text-align: center;
    font-size: 3.1rem;
    color: #fff;
}

.location{
    margin-bottom: 80px;
    text-align: center;
    font-size: 1.7rem;
    color: #fff;
    opacity: 0.7;
    font-style: italic;
}

.gallery{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    height: 500px;
    padding-left: calc(6% + 40px);
    padding-right: calc(6% + 40px);
    margin: auto;
}

.gallery.single{
    padding : 0px calc(15% + 40px) 0px calc(15% + 40px);
    height : "520px";
}

.gallery.double{
    padding : 0px calc(10% + 40px) 0px calc(10% + 40px);
}

.gallery a{
    text-decoration: none;
}

.gallery .cover{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    flex-basis: calc(50% - 10px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all .2s ease;
    animation: discoverimage 1.5s ease .1s backwards;
}

.gallery .cover:hover{
    top: -5px;
}

@keyframes discoverimage{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.gallery .cover i{
    font-size: 3rem;
}

.gallery .otherImages{
    display: grid;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    grid-template-rows: calc(50% - 10px) calc(50% - 10px);
    flex-basis: calc(50% - 10px);
    height: 100%;
    gap: 20px;
}

.gallery .otherImagesSmartphone .image,
.gallery .otherImages .image{
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all .2s ease;
    animation: discoverimage 1.5s ease .5s backwards;
}

.gallery .otherImagesSmartphone .image:hover,
.gallery .otherImages .image:hover{
    top: -3px;
}

.gallery .otherImagesSmartphone .image.last::before,
.gallery .otherImages .image.last::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.gallery .otherImagesSmartphone .image.last::after,
.gallery .otherImages .image.last::after{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    content: attr(num);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
}

.gallery .otherImagesSmartphone{
    display: none;
}

.description{
    color: #fff;
    padding-left: calc(6% + 40px);
    padding-right: calc(6% + 40px);
    margin: 80px 0;
    max-width: 1000px;
}

.description.single{
    width: calc(70% - 80px);
    padding: 0;
    margin: 80px auto;
}

.description.double{
    padding : 0px calc(10% + 40px) 0px calc(10% + 40px);
    margin: 80px auto;
}

.description h2{
    font-size: 2.1rem;
}

.description p {
    font-size: 1.3rem;
    text-align: justify;
}

.download-section{
    width: 100%;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-section .downloadBtn{
    position: relative;
    display: block;
    width: fit-content;
    height: fit-content;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #b21005;
    z-index: 1;
    overflow: hidden;
    transition: background-color 0s linear .2s;
}
.download-section .downloadBtn:hover,
.download-section .downloadBtn:focus{
    transition: background-color 0s linear .3s;
    background-color: transparent;
}
.download-section .downloadBtn::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%);
}
.download-section .downloadBtn:hover::before,
.download-section .downloadBtn:focus::before{
    clip-path: circle(100% at 50% 50%);
}

.download-section .downloadBtn a{
    display: block;
    height: 100%;
    width: 100%;
    padding: 18px 28px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    transition: color .1s ease .2s;
}

.download-section .downloadBtn:hover a,
.download-section .downloadBtn:focus a{
    color: #28282B;
    transition: color ease .3s;
}



footer{
    background: #151515;
    padding: 20px;
    text-align: center;
}

footer p{
    color: #fff;
}

@media (max-width: 1100px){

    .menu li a{
        margin: 0 5px;
    }

    .language-menu{
        margin-left: 21px;
    }

    .navbar-list .list.open::before{
        left: 30px;
    }
}

@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;
    }

    h1{
        font-size: 2.6rem;
        margin-top: 30px;
    }

    .location{
        font-size: 1.5rem;
    }
    
    .gallery{
        display: flex;
        flex-direction: row;
        gap: 20px;
        height: 400px;
        padding-left: calc(6% + 40px);
        padding-right: calc(6% + 40px);
        margin: auto;
    }

    .gallery.single{
        padding-left: calc(6% + 40px);
        padding-right: calc(6% + 40px);
        height: 400px;
    }
    
    .gallery .cover{
        flex-basis: calc(60% - 10px);
    }

    .gallery .otherImages{
        display: none;
    }
    
    .gallery .otherImagesSmartphone{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: calc(50% - 10px) calc(50% - 10px);
        flex-basis: calc(40% - 10px);
        height: 100%;
        gap: 20px;
    }

    .description h2{
        font-size: 1.8rem;
    }
    
    .download-section{
        width: 84%;
        margin: 80px auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .download-section .downloadBtn a{
        font-size: 1.5rem;
    }
    
}

@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;
    }

    h1{
        font-size: 2rem;
        color: #fff;
        padding-left: 6%;
        padding-right: 6%;
    }

    .location{
        padding-left: 6%;
        padding-right: 6%;
        margin-bottom: 50px;
        font-size: 1.2rem;
    }

    .gallery{
        padding-left: 6%;
        padding-right: 6%;
    }

    .gallery.single{
        padding-left: 6%;
        padding-right: 6%;
    }
    
    .description{
        color: #fff;
        padding-left: 6%;
        padding-right: 6%;
        margin: 50px 0;
    }
    
    .description h2{
        font-size: 1.8rem;
    }

    .description p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .download-section{
        width: 84%;
        margin: 50px auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .download-section .downloadBtn a{
        font-size: 1.2rem;
    }

    .gallery .otherImagesSmartphone .image.last::after,
    .gallery .otherImages .image.last::after{
        font-size: 2.9rem;
    }
    
}

@media (max-width: 550px), (max-height: 370px){

    .gallery{
        flex-direction: column;
        height: 475px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .gallery.single{
        height: 300px;
        padding-left: 6%;
        padding-right: 6%;
    }
    
    .gallery .cover{
        flex-basis: calc(60% - 10px);
    }
    
    .gallery .otherImages{
        display: none;
    }
    
    .gallery .otherImagesSmartphone{
        display: grid;
        grid-template-columns: calc(50% - 10px) calc(50% - 10px);
        grid-template-rows: 100%;
        flex-basis: calc(40% - 10px);
    }

    .gallery .otherImagesSmartphone .image.last::after,
    .gallery .otherImages .image.last::after{
        font-size: 2.8rem;
    }

    .description p {
        text-align: left;
    }

}

@media (max-width: 400px), (max-height: 370px) {

    .gallery{
        flex-direction: column;
        height: 350px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .gallery .otherImagesSmartphone .image.last::after,
    .gallery .otherImages .image.last::after{
        font-size: 2.5rem;
    }

}

@media (max-height: 370px) {

    .dropdown-menu li a{
        font-size: 1rem;
    }

}
