html {
    cursor: url("images/hand.png"), auto;
}

@font-face {
    font-family: whyte;
    src: url(fonts/ABCWhyteInktrap-Medium-Trial.woff2);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    font-family: whyte;
}


.container {
    display: flex;
    align-items: center; 
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 10;
}

.container2 {
    background-color: white;
}

.sticky {
    justify-content: center;
    align-items: center; 
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: -10;
}

.button1 {
    cursor: url("images/pencil.png"), auto;
    text-decoration: none;
    padding: 15px 23px;
    font-size: 2rem;
    position: relative;
    margin: 30px 30px 0px 30px;
    background: rgb(112, 219, 112);
    color: rgb(0, 0, 0);
    border-radius: 50px;
    transition: transfrom 0.3s ease;
}

.button1::after, .button1::before {
    content: "";
    position: absolute;
    opacity: 0.3;
    background: rgb(112, 219, 112);
    border-radius: inherit;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: transform 0.7s ease;
}

.button1:hover {
    transform: translate(-12px, -12px);
    color: white;
    transition: transform 0.7s ease;
}

.button1:hover::after {
    transform: translate(6px, 6px);
}

.button1:hover::before {
    transform: translate(12px, 12px);
}

.title {
    display: flex;
    justify-content: center;
    font-size: 5rem;
    text-align: center;
    margin: 150px 50px 500px;
    line-height: 7rem;
}

.bodytext {
    width: 80%;
    margin: auto;
    justify-content: center;
    font-size: 2rem;
    line-height: 4rem; 
    background-color: white; 
}

#credit {
    border-top: 2.5px solid rgb(112, 219, 112);
    margin-top: 50px;
    margin-bottom: 60px;
    width: auto;
    font-size: 1.5rem;
    justify-content: center;
  }

.creditcenter {
    text-align: center;
    width: auto;
    margin-top: 10px;
    justify-content: center;
}

@media screen and (max-width: 850px) {
    .button1 {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .title {
        font-size: 2.7rem;
        line-height: 3rem;
        margin: 220px 20px 500px;
    }

    .bodytext {
        font-size: 1.1rem;
        line-height: 2rem;
    }

    label.underline::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0;
        height: 3.5px;
        background-color: red;
        transition: width 0.5s ease-out;
    }

    label.underline::after {
        display: block;
        content: '';
        width: 100%;
        height: 3.5px;
        background: red;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: width 0.5s ease-out;
    }

    label.underline:hover {
        background-color: #ffe4e3;
    } 
    
    label:hover::before {
        width: 100%;
        left: 0;
        right: auto;
    }
    
    label:hover::after {
        height: 0px;
    }

    #credit {
        border-top: 2.5px solid rgb(112, 219, 112);
        margin-top: 50px;
        margin-bottom: 70px;
        width: auto;
        font-size: 0.8rem;
        justify-content: center;
      }
}

