html {
    scroll-behavior: smooth;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

h1 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

nav {
    position: fixed;
    display: flex;
    background-color: rgba(255, 255, 255, 0.7);
    width: 80%;
    height: 2rem;
    left: 50%;
    transform: translate(-50%, 2vh);
    align-items: center;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: black;
    width: 20%;
    text-align: center;
}

#section1 {
    background-color: rgb(236, 143, 143);
}
#section2 {
    background-color: rgb(141, 211, 248);
}
#section3 {
    background-color: rgb(147, 245, 152);
}
#section4 {
    background-color: rgb(211, 151, 249);
}
#section5 {
    background-color: rgb(243, 147, 214);
}

@media (max-width: 500px) {
    nav {
        flex-direction: column;
        align-items: start;
        display: flex;
        width: unset;
        height: unset;
        transform: unset;
        left: 20px;
        top: 10px;
    }
    nav a {
        width: unset;
        padding: 5px 10px;
    }
    
}