@font-face {
    font-family: "Korolev";
    src: url("./fonts/KorolevCompressed-Heavy.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "GT America";
    src: url("./fonts/GTAmerica-Regular.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "GT America";
    src: url("./fonts/GTAmerica-Medium.woff") format("woff");
    font-weight: 700;
}

:root {
    --red: #d10e18;
    --blue: hwb(201deg 0% 74% / 0.7);
    --white: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    background: var(--blue);
}

::-moz-selection {
    background: var(--blue);
}

body {
    font-family: 'GT America', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    background: url('./images/background-mobile.jpg') no-repeat center var(--red);
    background-size: cover;
}

h1 {
    font-family: 'Korolev', sans-serif;
    font-size: 6.25rem;
    font-weight: 400;
    line-height: 0.825;
    margin: 0 0 13rem;
    text-transform: uppercase;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.container {
    padding: 11.5rem 1.5rem 8rem;
    text-align: center;
}

.form {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    font-family: 'GT America', sans-serif;
    display: block;
    width: 100%;
    padding: 0.75rem 1.375rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--red);
    background-color: var(--white);
    background-clip: padding-box;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    letter-spacing: 0.1em;
}

.form-control::placeholder {
    color: var(--red);
    text-transform: uppercase;
}

.btn {
    font-family: 'GT America', sans-serif;
    font-size: 1.25rem;
    display: inline-block;
    width: 132px;
    height: 55px;
    color: var(--white);
    border: 2px solid var(--white);
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.btn:hover,
.btn:focus {
    background-color: var(--white);
    color: var(--red);
}

.form-group-terms {
    display: flex;
    margin-bottom: 0;
    margin-top: 2.5rem;
}

.terms {
    font-size: 0.6875rem;
    text-align: left;
    margin-right: 1.5rem;
}

.terms p {
    margin: 0;
}

.logos {
    margin-top: 10rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.logos div {
    margin-bottom: 2rem;
}

.logos div:last-child {
    margin: 0;
}

.thanks {
    font-size: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (min-width: 576px) {
    .logos {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10rem;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .logos div {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    body {
        background-image: url('./images/background-desktop.jpg');
    }

    h1,
    .form {
        max-width: 960px;
    }

    h1 {
        margin-bottom: 10rem;
    }

    .terms {
        font-size: 0.75rem;
    }

    .logos {
        margin-top: 8rem
    }
}