:root {
    --red: #e82a57;
    --blue: #001D63;
    --white: #fff;
}

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

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

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

body {
    font-family: 'futura-pt', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    background-image: url("img/vending-bg.png");
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'futura-pt-bold', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 0.825;
    margin: 0 0 3rem;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.hero-img {
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 50px;
}

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

.btn {
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    display: inline-block;
    width: 164px;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    border: 0;
    border-radius: 50px;
    background-color: var(--red);
    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: inline-block;
    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) {

    h1 {
        font-size: 5rem;
    }

    p {
        margin-bottom: 2rem;
    }

    .logos {
        margin-top: 8rem
    }
}