body {
    margin: 0px;
}

#boton {
    display: none;
}

#miNombre {
    font-size: 24px;
    margin-top: 10px;
    color: white;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 0;
}

.carrera {
    margin: 0;
    color: white;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
}

#navHorizontal {
    float: right;
    background-color: #e74c3c;
    height: 100%;
}

#navVertical {
    margin-top: 5px;
    display: none;
    z-index: 3;
}

.titulosHorizontal {
    display: flex;
    justify-content: left;
    padding: 0;
    margin: 0;
    position: sticky;
    overflow: hidden;
    top: 0;
    height: 100%;
}

.titulosVertical {
    display: none;
}

.titulo {
    list-style-type: none;
    font-size: 16px;
    padding-top: 25px;
    padding-left: 1vw;
    padding-right: 1vw;
    color: white;
}
.tituloSeleccionado {
    border-bottom: 4px solid;
}

.tituloSeleccionadoMovil {
    border-left: 8px solid !important;
}
.titulo:hover {
    background-color: lightgray;
    color: #e74c3c;
    font-weight: bolder;
}

a {
    text-decoration: none;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: inherit;
    padding-bottom: 9px;
}

a:hover {
    text-decoration: none;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    color: inherit;
    padding-bottom: 9px;
}
.fondoRojo {
    position: absolute;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #e74c3c;
}

.header {
    width: fit-content;
    height: calc(100vh - 60px);
    background-color: transparent;
    position: sticky;
    position: -webkit-sticky;
    top: calc(-100vh + 175px);
    z-index: 3;
}
.yo {
    margin-top: calc(50vh - 60px);
    display: inline-block;
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    width: fit-content;
}

.foto {
    display: inline-block;
}

.mateoDevia {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.quote {
    width: 60%;
    max-width: calc(100% - 450px);
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
}
.quote div {
    margin: 50vh 10% 10px 10%;
    transform: translateY(-50%);
}

.quote h1 {
    color: white;
    font-size: 20px;
    vertical-align: middle;
}

#barraSticky {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 2;
}
#rectangulo {
    position: relative;
    height: 60px;
    -webkit-box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
    background-color: #e74c3c;
}
.logo {
    border-radius: 50%;
    border: 5px solid #e74c3c;
    height: 100px;
    z-index: 2;
    left: 0;
    box-sizing: content-box;
    box-shadow: 0 4px 0px 0 rgba(0, 0, 0, 0.342),
        0 1px 0px 0 rgba(0, 0, 0, 0.308);
}

.learnMore {
    position: absolute;
    margin-top: -40px;
    z-index: 3;
    font-size: 12px;
    color: white;
    width: 100%;
    text-align: center;
    -webkit-animation: jump 3s ease 0s infinite normal;
    animation: jump 3s ease 0s infinite normal;
}

.downArrow {
    height: 20px;
    margin-top: 10px;
}

@-webkit-keyframes jump {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    20% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    30% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    35% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    40% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@media only screen and (max-width: 785px) {
    .fondoRojo {
        height: 100vh;
    }
    .header {
        z-index: 4;
        width: 100%;
        top: 0;
    }
    .quote {
        width: 100%;
        max-width: 100%;
        text-align: center;
        position: absolute;
        right: 0;
        top: 0;
    }
    .quote div {
        margin: 50vh 10% 10px 10%;
        transform: translateY(-50%);
    }

    .quote h1 {
        color: white;
        font-size: 20px;
        vertical-align: middle;
    }

    .yo {
        margin-top: 0;
        display: inline-block;
        position: sticky;
        position: -webkit-sticky;
        top: 0px;
        width: 100%;
        background-color: #e74c3c;
        height: 60px;
    }

    #barraSticky {
        z-index: 10;
        background-color: transparent;
    }
    #rectangulo {
        background-color: transparent;
    }
    #navHorizontal {
        display: none;
    }
    #navVertical {
        position: sticky;
        position: -webkit-sticky;
        top: 60px;
        margin: 0;
        -webkit-box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 20px 30px -15px rgba(0, 0, 0, 0.75);
        z-index: 4;
        text-align: right;
    }

    #miNombre {
        padding-right: 10px;
        padding-top: 10px;
        margin: 0;
        width: 100%;
    }
    .carrera {
        padding-right: 10px;
        position: relative;
        margin: 0;
        font-size: 10px;
        width: 100%;
    }

    #boton {
        display: block;
        padding: 2vw;
        font-size: 35px;
        background-color: #e74c3c;
        border: none;
        outline: none;
        cursor: pointer;
        position: absolute;
        right: 0;
        height: 58px;
        padding-top: 0;
        padding-bottom: 0;
        z-index: 3;
        color: white;
    }

    .logo {
        display: none;
    }

    .titulosHorizontal {
        display: none;
    }

    .titulosVertical {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0px;
        margin: 0px;
        flex-direction: column;
        font-size: 50%;
        background-color: #e74c3c;
    }

    .titulo {
        list-style-type: none;
        font-size: 16px;
        padding-top: 2vw;
        padding-bottom: 2vw;
        padding-left: 2vw;
        padding-right: 2vw;
        border: 0;
        z-index: 2;
    }
}
@media only screen and (max-width: 950px) {
    .quote h1 {
        font-size: 17px;
    }
}
@media only screen and (max-width: 500px) {
    .quote h1 {
        font-size: 20px;
    }
}
@media only screen and (max-width: 300px) {
    .quote h1 {
        font-size: 20px;
    }
}

@media only screen and (max-height: 700px) {
    .quote h1 {
        font-size: 15px;
    }
}

@media only screen and (max-height: 400px) {
    .quote div {
        margin: 50vh 10% 10px 10%;
        transform: translateY(-50%);
    }

    .learnMore {
        display: none;
    }
}
