body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    background: url(https://images.unsplash.com/photo-1604357232465-8f237a205a3c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=764&q=80);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    color: #0a0a0b;
}

header {
    padding: 3rem 10rem 0;
    height: 80px;
}

header a {
    display: flex;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.9;

}

header i {
    font-size: 2rem;
}

header h2 {
    font-size: 24px;
    font-family: 'Lato', sans-serif !important;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - 80px);
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

main h1 {
    font-family: 'Lato', sans-serif !important;
    font-size: 4.8rem;
    font-weight: 700;
    color: #fff;
}

main input[type=submit] {
    width: 100%;
    background-color: #41b870;
    color: #fff;
    border: none;
    padding: 2rem 3rem;
    border-radius: 2rem;
    font-size: 16px;
    cursor: pointer;
}

main form {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
    padding: 1rem;
    width: 90%;
}
@media(min-width:992px) {
    main form {
        width: 500px;
    }
}

main input[type=search] {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 2rem 3rem;
    border-radius: 2rem;
    font-size: 16px;
}

input:focus{
    outline: none;
}

@media (max-width: 800px) {
    h1 {
        font-size: 3.2rem !important;
    }

    header a {
        justify-content: center !important;
    }

    form {
        grid-template-columns: 1fr !important;
    }

}