@charset "utf-8";
/* CSS Document */
/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    padding: 0;
    margin: 0;
}


/* =========================================================
   BARRA DEL MENÚ
   ========================================================= */

.content-menu {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-left: 10%;

    width: 80%;

    min-height: 80px;

    background: rgb(234, 134, 134);

    border-radius: 5px;
}


/* =========================================================
   MARCA
   LOGO + NOMBRE
   ========================================================= */

.content-menu .marca {

    display: flex;

    height: 80px;

    align-items: center;

    color: aliceblue;
}


.content-menu .marca img {

    height: 80%;

    width: max-content;

    border-radius: 10%;

    margin: 0 8px 0 0;
}


.content-menu .marca h2 {

    width: max-content;

    font-size: 22px;
}


/* =========================================================
   BOTÓN MENÚ
   ========================================================= */

.menu-toggle {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.content-menu .menu-nav {

    display: flex;

    align-items: center;
}


.content-menu .menu-nav li a {

    position: relative;

    display: block;

    width: max-content;

    padding: 5px 8px;

    font-weight: bold;

    color: aliceblue;

    font-size: 18px;

    margin: 0 10px;
}


/* =========================================================
   LÍNEA ANIMADA
   ========================================================= */

.content-menu .menu-nav li a::before {

    position: absolute;

    content: '';

    bottom: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background-color: #f7f7f7;

    z-index: 1;

    transform: scaleX(0);

    transform-origin: right;

    transition: 0.5s;
}


.content-menu .menu-nav li a:hover::before {

    transform-origin: left;

    transform: scaleX(1);

    transition-timing-function: ease;
}


/* =========================================================
   TELÉFONO
   ========================================================= */

.content-menu h3 {

    display: flex;

    align-items: center;

    margin-right: 1%;

    color: antiquewhite;

    width: max-content;

    font-size: 16px;
}/* =========================================================
   CONTENEDOR
   ========================================================= */

.container {
    width: 100%;
    justify-content: center;
    align-items: center;
}


/* =========================================================
   SLIDER
   ========================================================= */

.slider {
    width: 80%;
    margin-left: 10%;
    margin-top: 0;

    overflow: hidden;
}


/* =========================================================
   LISTA DE SLIDES
   ========================================================= */

.slider ul {
    display: flex;

    padding: 0;
    margin: 0;

    list-style: none;

    align-items: center;

    /*
       JavaScript cambia el transform
       para mover el slider.
    */

    transition: transform 0.7s ease-in-out;
}


/* =========================================================
   SLIDES
   ========================================================= */

.slider li {
    flex: 0 0 calc(100% / 8);
    width: calc(100% / 8);
    box-sizing: border-box;
}


/* =========================================================
   IMÁGENES
   ========================================================= */

.slider img {
    display: block;

    width: 80%;
    height: 400px;

    margin-left: 10%;
    margin-top: 50px;

    object-fit: cover;
}

/* =========================================================
   CONTENEDOR DE MINIATURAS
   ========================================================= */
.miniaturas {
    margin-top: 20px;
}

.miniaturas .miniatura:hover {
    opacity: 1 !important;
}



/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    width: 100%;

    margin-top: 50px;

    border-top: 4px solid #91afd4;
}


.footer-contenido {

    width: 80%;

    margin: 0 auto;

    padding: 35px 0;

    text-align: center;
}


/* -------------------------
   TEXTO
   ------------------------- */

.footer-texto {

    margin-bottom: 20px;

    line-height: 1.5;
}


/* -------------------------
   CONTACTO
   ------------------------- */

.footer-contacto {

    margin-bottom: 20px;
}


.footer-contacto p {

    margin-bottom: 5px;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.redes-sociales {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;
}


.redes-sociales a {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.redes-sociales img {

    width: 40px;

    height: 40px;

    object-fit: contain;
}


/* -------------------------
   DERECHOS
   ------------------------- */

.footer-derechos {

    font-size: 14px;
}




@media (max-width: 900px) {

    /* =====================================================
       MENÚ RESPONSIVE - TABLETS Y CELULARES
       ===================================================== */

    .content-menu {
        width: 90%;
        margin-left: 5%;
        flex-wrap: wrap;
        justify-content: center;
    }

 .content-menu .marca {
    width: 100%;
    flex: 0 0 100%;
    height: 60px;
    justify-content: center;
}

.content-menu .marca img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.content-menu .marca h2 {
    font-size: 18px;
    width: max-content;
}

    /* -----------------------------------------------------
       BOTÓN TOGGLE
       ----------------------------------------------------- */

    .menu-toggle {
        display: block;
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
        margin: 5px 0;
    }

    /* -----------------------------------------------------
       MENÚ DE NAVEGACIÓN
       ----------------------------------------------------- */

    .content-menu .menu-nav {
        display: none;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }

    .content-menu .menu-nav.menu-abierto {
        display: flex;
    }

    .content-menu ul li a {
        font-size: 15px;
        margin: 0 5px;
        padding: 5px;
    }

    /* -----------------------------------------------------
       TELÉFONO
       ----------------------------------------------------- */

    .content-menu h3 {
        width: 100%;
        flex: 0 0 100%;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        margin: 5px 0;
    }

    /* =====================================================
       SLIDER
       ===================================================== */

  .slider {
    width: 90%;
    margin-left: 5%;
    margin-top: 0;
    overflow: hidden;
}

.slider img {
    width: 90%;
    height: 250px;
    margin-left: 5%;
    margin-top: 20px;
    object-fit: contain;
}

    /* =====================================================
       MINIATURAS
       ===================================================== */

    .miniaturas {
        width: 90%;
    }



    .footer-contenido {

        width: 90%;
    }


    .redes-sociales {

        gap: 18px;
    }


    .redes-sociales img {

        width: 32px;

        height: 32px;
    }


}