:root {
    --main-color: rgb(74, 46, 30);
    --aspect-ratio: 16/9;
}

* {
    font-family: 'Montserrat-Medium', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none !important;
}

html {
    font-size: 80%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section {
    display: block;
    overflow: hidden;
}

.return {
    position: fixed;
    display: block;
    width: clamp(3rem, 10vw, 10vw);
    padding: 5px;
    height: auto;
    font-size: clamp(.8em, 1.5vw, 1.5vw);
    text-align: center;
    margin: 10px 10px;
    background-color: #9d0b0f;
    color: #fff !important;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1024;
}

.header {
    background-color: #231f20;
    color: var(--main-white);
    padding: 1vw 5vw;
    border-bottom: var(--border);
}

.header .logo img {
    max-width: 15rem;
    min-width: 2rem;
}

.contact {
    margin-top: 10vw;
    padding: 0 15vw;
    position: relative;
    width: 100%;
    background-color: white;
}

.contact .box-content {
    position: relative;
    width: 100%;
}

.contact .content {
    position: relative;
}

.contact .titleCont {
    position: relative;
    display: block;
    width: 100%;
}

.contact #trab {
    padding-bottom: .5vw;
    border-bottom: .7vw solid #9d0b0f;
}

.contact .titleCont h1 {
    text-align: left;
    font-family: Montserrat-Bold;
    font-size: clamp(1.2em, 3vw, 3vw);
    margin: 0 0 3vw 0;
    width: 100%;
    padding-bottom: 1vw;
}

.contact .titleCont p {
    font-family: Montserrat-Medium;
    font-size: clamp(1em, 1.5vw, 1.5vw);
    line-height: 1.3em;
}

.contact .formCont textarea {
    height: 8vw;
}

.contact .box {
    width: 100%;
    height: 2em;
    margin-top: 0;
    margin-bottom: 1vw;
    border-radius: 1rem;
    background-color: #cecece;
    padding: .5rem 1rem;
    color: #231f20;
    font-size: clamp(.8em, 1.7vw, 1.7vw);
}

.contact #telCargo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1rem;
}

.contact .label {
    display: flex;
    width: 100%;
    align-items: center;
    background-color: black;
    color: white;
    font-size: clamp(.8em, 1.7vw, 1.7vw);
    transition: 0.5s;
    cursor: pointer;
}

.contact .label:hover {
    background-color: #9d0b0f;
}

.contact #attachment {
    display: none;
}

.contact #imputArq {
    position: relative;
    display: grid;
    grid-template-columns: 2.2fr .8fr;
    gap: 1rem;
    align-content: center;
}

.contact .upload-box {
    display: flex;
    width: 100%;
    margin-bottom: 1.5vw;
    border-radius: 1rem;
    background-color: #cecece;
    outline: none;
    font-size: clamp(.8em, 1.7vw, 1.7vw);
}

::-webkit-file-upload-button {
    height: 2em;
    width: 30%;
    color: white;
    background-color: black;
    border: none;
    border-radius: 1rem;
    transition: 0.5s;
    cursor: pointer;
}

::-webkit-file-upload-button:hover {
    background-color: #9d0b0f;
}

.contact ::placeholder {
    color: #231f20;
}

input[type="submit"] {
    background-color: #9d0b0f !important;
    color: #fff !important;
    cursor: pointer;
}

.credit {
    position: relative;
    width: 100%;
    height: 6vw;
    display: inline-flex;
    gap: 5vw;
    padding: 2vw 5vw 2vw 12vw;
    background-color: #231f20;
    color: #fff;
    align-items: center;
}

.credit .creditText {
    text-align: center;
    font-size: clamp(1em, 1vw, 1vw);
}

.credit .creditImg img {
    width: 12vw;
}

.credit .creditRedes {
    position: relative;
    display: flex;
}

.credit .creditRedes .creditRedesIcons {
    position: relative;
    padding-left: 0;
}

.credit .creditRedes img {
    width: clamp(1.8rem, 2.5vw, 2.5vw);
}

/* media queries  */

@media (max-width:991px) {
    .contact {
        padding: 0 12vw;
    }
}

@media (max-width:768px) {
    .contact {
        padding: 0 8vw;
    }

    .header {
        padding: 2vw
    }

    .header .logo img {
        max-width: 10rem;
        min-width: 2rem;
    }

    .contact {
        margin-top: 15vw;
    }

    .contact .box-content {
        position: relative;
        width: 100%;
        padding: 2rem;
    }

    .contact .titleCont h1 {
        font-size: clamp(1.2em, 3vw, 3vw);
    }

    .contact .titleCont p {
        font-size: clamp(.8em, 1.2vw, 1.2vw);
    }

    .contact .box {
        height: 2em;
        margin-bottom: 2vw;
        border-radius: .5rem;
        padding: .5rem;
        font-size: clamp(.8em, 1.5vw, 1.5vw);
    }

    .contact .label {
        position: relative;
        color: white;
        font-size: clamp(.8em, 1.5vw, 1.5vw);
        padding: .8rem;
        height: 2.5em;
    }

    input[type="submit"] {
        height: 2.5em !important;
        margin-bottom: 0 !important;
        border-radius: .5rem;
        padding: 0 !important;
        font-size: clamp(.8em, 1.5vw, 1.5vw);
    }

    .return {
        position: relative;
        width: clamp(4rem, 18vw, 18vw);
        font-size: clamp(1em, 1.8vw, 1.8vw);
        border-radius: 5px;
        float: right;
        z-index: 2024;
        margin-right: 1.5rem;
        margin-top: 1.5rem;
    }

    .credit {
        height: 10vw;
        gap: 5vw;
        padding-right: 10vw;
    }

    .credit .creditText {
        text-align: center;
        font-size: clamp(.5em, .8vw, .8vw) !important;
    }

    .credit .creditImg img {
        width: 15vw;
    }

    .credit .creditRedes .creditRedesIcons {
        position: relative;
        padding: 0;
    }

    .credit .creditRedes img {
        width: clamp(2rem, 3vw, 3vw) !important;
    }

}

@media (max-width:510px) {
    .contact {
        padding: 0 3vw;
    }

    input[type="submit"] {
        height: 2.3em !important;
        margin-bottom: 0 !important;
        border-radius: .5rem;
        padding: 0 !important;
        font-size: clamp(.5em, 1.2vw, 1.2vw);
    }

    .contact .label {
        font-size: clamp(.5em, 2.5vw, 2.5vw);
        padding: .8rem;
        height: 2em;
    }

    .credit .creditText {
        margin: 0 !important;
        padding: 0 !important;
        font-size: .3rem;
    }

    .credit .creditRedes img {
        width: 1.5rem;
    }

}

@media (max-width:391px) {

    .contact {
        padding: 0 !important;
        margin: 0 !important;
    }

    input[type="submit"] {
        height: 2em !important;
    }

    .credit .creditText {
        margin: 0 !important;
        padding: 0 !important;
        font-size: .35rem !important;
    }

    .credit .creditRedes img {
        width: 1.5rem !important;
    }

}