* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 70px auto;
    max-width: 900px;
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 30px;
    font-weight: 800;
}

.text p {
    font-size: 20px;
    font-weight: 500;
    color: rgb(99, 91, 91);
}

.text span {
    color: green;
    font-weight: 600;
}

.text .price {
    color: rgb(72, 173, 72);
    font-weight: 700;
    font-size: 33px;
}

/* Main form box */
.hero-section {
    display: flex;
    width: 900px;
    justify-content: space-between;
    background-color: yellow;
    padding: 100px;
}

.offer-box {
    width: 330px;
    padding: 30px 28px 35px;
    background:
        linear-gradient(
            145deg,
            #211127,
            #17091d
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.45);
}

.offer-box h2 {
    margin: 0 0 20px;

    text-align: center;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
}


/* Normal inputs */

.offer-box input[type="text"],
.offer-box input[type="email"],
.offer-box input[type="tel"] {
    width: 100%;
    height: 36px;

    margin-bottom: 10px;
    padding: 0px;

    border: none;
    outline: none;

    background: #ffffff;

    color: #333333;

    font-size: 11px;
}


/* Placeholder */

.offer-box input::placeholder {
    color: #777777;
}


/* Offer input */

.offer-input {
    display: flex;

    width: 100%;
    height: 36px;

    margin-bottom: 14px;

    background: #ffffff;
}

/* Offer amount */

.offer-input input {
    flex: 1;

    min-width: 0;

    padding: 0 10px;

    border: none;
    outline: none;

    font-size: 11px;
}


/* Currency selector */

.offer-input select {
    width: 58px;

    padding: 0 4px;

    border: none;
    border-left: 1px solid #dddddd;

    outline: none;

    background: #ffffff;

    color: #555555;

    font-size: 10px;
}


/* Send button */

.offer-box button {
    width: 100%;
    height: 41px;

    border: none;

    background: #4edb9c;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;
}


.offer-box button:hover {
    background: #39c98a;
}


.offer-box button:active {
    transform: translateY(1px);
}


/* Required text */

.required-note {
    margin: 14px 0 0;

    text-align: right;

    color: #ffffff;

    font-size: 8px;
}

@media(max-width: 760px) {
    body {
        margin: 50px;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 700px;
        width: 100%;
        gap: 70px;
    }
}

@media(max-width: 600px) {
    h1 {
        font-size: 22px;
    }

    .text p {
        font-size: 17px;
    }

    .text .price {
        font-size: 25px;
    }
}