* {
    margin: 0px;
    padding: 0px;
}

body {
    background-image: url(../Imagenes/imagen-cinco.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 100%;
    background-attachment: fixed;
}
header {
    width: 100%;
    height: 12vh;
}

header a {
    text-decoration-line: none;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

nav ul {
    list-style-type: none;
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}

nav li {
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin: 15px;
}

.subrayado:hover {
    background-size: 15%;
}

.pagina {
    background-color: rgba(255, 255, 255, 0.505);
}

.nav>li {
    float: left;
}

.menu>li {
    margin: 0px;
}

.nav li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 5px;
    display: inline;
}

.nav li a:hover {
    background-color: rgba(255, 255, 255, 0.505);
}

.nav li ul {
    display: none;
    position: absolute;
}

.nav li:hover>ul {
    display: block;
}

.nav li ul li {
    position: relative;
    display: inline;
    font-size: large;
}

.nav li ul li ul {
    right: -140px;
    top: 0px;
}

main {
    width: 100%;
    height: 80%;
}

.curriculum_vitae {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 450px);
    grid-template-rows: (3, 1fr 250px 250px);
    gap: 5px;
    place-content: space-evenly center;
    margin: 40px 0 0 0;
}

img {
    width: 160px;
    height: 280px;
    border: solid 3px rgb(255, 255, 255);
    margin-left: 120px;
}

.nombre {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: xx-large;
    text-align: center;
    color: white;
}

.informacion {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    color: white;
}

.informacion_dos {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: medium;
    text-align: justify;
    padding: 5px;
    color: white;
    margin: 15px 0px;
}

.datos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: medium;
    color: white;
}

.contactos_m{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.contactos_m p{
    margin: 0px 20px;
    font-size: medium;
}

.contacto {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: left;
    margin-bottom: 20px;
    color: white;
}

.contacto>p {
    font-size: large;
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
}

.educacion {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: left;
    margin-bottom: 30px;
    color: white;
}

.educacion>p {
    font-size: large;
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
}

.lenguajes_habilidades {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    color: white;
}

.lenguajes p{
    margin: 0px 0px 20px 0px;
}

.habilidades p {
    margin: 0px 0px 20px 0px;
}

.trabajo {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: left;
    margin: 15px 0px 30px 0px;
    color: white;
}

.trabajo>p {
    font-size: large;
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
}

.download {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin: 50px 20px 30px 10px;
}

button {
    background-color: rgba(39, 54, 118, 0.792);
    padding: 5px;
    border-radius: 5px;
}

button:hover{
	-webkit-animation: 0.7s click 1;
}

@-webkit-keyframes click{
	40%, 75%{
		-webkit-transform:scale(0.9);
	}
	50%{
		-webkit-transform:scale(1);
	}
}

button>a {
    text-decoration-line: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
    color: white;
}

aside>button>a:hover {
    text-decoration-line: underline;
}

footer {
    width: 100%;
    height: 8vh;
}

h2 a {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 30px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

@media screen and (max-width: 679px) {
    header {
        width: 100%;
        height: 8vh;
    }

    nav li {
        font-size: 12px;
        margin: 5px;
    }
    .nav li ul li {
        font-size: 12px;
        margin: 7px;
    }

    main {
        width: 100%;
        height: 86%;
    }

    img {
        width: 100px;
        height: 180px;
        border: solid 3px black;
        margin-left: 20px;
    }

    .curriculum_vitae {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(2, 140px);
        grid-template-rows: (3, 1fr 250px 250px);
        gap: 20px;
        place-content: space-evenly center;
        margin: 20px 0 0 0;
    }

    .nombre {
        font-size: small;
    }

    .informacion {
        font-size: small;
    }

    .informacion_dos {
        font-size: 7px;
    }

    .contactos_m{
        flex-direction: column;
    }
    .contactos_m p{
        font-size: xx-small;
        margin: 0px;
    }

    .direccion{
        font-size: xx-small;
    }

    .contacto{
        font-size: 7px;
        
    }
    .contacto>p{
        font-size: small;
    }
    .educacion{
        font-size: 7px;
    
    }
    .educacion>p {
        font-size: small;
    }
    .lenguajes_habilidades{
        font-size: 7px;
    
    }
    .lenguajes_habilidades>p{
        font-size: small;
    }
    .trabajo{
        font-size: 7px;
   
    }
    .trabajo>p{
        font-size: small;
    }
    button>a{
    font-size: small;
    }
    h2 a {
        font-size: medium;
        margin: 5px;
    }

    footer {
        width: 100%;
        height: 6vh;
    }
}

@media screen and (min-width:680px) and (max-width: 1100px){
        header {
        width: 100%;
        height: 10vh;
    }

    nav li {
        font-size: 20px;
        margin: 5px;
    }
    .nav li ul li {
        font-size: 16px;
        margin: 7px;
    }

    main {
        width: 100%;
        height: 80%;
    }

    img {
        width: 120px;
        height: 210px;
        border: solid 3px black;
        margin-left: 20px;
    }

    .curriculum_vitae {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(2, 300px);
        grid-template-rows: (3, 1fr 250px 250px);
        gap: 20px;
        place-content: space-evenly center;
        margin: 20px 0 0 0;
    }

    .nombre {
        font-size: 22px;
    }

    .informacion {
        font-size: 15px;
    }

    .informacion_dos {
        font-size: 11px;
    }

    .contactos_m{
        flex-direction: column;
    }
    .contactos_m p{
        font-size: 15px;
        margin: 10px 0px;
    }

    .direccion{
        text-align: center;
        font-size: 15px;
        margin: 10px 0px;
    }

    .educacion{
        font-size: 15px;
    
    }
    .educacion>p {
        font-size: 18px;
    }
    .lenguajes_habilidades{
        font-size: 15px;
    
    }
    .lenguajes_habilidades>p{
        font-size: 11px;
    }
    .trabajo{
        font-size: 15px;
   
    }
    .trabajo>p{
        font-size: 18px;
    }
    .lenguajes p{
        font-size: 18px;
    }
    
    .habilidades p {
        font-size: 18px;
    }

    button>a{
    font-size: 15px;
    }
    h2 a {
        font-size: 30px;
        margin: 5px;
    }

    footer {
        width: 100%;
        height: 10vh;
    }
}