/*index
diseño letras
backgrounds
disposicion
imagen a texto
media queries*/

/*variables*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
  }
:root{
    --gris: #6C6A6B;
    --amarillo: #E8BA1E;
    --grisclaro: #D4D2D2;
    --grisletra: #F5F5F5;
    --negro: #000000;
    --sombra: rgb(20, 20, 20);
}

#principal {
    width: 100%;
    margin: auto;
}

.body{
    width: 1140px;
}
.sticky{
    position: sticky;
    top: 0; 
    z-index: 10;
 }

.pading{
    padding-top: 30px;
    padding-bottom: 60px;
}
/*diseño letras*/
.unica {
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

.vw{
    font-size: 2vw;
}
.crimson {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
  }

.letra{
    color: #EAEAE8;
}
.shadow-b{
    text-shadow: 3px 4px 10px rgb(20, 20, 20);
}

h1{
    font-size: 38px
}
h2{
    font-size: 45px;
}
h3{
    font-size: 35;
}
h4{
    font-size: 25px;
}
h5{
    font-size: 30px;
}
.le{
    font-size: 18px;
}
img{
    width: 100%;
}
.logo{
    box-shadow: 3px 4px 10px rgb(20, 20, 20);
}

/*iconos*/
.fas::before{
    display: block;
    font-family: fontAwesome;
    position: absolute;
}
.contact {
    display: flex; 
    align-items: flex-start; 
    gap: 1.5em; 
}
.fas{
    text-decoration: none;
}

/*flecha top*/
.go-top {
    position: fixed;
    bottom: 30px;
    right: 40px;
    /* background-color: #333; */
    color: white;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    /* box-shadow: 5px 4px 8px rgba(0,0,0,0.2); */
    transition: 0.3s;
  }
  
  .go-top:hover {
    background-color: #555;
  }
  
/*backgrounds*/
.amarillo{
    background-color: var(--amarillo);
    color: var(--negro)
}

.gris{
    background-color: var(--grisclaro);
    color: var(--negro)
}

.grisos{
    background-color: var(--gris);
    color:var(--grisletra)
}

/**/
.icon{
    height: 80px;
    width: 80px;
}

.barra{
    width: 100%;
}

.fila{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.width{
    width: 100%;
}

.columna {
    padding: 10px 15px;
    /* width: 100% ; */
}

.cs{
    text-align: center;
}
.cs > p{
    text-align: left;
}

a{
    text-decoration: none;
    color: var(--negro)
}
/* disposicion */
.justify-flex-end{
    justify-content: flex-end;
}

.justify-center{
    justify-content: center;
}

.justify-spacearound{
    justify-content: space-around;
}

.justify-spacebetween{
    justify-content: space-between;
}

.aling-center{
    align-items: center;
}

.align-stretch{
    align-items: stretch;
}

.flex-colum{
    flex-direction: column;
}

/* imagen a texto*/
.contenedor {
    width: 300px;
    height: 300px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    overflow: hidden;
    border-radius: 10px
  }

  .contenedor:hover .face {
    opacity: 0.8;  /* La imagen se desvanece */
    transform: scale(1.05);
  }
  .face{
    height: 300px;
    width: 300px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
    
  .info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--grisletra);
    font-size: 16px;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 1;
  }

  .oculto {
    display: block !important;
    transition: opacity 0.3s ease;
  }

/* Media Queries movil grande */
@media screen and (min-width: 576px){
    #principal{
        width: 540px;
    }

    .movil-doce {
        width: 100%;
    }
    
    .movil-once {
        width: 91.6667%;
        /* 11/12 */
    }
    
    .movil-diez {
        width: 83.3333%;
        /* 10/12 */
    }
    
    .movil-nueve {
        width: 75%;
        /* 9/12 */
    }
    
    .movil-ocho {
        width: 66.6667%;
        /* 8/12 */
    }
    
    .movil-siete {
        width: 58.3333%;
        /* 7/12 */
    }
    
    .movil-seis {
        width: 50%;
        /* 6/12 */
    }
    
    .movil-cinco {
        width: 41.6667%;
        /* 5/12 */
    }
    
    .movil-cuatro {
        width: 33.3333%;
        /* 4/12 */
    }
    
    .movil-tres {
        width: 25%;
        /* 3/12 */
    }
    
    .movil-dos {
        width: 16.6667%;
        /* 2/12 */
    }
    
    .movil-uno {
        width: 8.3333%;
        /* 1/12 */
    }
}
/* Tablet vertical */
@media screen and (min-width: 768px){
    #principal{
        width: 720px;
    }

    .tablet-v-doce {
        width: 100%;
    }
    
    .tablet-v-once {
        width: 91.6667%;
        /* 11/12 */
    }
    
    .tablet-v-diez {
        width: 83.3333%;
        /* 10/12 */
    }
    
    .tablet-v-nueve {
        width: 75%;
        /* 9/12 */
    }
    
    .tablet-v-ocho {
        width: 66.6667%;
        /* 8/12 */
    }
    
    .tablet-v-siete {
        width: 58.3333%;
        /* 7/12 */
    }
    
    .tablet-v-seis {
        width: 50%;
        /* 6/12 */
    }
    
    .tablet-v-cinco {
        width: 41.6667%;
        /* 5/12 */
    }
    
    .tablet-v-cuatro {
        width: 33.3333%;
        /* 4/12 */
    }
    
    .tablet-v-tres {
        width: 25%;
        /* 3/12 */
    }
    
    .tablet-v-dos {
        width: 16.6667%;
        /* 2/12 */
    }
    
    .tablet-v-uno {
        width: 8.3333%;
        /* 1/12 */
    }
}
/* Tablet horizontal */
@media screen and (min-width: 992px){
    #principal{
        width: 960px;
    }

    .tablet-h-doce {
        width: 100%;
    }
    
    .tablet-h-once {
        width: 91.6667%;
        /* 11/12 */
    }
    
    .tablet-h-diez {
        width: 83.3333%;
        /* 10/12 */
    }
    
    .tablet-h-nueve {
        width: 75%;
        /* 9/12 */
    }
    
    .tablet-h-ocho {
        width: 66.6667%;
        /* 8/12 */
    }
    
    .tablet-h-siete {
        width: 58.3333%;
        /* 7/12 */
    }
    
    .tablet-h-seis {
        width: 50%;
        /* 6/12 */
    }
    
    .tablet-h-cinco {
        width: 41.6667%;
        /* 5/12 */
    }
    
    .tablet-h-cuatro {
        width: 33.3333%;
        /* 4/12 */
    }
    
    .tablet-h-tres {
        width: 25%;
        /* 3/12 */
    }
    
    .tablet-h-dos {
        width: 16.6667%;
        /* 2/12 */
    }
    
    .tablet-h-uno {
        width: 8.3333%;
        /* 1/12 */
    }
}
/* Laptop */
@media screen and (min-width: 1200px){
    #principal{
        width: 1140px;
    }

    .laptop-doce {
        width: 100%;
    }
    
    .laptop-once {
        width: 91.6667%;
        /* 11/12 */
    }
    
    .laptop-diez {
        width: 83.3333%;
        /* 10/12 */
    }
    
    .laptop-nueve {
        width: 75%;
        /* 9/12 */
    }
    
    .laptop-ocho {
        width: 66.6667%;
        /* 8/12 */
    }
    
    .laptop-siete {
        width: 58.3333%;
        /* 7/12 */
    }
    
    .laptop-seis {
        width: 50%;
        /* 6/12 */
    }
    
    .laptop-cinco {
        width: 41.6667%;
        /* 5/12 */
    }
    
    .laptop-cuatro {
        width: 33.3333%;
        /* 4/12 */
    }
    
    .laptop-tres {
        width: 25%;
        /* 3/12 */
    }
    
    .laptop-dos {
        width: 16.6667%;
        /* 2/12 */
    }
    
    .laptop-uno {
        width: 8.3333%;
        /* 1/12 */
    }
}
/* desktop */
@media screen and (min-width: 1400px){
    #principal{
        width: 100%;
    }

    .desktop-doce {
        width: 100%;
    }
    
    .desktop-once {
        width: 91.6667%;
        /* 11/12 */
    }
    
    .desktop-diez {
        width: 83.3333%;
        /* 10/12 */
    }
    
    .desktop-nueve {
        width: 75%;
        /* 9/12 */
    }
    
    .desktop-ocho {
        width: 66.6667%;
        /* 8/12 */
    }
    
    .desktop-siete {
        width: 58.3333%;
        /* 7/12 */
    }
    
    .desktop-seis {
        width: 50%;
        /* 6/12 */
    }
    
    .desktop-cinco {
        width: 41.6667%;
        /* 5/12 */
    }
    
    .desktop-cuatro {
        width: 33.3333%;
        /* 4/12 */
    }
    
    .desktop-tres {
        width: 25%;
        /* 3/12 */
    }
    
    .desktop-dos {
        width: 16.6667%;
        /* 2/12 */
    }
    
    .desktop-uno {
        width: 8.3333%;
        /* 1/12 */
    }
}