@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {

    line-height: 1.5;
}

.contact-bg {
    padding-top: 50px;
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('../img/panel7jpg.jpg'); /* Verifica esta ruta */
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact-bg h3 {
    font-size: 1.3rem;
    font-weight: 400;
}
.contact-bg h2 {
    font-size: 3rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
}
.line div {
    margin: 0 0.2rem;
}
.line div:nth-child(1),
.line div:nth-child(3) {
    height: 3px;
    width: 70px;
    background: #F9B233;
    border-radius: 5px;
}
.line {
    display: flex;
    align-items: center;
}
.line div:nth-child(2) {
    width: 10px;
    height: 10px;
    background: #F9B233;
    border-radius: 50%;
}
.text {
    font-weight: 300;
    opacity: 0.9;
}
.contact-bg .text {
    margin: 1.6rem 0;
}
.contact-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}
.contact-info {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem 0;
}
.contact-info span {
    display: block;
}
.contact-info div {
    margin: 0.8rem 0;
    padding: 1rem;
}
.contact-info span .fas {
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: #F9B233;
}
.contact-info div span:nth-child(2) {
    font-weight: 500;
    font-size: 1.1rem;
}
.contact-info .text {
    padding-top: 0.4rem;
}
.contact-form {
    padding: 2rem 0;
    border-top: 1px solid #c7c7c7;
}
.contact-form form {
    padding-bottom: 1rem;
}
.form-control {
    width: 100%;
    border: 1.5px solid #c7c7c7;
    border-radius: 5px;
    padding: 0.7rem;
    margin: 0.6rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    outline: 0;
    -webkit-text-fill-color: white;
    font-size: 1.4rem;
}

.form-control::placeholder {
    color: white;
}
.form-control:hover {
    color: white;
}
.form-control:focus {
    box-shadow: 0 0 6px -3px rgba(48, 48, 48, 1);
}
.contact-form form div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.6rem;
}
.send-btn {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    background: #F9B233;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
}
.send-btn:hover {
    opacity: 0.8;
}
.contact-form > div img {
    width: 85%;
}
.contact-form > div {
    margin: 0 auto;
    text-align: center;
}
.map {
    padding-bottom: 50px;
}

@media screen and (min-width: 768px) {
    .contact-bg .text {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .contact-bg .text {
        width: 50%;
    }
    .contact-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .contact-info {
        grid-template-columns: repeat(4, 1fr);
    }
}
