.contact-hero{
    width: 100%;
    height: 60vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.contact-hero img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.contact-hero h1{
    color: white;
    position: absolute;
    right: 24px;
    top: 48px;
}

.contact-data{
    position: absolute;
    background: #ffffffa6;
    width: 400px;
    padding: 40px 40px 0;
    bottom: 40px;
}

.contact-data h2{
    font-size: 32px;
}

.contact-data .contact-row{
    padding-bottom: 20px;
}

.contact{
    display: flex;
    padding: 80px 12px;
    justify-content: space-between;
}

.contact h2{
    color: black;
}

.contact .map{
    width: 400px;
}

/*Contact form*/

.contact-form .container{
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.contact-form label{
    color: grey;
    font-weight: bold;
    padding-bottom: 12px;
}

.contact-form button{
    font-weight: normal;
    font-style: normal;
}

.contact-form .star{
    color: red;
}

.contact-form .contact-row{
    display: flex;
    gap: 20px;
}

.contact-form .contact-row input{
    width: 230px;
}

.contact-form input, textarea{
    background-color: #bfe8f5;
    border: 1px solid white;
    padding: 8px;
    width: 480px;
}

@media (max-width:980px){

    .contact{
        flex-direction: column-reverse;
        align-items: center;
        gap: 32px;
    }

    .contact .map {
        padding-top: 32px;
        width: 480px;
        margin: 0 auto;
    }
}

@media (max-width:520px){
    .contact-data {
        width: 280px;
        padding: 40px 24px 0;
        bottom: 28px;
    }
    .contact-form .contact-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form .contact-row input{
        width: 280px;
    }
    .contact-form input, textarea{
        width: 280px;
    }
    .contact .map {
        width: 280px;
    }
}