@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

a {
    text-decoration: none;
}

/*Loading page*/
.vcsoftloading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background: url(loader.svg) center no-repeat rgb(255, 255, 255);
  }
  /*Loading page*/

.social {
    width:2rem;
    margin-right: 3px;
}
.logo {
    width: 220px;
}
.txtfinal {
    font-size: 1rem;
}

.carousel-container {
    width: 100%;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    font-weight: bold;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); */
}

.contact-form {
    width: 60%;
    margin: 30px auto;
    padding: 20px;
    display: flex; 
    justify-content: space-between;
   /*  border: 1px solid #ddd;
    border-radius: 5px; */
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #D4145A;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.oculta {
    margin-bottom: 20px;
    width:100%;
    display:none;
}

.izq {
    width: 50%;
    display: flex;
    flex-direction: column; 
    align-items: end;
}
.der {
    width:50%;
    display: flex; 
    flex-direction: column; 
    align-items: start;
}

.formulario {
    width:80%;
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

@media (max-width: 1200px) {
    .contact-form {
        width: 80%;
        padding: 0px;
    }  
}
@media (max-width: 800px) {
    .oculta {
        display: block;
    }
    .der {
        display: none;
    }
    .izq {
        width: 100%;
        align-items: center;
    }
    .social {
        width: 1.5rem;
    }
    .logo {
        width: 140px;
    }
    .txtfinal {
        font-size: .8rem;
    }  
    .contact-form {
        width: 100%;
        padding: 0px;
        display: block;
    }  
}
