* {
    font-family: 'Poppins';
    box-sizing: border-box;
    color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
:root {
    --Red: hsl(0, 100%, 74%);
    --Green: hsl(154, 59%, 51%);
    --Blue: hsl(248, 32%, 49%);
    --Dark-Blue: hsl(249, 10%, 26%);
    --Grayish-Blue: hsl(246, 25%, 77%);
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: url(images/bg-intro-desktop.png);
    background-color: var(--Red);
    display: grid;
    place-items: center;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 100px;
    max-width: 80%;
}

header {
    display: flex;
    flex-direction: column;
    width: 40rem;
}

section {
    width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 3rem;
}

.offer {
    width: 30rem;
    margin-bottom: 1rem;
    background-color: var(--Blue);
    border-radius: 10px;
    box-shadow: 0 5px 1px 0.5px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
    transition: ease-in-out 0.1s all;
}
.offer p span {
    font-weight: 800;
}

.input-form {
    position: relative;
    width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    border-radius: 10px;
    background-color: white;
    padding:1rem;
    box-shadow: 0 5px 1px 0.3px rgba(0, 0, 0, 0.3);
    gap: 0.1rem;
}

input {
    width: 100%;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    padding-right: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.5);
    color: black;
    font-weight: 600;
    margin-top: 0.8rem;
}

input::placeholder {
    font-size: 0.9rem;
}

input:focus {
    outline: none;
}

.imgs1 {
    display: none;
    position: absolute;
    top: 40px;
    right: 30px;
    user-select: none;
}

.imgs2 {
    display: none;
    position: absolute;
    top: 122px;
    right: 30px;
    user-select: none;
}

.imgs3 {
    display: none;
    position: absolute;
    top: 204px;
    right: 30px;
    user-select: none;
}

.imgs4 {
    display: none;
    position: absolute;
    top: 286px;
    right: 30px;
    user-select: none;
}

button {
    width: 100%;
    padding: 0.8rem;
    margin-top: 10px;
    border: none;
    background-color: var(--Green);
    border-radius: 8px;
    box-shadow: 0 5px 1px 0.5px rgba(78, 156, 78, 0.582);
    transition: ease-in-out 0.1s all;
    font-size: 1rem;
}

button:active, .offer:active {
    box-shadow: none;
    transform: translateY(5px);
}

.faq p {
    width: 30rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    text-align: center;
}

.faq p span {
    color: var(--Red);
    font-weight: 800;
    font-size: 0.8rem;
}

#valid1, #valid2, #valid3, #valid4 {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    color:red;
    position: relative;
}

    @media screen and (max-width: 700px) {
        body {
            font-size: 1rem;
            overflow-y: auto;
            overflow-x: hidden;
            background-image: url(images/bg-intro-mobile.png);
            padding: 1rem;
            height: auto;
            display: block;
        }

        main {
            flex-direction: column;
            width: 100%;
            gap: 30px;
            max-width: 100%;
            align-items: stretch;
            display: flex;
        }

        header {
            text-align: center;
            gap: 0.5rem;
            width: 100%;
            min-width: 0;
            margin-bottom: 1rem;
        }

        header, section, form, .offer, .input-form {
            width: 100%;
            min-width: 0;
            max-width: 100%;
        }

        section {
            margin-bottom: 2rem;
            width: 100%;
            min-width: 0;
            padding: 0;
        }

        .input-form {
            width: 100%;
            min-width: 0;
            padding: 1rem 0.5rem;
            box-sizing: border-box;
        }

        .offer {
            text-align: center;
            font-size: 1rem;
            margin-bottom: 1rem;
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .offer p {
            font-size: 0.9rem;
        }

        .faq {
            width: 100%;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .faq p {
            width: 100%;
            font-size: 0.9rem;
            padding: 0 0.5rem;
        }

        h1 {
            font-size: 2rem;
            word-break: break-word;
            margin: 0.5rem 0;
        }

        input {
            font-size: 1rem;
            padding: 0.8rem 1rem;
            margin-top: 0.5rem;
        }

        button {
            font-size: 1rem;
            padding: 0.8rem;
        }

        .imgs1, .imgs2, .imgs3, .imgs4 {
            right: 15px;
            top: auto;
            transform: translateY(-50%);
        }
    }