html {
    box-sizing: border-box;
}
  *, *:before, *:after {
    box-sizing: inherit;

    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: white;
}
img {
    display: block;
}

body {
    background-color: #321b1b;
}

/* Separador */

.separador {
    height: auto;
    width: 100%;

    display: flex;
    justify-content: center;
}

.divisor {
    height: 1.7rem;
    width: auto;
}

@media screen and (max-width: 700px) {
    .divisor {
        height: .7rem;
        width: auto;
    }
}

/* Separador */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a54949;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease; /* Agrega una transición suave para la opacidad */
}

.loader-wrapper.hide {
    opacity: 0; /* Oculta la pantalla de carga */
    pointer-events: none; /* Desactiva los eventos de puntero en la pantalla de carga oculta */
}

.loader-pulse {
    position: relative;
    width: 210px;
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Recorta el contenido para que sea circular */
    border-radius: 50%; /* Añade borde redondeado para el contenedor */
    animation: pulse 1s infinite alternate;
}

.loader-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #ff0000; /* Color inicial del arcoíris */
    border-right-color: #ff9900;
    border-bottom-color: #33cc33;
    border-left-color: #0099ff;
    animation: spin 1s linear infinite;
}

.loader-pulse img {
    max-width: auto; /* Establece el ancho máximo de la imagen al 100% del contenedor */
    max-height: 100%; /* Establece la altura máxima de la imagen al 100% del contenedor */
    display: block; /* Asegura que la imagen se muestre como un bloque */
    border-radius: 50%; /* Añade borde redondeado a la imagen para que coincida con el círculo */
    object-fit: cover; /* Ajusta el contenido de la imagen al tamaño del contenedor sin distorsionar */
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Header */

header {
    height: 10vh;
    width: auto;
}

.background {
    background-image: url(../imgs/backgrounds/background_banner.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    height: 100%;
    width: 100%;
} 

/* Barra de navegacion */

nav {
    background-color: #a54949;

    height: 4.5rem;
    width: auto;

    display: flex;
    justify-content: right;
    align-items: center;

    -webkit-box-shadow: 0px 21px 36px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 21px 36px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 21px 36px 0px rgba(0,0,0,0.75);
}

.range {
    display: flex;
    align-items: center;
}

ul {
    margin: 0 1rem;
    display: flex;
}
.item_nav {
    margin: 0 2rem;

    color: white;

    font-family: "Jersey 20", sans-serif; 

    font-size: 1.2em;
}

.const {
    height: 3.4rem;
}

@media screen and (max-width: 720px) {
    .item_nav {
        color: white;
    
        font-family: "Jersey 20", sans-serif; 
    
        font-size: 1.2rem;

        margin: 0 .5rem;
    }
    .spc {
        margin-right: 1.2rem;
    }

}

/* Barra de navegacion */





.page {
    min-height: 30rem;
    width: 70%;

    margin: 2rem auto;
    background-color: rgba(255, 255, 255, 0.127);
    color: rgb(0, 0, 0);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    
    text-align: justify;
    padding: 2rem;
    gap: 2rem;

    color: white;
}

.page img {
    height: 13rem;
}

.page h2 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 3rem;
}

.page p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.7rem;
}

.page button {
    margin: 2rem;
    background-color: black;
    height: auto;
    width: auto;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: .2rem;
    padding: 1rem;

    border-radius: .5rem;
    border: solid 1px white;
}

.title_boxes {
    color: white;
    width: 80%;
    text-transform: uppercase;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: .2rem;
    text-align: center;
    margin: 3rem auto;
    font-size: 2.5rem;
}

.row {
    display: flex;
    gap: 40px; /* Espaciado horizontal entre cuadros */
    justify-content: center;

    width: 80%;

    margin: 2rem auto;
}



.white-box {
    width: 25rem;
    height: 25rem;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    color: white; /* Texto visible sobre la imagen */
    font-weight: bold;
    
}

.info-box {
    width: 25rem;
    height: 0; /* Altura inicial 0 para el efecto */
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    overflow: hidden; /* Ocultar contenido mientras está contraído */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px; /* Texto proporcionado al tamaño del cuadro */
    text-align: center;
    transition: height 0.5s ease; /* Transición suave en la altura */
}

.info-box.open {
    height: 60rem; /* Altura final cuando se despliega */
    background-image: url(../imgs/backgrounds/fondo-box.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Fondos personalizados con imágenes */
.box-1 {
    background-image: url(../imgs/boxes/photo_2024-12-11_21-28-34.jpg); /* Fondo para cuadro 1 */
    background-size: cover;
    background-position: center;
}

.box-2 {
    background-image: url(../imgs/boxes/photo_2024-12-11_21-28-31.jpg); /* Fondo para cuadro 2 */
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 1280px) {
    .row {
        display: flex;
        flex-direction: column;
    }

    .button-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

}

@media screen and (max-width: 600px) {

    .white-box {
        width: 20rem;
        height: 20rem;
    }

    .info-box {
        width: 20rem;
    }

    .info-box.open {
        height: 200px; /* Altura final cuando se despliega */
    }

    .info-box.open {
        height: 60rem; /* Altura final cuando se despliega */
        background-image: url(../imgs/backgrounds/fondo-box.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}



/* items */

    .common-items ul {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .common-items h4 {
        margin-bottom: 1rem;
        color: white;

        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        text-transform: uppercase;
        letter-spacing: .2rem;
        font-size: 1.7rem;
    } 

    .common-items ul li {
        margin-bottom: 1rem;
        color: white;

        font-family: Arial, Helvetica, sans-serif;

        font-size: 1.3rem;
    } 

/* items */

/* Grid */

    .grid_box {
        display: grid;
        grid-template-columns: 1fr 1fr;

        min-height: 40rem;
        width: 80%;

        margin: auto;

        border: white 2px solid;
 

        color: white;

        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

  
    .item1 {
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .item1 h1 {
        color: white;

        font-family: "Russo One", sans-serif;
        font-weight: 900;
        font-style: normal;

        margin: 0;
    }



    .red {
        display: flex;
        justify-content: center;
        margin: .5rem;
    }

    .red span {
        font-size: 1.4rem;;
        text-align: center;

        background-color: white;
        color: red;
        padding: .3rem;

        border-radius: .5rem;

    }

    .dj {
        font-size: 5rem;
        text-align: center;
        
    }
    .hour span {
        background-color: white;
        color: black;
        padding: 1rem;
        border-radius: .3rem;
        margin: 3rem 0;
        

    }

    .coctel {
        font-size: 2rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        margin: 1rem 0;
    }

    .shots {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    .tyc {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        font-size: 1rem;
        text-align: center;
        margin: 1rem 0;
    }
    .salon {
        text-align: right;
    }

    .item1 .hour {
        margin: 2rem auto;
        text-align: center;
    }

    .three {
        font-size: 2rem;
        text-align: center;
        text-transform: uppercase;
        font-size: 1.3rem;
    }

    .two {
        font-size: 1.5rem;
        text-align: center;
        text-transform: uppercase;
        font-family: Arial, Helvetica, sans-serif;
    }

    .one {
        font-size: 4rem;
        text-align: center;
    }

    .item2 img{
        width: 100%;
        height: 100%;
        padding: 1rem;
    }


    @media screen and (max-width: 1280px) {
        .grid_box {
            display: grid;
            grid-template-columns: 1fr;
        }

        .item1 {
            margin: 2rem 0 0 0;

            display: flex;
            align-items: center;
            justify-content: center;
        }

        .item2 {
            padding: 2rem;
        }
        .item2 img {
            padding: 0;
            
        }

        .one {
            font-size: 2.5rem;
        }
        .dj {
            font-size: 4rem;
        }
    }


/* Grid */



/* End-Box */

    .end {
        min-height: 10rem;
        width: 80%;

        margin: 3rem auto;

        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        color: white;
        padding: 0rem;
    
        border: solid 1px white;

        border-radius: .3rem;
    }

    .end button {
        font-size: 1.5rem;
        padding: 2rem;
        border-radius: 1rem;

        color: white;

        background-image: url(../imgs/boxes/icon.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        letter-spacing: .2rem;
    }




/* End-Box */


/* Footer */

footer {
    height: auto;
    width: 80%;

    margin: auto;

    border-top-left-radius: 10rem;
    border-top-right-radius: 10rem;

    background-image: url(../imgs/backgrounds/background_footer.png);

    display: flex;
    align-items: center;    
}

.order_content_f {
    display: flex;
    margin: auto;

    padding: 2rem;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    
}



.box_footer {
    
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    
    margin: 1rem;

    border: solid 1px white;
    
}

.bxf1 {
    border-top-left-radius: 10rem;

    background-color: rgba(0, 0, 0, 0.472);
}

.bxf2 {
    background-color: rgba(0, 0, 0, 0.472)
}

.bxf3 {
    border-top-right-radius: 10rem;

    background-color: rgba(0, 0, 0, 0.472)
}

.content_bxf {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
    
    padding: 1.5rem;
    border-radius: 1rem;
    
    
}

.content_bxf h2 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: .1rem;
    margin-bottom: 1rem;

    
}

.ul_bxf {
    display: flex;
    flex-direction: column;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    

}

.ul_bxf li {
    margin: .8rem;
    text-align: center;

    
}

.ul_bxf a {
    margin: .8rem;
    text-align: center;
}

.logo_ft {
    height: 3.5rem;
    margin: 1rem;
}

.ul_bxf a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 1280px) {
    
    .order_content_f {
        display: flex;
        margin: auto;
    
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .bxf1 {
        
        border-radius: 1rem;
   
    }
    
    .bxf2 {
        border-radius: 1rem;
    }
    
    .bxf3 {

        grid-column: 1/3;
        margin: 1rem 0;
     
        border-radius: 1rem;

    }

}

@media screen and (max-width: 700px) {
    
    .order_content_f {
        display: flex;
        margin: auto;
    
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .bxf1 {
        
        grid-column: 1/3;
        border-radius: 1rem;
   
    }
    
    .bxf2 {

        border-radius: 1rem;

    }
    
    .bxf3 {

        grid-column: 1/3;

        border-radius: 1rem;
    }

}

.footer_items {
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

footer a img {
    height: 2rem;

    margin: 0 .4rem;
}

@media screen and (max-width: 720px) {
    footer img {
        margin: 0 .2rem;
    }
}
/* Footer */