/* AGREGAMOS LA FUENTE QUE VAMOS A UTILIZAR EN EL PROYECTO */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "montserrat";
}

html{
    scroll-behavior: smooth;
}

#inicio{
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url("images/fondo-header.jpg");
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

#inicio .contenido header{
    background-color: rgba(0,0,0,.8);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

#inicio .contenido header .contenido-header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

#inicio .contenido header .contenido-header h1{
    text-align: center;
    color: orange;
}

#inicio .contenido header .contenido-header nav ul{
    list-style: none;
    display: flex;
    align-items: center;
}

#inicio .contenido header .contenido-header nav ul li a{
    text-decoration: none;
    color: white;
    margin: 0 12px;
    font-weight:400;
    transition: 1s;
}

#inicio .contenido header .contenido-header nav ul li a:hover{
    color: rgb(255, 77, 0)
}

#inicio .contenido header .contenido-header .redes a{
    text-decoration: none;
    color: white;
    display: inline-block;
    margin-left: 10px;
    transition: 1s;
}

#inicio .contenido header .contenido-header .redes a:hover{
    color: rgb(255, 77, 0)
}

#inicio .contenido header .contenido-header .seleccionado{
    color: rgb(255, 77, 0)
}


#inicio .contenido .presentacion{
    max-width: 1100px;
    height: 100vh;
    margin: auto;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#inicio .contenido .presentacion .bienvenida{
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

#inicio .contenido .presentacion h2{
    font-size: 52px;
    margin-bottom: 25px;
    text-align: center;
}

#inicio .contenido .presentacion h2 span{
    font-size: 52;
    color:rgb(255, 77, 0);
}

#inicio .contenido .presentacion .descripcion{
    max-width: 800px;
    margin: 25px auto;
    font-size: 20px;
    text-align: center;
}

#inicio .contenido .presentacion a{
    text-decoration: none;
    display: inline-block;
    margin: 25px;
    padding: 20px 25px;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    transition: 1s;
}

#inicio .contenido .presentacion a:hover{
    background-color: rgb(255, 77, 0);
}

#icono-nav{
    color: white;
    display: none;
}

/* SECCION QUIEN SOY */

#quiensoy{
    max-width: 1100px;
    margin: auto;
    padding: 100px 15px;
    color:rgb(255, 77, 0);
    display: flex;
}

#quiensoy .contenedor-foto{
    max-width: 400px;
    margin-right: 200px;
}

#quiensoy .contenedor-foto img{
    padding: 5px;
    width: 250%;
    filter: brightness(67%) saturate(183%);
    -webkit-filter: brightness(67%) saturate(183%);
    -moz-filter: brightness(67%) saturate(183%);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

#quiensoy .quiensoy{
    margin: 0 40px;
}

#quiensoy .quiensoy .titulo-seccion{
    font-size: 22px;
    text-transform: uppercase;
    color: rgb(255, 77, 0);
    font-weight: bolder;
    text-decoration: underline;
    text-decoration-color: rgb(37, 37, 37);
    text-decoration-thickness: 4px;
}

#quiensoy .quiensoy h2{
    font-size: 34px;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 1px;
}

#quiensoy .quiensoy h2 span{
    color: black;
}

#quiensoy .quiensoy h3{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#quiensoy .quiensoy p{
    font-size: 16px;
    line-height: 25px;
    color: black;
    margin-bottom: 12px;
}

#quiensoy .quiensoy a{
    display: inline-block;
    text-decoration: none;
    color: rgb(255, 77, 0);
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid rgb(255, 77, 0);
    margin-top: 30px;
    transition: 1s;
}

#quiensoy .quiensoy a:hover{
    background-color: rgb(255, 77, 0);
    color: white;
}

/* SECCION SERVICIOS */

#servicios{
    padding: 100px 15px;
    text-align: center;
    background-color: rgb(219, 219, 219);
}

#servicios .titulo-seccion{
    font-size: 22px;
    text-transform: uppercase;
    color: rgb(255, 77, 0);
    font-weight: bolder;
    text-decoration: underline;
    text-decoration-color: rgb(37, 37, 37);
    text-decoration-thickness: 4px;
}

 #servicios .fila{
    display: flex;
    justify-content:space-between;
    max-width: 1100px;
    margin: 30px auto;
}

#servicios .fila i{
    color: #FFA500;
    
}

#servicios .fila .servicio{
    max-width: 350px;
    background-color: #fff;
    padding: 30px;
    margin: 0 5px;
    border-radius: 5px;
    transition: 1s;
}

#servicios .fila .servicio:hover{
    box-shadow: 5px 5px 10px #565656, -5px -5px 10px #8a8a8a;
}

#servicios .fila .servicio h4{
    font-size: 22px;
    margin-bottom: 25px;
}

#servicios .fila .servicio .icono{
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;

}

#servicios .fila .servicio hr{
    width: 50%;
    margin: auto;
    color: black;
    margin-bottom: 30px;
}

#servicios .fila .servicio ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

#servicios .fila .servicio p{
    font-size: 14px;
    line-height: 22px;
}

/* SECCION SKILLS */

.contenedor-skills{
    background: linear-gradient(rgba(67, 67, 67, 0.7), rgba(145, 145, 145, 0.7)), url("/images/fondo-skills.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    text-align: center;
}

h3{
    color: white;
    font-size: 22px;
}

.contenedor-skills .skill{
    max-width: 600px;
    margin: 30px auto;
}

.contenedor-skills .skill .info{
    display: flex;
    justify-content: space-between;
}

.contenedor-skills .skill .lista{
    display: inline-block;
    margin-right: 20px;
    height: 10px;
    width: 10px;
    background-color: white;
}

.contenedor-skills .skill .barra{
    background-color: #8a8a8a;
    width: 100%;
    height: 6px;
    margin: 10px 0;
}

/* Este estilo se va aplicar mediante el JavaScript para la animacion de las barras */
.contenedor-skills .skill .barra .barra-progreso1{
    background-color: white;
    width: 95%;
    height: 6px;
    animation: progreso1 2s forwards;
}
.contenedor-skills .skill .barra .barra-progreso2{
    background-color: white;
    width: 90%;
    height: 6px;
    animation: progreso2 2s forwards;
}
.contenedor-skills .skill .barra .barra-progreso3{
    background-color: white;
    width: 90%;
    height: 6px;
    animation: progreso3 2s forwards;
}
.contenedor-skills .skill .barra .barra-progreso4{
    background-color: white;
    width: 85%;
    height: 6px;
    animation: progreso4 2s forwards;
}

/* Creamos las animaciones de las barras */

@keyframes progreso1 {
    0% {
        width: 0;
    }
    100% {
        width: 95%;
    }
}

@keyframes progreso2 {
    0% {
        width: 0;
    }
    100% {
        width: 90%;
    }
}

@keyframes progreso3 {
    0% {
        width: 0;
    }
    100% {
        width: 90%;
    }
}

@keyframes progreso4 {
    0% {
        width: 0;
    }
    100% {
        width: 85%;
    }
}

/* SECCION PORTFOLIO */

#portfolio{
    max-width: 1100px;
    padding: 100px 0;
    margin: auto;
}

#portfolio .titulo-seccion{
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: rgb(255, 77, 0);
    font-weight: bolder;
    text-decoration: underline;
    text-decoration-color: rgb(37, 37, 37);
    text-decoration-thickness: 4px;
} 

#portfolio .fila{
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

#portfolio .fila .proyecto{
    max-width: 450px;
    border: 1px solid black;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

#portfolio .fila .proyecto img{
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    object-fit: cover;
    transition: 3s;
}

#portfolio .fila .proyecto:hover img{
    filter: grayscale(0);
    transition: .5s;
}

#portfolio .fila .proyecto .info{
    position: absolute;
    left: 0;
    background-color: black;
    color: rgb(255, 77, 0);
    width: 100%;
    padding: 10px;
    opacity: 0;
    bottom: -40px;
    transition: 1s;
}

#portfolio .fila .proyecto:hover .info{
    opacity: 1;
    bottom: 0;
}

/* SECCION CONTACTO */

#contacto{
    padding: 100px 15px;
    background-color: #FFA500;
}

#contacto .titulo-seccion{
    color: rgb(255, 77, 0);
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color:black;
    text-decoration-thickness: 5px;
}

#contacto .contenedor-form{
    max-width: 1100px;
    margin: auto;
}

#contacto .contenedor-form .fila{
    margin-bottom: 15px;
}

#contacto .contenedor-form .mitad{
    display: flex;
    justify-content: space-between;
}

#contacto .contenedor-form input,
#contacto .contenedor-form textarea{
    padding: 20px;
    border-radius: 10px;
    border: none;
    border: 1px solid black;
}

#contacto .contenedor-form .mitad input{
    width: 48%;
}

#contacto .contenedor-form .input-full{
    width: 100%;
}

#contacto .btn-enviar{
    display: block;
    margin: auto;
    cursor: pointer;
    transition: 1s;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
}

#contacto .btn-enviar:hover{
    background-color: rgb(255, 77, 0);
    color: white;
}

/* SECCION FOOTER */

footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer a{
    text-decoration: none;
    color: white;
    display: inline-block;
    margin: 5px;
    font-size: 26px;
}

/* CONFIGURACION RESPONSIVE */

@media screen and (max-width:900px) {
    .redes{
        display: none;
    }

    nav{
        display: none;
    }

    nav.responsive{
        display: block;
        background-color: rgba(0,0,0, .8);
        width: 100%;
        position: absolute;
        top:48px;
        left: 0;
        padding: 10px 0;
    }

    nav.responsive ul{
        display: block !important;
        text-align: center;
    }

    nav.responsive ul li{
        margin: 5px 0;
    }

    #icono-nav{
        display: block;
    }

    #inicio .contenido .presentacion h2{
        font-size: 40px;
    }

    #quiensoy{
        padding: 50px 0;
        display: block;
    }

    #quiensoy .contenedor-foto{
        max-width: 200px;
        margin: auto;
    }

    #quiensoy .contenedor-foto img{
        padding: 8px;
        width: 100%
    }

    #quiensoy .quiensoy .titulo-seccion{
        text-align: center;
    }

    #quiensoy .quiensoy h2{
        font-size: 30px;
        text-align: center;
    }

    #servicios{
        padding: 50px 15px;
    }

    #servicios .fila{
        display: block;
    }

    #servicios .fila .servicio{
        margin: 30px auto;
    }

    .contenedor-skills{
        padding: 50px 20px;
    }

    #portfolio{
        padding: 50px 0;
    }

    #portfolio .fila{
        display: block;
    }
    
    #portfolio .fila .proyecto{
        margin: 20px auto;
        padding: 20px 10px;
        border: none;
    }

    #contacto{
        padding: 50px 30px;
    }

    #contacto .contenedor-form .mitad{
        margin-bottom: 15px;
        display: block;
    }
    
    #contacto .contenedor-form .mitad input{
        width: 100%;
        margin-bottom: 15px;
    }
}
