@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;200;300;400;800&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0;
    padding: 0;
}

html{
    /*Permite deslizar cunado hago clic emn los link del menu*/
    scroll-behavior: smooth; 
}
body{
    background-color: #282828;
    color: #fff;
}

/*MENU*/

.contenedor-header{
    background: #212121;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}


.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/*NOMBRE EDUARDO DELA PAGINA*/
.contenedor-header header .logo a{
    font-family: 'Righteous';
    font-size: 36px;
    color: #70CAEE;
    text-decoration: none;
}

.contenedor-header header .logo i{
    font-size: 36px;
    color: #70CAEE;
    text-decoration: none;
}

/*BARRA DE INICIO DE */
.contenedor-header header ul{
    display: flex; /*pone uno de lado deotro latablaul*/
    list-style: none;
}

.contenedor-header header nav ul li a{
    text-align: none;
    color: #ffffff;
    margin: 0 15px; /*da marge a cada celda */
    padding: 3px;
    transition: .5s;
    text-decoration: none; 
}

.contenedor-header header nav ul li a:hover{
    color:#70CAEE;
}

/*DAMOS COLOR DE FONODO AL lAS BARRA DE INICIO */
.nav-resposive{
    background-color: #70CAEE;
    color: #212121;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}





/*----------------------------------------------------------------------------------------------------------------------------------
SECCION DE PAGINA DE INICIO
-------------------------------------------------------------------------------------------------------------------------------------*/
.inicio{
    background: linear-gradient(to top, rgba(30,35,38,.8),rgba(30,35,38,1)),url(img/code.jpg);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

.inicio .contenido-banner{
    padding: 20px;
    background-color: #212121;
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}

/*El tamaño de la imagen */
.inicio .contenido-banner img{
    margin-top: 40px;
    border: 10px solid #70CAEE;
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 100%;
}

.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 35px;
    font-family: 'Righteous';
}

/*tamaño de la letta d*/
.inicio .contenido-banner h2{
    font-size: 15px;
    font-weight: normal;
}

/*Le da forma a los iconos*/
.inicio .contenido-banner .redes a{
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}
/*Da color a los iconos de las redes */
.inicio .contenido-banner .redes a:hover{
    background-color: #70CAEE;
}




/*----------------------------------------------------------------------------------------------------------------------------------------
SECCION DE PAGINA DE 'SOBRE MI'
------------------------------------------------------------------------------------------------------------------------------------------*/
.sobremi{
    background-color: #282828;
    color: #fff;
    padding: 50px 20px;
}

.sobremi .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
/*Le forma al titulo*/
.sobremi h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}
/*Estilo del parrafo*/
.sobremi .contenido-seccion p{
    font: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}

.sobremi .contenido-seccion p span{
    color: #70CAEE;
    font-weight: bold;
}


/*Le damos forma a la lista que se creo*/
.sobremi .fila{
    display: flex;
}
.sobremi .fila .col{
    width: 50%;
}

.sobremi .fila .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.sobremi .fila .col ul{
    list-style: none;
}

.sobremi .fila .col ul li{
    margin: 12px 0;
}

.sobremi .fila .col ul li strong{
    display: inline-block;
    color: #70CAEE;
    width: 130px;
}

.sobremi .fila .col ul li span{
    background-color: #70CAEE;
    padding: 3px;
    font-weight: 5px;
    border-radius: 5px;
}

.sobremi .fila .col .contenedor-intereses{
    display: flex;
    flex-wrap: wrap;
}

.sobremi .fila .col .contenedor-intereses .interes{
    width: 100px;
    height: 100px;
    background-color: #212121;
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.sobremi .fila .col .contenedor-intereses .interes:hover{
    background-color: #70CAEE;
}

.sobremi .fila .col .contenedor-intereses .interes i{
    font-size: 30px;
    margin-bottom: 10px;
}



.sobremi button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.sobremi a{
       text-decoration: none;
}
.sobremi button .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #70CAEE;
    z-index: -1;
    transition: 1s;
}


.sobremi button:hover .overlay{
    width: 100%;
}

.sobremi button:hover .overlay{
    width: 100%;
}


/*---------------------------------------------------------------------------------------------------- 
SECCION T R A B A J O S 
-------------------------------------------------------------------------------------------------------*/
.trabajos{
    background-color: #282828;
    color: #fff;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.trabajos h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}

/* Esta clase se agregrá dinámicamente cuando haya seleccionada una opción */

.trabajos .galeria .item img{
    width: 100%;
    height: 100%;
    display: block;
}

.trabajos .galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    grid-gap:30px;
}

.trabajos .galeria .item{
    position: relative;
    overflow: hidden;
    border: 1px solid #70CAEE ;
    border-radius: 10px;
}

.trabajos .galeria .item .info{
    position: absolute;
    top: -100%;
    left: 0;
    bottom: 0;
    text-align: center;
    background-color:#70CAEE ;
    width: 100%;
    padding: 20px;
    opacity: 0;
    transition: .3s;
}

.trabajos .galeria .item .info h3{
    color: #000;
    margin-bottom: 20px;
}

.trabajos .galeria .item .info span{
    color: #8d8d8d;
    display: inline-block;
    border: 2px solid #8d8d8d;
    margin: 0 3px;
    padding:  0 5px;
}

.trabajos .galeria .item .info a{
    display: block;
    margin: 20px;
    text-decoration: none;
    color: #212121;
    font-weight: bold;
}

.trabajos .galeria .item:hover .info{
    opacity: 1;
    top: 0;
}



/*-------------------------------------------------------------------
SECCION DE PAGINA DE 'CONTACTO'
---------------------------------------------------------------*/

.contacto{
    background-image: url(img/mundo.jpg);
    background-color: #282828;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 50px 20px;
}

.contacto .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
/*Le forma al titulo*/
.contacto h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 2px 0;
}

.contacto .fila{
    display: flex;
}

.contacto .fila .col {
    width: 50%;
}

.contacto .col{
    width: 100%;
    padding: 10px;
}

.contacto .fila .col iframe{
    width: 350px;
    height: 350px;

}

.contacto .col .info{
    position: relative;
  
    background-color: #282828;
    padding: 20px;
    width: 400px;
  

}
.contacto .col .info ul{
    list-style: none;
}
.contacto .col .info ul li{
    margin-bottom: 20px;
}

.contacto .col .info ul li i{
    color: #70CAEE;
    display: inline-block;
    margin-right: 5px;
}

/*
.contacto .col .info{
    position: absolute;
    top: 40%;
    background-color: #282828;
    padding: 20px;
    width: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contacto .col .info ul{
    list-style: none;
}
.contacto .col .info ul li{
    margin-bottom: 20px;
}

.contacto .col .info ul li i{
    color: #70CAEE;
    display: inline-block;
    margin-right: 5px;
}


*/

/*---------------------------------------------------------------------------------------------------------------
SECCION FOOTER
-----------------------------------------------------------------------------------------------------------------*/

footer{
    background-color: #282828;
    color: #fff;
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
}

footer .redes{
    margin-bottom: 20px;
}

footer .redes a{
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}

footer .arriba{
    display: block;
    width: 50px;
    height: 50px;
    background-color: #70CAEE;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
}
footer h3{
    font: 20px;
    line-height: 22px;
    margin-bottom: 20px;
    color: #fff;
}




/*---------------------------------------------------------------------------------------
                        SECCION REPOSIVE
----------------------------------------------------------------------------------------*/
@media screen and (max-width:980px) {
    nav{
        display:none;
    }
    .nav-resposive{
        display: block;
    }
    nav.responsive{
        display: block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: #282828;
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;
    }
    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }
}



@media screen and (max-width:800px){
    .sobremi .fila{
        display: block;
    }
    .sobremi .fila .col{
        width: fit-content;
    }

    .trabajos nav{
        display: block;
        width: 100%;
    }

    .trabajos nav a{
        display: block;
        width: 100%;
        margin: 0 5px;
    }



    .porfolio .galeria{
        display: block;
        width: 100%;
    }
    .porfolio .galeria .proyecto{
        max-width: 100%;
    }
    .porfolio .galeria .proyecto img{
        width: 100%;
    }


    .contacto .fila{
        display: block;
        width: 100%; 
    }
    .contacto .fila .col{
       width: 100%; 
    }
    .contacto .fila .map{
       width: 100%; 
    }
    .contacto .fila .map iframe{
        width: 100%; 
     }
    .contacto .fila .col .info{
       width: 100%; 
    }
}



