.contact{
    background-image: url('../images/contact-background.webp');
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    background-repeat: no-repeat;
	background-size: cover;
}

.contact-darker{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    z-index: 1;
}

.contact article{
    max-width: 1863px; 
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    margin-inline: 430px;
    border: 2.5px solid rgba(217, 217, 217, 0.25);
    margin-bottom: 150px;
    box-shadow: 15px 15px 50px rgba(73, 73, 73, 0.5);
}

.contact h2{
    position: relative;
    z-index: 2;
    font-size: 64px;
    margin-top: 65px;
    margin-left: 65px;
}

.contact h3{
    font-size: 30px;
    margin: 5px;
}

.contact .left{
    padding: 30px;
}

.contact .right{
    padding: 30px;
    background: rgba(120, 165, 90, 0.25);
    margin: 5px;
}

.contact p{
    line-height: 1.5;
    font-size: 20px;
}

.contact .left > div{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/*----Ninja forms----*/

#nf-form-title-2{display: none;}

.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea{color: #fff !important;}

.ninja-forms-field{
    background: none !important;
    border: 2.5px solid #D9D9D9 !important;
    resize: none !important;
}

#nf-field-8{
    border-radius: 10px;
    padding-inline: 30px;
    color: #FFF !important;
    cursor: pointer;
}

#nf-field-8:hover{
    background-color: #FFF !important;
    color:rgb(36, 43, 31) !important;
}

.nf-field-element{
	display: flex;
	justify-content: end;
}

#nf-field-5:focus-visible, #nf-field-6:focus-visible, #nf-field-7:focus-visible, #nf-field-8:focus-visible{box-shadow: 0 0 0 4px #000000;}

#nf-form-2-cont > div > div.nf-form-layout > form > div > div.nf-before-form-content, .nf-field-label, .nf-pass.field-wrap .nf-field-element:after, .nf-error.field-wrap .nf-field-element:after{display: none;}

@media only screen and (max-width: 1710px) {
    .contact article{margin-inline: 300px;}
}

@media only screen and (max-width: 1575px) {
    .contact article{margin-inline: 200px;}
}

@media only screen and (max-width: 1325px) {
    .contact article{margin-inline: 100px;}
}

@media only screen and (max-width: 1000px){
    .contact article{flex-direction: column;}
    .contact h3, .contact p{text-align: center;}
    .contact .left > div{justify-content: center;}
    body > section.contact > article > div.left > iframe{margin: auto;}
}

@media only screen and (max-width: 600px){
    .contact article{margin-inline: 20px;}
    .contact h2{margin-left: 0; text-align: center;}

}

@media only screen and (max-width: 500px){
    .contact .left, .contact .right{padding-inline: 10px;}
    .contact p{font-size: 16px;}
}


@media only screen and (max-width: 330px){
    .contact h2{font-size: 30px;}
}