@import url('https://fonts.googleapis.com/css2?family=Vina+Sans&family=Waiting+for+the+Sunrise&display=swap');

:root {
    --gradient: linear-gradient(to right, #8A2387, #E94057, #F27121);
}

body {
    font-family: Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    height: 98vh;
}

h1, h2, h3 {
    margin: 0;
}

header {
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
    color: white;
}

p {
    margin: 0;
}

#mainLinkContainer {
    background-image: var(--gradient);
    width: 98vw;
    height: 60px;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(10, 10, 10, .2);
}

.menuLink {
    justify-content: space-around;
    width: 20%;
}

.menuLinkContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.menuLinkContainer:hover {
    font-family: 'vina sans', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    background-color: white;
    box-shadow: inset 5px 5px 5px rgba(-10, -10, 10, .2);
    border-radius: 8px;
    color: black;
}

footer {
    display: flex;
    justify-content: space-evenly;
    margin-top: auto;
    background-image: var(--gradient);
    border-radius: 4px;
    padding: 10px 0;
}

.footerContainer {
    display: flex;
    justify-content: space-around;
}

.footerLink:hover {
    color: black;
    }

.footerCopy {
    color: white;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#helloText {
    position: relative;
    font-family: 'vina sans', sans-serif;
    font-size: 300px;
    background: -webkit-linear-gradient(#8A2387, #E94057, #F27121);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInLeft .5s ease-out 1;
}

#niceText {
    position: relative;
    top: -38px;
    font-size: 27px;
    margin-left: 8px;
    font-family: 'vina sans', sans-serif;
    letter-spacing: 10px;
    animation: slideInLeft .8s ease-out 1;
}

#linusKandefeltText {
    position: relative;
    top: -70px;
    font-family: 'Waiting for the Sunrise', cursive;
    font-size: 100px;
    animation: slideInRight 1.2s ease-out 1;
}

.helpYouContainer {
    position: relative;
    top: -80px;
}

#helpYouText {
    text-align: center;
    animation: appearSlowly 2s ease-in 1;
}

.helpButtonContainer {
    display: flex;
    width: 50%;
    gap: 20px;
}

.helpYouButtonContainer {
    display: flex;
    background-image: var(--gradient);
    border-radius: 4px;
    height: 50px;
    width: 80px;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(10, 10, 10, .2);
    transform: translateY(20px);
}

.helpYouButtonContainer:hover {
    box-shadow: inset 5px 5px 5px rgba(10, 10, 10, .2);
}

#hyb1 {
    animation: bounceIn ease-in-out 1.7s 1;
}

#hyb2 {
    animation: bounceIn ease-in-out 1.5s 1;
}

#hyb3 {
    animation: bounceIn ease-in-out 1.2s 1;
}

@media screen and (max-width: 650px) {
    #helloText {
        font-size: 150px;
        }
    
    #niceText {
        top: -21px;
        font-size: 14px;
        margin-left: 4px;
        letter-spacing: 5px;
    }
    
    #linusKandefeltText {
        top: -40px;
        font-size: 50px;
     }

     .helloContainer {
        position: relative;
        top: 80px;
     }

     .helpYouContainer {
        position: relative;
        top: 40px;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes appearSlowly {
    0% {
        color: white;
    }

    30% {
        color: white;
    }

    100% {
        color: black;
    }
}

@keyframes bounceIn {
    0% {
        transform: translateX(1000px) translateY(20px);
    }

    99% {
        tranform: translateX(1000px) translateY(20px);
    }

    100% {
        tranform: translateX(0%) translateY(20px);
    }

}