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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: rgb(245,245,245);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-color: rgb(245,245,245);
    background-image: url(../images/header-irlanda.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    text-align: center; /* Centra el texto dentro de este contenedor */
    padding: 0 20px; /* Opcional: Añade padding para asegurar que no haya márgenes laterales */
}


.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding: 20px;
}

.logo img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.menu .navbar {
    display: flex;
    align-items: center;
    margin: 0;
}

.menu .navbar ul {
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
    justify-content: space-around; /* Asegura la distribución horizontal */
}

.menu .navbar ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.menu .navbar ul li a {
    display: inline-block;
    font-size: 18px;
    padding: 20px;
    color: #fffdfc;
    font-weight: 600;
    line-height: 25px;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header-txt {
    text-align: center;
}

.header-txt h1 {
    font-size: 85px;
    color: #fffdfc;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#vivir-en-irlanda {
    padding: 25%;
    text-align: center;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.banner img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 3px 5px rgba(15,15,15,.5);
}

.container {
    width: 75vw;
    max-width: 1000px;
    min-width: 320px;
    margin: auto;
}

.individual {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 3px 5px rgba(15,15,15,.5);
}

.imagenesfila {
    display: inline;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 3px 5px rgba(15,15,15,.5); 
}

#vivir-en-irlanda h2, #vivir-en-irlanda h3, #vivir-en-irlanda p {
    text-align: center;
}

.footer {
    background-color: rgb(245,245,245);
    padding: 150px 0 100px 0;
    background-image: url(../images/footer.png);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer ul li {
    margin: 0 10px; /* Espacio entre cada elemento li */
}

.footer ul li:last-child {
    margin-right: 0; /* Elimina el margen derecho del último elemento li */
}

.footer ul li a {
    color: #1B293A;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #31527a;
}

.footer-txt {
    margin-top: 0; /* Remueve el margen superior extra */
    border-top: none; /* Elimina la línea superior */
    padding: 0; /* Remueve el padding adicional */
}

.footer-txt p {
    color: #1B293A;
    font-size: 14px; /* Asegúrate de que el tamaño de la fuente sea consistente */
}

.wrapper {
    background-color: rgb(245, 245, 245);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.wrapper .button {
    display: inline-block;
    height: 60px;
    width: 60px;
    display: flex;
    margin: 0 5px;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
}

.wrapper .button:hover {
    width: 200px;
}

.wrapper .button .icon {
    color: black;
    display: inline-block;
    height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 50px;
    box-sizing: border-box;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1):hover .icon {
    background: #ff0000;
}

.wrapper .button:nth-child(2):hover .icon {
    background: #1DA1F2;
}

.wrapper .button .icon i {
    font-size: 25px;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper .button:hover .icon i {
    color: #fff;
}

.wrapper .button span {
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    margin-left: 10px;
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1) span {
    color: #ff0000;
}

.wrapper .button:nth-child(2) span {
    color: #1DA1F2;
}

.video {
    width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.video::after {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
}

.proyectoestoico_video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive styles */
@media(max-width: 991px) {
    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.782);
        backdrop-filter: (10px);
        box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, .25);
        display: none;
        border-radius: 5px;
        padding: 0; /* Agregar margen a los lados */
    }

    .menu .navbar ul li {
        width: 100%;
        padding: 10px 0; /* Ajuste del padding para evitar desbordamientos */
        text-align: center; /* Centrar el texto */
    }

    .menu .navbar ul li a {
        color: #1b293a; /* Cambia el color del texto de los enlaces a blanco */
        padding: 10px; /* Ajuste del padding */
        width: 100%;
        display: block;
        font-size: 16px; /* Reducir el tamaño de fuente */
    }

    #menu:checked ~ .navbar {
        display: initial;
    }

    .header {
        padding: 0vh;
    }

    .header-content {
        padding: 100px 30px;
    }

    .header-txt h1 {
        font-size: 50px;
    }

    .header-txt p {
        padding: 0;
    }
}

@media(max-width: 480px) {
    .video-gallery .video-item {
        width: 100%; /* Un video por fila en pantallas muy pequeñas */
    }

    .last-episode .video-container iframe {
        width: 100%;
        height: auto;
    }
}
