/*ESTILOS GENERALES*/
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/*CABECERA*/

#header {
    min-width: 1024px;
    width: 100%;
    height: 200px;
    margin: 0px auto;
}

#header #logotipo {
    width: 770px;
    margin: 0px auto;
    padding-top: 20px;
}

#header #logotipo img {
    display: block;
    text-align: center;
    margin: 0px auto;
    width: 170px;
}

/*CONTENIDO CENTRAL*/

main {
    margin: 0% 10% 0% 10%;
}

body {
    background-image: url("../../../img/Fondos/Fondo.jpg");
    max-width: 1920px;
    min-width: 1095px;
}

/*BARRA DE NAVEGACION*/

nav {
    width: 100%;
    height: 45px;
    top: 0px;
    position: sticky;
    z-index: 20;
    background-color: white;
    font-size: 12px;
    box-shadow: 0px 0px 2px gray;
}

nav ul {
    list-style: none;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

nav>ul>li {
    line-height: 45px;
    float: left;
    border-right: 1px solid gray;
    width: 19.99%;
    background-color: white;
    text-align: center;
}

nav>ul>li a {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}

nav>ul>li>a::first-letter {
    font-size: 2rem;
    color: #6ecde9;
}


nav>ul>li>a:first-child {
    border-left: 1px solid gray;
}

nav>ul>li:hover {
    background-color: #f2f1f0;
    box-shadow: 0px 0px 4px #6ecde9 inset;
}

/*MENÚ DESPLEGABLE*/

nav>ul>li>ul {
    display: none;
    z-index: 20;
    position: absolute;
    width: 19.99%;
}

nav>ul>li:hover>ul {
    display: block;

}

nav>ul>li>ul>li {
    border-right: 1px solid gray;
    background-color: white;
    text-align: center;
}

nav>ul>li>ul>li a {
    text-transform: uppercase;
}

nav>ul>li:hover>ul>li {
    background-color: #f2f1f0;
    border-bottom: 1px solid #d6d6d6;
    padding: 8px;
    line-height: 35px;
    font-size: 8px;

}

nav>ul>li:hover>ul>li a {
    color: #666666;
}


nav>ul>li:hover>ul>li a::first-letter {
    font-size: 2rem;
    color: #6ecde9;
}

nav>ul>li:hover>ul>li:hover {
    box-shadow: 0px 0px 2px #ccc inset;
    background: rgb(252, 246, 246);
}

/*MENÚ subDESPLEGABLE*/

nav>ul>li>ul>li a {
    display: block;
}


nav>ul>li>ul>li>ul {
    display: none;
    z-index: 20;
    position: absolute;
    top: 0px;
    left: 100%;
    float: left;
}

nav>ul>li>ul>li>ul>li {

    border-right: 1px solid gray;
    background-color: white;
    text-align: center;

}

nav>ul>li>ul>li:hover>ul {
    display: block;
}

nav>ul>li>ul>li:hover>ul>li {
    background-color: #f2f1f0;
    border-bottom: 1px solid #d6d6d6;
    line-height: 35px;
    padding: 8px;
    font-size: 8px;
}

nav>ul>li>ul>li:hover>ul>li a {
    color: #666666;
}


nav>ul>li>ul>li:hover>ul>li a::first-letter {
    font-size: 2rem;
    color: #6ecde9;
}

nav>ul>li>ul>li:hover>ul>li:hover {
    box-shadow: 0px 0px 2px #ccc inset;
    background: rgb(252, 246, 246);
}

/*OTRAS CAJAS*/


.myProject{
    display: block;
    float: left;
    padding: 2%;
    margin-bottom: 10%;
    width: 46%;
}
main>div:nth-of-type(1)>div:nth-of-type(1)>iframe {
    height: 450px;
    width: 100%;
}

main>div:nth-of-type(1) {
    margin-top: 15%;
  }

main>div:nth-of-type(1)>div:nth-of-type(2)>p:nth-of-type(n) {
  width: 100%;
}
main>div:nth-of-type(1)>div:nth-of-type(2)>p:nth-of-type(1) {
    text-align: center;
    color: #6ecde9;
    margin-bottom: 10%;
}


main>div:nth-of-type(3)>div:nth-of-type(n)>img{
    display: block;
    width: 100px;
    height: 120px;
    margin: auto;
    padding: 4%;
}

main>div:nth-of-type(3)>div:nth-of-type(n)>p:nth-of-type(1){
    text-align: center;
    color: white;
    margin-bottom: 3%;
}

main>div:nth-of-type(3)>div:nth-of-type(n)>p:nth-of-type(2){
    text-align: center;
    color: white;
    margin-top: 3%;
}

.proyectoDescripcion {
    margin-top: 3%;
    margin-bottom: 3%;
}

.caja {
    display: block;
    float: left;
    padding: 2%;
    margin: 1%;
    height: 350px;
    background-color: black;
    border-radius: 20px;
    width: 31%;
    margin-bottom: 5%;
    opacity: 0.9;
    
    
}
.habilidades{

text-align: center;
margin-top: 5%;
margin-bottom: 5%;
color: #6ecde9;
}

main>div:nth-of-type(3){
    width: 100%;
}


main>div:nth-of-type(5){
    width: 100%;
    margin-bottom: 5%;
}

main>div:nth-of-type(5)>a{
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 13%;
    text-decoration: none;
    width: 10%;
}

main>div:nth-of-type(5)>a>img{
    width: 10%;
    position: relative;
    top: 63px;
}

.clearfix{
    float: none;
    clear: both;
}


/*PIE DE PÁGINA*/
footer {
    background-image: url("../../../img/Footer/Footer.jpg");
    background-position: 100% 50%;
    background-size: cover;
    height: 450px;
    margin: 0% 10% 0% 10%;
}

footer>div:nth-of-type(1) {
    height: 85%;
    width: 100%;
}

footer>div:nth-of-type(1)>div:nth-of-type(n) {
    text-align: center;
    color: white;
    line-height: 62px;
    font-size: 2em;
    width: 32%;
}

footer>div:nth-of-type(1)>div:nth-of-type(1)>div>a>img,
footer>div:nth-of-type(1)>div:nth-of-type(2)>div>a>img {
    width: 10%;
}

footer>div:nth-of-type(1)>div:nth-of-type(1)>div>div {
    font-size: 0.4em;
    line-height: 24px;
}

footer>div:nth-of-type(1)>div:nth-of-type(2) {
    margin-left: 35%;
}

footer>div:nth-of-type(1)>div:nth-of-type(2),
footer>div:nth-of-type(1)>div:nth-of-type(1),
footer>div:nth-of-type(1)>div:nth-of-type(3) {
    float: left;
}

footer>div:nth-of-type(1)>div:nth-of-type(2)>div,
footer>div:nth-of-type(1)>div:nth-of-type(1)>div {
    display: block;
    line-height: 30px;
}

footer>div:nth-of-type(1)>div:nth-of-type(2)>div>div {
    font-size: 0.6em;
    margin-top: 10%;
    margin-bottom: 15%;
    line-height: 24px;
}

footer>div:nth-of-type(2) {
    text-align: center;
    height: 15%;
    width: 100%;
    line-height: 74px;
    background-color: #31313180;
    color: white;

}