/* Hero section */

section#hero {
    padding: 6rem 3rem 4.5rem !important;
    display: grid;
    grid-template-columns: 13.75rem 1fr;
    gap: 3rem;
}

.hero-title {
    margin-bottom: 0 !important;
}

.hero-image img {
    border-radius: 0.5rem;
    width: 14.375rem;
    height: 14.375rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 48rem) {
    section#hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}


/* Contact section */

/*
 *  NOTE: The CSS for this form is a bit messy because I'm generating the form 
 *  using Symfony and didn't want to create a template for it.
 */

form[name='message'] div#message {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form[name='message'] div#message div {
    display: flex;
    flex-direction: column;
}

form[name='message'] label {
    margin-bottom: 0.5rem;
}

div:not(#message):has(#message_send) {
    display: block !important;
}
