@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --Red: hsl(0, 100%, 74%);
    --Green: hsl(154, 59%, 51%);
    --Green-Shadow: hsl(154, 59%, 42%);
    --Blue: hsl(248, 32%, 49%);
    --Blue-Shadow: hsla(248, 32%, 49%, 0.50);
    --Dark-Blue: hsl(249, 10%, 26%);
    --Grayish-Blue: hsl(246, 25%, 77%);
    --White: #fff;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--White);
    background: radial-gradient(370px 415px at right top, rgba(255, 145, 56, 0.6) 0%, rgba(202, 33, 168, 0) 100%), radial-gradient(370px 415px at left bottom, rgba(3, 76, 211, 0.8) 0%, rgba(3, 76, 211, 0) 100%), linear-gradient(75.77deg, rgb(1, 31, 85) 0.84%, rgb(2, 40, 111) 32.54%, rgb(103, 3, 139) 99.02%);
    //background-color: var(--Dark-Blue);
    //background-image: url(/assets/images/bg-intro-mobile.png);
}

.main-container {
    margin: 96px auto 40px;
    width: 330px;
}

h1 {
    width: 235px;
    margin: -14px auto 16px;
    font-size: 1.7em;
    line-height: 38px;
}

.description {
    text-align: center;
    margin: 0 10px 68px;
}

.offer {
    background-color: var(--Blue);
    width: 330px;
    height: 90px;
    padding: 22px 75px;
    text-align: center;
    border-radius: 10px;
    font-weight: 400;
    box-shadow: 0 6px 0 var(--Blue-Shadow);
    margin-bottom: 20px;
}

.offer span {
    font-weight: 700;
}

.form-container {
    background-color: var(--White);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 6px 0 var(--Blue-Shadow);
}

.input-signup {
    width: 100%;
    height: 55px;
    margin-bottom: 18px;
    border-radius: 4px;
    border: 1px solid var(--Grayish-Blue);
    padding-left: 20px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    outline: none;
}

button[type="submit"] {
    background-color: #FF8B00;
    color: var(--White);
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 400;
    border: none;
    box-shadow: 0 3px 0 #b37123;
}

input[type="submit"]:hover {
    cursor: pointer;
}

.error {
    color: var(--Red);
    font-style: italic;
    margin: -12px 0 18px;
    text-align: right;
    font-size: 12px;
}

.error-container {
    position: relative;
}

.icon-error {
    position: absolute;
    right: 15px;
    top: -45px;
}

.terms {
    color: var(--Grayish-Blue);
    font-size: 0.70em;
    margin: 0 14px;
    text-align: center;
}

.terms a {
    text-decoration: none;
    color: var(--Red);
    font-weight: 700;
}

.attribution {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}


/*----------------------Desktop---------------------------*/

@media (min-width:1120px) {
    .main-container {
        display: flex;
        width: 1114px;
    }
    section:nth-child(1) {
        padding-top: 110px;
        width: 570px;
    }
    section:nth-child(2) {
        width: 540px;
    }
    h1 {
        margin-left: 0;
        font-size: 3em;
        width: 414px;
        line-height: 55px;
        margin-bottom: 30px;
    }
    .description {
        text-align: left;
    }
    .offer {
        width: 100%;
        height: 60px;
    }
}