/* main section */
.main--cont{
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: right;
    align-items: center;
}
.bg--main--cont{
    width: 100%;
    height: 100%;
    background-image: url('../../assets/img/covers/cover_sec_04.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    box-shadow: inset 0 -5px 5px -1px #202020;
}
.title--main--cont{
    position: absolute;
    padding-right: 30px;
    padding-bottom: 30px;
    font-size: 50pt;
    text-align: right;
    font-family: var(--DCC_Ash);
}

/* contact--section */
.contact--section{
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
}
.form--cont{
    width: 95%;
    height: 80vh;
    position: absolute;
    border-radius: 10px;
    background-color: #1D252B;
    transform: translate(0,-30%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.map--cont{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.red--cont{
    background-color: red;
    width: 52%;
    height: 65%;
    border-radius: 7px;
    position: absolute;
    z-index: 1;
}
.map{
    width: 50%;
    height: 110%;
    background-color: #fff;
    border-radius: 7px;
    position: absolute;
    z-index: 2;
}
.map iframe{
    border-radius: 7px;
}

.form--data--cont{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    padding: 20px 70px;
}
.title--form{
    font-size: 25pt;
    font-family: var(--RussoOneRegular);
}
.inputs{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.inputs input, .inputs textarea{
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    color: #fff;
    font-size: 15pt;
    font-family: var(--Montserrat_Regular);
}
.inputs input{
    height: 30px;
}
.inputs input:focus, .inputs textarea{
    outline: none;
    color: #fff;
}
.inputs input::placeholder, .inputs textarea::placeholder{
    color: #fff;
}
.sendButton{
    font-size: 15pt;
    padding: 10px 20px;
    border: 2px solid #fff;
    width: 40%;
}


.bg-op--cont{
    width: 100vw;
    height: 100vh;
    background-color: #202020;
    position: fixed;
    opacity: 0.5;
    top:0;
    z-index: 5;
    display: flex;
    justify-content:center;
    align-items:center;
    display:none;
    transition: opacity .5s ease-in-out;
}
.spin {
    border: 5px solid hsla(185, 100%, 62%, 0.2);
    border-top-color: red;
    border-radius: 50%;
    width: 7em;
    height: 7em;
    animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} 
.success-message{
    width:40%;
    padding:20px;
    background-color: #25D366;
    text-align:center;
    font-size:20pt;
    font-weight:700;
    display:none;
    transform: scale(0);
    transition: transform .3s ease-in-out;
}


@media (max-width:768px){
    .contact--section{
        height: auto;
        margin: 30px 0;
    }
    .form--cont{
        height: auto;
        position: relative;
        transform:none;
        flex-wrap: wrap-reverse;
        padding: 20px;
    }
    .form--data--cont, .map--cont{
        width: 100%;
        height: auto;
    }
    .red--cont{
        display: none;
    }
    .map{
        position: initial;
        width: 95%;
        height: 50vh;
    }
    .title--main--cont{
        font-size: 9vw;
    }
}

/* .form--data--cont{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    padding: 20px 70px;
} */