html {
    scroll-behavior: smooth;
}

#main {
    /* min-height: 100vh;
    height: 100%; */
    /* OR */
    min-height: calc(100vh - 50px - 50px);
}

* {
    margin: 0;
    padding: 0;
}

nav {
    height: 50px;
}

footer {
    height: 50px;
}

/* scrolltotop button */
#top {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 5px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #707070;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 10px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
}

#top:hover {
    background-color: #878787;
    /* Add a dark-grey background on hover */
}