@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Outfit:wght@100..900&display=swap');

:root {
    --Desaturated-Red: hsl(0, 36%, 70%);
    --Soft-Red: hsl(0, 93%, 68%);
    --Dark-Grayish-Red: hsl(0, 6%, 24%);
    --Linear-white: 135deg, from hsl(0, 0%, 100%), to hsl(0, 100%, 98%);
    --Linear-pinkish: 135deg, from hsl(0, 80%, 86%), to hsl(0, 74%, 74%);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background: linear-gradient(var(--Linear-white));
    height: 100vh;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    grid-template-rows: 0.8fr 2fr  2fr;
}

.logo {
    grid-column: 1/3;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.logo img {
    width: 150px;
}

.cta-section {
    grid-column: 1/3;
    grid-row: 2/4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding-left: 80px;
}

.cta-section h1 {
    font-size: 4rem;
    width: 400px;
    letter-spacing: 10px;
    line-height: 70px;
    font-weight: 600;
}

.cta-section h1 span {
    font-weight: 300;
    color: var(--Desaturated-Red);
}

.cta-section p {
    width: 440px;
    color: var(--Desaturated-Red);
    line-height: 26px;
    margin: 12px 0;
}

.input-field {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 460px;
    height: 50px;
    border: 1px solid var(--Desaturated-Red);
    border-radius: 40px;
    /* overflow: hidden; */
    margin-top: 20px;
}

.input-field input {
    background-color: transparent;
    border: none;
    outline: none;
    width: 80%;
    height: 100%;
    padding: 0 20px;
    color: var(--Desaturated-Red);
}

.input-field input::placeholder {
    color: var(--Desaturated-Red);
}

.btn {
    width: 20%;
    height: 100%;
    background: linear-gradient(135deg, hsl(0, 80%, 86%),  hsl(0, 74%, 74%));
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    box-shadow: -2px 2px 10px #e3e3e3;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.1);
}

.hero-desktop {
    background-image: url('images/hero-desktop.jpg');
    background-size: cover;
    grid-column: 3/4;
    grid-row: 1/4;
}

@media (max-width: 1000px) {
    body {
        width: 100%;
    }

    .wrapper {
        grid-template-columns: auto 0 0;
        grid-template-rows: 1fr 2fr 4fr;
        place-content: center;
    }

    .logo {
        grid-column: 1/2;
        grid-row: 1/2;
        padding: 0;
    }

    .cta-section {
        grid-row: 3/4;
        padding: 0;
        text-align: center;
    }

    .input-field {
        height: 60px;
    }

    .hero-desktop {
        grid-row: 2/3;
        grid-column: auto;
        height: 100%;
    }
}

@media (max-width: 486px) {
    .logo {
        margin-left: 40px;
    }

    .cta-section {
        align-items: center;
    }

    .input-field {
        width: 360px;
    }
}