/* Estilos generales */
html {
    font-family: 'Oxanium', sans-serif;
}

body {
    background-color: #efefef;
    margin: 0;
    color: #0c2d48;
    font-size: 1rem; /* Escalable */
}

a {
    transition: color 0.3s ease;
    font-family: 'Rubik', sans-serif;
    color: #0c2d48;
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    color: #2e8bc0;
}

p {
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
}

/* Estilos para el encabezado y menú hamburguesa */
header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 3px 0 5px #aaa;
    padding: 15px 30px;
}

header .logo {
    font-size: 20px;
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
}

/* Estilos para el ícono del menú hamburguesa */
header .icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #0c2d48;
}

/* Estilos generales del menú */
nav ul {
    list-style-type: none;
    display: flex;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li a {
    padding: 0 15px;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #0c2d48;
}

nav ul li a:hover {
    color: #2e8bc0;
}

/* Responsividad: menú hamburguesa en pantallas pequeñas */
@media (max-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .icon {
        display: block; /* Muestra el ícono hamburguesa */
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .topnav.responsive nav ul {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    nav ul li a {
        padding: 15px;
    }
}

/* Menú en línea para pantallas grandes */
@media (min-width: 769px) {
    .icon {
        display: none; /* Oculta el ícono hamburguesa en pantallas grandes */
    }

    nav ul {
        display: flex !important; /* Muestra el menú en horizontal */
        justify-content: flex-end; /* Alinea el menú a la derecha */
        flex-direction: row; /* Cambia a disposición horizontal */
        position: static; /* Resetea la posición absoluta */
        box-shadow: none; /* Elimina sombra en pantallas grandes */
        background-color: transparent; /* Fondo transparente */
    }

    nav ul li {
        margin-left: 20px;
        text-align: left;
    }

    nav ul li a {
        padding: 0 15px;
        display: inline-block;
    }
}

/* Estilos para la sección "hero" */
.hero {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4b4b4b;
    padding: 20px 50px;
    min-height: calc(80vh - 80px);
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.hero h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin: 0;
    padding-top: 10px;
}

.hero h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin: 10px 0 0;
}

.hero p {
    margin-bottom: 50px;
}

.hero .hero-content .idea {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente los elementos dentro de .idea */
    align-items: center; /* Centra horizontalmente los elementos dentro de .idea */
    color: #dbdada;
}

/* Botones */
.btn {
    background-color: #2e8bc0;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
}

a.btn {
    color: #fff;
}

/* Estructura */
.center {
    display: flex;
    justify-content: center;
}

.content {
    width: 1200px;
}

.row {
    display: flex;
    flex-direction: row;
}

/* Colores */
.green {
    color: #2e8bc0;
}

/* Espaciado */
.padded {
    padding: 20px 30px;
}

.vert-pad {
    padding: 20px 0;
}

/* Full width */
.full-width {
    width: 100%;
}

/* Estilos del footer */
.footer {
    padding: 80px 0 0;
    background-color: #333;
    color: #fff;
}

.social-links {
    margin: 20px 0 40px;
}

.social-links a {
    margin: 0 10px;
}

.social {
    background-color: #fff;
    padding: 10px;
    border-radius: 15px;
}

.made-with {
    padding: 0 30px;
    color: #555;
}

/* Botón de "Scroll to Top" */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0c2d48;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    display: none;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
    background-color: #2e8bc0;
}
