body {
    background: white;
}

.header-desktop .header-second-line .menu-navbar ul li a{
    color: var(--brown);
}

.contact-section {
    padding: 15% 10% 0 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 10px 150px;

}

.contact-section .contact-colums {
    background-position: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-size: cover;
}

.contact-section .contact-colums .first-row-ctn {
    align-items: flex-start;
    display: grid;
    gap: 40px;
    justify-items: start;
    grid-template-columns: repeat(2, 1fr);
}

.contact-section .contact-ctn {
    display: flex;
    width: 100%;
    background-repeat: no-repeat;
    flex-direction: column;
    gap: 20px;
    justify-content: space-evenly;
    align-items: start;
}

.contact-section .contact-ctn .title h1 {
    color: var(--red);
    font-size: 45px;
    font-weight: 600;
}

.contact-section .contact-ctn .form-ctn {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-section .contact-ctn .inputbox {
    position: relative;
    width: 50%;
}

.contact-section .contact-ctn .form__group {
    position: relative;
    padding: 20px 0 0;
    width: 100%;
}

.contact-section .contact-ctn .form__field {
    font-family: inherit;
    width: 100%;
    border: none;
    outline: 0;
    font-size: 17px;
    color: var(--brown);
    padding: 10px;
    border-radius: 10px;
    background: #e0dede;
    transition: border-color 0.2s;
}

.contact-section .contact-ctn .message {
    height: 60px;
}

.contact-section .contact-ctn .form__field::placeholder {
    color: transparent;
}

.contact-section .contact-ctn .form__field:placeholder-shown ~ .form__label {
    font-size: 17px;
    cursor: text;
    top: 20px;
}

.contact-section .contact-ctn .form__label {
    position: absolute;
    top: 0;
    left: 10px;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #a7a7a7;
    font-weight: 600;
    pointer-events: none;
}

.contact-section .contact-ctn .form__field:focus {
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 3px;
    border-image: linear-gradient(to right, #740000, #cc0000);
    border-image-slice: 1;
}

.contact-section .contact-ctn .form__field:focus ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: var(--red);
    font-weight: 700;
}

/* reset input */
.contact-section .contact-ctn .form__field:required,
.form__field:invalid {
    box-shadow: none;
}

.contact-section .contact-ctn .btn-submit button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: var(--red);
    box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: none;
}

.contact-section .contact-ctn .btn-submit button:after {
    content: " ";
    width: 0%;
    height: 100%;
    background: var(--brown);
    position: absolute;
    transition: all 0.4s ease-in-out;
    right: 0;
}

.contact-section .contact-ctn .btn-submit button:hover::after {
    right: auto;
    left: 0;
    width: 100%;
}

.contact-section .contact-ctn .btn-submit button span {
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 10px 15px;
    color: #fff;
    font-size: 1.125em;
    font-weight: 700;
    z-index: 20;
    transition: all 0.3s ease-in-out;
}

.contact-section .contact-ctn .btn-submit button:hover span {
    color: white;
    animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.contact-section .contact-text {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}

.contact-section .contact-text .txt {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-section .contact-text .txt h2 {
    display: flex;
    flex-direction: column;
    color: var(--brown);
    line-height: .9;
}

.contact-section .contact-text .txt .first-span {
    font-weight: 600;
    font-size: 25px;
}

.contact-section .contact-text .txt .second-span {
    color: var(--red);
    font-size: 65px;
    font-weight: 700;
}

.contact-section .contact-text .txt .third-span {
    font-size: 90px;
    font-weight: 700;
}

.contact-section .contact-text .txt p {
    color: #6e6d6d;
}

.contact-section .contact-text .txt a {
    color: #6e6d6d;
}

.contact-section .contact-text .txt a:hover {
    color: var(--red);
}


.contact-section .contact-text .txt a:hover {
    color: var(--red);
}

.contact-section .contact-text .map {
    width: 100%;
    height: 300px;
}

.contact-section .contact-text .map iframe {
    width: 100%;
    height: 100%;
}

.contact-section .contact-colums .contact-footer {
    text-align: center;
}

.contact-section .contact-colums .contact-footer p {
    color: var(--brown);
    font-weight: 600;
}

.contact-section .contact-colums .contact-footer a {
    color: var(--brown);
    font-weight: 600;
}

.contact-section .contact-colums .contact-footer a:hover {
    color: var(--red);
    font-weight: 600;
}

.contact-section .contact-ctn .notify_box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-section .contact-ctn .loader {
    display: none;
    margin-top: 30px;
    --height-of-loader: 4px;
    --loader-color: var(--red);
    width: 100%;
    height: var(--height-of-loader);
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-section .contact-ctn .loader::before {
    content: "";
    position: absolute;
    background: var(--loader-color);
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    border-radius: 30px;
    animation: moving 1s ease-in-out infinite;
}

@keyframes moving {
    50% {
        width: 100%;
    }

    100% {
        width: 0;
        right: 0;
        left: unset;
    }
}

.contact-section .contact-ctn .message_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 100%;
    color: black;
}

.contact-section .contact-ctn .message_box p {
    text-align: center;
    color: black;
}

@media (max-width: 996px) {

    .contact-section {
        background-image: url('../img/png/fondo-seccion.png');
        padding: 60% 10% 0 10%;
        background-position: center;
        background-size: contain;
    }

    .contact-section .contact-colums .first-row-ctn {
        grid-template-columns: 100%;
    }

   
    .contact-section .contact-text .txt {
        width: 100%;
        text-align: center;
    }

    

    .contact-section .contact-text .txt .first-span{
        font-size: 20px;
    }

    .contact-section .contact-text .txt .second-span{
        font-size: 55px;
    }

    .contact-section .contact-text .txt .third-span{
        font-size: 70px;
    }

    .contact-section .contact-ctn{
        align-items: center;
    }

    .contact-section .contact-text .txt p {
        text-align: center;
    }

    .contact-section .contact-colums .contact-footer p {
        text-align: center;
    }

}
