*{
    box-sizing: border-box;
}

body{
    font-family: "open sans", sans-serif;
    background: white;
    font-size: 16px;
}

.contenedor{
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* ----- ----HEADER----- ----- */

header{
    background: url(../img/code.jpg) no-repeat;
    background-position: center;
    height: calc(100vh);
}

header .menu{
    margin: 40px 0;
    text-align: right;
}

header .menu a{
    background-color: #3895ea;
    border-radius: 5px;
    border: 2px solid black;
    margin: 0 20px;
    color: white;
    padding: 9px;
    display: inline-block;
    text-decoration: none;
    font-size: 1em;
    transition: all .5s ease;
}

header .menu a:hover{
    border: 2px solid #3895ea;
}

header .contenedor-texto{
    display: flex;
    margin: 190px 0;
    justify-content: center;
    align-content: center;
}

header .contenedor-texto .texto{
    border: 2px solid black;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    padding: 20px 60px;
    background: rgba(0, 0, 0, 0.8);
}

header .contenedor-texto .texto h1,
header .contenedor-texto .texto h2{
    color: white;
    font-weight: 300;
    margin: 0;
}

header .contenedor-texto .texto .nombre{
    margin-bottom: 10px;
    font-size: 50px;
    line-height: 50px;
}

header .contenedor-texto .texto .profesion{
    font-size: 25px;
    line-height: 25px;
}

/*----- -----main----- -----*/

.main .contenedor{
    overflow: visible;
}

.main .acerca-de{
    text-align: center;
}

.main .acerca-de .foto img{
    vertical-align: top;
    margin-top: -60px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.main .acerca-de .texto{
    color: #5a5a5a;
    font-weight: 600;
    font-size: 1em;
    line-height: 30px;
    width: 80%;
    margin: 40px auto;
}

.main .acerca-de .texto .titulo{
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    color: #dd820d;
    font-weight: 300;
    text-align: center;
}

.main .acerca-de .texto .bold{
    color: #3895ea;
    text-decoration: underline;
}

.trabajos{
    background: #f2f2f2;
    padding: 60px 0;
}

.trabajos .contenedor{
    overflow: hidden;
}

.trabajos .titulo{
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    color: #323068;
    font-weight: 300;
    text-align: center;
}

.trabajos .contenedor-trabajos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}


.trabajos .contenedor-trabajos .trabajo{
    width: 23%;
    margin-bottom: 40px
}

.trabajos .contenedor-trabajos .trabajo .thumb{
    width: 100%;
    margin-bottom: 10px;
}

.trabajos .contenedor-trabajos .trabajo .thumb img{
    width: 100%;
    vertical-align: top;
    border-radius: 3px;
}

.trabajos .contenedor-trabajos .trabajo .descripcion{
    text-align: center;
}

.trabajos .contenedor-trabajos .trabajo .descripcion .nombre{
    font-weight: 700;
    color: #3895ea;
    margin-bottom: 10px;
}

.trabajos .contenedor-trabajos .trabajo .descripcion .categoria{
    font-size: 14px;
    color: #636363;
}

/*----- -----footer----- -----*/

footer .contacto{
    padding: 60px 0,
}

footer .contacto .titulo{
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    color: #3895ea;
    font-weight: 300;
    text-align: center;
}

footer .contacto .formulario{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .contacto .formulario input[type="text"],
footer .contacto .formulario input[type="email"],
footer .contacto .formulario textarea{
    border: 2px solid #cecece;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 20px;
    color: #a4a4a4;
}

footer .contacto .formulario input[type="text"],
footer .contacto .formulario input[type="email"]{
    width: 49%;
    margin-bottom: 15px;
}

footer .contacto .formulario textarea{
    width: 100%;
    margin-bottom: 15px;
    height: 100px;
    min-width: 100%;
    max-width: 100%;
    min-height: 100px;
    max-height: 300px;
}

footer .contacto .formulario .boton{
    margin: auto;
    background: #3895ea;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 15px 40px;
    cursor: pointer;
    margin-bottom: 40px;
}

footer .contacto .formulario .boton:hover{
    background: #387bea;
}

footer .redes-sociales{
    background: #1e2b38;
    padding: 20px 0;
}

footer .redes-sociales .contenedor{
    display: flex;
    justify-content: center;
}

footer .redes-sociales a{
    color: white;
    text-align: center;
    width: 100px;
    display: block;
    padding: 15px 0;
    border-radius: 3px;
    font-size: 30px;
    margin: 0 20px;
    cursor: pointer;
}

footer .redes-sociales .twitter:hover{
    background: #1da1f2;
}

footer .redes-sociales .facebook:hover{
    background: #3b5998;
}

footer .redes-sociales .youtube:hover{
    background: #ff0000;
}

footer .redes-sociales .github:hover{
    background: #4078c0;
}

footer .redes-sociales .instagram:hover{
    background: #405de6;
}

/*----- -----media queris---- -----*/

@media screen and (max-width:920px){
    header .menu{
        text-align: center;
        margin: 40px 0;
    }
	header .contenedor-texto{
        margin-top: 60px;
    }
	header .menu a{
		margin: 0 10px;
		font-size: 14px;
	}
    
    .trabajos .contenedor-trabajos .trabajo{
        width: 46%;
    }
}

@media screen and (max-width: 500px){
    header .contenedor-texto{
        margin: 190px 0;
    }
    header .contenedor-texto .texto .nombre{
        font-size: 25px;
    }
    header .contenedor-texto .texto .profesion{
        font-size: 14px;
    }
}

footer .redes-sociales .contenedor{
    flex-wrap: wrap;
    padding: 20px 0;
}










