@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap");
@import './variables.css';

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lexend Deca', sans-serif;
}

html {
    font-size: 1.5rem;
    line-height: 1.6rem;
    background: radial-gradient(ellipse at right, var(--primary-color) 0%, var(--secondary-color));
    overflow: hidden;
}

h1 {
    font-size: 3.8rem;
    line-height: 3.9rem;
}

h2, footer a {
    font-size: 32px;
    line-height: 34px;
}

h3 {
    font-size: 22px;
    line-height: 24px;
}

body {
    color: var(--background-color);
}

img {
    pointer-events: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 111;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    text-align: right;
    max-width: 1500px;
}

.inner h1 {
    margin-bottom: 1rem;
}

.inner h2 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.hero img {
    width: 150px;
}

.hero img {
    position: relative;
    vertical-align: bottom;
}

.main-registration {
    border-radius: 5px;
    padding: 5px 15px;
    border: 3px solid var(--primary-font-color);
    color: var(--primary-font-color);
    background-color: rgba(250, 250, 250, .4);
    text-decoration: none;
    display: inline-block;
}

.main-registration:hover {
    transform: scale(1.1);
    transition: 0.3s;
    /* color: var(--secondary-font-color); */
    border: 3px solid var(--secondary-font-color);
}

.title-desktop {
    display: unset;
}

.title-mobile {
    display: none;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    padding-bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 999;
}

footer a {
    text-decoration: none;
    color: var(--primary-font-color);
}

footer p, footer p a {
    font-size: 10px;
    line-height: 12px;
}

footer a:hover {
    color: var(--primary-font-hover-color)
}

/* Limited Container */
#limiter::-webkit-scrollbar {
    width: 5px;
}

#limiter::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #ff000030;
}

#limiter::-webkit-scrollbar-thumb {
    background-color: var(--background-color);
    border-radius: 10px;
}

#limiter {
    height: 500px;
    overflow: hidden;
    overflow-y: scroll;
    max-width: 1500px;
}

/* some decent break points, lots of calls might be repeated */
@media (max-width: 718px) {
    html {
        background: radial-gradient(ellipse at center, var(--primary-color) 0%, var(--secondary-color));
    }

    h1 {
        font-size: 56px;
        line-height: 58px;
    }

    h2 {
        font-size: 22px;
        line-height: 24px;
    }

    h3 {
        font-size: 18px;
        line-height: 20px;
    }

    .inner {
        text-align: center;
        max-height: 60vh;
    }

    .hero img {
        width: 80px;
    }

    .title-desktop {
        display: none;
    }

    .title-mobile {
        display: unset;
    }

    footer a {
        font-size: 30px;
        line-height: 32px;
    }

    #limiter {
        height: 58vh;
    }
}

@media (min-width:718px) and (max-width:1023px) {
    h1 {
        font-size: 118px;
        line-height: 120px;
    }

    h2, footer a {
        font-size: 32px;
        line-height: 34px;
    }

    h3 {
        font-size: 22px;
        line-height: 24px;
    }
}

@media (min-width:1024px) and (max-width:1279px) {
    h1 {
        font-size: 118px;
        line-height: 120px;
    }

    h2, footer a {
        font-size: 32px;
        line-height: 34px;
    }

    h3 {
        font-size: 22px;
        line-height: 24px;
    }

    #limiter {
        height: 62vh;
    }
}
