* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

h1, h2, h3, h4, h5, h6, p {
    font-weight: normal;
}

html {
    width: 100%;
    background-color: rgb(45, 45, 45);
}

html, body {
    min-width: 1250px;
    width: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-flow: column nowrap;
}

#bgimg {
    position: fixed;
    z-index: -50;
    width: 100%;
    height: 100%;
    object-fit: cover; /* maintain aspect ratio while covering the viewport - ChatGPT */
    object-position: bottom center; /* - ChatGPT */
    filter: blur(15px) brightness(70%);
    -webkit-filter: blur(15px) brightness(70%);
}

#header {
    display: flex;
    flex-flow: row nowrap;
    gap: 3%;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    padding-inline: 2rem;
    padding-block: 4rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0rem 0rem 3rem 3rem;
    box-shadow: 2px 3px 16px rgba(0, 0, 0, 0.809);
    margin-bottom: 0rem;
    margin-top: 2.2rem; /* Temp spacing for the disclaimer */
}

#heroholder {
    width: 45rem;
}

#heroholder h1 {
    font-weight: bolder;
    font-size: 50px;
    margin-bottom: 0.3rem;
}

#heroholder h2 {
    color: rgb(213, 213, 213);
    margin-top: 3rem;
    font-weight: bold;
}

#heroholder h3 {
    font-size: 20px;
    margin-top: 4rem;
}

#linkheaderholder {
    display: flex;
    flex-flow: column nowrap;
    gap: 5rem;
    position: relative;
    overflow: hidden;
    padding-block: 2rem;
    padding-inline: 5rem;
}
#linkheaderholder div:last-child {
    margin-left: 5rem;
}

.headerlink:link, .headerlink:visited {
    background: linear-gradient(305deg, rgba(0, 194, 168, 1) 20%, rgba(0, 220, 132, 1) 80%);
    font-size: 20px;
    font-weight: bolder;
    color: rgb(0, 0, 0);
    padding: 22px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 8px black;
    animation: bob 5s ease-in-out infinite alternate;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.headerlink:hover, .headerlink:active {
    box-shadow: 2px 2px 8px rgb(20, 124, 96);
    scale: 105%;
}


/* Media queries, yay! */

/* Small laptop screen and large tablet */
@media (max-width: 1250px) {
  
    html, body {
        min-width: 850px;
    }

    #header {
        display: flex;
        flex-flow: row nowrap;
        gap: 3%;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        padding-inline: 2rem;
        padding-block: 4rem;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 0rem 0rem 1rem 1rem;
        box-shadow: 2px 3px 16px rgba(0, 0, 0, 0.722);
    }

    #heroholder {
        width: 30rem;
    }

    #heroholder h1 {
        font-weight: bolder;
        font-size: 40px;
        margin-bottom: 0.3rem;
    }

    #heroholder h2 {
        margin-top: 2.5rem;
        font-weight: bold;
        font-size: 21px;
        max-width: 25rem;
    }

    #linkheaderholder {
        display: flex;
        flex-flow: column nowrap;
        gap: 5rem;
        position: relative;
        overflow: hidden;
        padding-block: 2rem;
        padding-inline: 2rem;
    }
    #linkheaderholder div:last-child {
        margin-left: 3rem;
    }

    .headerlink:link, .headerlink:visited {
        background: linear-gradient(305deg, rgba(0, 194, 168, 1) 20%, rgba(0, 220, 132, 1) 80%);
        font-size: 18px;
        font-weight: bolder;
        color: rgb(0, 0, 0);
        padding: 20px 19px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        border-radius: 0.5rem;
        box-shadow: 2px 2px 8px black;
        animation: bob 5s ease-in-out infinite alternate;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4,0,0.2,1);
        transition-duration: 150ms;
    }

}

/* Small tablet and mobile */
@media (max-width: 850px) {

    html, body {
        min-width: 425px;
    }

    #header {
        display: flex;
        flex-flow: column nowrap;
        gap: 3%;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        padding-inline: 2rem;
        padding-block: 4rem;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 0rem 0rem 1rem 1rem;
        box-shadow: 2px 3px 16px rgba(0, 0, 0, 0.722);
    }

    #heroholder {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        width: fit-content;
        text-align: center;
        word-wrap: break-word;
    }

    #heroholder h1 {
        font-weight: bolder;
        font-size: 30px;
        margin-bottom: 0.3rem;
        max-width: 30rem;
    }

    #heroholder h2 {
        margin-top: 2rem;
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 2rem;
        max-width: 18rem;
    }

    #linkheaderholder {
        display: flex;
        flex-flow: column nowrap;
        gap: 5rem;
        position: relative;
        overflow: hidden;
        padding-block: 2rem;
        padding-inline: 8rem;
        width: 90%;
    }
    #linkheaderholder div:last-child {
        margin-left: 3rem;
        align-self: flex-end;
    }

    .headerlink:link, .headerlink:visited {
        background: linear-gradient(305deg, rgba(0, 194, 168, 1) 20%, rgba(0, 220, 132, 1) 80%);
        font-size: 18px;
        font-weight: bolder;
        color: rgb(0, 0, 0);
        padding: 20px 19px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        border-radius: 0.5rem;
        box-shadow: 2px 2px 8px black;
        animation: bob 5s ease-in-out infinite alternate;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4,0,0.2,1);
        transition-duration: 150ms;
    }

}

@media (max-width: 581px) {
    #linkheaderholder {
        padding-inline: 2rem;
    }
}