@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); */

/* ------------------------------------------------------variables css----------------------------------------------------- */
:root{
    --colorWhite: rgba(255, 255, 255);
    --colorBlack: rgb(0, 0, 0);
    --colorBlue: rgb(49, 39, 131);
    --colorRed: rgb(235, 2, 2);
    --colorTexts: rgb(95, 78, 78);
    --font-family: 'Press Start 2P', monospace;
}


#particles-js{
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: -1;
}

/* ---------------------------------------------------toda la pagina -----------------------------------------------------------*/
*{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Courgette';
    /* font-family: 'Press Start 2P', monospace; */
    background: var(--colorWhite);
}

h1, h2, h3, h4, h5, h6{
    color: var(--colorBlue);
    font-weight: 300;
}
.contenedor{
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}
.contenedor1{
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 60px 0;
}
h1{
    font-size: 80px;
}

/* ---------------------------------------------------------------------header--------------------------------------------- */
header::before{
    content: "";
    display: block;
    margin-bottom: 80px;
}
nav{
    width: 100%;
    height: 80px;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid transparent;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    z-index: 100%;
    transition: ease-in-out 0.5s;
}
.nav{
    display: flex;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    align-items: center;
    font-size: 26px;
    padding: 0 40px;
}
.nav .logo{
    height: 80px;
}
.nav .logo img{
    height: 100%;
    vertical-align: top;
}
.enlaces-head{
    font-weight: 300;
    transition: ease-in-out 0.5s;
}
.nav .enlaces-head a{
    color: var(--colorBlue);
    text-decoration: none;
    margin-left: 20px;
}
.hamburguer{
    width: 80px;
    height: 80 px;
    display: none;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    color: var(--colorBlue);
}

.hamburguer > i{
    font-size: 20px;
    line-height: 80px;
}
.contenido-header{
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenido-header>img{
    width: 550px;
    animation: ease-in imag 1s;
}

@keyframes imag{
    0%{
        transform: scale(0);
    }100%{
        transform: scale(1);
    }
}

.textos-header{
    margin: 0 0 0 80px;
}

.contenido-header p{
    font-weight: 300;
    margin-top: 14px;
    color: var(--colorTexts);
    font-size: 25px;
}

.titulos{
    text-align:center;
    font-size: 50px;
}



/* -----------------------------------------------------segunda sección------------------------------------------------ */
.about-us{
    background: #f2f2f2;
}

.contenedor-articulo{
    display: flex;
    flex-wrap: wrap;
    margin: 60px, 0, 0, 0;
    justify-content: space-around;
}

.articulo{
    width: 29%;
    background: white;
    margin-top: 30px;
    border-radius: 10px;
    padding: 40px 30px 60px 30px;
    transition: 0.5s;
}

.articulo:hover{
    box-shadow: 8px 4px 10px rgba(17, 29, 48, 0.26);
}

.articulo img{
    font-size: 30px;
    display: inline-block;
    width: 100%  ;
    height: 150px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(17, 29, 48, 0.26);
    border-radius: 5%;
}

.articulo>h3{
    font-size: 24px;
    margin-top: 30px;
}

.articulo>p{
    font-weight: 100;
    color: var(--colorTexts);
    margin-top: 15px;
    padding-bottom: 20px;
    font-size: 20px;
}

.articulo>a{
    color: var(--colorBlue);
    font-weight: 400;
    text-decoration: none;
}

.articulo>a:hover{
    color: var(--colorRed);
    transition: color .5s;
}



/* ----------------------------------------------------------------tercera sección---------------------------------------------------- */
.skillscon{
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    justify-content: space-around;
}

.skillsart{
    width: 17%;
    margin-top: 30px;
    padding: 40px 30px 60px 30px;
}


.skillsart img{
    font-size: 30px;
    display: inline-block;
    width: 160px;
    height: 150px;
    text-align: center;
    padding-top: 20px;
}

.skillsart>h3{
    font-size: 24px;
    margin-top: 30px;
    margin-left: 10px;
}


.skillsart>p{
    font-weight: 100;
    color: rgb(0, 0, 0);
    margin-top: 15px;
    padding-bottom: 20px;
}

/* ----------------------------------------------------------otra sección----------------------------------------------------------------- */

.questions{
    width: 100%;
    height: 600px;
    display: flex;
    background: #f2f2f2;
    justify-content: space-between;
    align-items: center;
}
.fperfil>img{
    width: 400px;
    border-radius: 50%;
}

.textos-questions{
    margin: 0 0 0 0;
    text-align: -webkit-center;
}

.textos-questions p{
    padding:10px;
    margin: 0px 50px 0px 50px;
    color: var(--colorTexts);
    font-size: 20px;
}

button{
    color: var(--colorRed);
    text-decoration: none;
}

button>a:hover{
    color: var(--colorRed);
    transition: color .5s;
}

.containercv{

    background-color: #323639;
    display: grid;
    justify-items: center;
}

.item a{
    padding-left: 40px;
    color: white;
    text-decoration: none;
    font-size: 20px;
}


/* ------------------------------------------------------formulario de contacto------------------------------------------------ */

.box{
width: 300px;
padding: 40px;
}
.box h1{
text-align: center;
}
.box input[type = "text"],.box input[type = "password"]{
border:0;
background: none;
margin: 20px auto;
text-align: center;
border: 2px solid #3445db;
padding: 14px 10px;
width: 200px;
color: rgb(0, 0, 0);
border-radius: 24px;
transition: 0.25s;
}
.box input[type = "text"]:focus,.box input[type = "password"]:focus{
width: 280px;
border-color: #2ecc71;
}
.box input[type = "submit"]{
border:0;
background: none;
margin: 20px auto;
text-align: center;
border: 2px solid #be1d2a;
padding: 14px 40px;
color: rgb(0, 0, 0);
border-radius: 24px;
transition: 0.25s;
cursor: pointer;
}
.box input[type = "submit"]:hover{
background: #cc2e2e;
}




/* footer */
footer{
    background-color: #f2f2f2;
    padding: 0 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin:auto;
    text-align: center;
    align-items: center;
  }

.part-footer{
    width: 30%;
    text-align: center;
}

.part-footer h4{
    color: rgb(30, 255, 0);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.partFooter a{
    display: block;
    text-decoration: none;
    color: var(--colorBlue);
    font-weight: 300;
    transition: color .3s ease-in-out;
}

.partFooter a:hover{
    color: var(--colorRed)
}

.partFooter img{
    width: 70%;
}

.social-media i{
    font-size: 25px;
    color: var(--colorBlue);
    border: 1px solid var(--colorBlue);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 36px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 5px;
}

.social-media i:hover{
    color: var(--colorWhite);
    background-color: var(--colorRed);
    border-color: var(--colorRed);
}


/* Responsive */

@media screen and (max-width:850px){
    .titulo{
        font-size: 40px;
        font-weight: 150;
    }

    .nav .enlaces-head a{
        font-size: 20px;
    }

    .h1{
        font-size: 10px;
    }

    .contenido-header{
        flex-direction: column;
        justify-content: space-evenly;
        height: 720px;
    }

    .contenido-header>img{
        width:500px;
    }

    .textos-header{
        margin:0;
    }

    .questions{
        height: 1000px;
        flex-direction: column;
        justify-content: space-evenly;
        height: 720px;
    }
    .questions>img{
        width:350px;
    }
    h1{
        text-align: center;
    }
    .textos-questions{
        text-align: center;
        margin-right: 60px;
    }

    /* About-us */
    .articulo{
        width: 45%;
    }

    .skillsart{
        width: 45%;
    }
}


@media screen and (max-width: 600px){
    .titulo{
        font-size: 35px;
    }

    h1{
        font-size: 70px;
    }
    .nav{
        padding: 0 10px;
    }
    .contenido-header{
        height: 650px;
    }
    .contenido-header>img{
        width:400px;
    }
    .enlaces-head{
        /* display: none; */
        position: fixed;
        background: #b92b27;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #1565C0, #b92b27);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #1565C0, #b92b27); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.0% at 100%);
    }

    .nav .menudos{
        -webkit-clip-path: circle(133.8% at 100% 0);
        clip-path: circle(133.8% at 100% 0);
    }

    .nav .enlaces-head a{
        color: white;
    }

    .hamburguer{
        display: block;
    }

    /* about us */

    .articulo{
        width: 85%;
    }
    .questions>img{
        width:200px;
    }

}

@media screen and (max-width: 500px){
    .skillsart{
        width: 95%;
    }
}

@media screen and (max-width: 250px){
    .partFooter{
        width: 95%;
        margin-bottom: 40px;
    }
}