:root{
    --main-color: #c93880;
    --main-color-light: #eb58a2;
    --header-color:#ffffff;
    --text-color: #999999;
}

.text-main{
    color: var(--main-color)!important;
}

.text-main-np{
    color: var(--main-color);
}


body{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #000710;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

nav{
    margin: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--main-color)
}

nav img{
    width: 200px;
    height: auto;
}

nav ul{
    list-style-type: none;
    display: flex;
    gap: 1em;
}

.main-home{
    margin: 0 3rem;
    flex-basis: 1;
    height: 100%;
    background-image: url('../img/vista-3.jpg');
    background-position: center;
    background-size: cover;
}

.main-events{
    margin: 0 3rem;
    flex-basis: 1;
    height: 100%;
    display: flex;
}

.main-lounge{
    margin: 0 3rem;
    flex-basis: 1;
    height: 100%;
    display: flex;
}


.main-contatti{
    margin: 0 3rem;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.main-gallery{
    position: relative;
    overflow-y: scroll;
    margin: 0 3rem;
    flex-basis: 1;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.main-gallery-img{
    height: 200px;
    width: auto;
    cursor: pointer;
    border: 1px solid transparent;
}

.main-gallery-img:hover{
    border: 1px solid var(--main-color);
}

.gallery-photo-container{
    cursor: zoom-out;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    z-index: 1
}

.modal-photo{
    width: auto;
    height: 80%;
}

.photos-lounge{
    display: flex;
    flex: 1;
    height: 100%;
    background-position: center;
    background-image: url('../img/Photo/37.jpg');
    background-size: cover;
}

.photos-events{
    display: flex;
    flex: 1;
    height: 100%;
    background-position: center;
    background-image: url('../img/Photo/71.jpg');
    background-size: cover;
}

.photos-contacts{
    display: flex;
    flex: 1;
    height: 100%;
    background-position: center 15%;
    background-image: url('../img/Photo/40.jpg');
    background-size: cover;
}

.events{
    padding-left: 3em;
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.events h1{
    color: var(--header-color)
}

.events p{
    color: var(--text-color)
}

.lounge{
    padding-right: 3em;
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lounge h1{
    color: var(--header-color)
}

.lounge p{
    color: var(--text-color)
}

.contacts{
    padding-right: 3em;
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts h1{
    color: var(--header-color)
}

.contacts p{
    color: var(--text-color)
}

.contacts-color{
    color: var(--main-color)!important;
    padding-bottom: 3rem;
}


footer{
    margin: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--main-color);
    font-size: 11px;
}

footer img{
    width: 200px;
    height: auto;
}

footer ul{
    list-style-type: none;
    display: flex;
    gap: 1em;
}

.footer-contacts{
    display: flex;
}

.footer-contacts span{
    margin: 0 .5rem;
}

a{
    color: inherit;
    text-decoration: none;
    transition: all .25s ease-in-out;
}
a:hover{
    color: var(--main-color-light);
}

.navigation {
  position: relative;
}

.underline {
  opacity: 0;
  content: "";
  position: absolute;
  bottom: -5.5px;
  width: 100%;
  height: 1px;
  background: var(--main-color-light)
}

.gallery-title{
    text-align: center;
    flex-basis: 100%;
    font-weight: bold;
    font-size: 2em;
    color: var(--main-color);
}

*{
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) #f1f1f1;
    line-height: 1.5;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 15px;
    background: #f1f1f1;
}
  
  /* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background: var(--main-color)
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--main-color-light)
}

.hamburger{
    z-index: 1;
    padding: 1rem;
    display: none;
}

.hamburger-top{
    margin-bottom: 10px;
    width: 30px;
    height: 2px;
    background: var(--main-color)
}

.hamburger-bottom{
    width: 30px;
    height: 2px;
    background: var(--main-color)
}

.hamburger-top-animate{
    animation-fill-mode: forwards;
    animation-name: top-animate;
    animation-duration: .75s;
}

.hamburger-bottom-animate{
    animation-fill-mode: forwards;
    animation-name: bottom-animate;
    animation-duration: .75s;
}

.hamburger-top-back{
    animation-fill-mode: forwards;
    animation-name: top-back;
    animation-duration: .75s;
}

.hamburger-bottom-back{
    animation-fill-mode: forwards;
    animation-name: bottom-back;
    animation-duration: .75s;
}

main{
    position: relative;
}

.nav-mobile ul{
    margin: 0;
    padding: 0;
    background: #000710;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    transition: all .5s ease-in-out;
    z-index: 1;
    transform: translateX(-100%);
    opacity: 0;
}

.nav-mobile-open{
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.nav-mobile li{
    list-style-type: none;
    margin-bottom: .75rem;
}

.overflowHiddenMobile{
    overflow-y: hidden;
}

@keyframes top-animate {
    0%   {transform: translateY(0);}
    100%  {transform: translateY(6px);}
}

@keyframes bottom-animate {
    0%   {transform: translateY(0);}
    100% {transform: translateY(-6px);}
}

@keyframes top-back {
    0%   {transform: translateY(6px);}
    100% {transform: translateY(0);}
}

@keyframes bottom-back {
    0%   {transform: translateY(-6px);}
    100% {transform: translateY(0);}
}

@media screen and (max-width: 768px) {
    .nav-desktop{
        display: none;
    }
    .nav-mobile ul{
        padding-top: 9rem;
        justify-content: flex-start;
        max-height: 100vh !important;
    }
    .hamburger{
        display: block;
    }
    footer {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }
    .footer-contacts{
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    body{
        height: auto !important;
    }
    .body-index{
        height: 100vh!important;
    }
    .main-home{
        background-image: url('../img/vista-mobile.png');
    }   
    .main-gallery{
        max-width: 100vw;
        overflow-y: auto;
    }
    .main-events{
        max-width: 100vw;
        flex-direction: column-reverse;
    }
    .main-lounge{
        max-width: 100vw;
        flex-direction: column;
    }
    .main-contatti{
        max-width: 100vw;
        flex-direction: column;
    }
    .lounge{
        width: 100%;
        padding: 0;
    }
    .events{
        width: 100%;
        padding: 0;
    }
    .contacts{
        width: 100%;
        padding: 0;
    }
}