.contact-section {
    height: 30vh;
    width: 100%;
    background-image: url(../images/plane-4301615_1920.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.contact-hero-section {
    width: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    text-align: center;
}

.contact-hero-section h1 {
    color: var(--primary-color);
    text-shadow: 0 0 10px white;
    font-size: 3.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-block: 30px;
}

.contacts {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 15px;
}

.contact-hero-section h1::after {
    content: "";
    width: 50%;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
}

section[aria-labelledby="contact"] h2 {
    text-align: center;
    margin-top: 50px;
    font-size: 2.2rem;
    position: relative;
}

hr {
    width: 10%;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    outline: none;
}

.contact-communication {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-block: 30px;
}

.contact-logo {
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
}

.communication-forms {
    padding: 20px;
}

.communication-forms p {
    display: inline-block;
    margin-left: 15px;
}

form {
    width: 50%;
    padding: 20px;
    margin-bottom: 30px;
}

input, textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid var(--primary-color);
    outline: none;
    border-radius: 5px;
    font-family: var(--smalltext-font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

input {
    height: 3rem;
    margin-bottom: 10px;
}

textarea {
    min-height: 150px;
}

label {
    display: block;
    font-family: var(--smalltext-font);
    font-weight: 600;
    font-size: 1.2rem;
    margin-block: 10px;
}

button {
    display: block;
    margin-inline: auto;
    width: 30%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    min-height: 3rem;
    border: none;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s linear;
}

button:hover {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

@media screen and (max-width: 768px) {

    .contact-hero-section h1 {
        font-size: 2.6rem;
    }

    form {
        width: 100%;
    }

    .communication-forms p {
        width: 80%;
    }
}

@media screen and (min-width: 769px) and (max-width: 969px) {

    form {
        width: 80%;
    }
}