:root{
    --primary-color: #083c79;
    --main-font: 'Open Sans',sans-serif;
}

*{
    box-sizing: border-box; 
    padding: 0px;
    margin: 0px;
    }

    html {
        font-size: 62.5%; 
       }

body{
    overflow-x: hidden;
    font-family: var(--main-font);
    color: #676767;
    position: relative;
    background-color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    line-height: 2.6rem;
    width: 100vw;
}

.menu{
    position: sticky;
    display: flex;
    justify-content: flex-start;
    width: 100vw;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    z-index: 3;
}

.menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-access{
    position: fixed;
}

.menu a {
    display: flex;
    flex-direction: column;
    padding: 2em;
    background-color:#06305f;
    opacity: 90%;
    text-decoration: none;
    color: whitesmoke;
    width: 100vw;
}
.menu a:hover {
    background-color: #06305f;
    opacity: 95%;
}
.menu ul li ul {
    display: none;
    position: absolute;
}
.menu ul li a:hover + ul, .menu ul li ul:hover {
    display: block;
}

.menu-icon{
    width: 25px;
    height: 25px;
}

.main-container{
display:flex;
flex-wrap: wrap;
width: 100vw;
}

.div_item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    vertical-align: baseline;
    padding-left: 2rem;
    padding-top: 10rem;
    padding-bottom: 14rem;
    box-sizing: content-box;
    float: none;
    margin-right: 0.5rem;
    height: 80vh;
}

.div-container{
    font-size: 1rem;
    width: 100vw;
    background-image: url(../assets/hellomobile.png) ;
}

#hola-text{
    display: inline-block;
    font-size: 2rem;
    color: snow;
}

p{
    color: snow;
    font-size: 1.5rem;
}

#name-text{
    font-size: 4rem;
    font-family: 'Roboto', sans-serif;
    color: snow;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.sobre-mi{
    background-color: white;
    width: 100vw;
    border-top: 0.5rem #1a589e solid;
}

.div_item-sobre-mi{
    display: inline-block;
    vertical-align: baseline;
    padding-left: 2rem;
    padding-top: 10rem;
    width: 90vw;
    box-sizing: content-box;
    float: none;
    margin-right: 0.5rem;
}

.div_item-sobre-mi h1{
    color: var(--primary-color);
    font-size: 3rem;
    text-align: left;
}

.div_item-sobre-mi{
    text-align: center;
    font-size: 1rem;
}

.sobre-mi p{
    margin-top: 3rem;
    padding-left: 1rem;
    color: grey;
    text-align: center;
    margin-right: 2px;
}

.carousel_container{
    width: 100vw;
    display: flex;
    justify-content: center;
    padding-bottom: 12rem;
    padding-top: 5rem;
    padding: 0 5rem;
    max-width: 2000px;
    position: relative;
    margin: auto;
    z-index: 1;
}

.me_image{
    width: 100%;
}

.mySlides {
    display: none;
}
  
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    margin-top: -22px;
    padding: 12px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
  
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev{
    left: 0;
}
  
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
  
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    margin-bottom: 3rem;
}
  
.active, .dot:hover {
    background-color: #717171;
}
  

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.div_item-areas-de-trabajo{
    display: inline-block;
    vertical-align: baseline;
    padding-left: 2rem;
    padding-top: 10rem;
    padding-bottom: 14rem;
    width: 70%;
    box-sizing: content-box;
    float: none;
    margin-right: 0.5rem;
    background-color: var(--primary-color);
}

.areas-de-trabajo{
    width: 100vw;
    border-top: 0.5rem #1a589e solid;
}

.div_item-areas-de-trabajo h1{
    color: whitesmoke;
    font-size: 3rem;
}

.div_item-areas-de-trabajo p{
    margin-top: 3rem;
    padding-left: 1rem;
    color: lightgray;
}

.div_item-formacion-academica{
    display: inline-block;
    vertical-align: baseline;
    padding-top: 10rem;
    padding-bottom: 0rem;
    box-sizing: content-box;
    float: none;
    background-color: white;
}

.formacion-academica{
    background-color: white;
    width: 100vw;
    border-top: 0.5rem #1a589e solid;
    line-height: 0rem;
}

.div_item-formacion-academica figure{
        margin-block-end: 0em;
        margin-inline-end: 0px;
        line-height: 0rem;
        margin-bottom: 0px;
}

.div_item-formacion-academica h1{
    color: #083c79;
    font-size: 2.7rem;
    padding-left: 2rem;
    line-height: 2.6rem;
}

.div_item-aptitudes{
    padding-top: 1rem;
    display: block;
    max-width: 100vw;
}

.aptitudes_image{
    width: 50vw;
    float: right;
}

.timeline{
    width: 100vw;
    margin-bottom: 0px;
}

.social {
    display: block;
    list-style-type: disc;
    padding: 0px;
    margin: 0px;
}

.liRedes{
    box-sizing: content-box;
    list-style: none;
    display: inline-block;
    padding: 0.5rem;
    height: 35px;
}

footer {
    text-align: center;
    background-color: #252525;
    width: 100%;
    float: none;
}

#open{
    outline:none;
}

#close{
    outline:none;
}

#EstiloFooter {
    font-family: 'Noto Serif', serif;
    font-style:inherit;
    font-size: 1.5rem;
    color: snow;
}

#Contact{
    color: whitesmoke;
    border-radius: 0.2rem ;
    text-decoration: none;
    opacity: 80%;
}

#Contact:hover{
    color: white;
    opacity: 100%;
}


@media (max-width: 800px){
    #computer-nav{
        display: none;
    }

    #timelinepc{
        display: none;
    }

    #timelinetv{
        display: none;
    }

    .fa-brands {
        font-size: 5vw;
      }
}

@media (prefers-reduced-motion: no-preference) {
    * {
      scroll-behavior: smooth;
    }
  }