/* Reset */
* {
    margin: 0;
    padding: 0;
    border: none;
}

a,
a:link {
    color: inherit;
    text-decoration: none;
}

html {
    text-align: center;
    font-family: Helvetica, sans-serif;
    color: white;
    width: 100%;
    height: 100%;
    position: relative;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    /* background-color: black; */
}

hr {
    border-bottom: 1px solid #fff6;
    margin: 0 5% 5px;
}

p {
    margin-bottom: 6px;
    font-size: 10px;
}

h3 {
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: normal;
}

h2 {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: normal;
}

.small {
    font-size: 8px;
}

.underline {
    text-decoration: underline;
}

/* Art */
.wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
    height: 100%;
}

.bg {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center top;
}

.fg {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.wrapper-bottom {
    position: absolute;
    padding-top: 40px;
    bottom: 0;
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background: linear-gradient(to top, #000000dd 50%, #00000000 100%);
}

.wrapper-top {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
}

.wrapper-form {
    position: relative;
    margin: -70px 5% 0;
    box-sizing: border-box;
    padding: 70px 0 10px;
    width: 90%;
    animation: .33s fade-in-bottom forwards;
}

@keyframes fade-in-bottom {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.highlight {
    margin: 15px auto 5px;
    font-size: 16px;
    width: 90%;
    text-shadow: 0 2px 4px black, 0 1px 2px black;
}

.wrapper-form-title {
    margin: 10px 0;
    font-size: 15px;
    color: #090502;
    font-weight: bold;
}

.wrapper-form-input {
    position: relative;
    box-sizing: border-box;
    padding: 10px 0;
    margin: 5px auto;
    width: 100%;
    color: #fffd;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    background: #09050299;
    border: 1px solid #fff;
    border-radius: 32px;
}

.wrapper-form-input::placeholder {
    color: #fff8;
}

.error {
    visibility: hidden;
    height: 20px;
    display: block;
    color: #ff0000;
    opacity: 0;
    animation: fade-in-bottom .25s forwards;
}

.btn {
    position: relative;
    margin: 6px auto;
    width: 100%;
    padding: 10px 0;
    bottom: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    border-radius: 32px;
    text-align: center;
    color: #fff;
    animation: bump .6s;
    transition: .3s background ease-in-out;
}

.btn * {
    margin: 3px 0;
    pointer-events: none;
}

.btn-link {
    background-color: transparent;
    color: #090502;
    font-size: 16px;
    text-transform: lowercase;
    text-decoration: underline;
}

.btn-secondary {
    padding: 5px 0;
    text-transform: initial;
    background-color: #A3A3A3;
}

.btn-primary.disabled {
    pointer-events: none;
    background-color: #A3A3A3 !important;
}

@keyframes bump {

    0%,
    5% {
        transform: scale(0);
        opacity: 0;
    }

    15% {
        transform: scale(1.05);
    }

    35% {
        transform: scale(.85);
    }

    45% {
        transform: scale(1.04);
    }

    60% {
        transform: scale(.9);
    }

    70% {
        transform: scale(1.03);
        opacity: 1;
    }

    80% {
        transform: scale(.945);
    }

    90% {
        transform: scale(1.02);
    }

    95% {
        transform: scale(.975);
    }

    97% {
        transform: scale(1.01);
    }

    99% {
        transform: scale(.99);
    }

    100% {
        transform: scale(1);
    }
}

.btn .checkbox {
    position: absolute;
    pointer-events: auto;
    display: block;
    margin: auto;
    width: 30px;
    height: 30px;
    background-color: white;
    background-image: url(https://d1h8p7bfpkgtk4.cloudfront.net/uploads/2022/10/check.svg);
    background-repeat: no-repeat;
    background-position: center;
    left: 16px;
    top: 0;
    bottom: 0;
    border-radius: 50%;
}

.disabled .checkbox {
    background-image: none;
}

/* Terms */
.terms {
    position: relative;
    margin: 0 5% 10px;
    text-align: left;
}

/* LOADER */
.loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #13131a;
    z-index: 10;
}

.loader-animation {
    position: absolute;
    display: block;
    width: 26px;
    height: 26px;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    border: 2px solid rgba(255, 255, 255, .2);
    border-right-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    animation: loader 1.5s infinite;
}

@keyframes loader {
    to {
        transform: rotate(360deg);
    }
}

.loader-message {
    position: absolute;
    width: 100%;
    top: calc(50% + 30px);
    color: #fff;
    text-align: center;
    font-size: 14px;
}

/* MISC */
.btn-loading:after {
    content: "";
    position: absolute;
    display: inline-block;
    margin: auto;
    right: 16px;
    top: 0;
    bottom: 0;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-bottom: 2px solid #fff3;
    animation: spin 1s infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ERRORS */
.error-popup-wrapper {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.error-popup {
    position: absolute;
    display: block;
    padding: 20px;
    width: calc(90% - 40px);
    max-width: 460px;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 6px;
    transform: translate(-50%, -45%);
    opacity: 0;
    animation: fade-in .5s forwards;
}

@keyframes fade-in {
    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.error-img {
    position: relative;
}

p.error-msg {
    padding: 10px 5% 0;
    color: #333;
    text-align: center;
}

.error-popup .button {
    width: calc(100% - 30px);
    margin: 15px;
}
