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

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

html, body {
    font-family: whyte;
    background-color: black;
}


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

.button1 {
    text-decoration: none;
    padding: 15px 23px;
    font-size: 2rem;
    position: relative;
    margin: 30px 30px 0px 30px;
    background: rgb(112, 219, 112);
    color: white;
    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: 100px 50px 800px;
    line-height: 7rem;
    color: white;
}

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

label {
    display: inline-block;
    position: relative;
    background-color: none;
    border-radius: 10px 10px 0px 0px;
  }

label.underline::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    background-color: rgb(255, 86, 86);
    transition: width 0.5s ease-out;
  }

label.underline::after {
    display: block;
    content: '';
    width: 100%;
    height: 5px;
    background: rgb(255, 86, 86);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.5s ease-out;
   }

label.underline:hover {
    background-color: #ffe4e3;
    color: black;
} 

label:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}

label:hover::after {
    height: 0px;
}

label {
   z-index: 2;
}

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

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

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

    label.underline::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0;
        height: 2.5px;
        background-color: rgb(255, 86, 86);
        transition: width 0.5s ease-out;
    }

    label.underline::after {
        display: block;
        content: '';
        width: 100%;
        height: 2.5px;
        background: rgb(255, 86, 86);
        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;
    }
}
