*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
/* Scroll progresivo */
.Smooth{
    animation: MostrarCosasSarpado 0.7s linear forwards;
    animation-timeline: view();
    animation-range: entry 0; 
}
@keyframes MostrarCosasSarpado {
        from {
            opacity: 0;
            scale: 0.5;
        }
        to {
            opacity: 1;
            scale: 1;
        }
    }           

/* header */

.encabezado{
    min-height:150px;
    padding:15px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap:wrap;
    background: #698D35;
    background-image: url(../src/banners/Banner\ Header.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:100% auto;  
}
.encabezado img{
    border-radius: 15px;
    transition: 0.5s ease-in-out;
/* el clamp sirve para limitar los valores que queremos utilizar y que no se deforme, osea, es responsive. su sintaxis es "clamp(min, preferido, max)" */
    width:clamp(90px,10vw,135px);
    height:auto;
    margin-right: 40px;
}
.encabezado img:hover{
    transform: scale(0.9);
    filter: drop-shadow(2px 2px 6px #A7DF59);
}
.menu{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}
.extra{
    margin: auto 10px;
    text-decoration: none;
    color: whitesmoke;
    background: #555555;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 20px;
    filter: drop-shadow(1px 1px 3px black);
    transition: 0.1s ease-in-out;
}
.extra:hover{
    transform: scale(1.1);
    background:#3c521f;
    filter: drop-shadow(2px 2px 3px white);
}
.contactos{
    margin: auto 10px;
    text-decoration: none;
    color: rgb(30, 30, 30);
    padding: 8px 12px;
    background: gainsboro;
    border-radius: 15px;
    transition: 0.3s ease-in-out;
    font-size: 20px;
    filter: drop-shadow(1px 1px 6px black);
}
.contactos:hover{
    transform: scale(0.9);
    filter: drop-shadow(6px 6px 8px black);
}
/* main */
.principal{
    background: #EFF1ED;
    padding: 40px 0;
}
.Promociones{
    overflow: hidden;
    width:min(1400px, 92%);
    margin:auto;
    border-radius: 10px;
    background: #4e6928;
    padding: 20px 0px;
    box-shadow: 2px 2px 4px black;
    justify-self: center;
    margin-bottom: 35px;
}
.carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns:clamp(180px,20vw,250px);
    gap: 2rem;
    width: max-content;
    animation: animacion 10s linear infinite;
}
.carousel:hover{
    animation-play-state: paused;
    cursor: pointer;
}
.carousel img{
    width: 100%;
    height: 14rem;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}
.carousel img:hover{
    transform: scale(1.1);
}

/* Le indica que debe trasladar las imagenes a lo largo del eje X, siendo que 5 son las imagenes, 12rem son las medidas del carousel y 2rem es el el gap que tienen */
@keyframes animacion{
    to{
        transform: translateX(calc(-5 * (12rem + 2rem)));
    }

}
.Titulos{
    justify-self: center;
    padding-top: 25px;
    font-size:clamp(2rem,4vw,4rem);
    padding-bottom: 5px;
    font-style: italic;
    border-bottom: 10px solid rgb(121, 187, 23);
    border-radius: 15px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.D{
    margin-bottom: 30px;
}
.banner{
    display: flex;
    background: black;
    margin:20px;
    border-radius: 15px;
    filter: drop-shadow( 0px 2px 6px rgb(85, 84, 84));
    gap:35px;
    align-items:center;
    justify-content: space-between;
    flex-wrap:wrap;
    padding:30px;
}
.banner div{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex:1;
    justify-content:center;
    gap:20px;
}
.banner div img{
    max-width: 350px;
    height: auto;
    object-fit: cover;
    margin: 10px auto;
}
.banner h2{
    color: #cac7c7;
    font-size:clamp(2rem,4vw,4rem); 
    margin: 10px auto;
    padding-bottom: 5px;
    transition: 0.1s ease-in-out;
}
.banner h2:hover{
    color: #dbc848;
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #c86d14, #962f33)1;
}
.banner p{
    color: rgb(202, 199, 199);
    font-weight: 400;
    max-width:700px;
    text-align:center;
    line-height:1.7;
}
#Banner{
    height: auto;
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    object-fit: cover;
}
.Clanes{
    margin: 30px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.Clan{
    margin: 30px auto;
    width:100%;
    max-width:380px;
    min-height:auto;
    background:#7e7e7e;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 5%;
    justify-content: space-around;
    filter: drop-shadow(3px 3px 6px #3f3f3f);
    transition: 0.2s ease-in-out;
}
.Clan img{
    width: 250px;
    height: 250px;
    border-radius: 40%;
    filter: drop-shadow(2px 2px 6px black);
    margin-top: 10px;
}
.Clan h2{
    font-size:clamp(2rem,4vw,4rem);
    text-shadow: 1px 1px 6px #555555;
}
.Clan p{
    font-weight: 600;
    text-align: center;
    padding: 5px;
}
.Clan button{
    margin-left: 25px;
    padding: 10px 15px;
    border-radius: 15px;
    background-color: #f7f7f7;
    border: none;
    filter: drop-shadow(2px 2px 3px black);
    transition: 0.1s ease-in-out;
    cursor: pointer;
    margin: 10px 0px;
}
.Clan a{
    text-decoration: none;
    color: inherit;
}
.Clan:hover{
    transform: scale(0.95);
    filter: drop-shadow(4px 4px 8px #304d08);
    background: #4a7a07;
}
.Clan button:hover{
    font-size: 15px;
    font-weight: 700;
    filter: drop-shadow(4px 4px 6px #444444);
    background: #cccccc;
}

.B{
    justify-self: left;
    padding-left: 15px;
    padding-right: 15px;
}
.I{
    justify-self: left;
    padding-right: 15px;
    padding-left: 15px;
}
.Informacion{
    padding: 25px;
}
.destacados{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    justify-content:center;
}

/* SECCION
DE
COMENTARIOS */

.comentario-destacado{
    display: flex;
    justify-content: center;
    padding: 30px 20px 10px;
}
.comentario-card{
    background-color: #698D35;
    color: whitesmoke;
    border-radius: 15px;
    padding: 20px 30px;
    max-width: 500px;
    text-align: center;
    filter: drop-shadow(2px 2px 6px #35471b);
    transition: 0.3s ease-in-out;
}
.comentario-card.cambiando{
    opacity: 0;
}
.comentario-card .comentario-texto{
    font-size: 25px;
    font-style: italic;
    margin-bottom: 10px;
}
.comentario-card .comentario-autor{
    font-size: 18px;
    font-weight: 600;
    display: block;
}
.comentario-card:hover{
    transform: scale(0.95);
    filter: drop-shadow(4px 4px 10px #35471b);
}

/* TARJETAS 
DE 
COMPRA */

.tarjetas{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #f8f8f8;
    width:100%;
    max-width:420px;
    max-height: 750px;
    border-radius: 15px;
    filter: drop-shadow(2px 5px 3px darkgray);
    transition: 0.3s ease-in-out;
}
.tarjetas:hover{
    transform: scale(0.95);
    filter: drop-shadow(2px 2px 2px black);
}
.producto{
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    margin: 10px auto;
}
.tarjetas h3{
    font-size: 28px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px black;
}
.tarjetas p{
    text-align: center;
    font-weight: 600;
}
.precios{
    display: flex;
    margin: 10px 0px;
    justify-content: space-around;
    align-items: center;
}
.precios b{
    color:#4b7a07;
    font-weight: 600;
    font-size: 25px;
}
.precios button,
.precios .btn-comprar{
    display: flex;
    margin-left: 25px;
    padding: 5px;
    border-radius: 15px;
    background-color: #8b8b8b;
    filter: drop-shadow(0px 5px 6px #636363);
    cursor: pointer;
    transition: 0.1s ease-in-out;
    text-decoration: none;
    color: inherit;
}
.precios button:active,
.precios .btn-comprar:active{
    background: #698D35;
    color: whitesmoke;
    transform: scale(0.95);
    filter: drop-shadow(2px 2px 6px #7ca83f);
}
.precios button p,
.precios .btn-comprar p{
    align-self: center;
    padding: 0px 5px;
}
.carrito{
    width: 20px;
    height: 20px;
}
/* footer */
.pie{
    background: #698D35;
    display: flex;
    justify-content: space-evenly;
    background-image: url(../src/banners/Banner\ Footer.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;  
    border: #555555 6px solid;
}
.info{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.info img{
    height: auto;
    object-fit: cover;
    width: 400px;
    transition: 0.3s ease-in-out;
    align-self: center;
}
.info img:hover{
    transform: scale(0.9) rotate(1deg);
    filter: drop-shadow(1px 1px 4px white);
}
.info h2{
    margin-top: 30px;
    color: whitesmoke;
    font-size: 25px;
}
.redes img{
    margin-top: 10px;
    width: 70px;
    height: auto;
    object-fit: cover;
    transition: 0.5s ease-in-out;
}
.redes img:hover{
    transform: scale(0.9);
    filter: drop-shadow(2px 2px 8px #A7DF59);
}
.logos{
    display: flex;
    justify-content: space-evenly;
}
.mapa iframe{
    height: 200px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 4px 4px 8px #64a010;
    transition: 0.5s;
    margin-top: 10px;
}
.mapa iframe:hover{
    transform: scale(0.85);
}
.nav{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.nav a{
    text-decoration: none;
    color: #ebebeb;
    text-shadow: 4px 4px 6px black;
    font-size: 25px;
    margin: 12.5% 0;
    transition: 0.1s ease-in-out;
    padding-bottom: 5px;
}
.nav a:hover{
    transform: scale(0.9);
    border-bottom: 5px solid;
border-image: linear-gradient(to right, #698D35, #9cd350)1;
}


/* Adiciones de Lisandro */


#boton-modo-oscuro{
    position: fixed;
    bottom: 125px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #1e1e1e;
    color: whitesmoke;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px black;
    z-index: 9999;
    transition: .3s;
}

#boton-modo-oscuro:hover{
    transform: scale(1.15);
}

html.modo-oscuro{
    filter: invert(1) hue-rotate(180deg);
    background: #fff;
}

html.modo-oscuro img,
html.modo-oscuro video,
html.modo-oscuro iframe{
    filter: invert(1) hue-rotate(180deg);
}

/* ===========================
BOTON ORKONATRA
=========================== */

#boton-orkonatra{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background: transparent;
    z-index: 9999;
    transition: .3s;
}

#boton-orkonatra:hover{
    transform: scale(1.15);
}

#boton-orkonatra img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

/* Pantallas 27 pulgadas */
@media (min-width:1900px){
    .principal{
        max-width:1600px;
        margin:auto;
    }
    .banner{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Monitores standar */
@media (max-width:1200px){
    .banner{
        flex-direction:column;
    }
    .destacados{
        gap:20px;
    }
}

/* Tablets */
@media (max-width:992px){
    .encabezado{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }
    .menu{
        justify-content:center;
        flex-wrap:wrap;
    }
    .banner{
        flex-direction:column;
    }
    .destacados{
        flex-direction:column;
        align-items:center;
    }
    .Clanes{
        justify-content:center;
    }
    .pie{
        flex-direction:column;
        align-items:center;
        gap:30px;
    }
    .info{
        max-width: 450px;
        max-height: 175px;
    }
    .redes{
        max-width: 450px;
        max-height: 175px;
    }
    .mapa{
        max-width: 450px;
        max-height: 175px;
    }
    .nav{
        max-width: 450px;
        max-height: 175px;
    }
}
/* Celulares */
@media (max-width:480px){
    .encabezado img{
        width:90px;
    }
    .extra,
    .contactos{
        font-size:16px;
        padding:8px 12px;
    }
    .principal h2{
        font-size:2rem;
    }
    .banner p{
        font-size:15px;
        text-align:center;
    }
    .producto{
        max-width:100%;
    }
    .Clan{
        width:95%;
    }
    .mapa iframe{
        width:95%;
        height:220px;
    }
}