@import url(nav.css);

@font-face {
    font-family: Gerlick;
    src: url(../font/Gerlick.otf);
}

html{
    scroll-behavior: smooth;
}

:root{
    --color1: #f5f2de;
    --color2: #182f3f;
    --colortxt: #14182c;
    --colottxt2: #E8DFBA;
    --txtboxes: #8cacbc;
    --fonttxt:'Quicksand', sans-serif;
    --min: 300px;
}

*{
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: justify;
}

body{
    font-family: var(--fonttxt);
    background-color: var(--color1);
    width: 100%;
    font-size: 1em;
    line-height: 1.3;
}

h2{
    font-size: 25px;
    font-family: Gerlick;
    letter-spacing: 0.05em;
    font-weight:bold;
    text-align: left; 
}


h3{
   text-align: left; 
}

h4{
    font-weight: lighter;
}

a{
    text-decoration: none;
    color: var(--colortxt);
}

mark{
    background-color: rgba(100, 148, 237, 0.356);
}

a:hover{
    cursor: pointer;
    color: #7664ff;
    transition: 0.5s;
}

.botones2{
    font-family: var(--fonttxt);
    font-size: inherit;
    font-weight: bold;
    color: var(--colortxt);
    margin-top: 15px;
    margin-bottom: 15px;
    
    padding: 10px;
    height: auto;
    background-color: #989eeb;
    text-align: center;
    box-sizing: border-box;
    transition: 0.5s;
   
}

.botones2:hover{
    cursor: pointer;
    color: var(--color1);
    background-color: #383e52;
    transition: 0.5s;
    box-shadow: 0.4rem 0.4rem #627e8f;
}

#myDIV, #myDIV2, #myDIV3, #myDIV4, #myDIV5, #myDIV6{
    background-color: #989eeb46;
    border: transparent;
    box-shadow: none;
    border: 2px dashed #989eeb;
}

#inicio{
    display: flex;
    padding: 25px;
    background-color: var(--color1);
    height: 450px;
}

.portada{
    background-color: var(--color2);
 background-image: url(../img/Portada1.png);
    background-position-x: 50%;
    background-size: cover;
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    padding: 20px;
    background-position: center center;
}
 .titulo{
    width: 100%;
    position: absolute;
    left: 50%;

 }

 .titulo h2{
    position: relative;
    color: var(--color1);
    font-size:120px;
    text-align: center;
    top: 100px;
    left: -50%;
 }

#one, #one-1, #three, #three-three, #three-four, #five, #five-one, #five-two, #five-three, #six, #med, #six-one, #js, #variables{
    display: flex;
    padding: 25px;
    background-color:var(--color1);
    flex-wrap: wrap;
    align-items: center;
}

#five, #js, #variables, #five-two{
    padding: 0;
}


#two, #two-one, #four{
    background-color: var(--color2);
    padding: 25px;
}

#three-one{
    display: flex;
    padding: 5px;
    background-color: var(--color1);
    text-align:center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#three-one h3{
    text-align:center;
    color:#101aa7;
    font-weight: bold;
    
}

#one .img, #med .img{   
    text-align: center;
    flex: 1.5;
    padding: 0px;
    padding: 10px;
    box-sizing: border-box;
    background-color: none;
}

#one .img p, #five .img p, #five-one .img p, #six .img p, #med .img p{
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.flex-long{
    border: 2px var(--colottxt2);
    min-width: var(--min);
}

.flex-long div{
    padding: 25px;
    border: 2px solid var(--colottxt2);
    color: var(--colottxt2);
}

.flex{
    flex: 2;
    min-width: var(--min);
}

.img{
    width: 100%;
    position: relative;
    height: auto;
    flex: 1;
    text-align: center;
    padding: 25px;
    min-width: var(--min);
}

.flex div{
    padding: 25px;
    background-color: var(--color1);
    margin-top: 20px;
    color: var(--colortxt);
    border: 2px solid var(--txtboxes);
    box-shadow: 0.5rem 0.5rem #627e8f;
}

#three-one div{
    flex: 1;
    background-color: var(--txtboxes);
    color: var(--colortxt);
    padding: 25px;
    margin: 20px;
    min-width: var(--min);
    box-shadow: 0.5rem 0.5rem #627e8f;
}

/*------------------------------------*/

.flex-long-w-img {
    display: flex;
    border: 2px solid var(--colottxt2);
    color: var(--colottxt2);
    flex-wrap: wrap;
    min-width: var(--min)
}

.flex-long-w-img2 {
    border: 2px solid var(--colottxt2);
    color: var(--colottxt2);
    flex-wrap: wrap;
    min-width: var(--min);
}

.flex-long-w-img div, .flex-long-w-img2 div{
    flex: 1;
    min-width: var(--min);
    padding: 25px;
}
.img-bgColor{
    background-color: var(--color1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px ;
}

.pestaña{
    padding: 0 !important; 
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(63, 76, 57, 0.23);
}

.pestaña-titulo{
    display: flex;
    justify-content:space-between;
}

.images{
    width: 100px;
    height: auto;
    background-color: #7664ff;
}


@media screen and (min-width:1025px){

    .titulo h2{
    font-size: 90px;
     }


    #three-one div{
        margin: 15px;
    }
}

@media screen and (max-width:1024px){

    .titulo h2{
        font-size: 80px;
         }
    
    #one, #three, #five, #five-one, #five-three, #six, #med, #js, #variables, #five-two, #three-three, #six-one{
        padding: 15px;
    }   
   
    #six img, #one-1{
        width: 100%;
    }

    #five-one img, #five img, #variables img{
        width: 65%;
    }

}

@media screen and (max-width:900px){

    .titulo h2{
        font-size: 70px;
     }
      #six-one img, #five-three img, #three-three img, #three-four img {
        width: 60%;
    }

    #three-one div{
        width: 30%;
    }

    #med img, #js img, #variables img,  #one-1 img{
        width: 45%;
    }

    .flex-long-w-img, #med, #six-one, #js, #variables, #one-1, #five-two, #five-three, #three-three, #three-four{
        display: inline-block;
     }
    
}

@media screen and (max-width:780px){

    .titulo h2{
        font-size: 60px;
         }

    #three-one div{
        width: 100%;
    }

    #three-one div{
        width: 40%;
    }

    #six {
        display: inline-block;
    }

    #six img, #js img, #variables img, #one-1 img{
        width: 80%;
    }
}

@media screen and (max-width:750px){
    .titulo h2{
        font-size: 50px;
         }


    #one, #three, #five, #five-one{
        display: inline-block;
    }

    #three img,  #six-one img, #three-four img{
        width: 100%;
    }

    .botones2{
        margin-left: 40%;
    }

    #inicio{
        height: 400px;
    }

    body {
        font-size: 0.9em;
    }
}

@media screen and (max-width:360px){
    .titulo h2{
        font-size: 45px;
        top: 100px;
         }
         
         #three-four img{
            width: 100%;
        }
        .botones2{
            margin-left: 35%;
        }


}
