/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    width: 80%;
    margin: auto;
    padding-top: 35px;
    margin-top: 0;
    margin-bottom: 0;
    min-width: 320px;
    opacity: 0; 
    transition: opacity 1s ease-out; 
}

/* HEADER */
main {
    opacity: 0; 
    transition: opacity 1s ease-out; 
}

footer {
    opacity: 0; 
    transition: opacity 1s ease-out; 
}


.logo img {
    width: 80%;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
  
}



.logo img.clicked {
    animation: rotateClickAnimation 2s forwards; 
}

@keyframes rotateClickAnimation {
    0% {
        transform: rotate(0deg); 
    }
    100% {
        transform: rotate(360deg); 
    }
}


.pages{
   
    align-items: center;
    display: flex;
  
   
}

@media screen and (max-width: 910px) {
    .pages{
       display: none;
    
    }

}
.page {
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
    max-width: 500px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1150px) {
    .page{
        left: 40%;
    
    }

}
.pages ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;

    margin: auto;
    width: 100px;
    transform: translateX(40px);
   
}




.pages ul li{
    padding-left: 37px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  
}

.pages ul li a {
    text-decoration: none;
    font-style: none;
    color: #f1ede5;
    font-family: belisa_plumilla;
    font-size: 1.8rem;
    
}

.pages ul li a:active{

    color: #f12f2f;
    
}



.pages ul li .img img {
    display: none;
}

.pages ul li:hover .img img {
    display: block; 
}




.reservarvaga a{
    text-decoration: none;
    color: #f12f2f;
    font-family: Plunct;
    font-size: 43px;

}

header .reservarvaga a:hover{
   
    color: #6b1616;
    

}

@media screen and (max-width: 1100px) {
    .reservarvaga a{
      
        font-size: 30px;
    
    }

}


/***/



.custom-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    z-index: 1001;
    color: #f1ede5;
    font-family: belisa_plumilla;
}

.custom-menu .menu-icon {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: #f1ede5; 
}

.custom-menu .menu-icon.open {
    transform: rotate(90deg);
}

.custom-pages {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease; 
}

.custom-pages.active {
    display: block;
    opacity: 1;
   
}

.custom-page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1ede5;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease; 
    width: 80%;
}

.custom-pages.active .custom-page {
    opacity: 1;
    color: #f12f2f;
}

.custom-pages #custom-menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color:#f12f2f;
}

.custom-pages #custom-menu-list li {
    margin-bottom: 10px;
}

.custom-pages #custom-menu-list li a {
    color: #262626;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    font-size: 50px; 
}

.custom-pages #custom-menu-list li a:hover {
    color: #f12f2f;
}

.custom-pages #custom-menu-list li a:active {
    color: #f12f2f;
    opacity: 1;
}

.custom-pages .img {
    display: none;
}

.custom-pages #close-custom-pages {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #262626;
    cursor: pointer;
    font-size: 15px; 
   text-transform: uppercase;
    font-family: roboto;

}

.custom-pages.active #close-custom-pages {
    display: block;
}


@media screen and (min-width: 911px) {
    .custom-menu .menu-icon {
        display: none;
    }

    .custom-pages {
        display: none;
    }

    .custom-pages.active {
        display: none;
    }
}

