@media screen and (min-width: 720px) {
html, body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
} 

header {
    position:fixed;
    left: 0vw;
    top: 0vh;
    width: 100vw;
    height:15vh;
    background-color: royalblue;
    text-align: center;
    font-size: 25px;
} 

nav {
    position:fixed;
    left: 0vw;
    top: 15vh;
    width: 100vw;
    height: 10vh;
    background-color: cadetblue;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-around;
} 

nav a {
    color:black;
    border: black solid 1px;
    display: block;
    padding: 5px;
    height: 5vh;
    line-height: 5vh;
} 

nav a:hover {
    background-color: darkcyan;
    color: white;
    padding: 15px;
    filter: none;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: calc(100vh - 25vh); 
    overflow-y: auto;
    margin:0;
}
article {
    width: 80vw;
    max-width: 600px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large;
    gap: 10px;
    border-radius: 5px;
    padding: 20px;
    overflow-y: auto; /
}

#perfil {
    background-color: cornflowerblue; 
    color: white;
    font-size: 30px; 
    text-align: center;
    padding: 20px;
    line-height: 1.5;
    margin-top: 25vh;
}

#perfil img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

#perfil p {
    font-size: 30px;
    font-family: "Matemasie", sans-serif;
    text-align: center;
    margin-top: 20px;
}

#recorrido {
    background-color: dodgerblue;
}

#futuro {
    background-color: lightseagreen;
}

#random {
    background-color: teal;
}

#photo01 {
    background-size: cover;
    background-position: center;
    width: 200px;
    height: 100px;
}
}

@media screen and (max-width: 720px) {
    html, body {
        margin:0;
        background-color: lightblue;
    }
    
    #paragraph01 {
        font-family: "Jacquard 24", system-ui;
        font-size: 60px;
        text-align: center;
        line-height: 100vh;
    }
    header {
        position:fixed;
        left: 0vw;
        top: 0vh;
        width: 100vw;
        height:5vh;
        background-color: blue;
        text-align: center;
        font-size: 15px;
    } 
    nav {
        position:fixed;
        left: 0vw;
        top: 5vh;
        width: 100vw;
        height: 5vh;
        background-color:aqua;
        color: black;
        display: flex;
        align-items: center;
        justify-content: space-around;
    } 
}
