* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Estilos de la sección de encabezado */
.header {
    width: 100%;
    background: #0160a2;
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 300px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #ffffff;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 30px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #023457;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}

h1 {
    color: #0160a2;
    text-align: center;
    font-size: 36px;
    padding: 10px;
}

.informacion {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

.informacion p {
    line-height: 1.6;
}

b {
    font-weight: bold;
}

.xd {
    width: 60%; 
    height: auto; 
    display: block; 
    margin: 20px auto; 
    max-width: 100%;

    @media (max-width: 768px) {
        width: 100%; 
    }
}

.cartas {
    width: 100%;
    background-color: #dad9d9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
position: relative;
background: #fff;
border-radius: 20px;
padding: 20px 60px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}

.card .image {
width: 150px;
height: 150px;
padding: 3px;
border: 3px solid #0160a2;
background: #fff;
border-radius: 50%;
margin-bottom: 20px;
}

.card .image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}  

.card h3 {
text-align: center;
}

.card .button {
border: none;
font-size: 16px;
color: white;
padding: 6px 12px;
background-color: #0160a2;
border-radius: 6px;
margin: 14px;
cursor: pointer;
transition: all 0.3s ease;
}

.card .button:hover{
background-color: #034472;
}

.swiper-container {
position: relative;
margin: 0 auto;
width: 60%;
}

.swiper {
margin: 0 auto;
cursor: grab;
}

.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
width: 30px;
height: 30px;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 10px #ccc;
}
  
.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 16px;
font-weight: bold;
color: #000;
}

.swiper-button-next:hover {
transform: scale(1.2) translateX(80%);
}

.swiper-button-prev:hover {
transform: scale(1.2) translateX(-80%);
}

.swiper-button-next {
transform: translateX(100%);
}

.swiper-button-prev {
transform: translateX(-100%);
}

.swiper-pagination {
transform: translateY(200%);
}

.swiper-pagination-bullet {
background: #fff;
width: 15px;
height: 15px;
}

/*Carruse*/
.container-slider {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    width: 900%;
    height: 800px;
    margin-left: -100%;
}

.slider__section {
    width: 100%;
}

.slider__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider__btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.slider__btn:hover {
    background-color: white;
}

.slider__btn--left {
    left: 10px;
}

.slider__btn--right {
    right: 10px;
}

@media screen and (max-width: 600px) {
    .slider {
        height: 200px; /* Ajusta la altura según tus necesidades para dispositivos móviles */
    }

    .slider__img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
/*Carruse*/

.pie-pagina{
    width: 100%;
    background: #034472;
}

.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}

.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #021e31;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover{
    color: aqua;
}

.pie-pagina .grupo-2{
    background: #034472;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small{
    font-size: 15px;
}

@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}