:root {
    background: #000000;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #434343, #000000);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #434343, #000000);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
    zoom: 1;
    /* Coloca o zoom em 100% */
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /*isto esconde tudo o que va para alem do eixo x*/
}

.scrollbar {
    width: 600px;
    height: 600px;
    overflow: auto;
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #ffe4c4 rgb(37, 34, 30);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #4c453c;
}

*::-webkit-scrollbar-thumb {
    background-color: #ffe4c4fa;
    border-radius: 20px;
    border: 3px thin #ffe4c410;
}

.footer,
p {
    text-align: center;
    font-weight: 200;
    background-color: #ffe4c410;
    color: #ffe4c4fa;
    border-radius: 5px;
}

#back-to-top {
    position: fixed;
    cursor: pointer;
    bottom: 50px;
    right: 50px;
    border-radius: 15px;
    color:#000000;
    background-color: #ffe4c4fa;
}

#back-to-top:hover{
    color: #665a4cfa;
}
  @media screen and (max-width: 239px) {
    #back-to-top {
        display:none;
     }
  }
    
    @media screen and (max-width: 608px) {
      #back-to-top {
        margin-top: 2rem;
        margin-left: 0.5rem;
        position: static;
       }
    }
    
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: none;
}

body {
    animation: fadein 2s;
    -moz-animation: fadein 2s;
    /* Firefox */
    -webkit-animation: fadein 2s;
    /* Safari and Chrome */
    -o-animation: fadein 2s;
    /* Opera */
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {

    /* Firefox */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {

    /* Safari and Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein {

    /* Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}