/* Estilos generales */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Navbar */
nav.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.418);
    z-index: 1000;
}

.navbar-brand {
    font-family: "Poppins";
    font-size: 2rem;
    font-weight: bolder;
    color: #fff;
    text-transform: uppercase;
}

.navbar-brand:hover {
    color: white;
}

.navbar-toggler {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.navbar-toggler-icon {
    width: 25px;
}

.navbar-nav li a {
    color: #ffffff;
    font-weight: bold;
}

/* Estilos para el menú desplegable en móvil */
@media only screen and (max-width: 991px) {
    .navbar-toggler {
        margin-left: auto; /* Alinea el botón de hamburguesa a la derecha */
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%; /* Oculta el menú fuera de la pantalla */
        width: 50%; /* Reducimos el ancho del menú desplegable */
        height: 100vh;
        background-color: white;
        transition: right 0.3s ease-in-out;
        padding-top: 60px; /* Espacio para la "X" */
        text-align: center; /* Centramos el texto */
    }

    .navbar-collapse.show {
        right: 0; /* Muestra el menú */
    }

    .navbar-nav {
        padding: 20px;
    }

    .navbar-nav li a {
        color: black !important; /* Texto negro */
        font-size: 16px; /* Reducimos el tamaño del texto */
        padding: 10px 0;
        display: block;
    }

    .navbar-nav li a:hover {
        color: #bc7c7c !important; /* Color hover */
    }

    /* Botón de cierre (X) */
    .close-menu {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        color: black;
        cursor: pointer;
    }

    /* Ajustamos el tamaño del título */
    .navbar-brand {
        font-size: 1.5rem; /* Reducimos el tamaño del título */
    }
}

/* Estilos para desktop */
@media only screen and (min-width: 992px) {
    .navbar ul li a {
        text-align: center;
        color: rgb(255, 255, 255);
        text-transform: uppercase;
    }

    .navbar ul li a:hover {
        color: rgb(255, 255, 255);
    }
}

/* Contenedor principal */
.container.aviso-legal-container {
    max-width: 800px;
    margin: 100px auto 40px; /* Margen superior aumentado */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Títulos */
h1 {
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
}

h2 {
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Párrafos y listas */
p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Enlaces */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer a {
    color: #00bcd4;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media only screen and (max-width: 600px) {
    .container.aviso-legal-container {
        margin-top: 80px; /* Ajuste para móviles */
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 15px 0;
    }
}

/* Banner image */
.banner-image {
    background: linear-gradient(rgba(0, 0, 0, 0.549), rgba(0, 0, 0, 0.571)),
        url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 100vh;
}

@media screen and (max-width: 600px) {
    .banner-image {
        height: 100vh;
    }
}

/* Content header */
.content {
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content h1 {
    font-weight: bolder;
    margin-bottom: 20px;
    font-size: 7rem;
}

@media screen and (max-width: 800px) {
    .content h1 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
}

.content small {
    text-align: center;
    font-size: 10px;
}

.btnLlamada1 {
    width: 350px;
    padding: 8px;
    border-radius: 25px;
    font-weight: 700;
    background-color: #bc7c7c;
    color: white;
    margin-bottom: 25px;
    border-color: #fff;
}

.btnLlamada2 {
    width: 350px;
    padding: 8px;
    border-radius: 25px;
    font-weight: 700;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    margin-bottom: 25px;
    border-color: #fff;
}

/* Sect2 */
.sect2 {
    background-color: #bc7c7c;
    padding: 50px;
    text-align: center;
}

.sect2 h1 {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.sect2 a {
    font-size: 80px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

@media screen and (max-width: 800px) {
    .sect2 a {
        font-size: 2rem;
        margin-bottom: 50px;
    }
}

/* Avisos legales */
.avisoLegales {
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: antiquewhite;
    padding: 50px;
    position: static;
}