@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

*{
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between;
    background: #ffff;
    width: 100%;
}

.cintillo img {
    width: 22%;
    height: 85px;
    display: block;
    border: none;
    position: relative;
    z-index: 9999;
    padding: 5px;
    margin-top: -12px;
}

.logo img {
    width: 80px;
    top: 0;
    height: auto;
    display: block;
    border: none;
    position: relative;
    padding: 5px;
    z-index: 9999;
}

.cintillo {
    flex-grow: 1;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .cintillo img {
        width: 80%;
        min-width: 140px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .cintillo img {
        width: 60%;
    }
}

.logo {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;   
        gap: 15px;       
    }
    .cintillo img {
        width: 80%;
    }
    .logo img {
        width: 60px;
        height: auto;
    }
}

/* Menú principal*/
.main-horizontal {
    height: 65px;
    width: 100%;
    top: 60px;
    display: flex;
    background-color: #ffff;
    border: none;
    padding: 0 20px;
    position: fixed;
    z-index: 9999;
    justify-content: space-between;
    margin-top: -60px;
}

ul, ol {
    list-style:none;
}

.nav > li {
    list-style-type: none;
}

.nav li a {
    height: 62px;
    display:block;
    text-decoration: none;
    font-weight: 300;
    color: black;
    font-size: 18px;
    padding: 20px 15px;
    white-space: nowrap;
    list-style-type: none;
}

.nav li a:hover {
    color: #ffff;
    background-color: #005b9b;
}

.nav li ul {
    display: none;
    position: absolute;
    min-width:140px;
    background-color: #ffff;
    padding: 10px 10px;
    margin-left: -90px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav li:hover > ul {
    display:block;
}

.nav li ul li {
    position:relative;
}

.logo{
    margin-left: 100px;
    height: 30px;
    width: 90px;
}

img{
    width: 110px; 
    height: 40px;
}

.logo_link{
    display: flex;
    align-items: center;
    margin-right: auto;
}
@media (max-width: 1200px) {
    .logo {
        padding-left: 50px;
    }
    .links_main {
        font-size: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .logo {
        padding-left: 20px;
    }
    .links_main {
        font-size: 15px;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .links_main {
        font-size: 12px;
        padding: 0 5px;
    }

    .main-horizontal {
        padding: 0 10px;
    }
    .logo {
        padding-left: 10px;
    }
}

/* Barra de búsqueda y Banner */
.searh--box{
    top:0;
    margin: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searh--box input {
    background: transparent;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 35px;
    border: 2px solid #ffffff;
    box-shadow: 5px 5px 15px rgba(88, 88, 88, 0.432);
    width: 45%;
    height: 35px;
    margin-top: 5%;
    cursor: pointer;
    color: #03347ef3;
    font-weight: 500;
}    

.searh--box input:focus{
    outline: none;
}

.searh--box input:hover{
    border: 2px solid #005B9B; 
}
@media screen and (max-width: 1280px) {
    .searh--box input{
        width: 60%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.searh--box i {
    background-color: #005b9b;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    padding: 7px 7px;
    cursor: pointer;
    margin-left: -55px;
    margin-top: 58px;
}

.searh--box i:hover {
    transform: scale(1.2);
}

button{
    border: none;
    background-color: transparent;
}
@media screen and (max-width: 1280px) {
    .searh--box i{
        margin-top: 42px;
    }
}

.container1{
    background-color: transparent;
    width: 90%;
    max-width: 1200px;
    margin: 120px auto;
    padding: 0; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.content{
    color: #032750;
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
}
.content_home h2{
    font-size: 20px;
    color: black;
}
.content_home p{
    font-size: 20px;
    color: black;
    font-weight: 500;
}

/* Pie de página*/
.logo_footer{
    width: 190px;
    height: 90px;
    margin-top: 3px;
    margin-left: -90px;
}

.footer{
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 190px;
    background-color: #005B9B;
    align-items: center;
    align-content: center;
    justify-content: center;
    bottom: 0;
    left: 0;
}

.footer_c{
    position: absolute;
}

.footer p{
    color: white;
    margin-top: -14px;
}

.footer .correo{
    width: 350px;
    height: 60px;
    margin-top: -25px;
}

.footer a{
    text-decoration: none;
}

.footer .icono-f{
    color: white;
    width: 45px;
}

.banner img{
    width: 100%;
    height: 350px;
    margin-top: 4%;
}
@media screen and (max-width: 1280px) {
    .banner img{
        width: 100%;
        height: 400px;
        margin-top: 50px;
    }
}
.banner .lhorizontal{
    width: 40%;
    height: 220px;
    margin-top: -400px;
    margin-left: 550px;
}
@media screen and (max-width: 1280px) {
    .banner .lhorizontal{
        width: 40%;
        height: 140px;
        margin-top: -400px;
        margin-left: 480px;
    }
}
.banner .mbanner{
    width: 30vh;
    height: 30vh;
    z-index: 9999;
    margin-top: -400px;
    margin-left: 150px;
}
@media screen and (max-width: 1280px) {
    .banner .mbanner{
        width: 20%;
        height: 190px;
        margin-top: -400px;
    }
}

.container img{
    width: 1000px;
    height: 240px;
    margin-top: -50px;
    margin-left: 30px;
}
@media screen and (max-width: 1280px) {
    .container img{
        width: 70%;
        height: 150px;
        margin-top: -50px;
    }
}

.container1 {
    background-color: transparent;
    width: 90%;
    max-width: 1200px;
    margin: 120px auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.content {
    color: #032750;
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
}
.content_home h2 {
    font-size: 20px;
    color: black;
}
.content_home p {
    font-size: 20px;
    color: black;
    font-weight: 500;
}

.contact_text h4 {
    font-size: 24px;
    color: #032750;
}
.contact_text p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.img-fluid {
    width: 80%;
    height: 10px;
}
@media (max-width: 768px) {
    .img-fluid {
        width: 80%;
        min-width: 140px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .img-fluid {
        width: 180%;
    }
}

@media (max-width: 767.98px) {
    .container1 {
        margin: 60px auto;
    }
    .col-md-6 {
        width: 100%;
    }
    .order-md-1, .order-md-2 {
        order: unset !important;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los hijos horizontalmente */
    text-align: center; /* Centra el texto */
}

.result {
    display: flex;
    flex-direction: column; /* Apila el párrafo y el botón verticalmente */
    align-items: center; /* Centra los hijos horizontalmente */
    width: 100%; /* Asegura que el contenedor abarque todo el ancho disponible */
}

.error {
    width: 150px;
    background-color: #005B9B;
    border-radius: 10px;
    border: none;
    padding: 10px 10px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.error:hover {
    background-color: #ffffff;
    border: 2px solid #ff6500;
    font-size: 15px;
    font-weight: 600;
    color: #ff6500;
}
