* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(#1e3c72, #3a5a9e,#3a5a9e,#3a5a9e,#3a5a9e,#3a5a9e,#3a5a9e, #a4c6ff, #ffffff);
    color: rgb(255, 255, 255);
}

nav {
    position: absolute;
    top: 42px;
    right: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: scale(1.1);
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}



nav ul li:hover .submenu {
    display: block;
}

nav ul ul.submenu {
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #333;
}

nav ul ul.submenu li {
    display: block;
}

nav ul ul.submenu li a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}


.header-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    text-align: left;
    max-width: 600px;
    padding: 20px;
    background-color: transparent;
    overflow: hidden;
}

.header-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.header-content p {
    margin-bottom: 30px;
    font-size: 1.5em;
    font-style: italic;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.logo {
    position: absolute;
    top: 200px;
    right: 100px;
    height: 350px;
    width: auto;
    border-radius: 20px;
    padding: 10px;
    background-color: white;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.h1-titulo {
    position: absolute;
    top: 40px;
    left: 71px;
    z-index: 10;
}

.h1-titulo h1 {
    font-size: 3em;
    color: #ffffff;
}

.greeting-message {
    font-size: 25px;
    font-weight: bold;
    margin-right: 15px;
    margin-left: -300px; /* Mover más a la izquierda */
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}
.hamburger{
    display: none;
}

/* Media query para la versión móvil */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    nav ul {
        display: none;
    }
    
    .greeting-message {
        font-size: 20px; /* Reducido */
        font-weight: bold;
        margin-left: 0px; /* Movido a la izquierda */
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        position: relative;
    }
    
    .hamburger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px; /* Reducido */
        height: 1px;
        cursor: pointer;
        background-color: transparent;
        margin-top: -10px;
        margin-left: 200px; /* Movido a la izquierda */
    }
    
    .hamburger a {
        font-size: 30px; /* Reducido */
        color: rgb(0, 0, 0);
        text-decoration: none;
    }
    
    nav {
        justify-content: space-between;
        padding: 10px 20px;
    }
    
    .header-content {
        text-align: left; /* Alineado a la izquierda */
        padding: 10px;
        margin-bottom: 20px;
        margin-top: 20px; /* Reducido */
    }
    
    .header-content h2 {
        font-size: 1.8em; /* Reducido */
        margin-left: 80px; /* Movido a la izquierda */
        margin-top: 30px; /* Reducido */
    }
    
    .header-content p {
        font-size: 1.4em; /* Reducido */
        margin-left: 0px; /* Movido a la izquierda */
        margin-top: 60px; /* Reducido */
    }
    
    .logo {
        position: static;
        margin: 20px auto 10px; /* Reducido */
        height: 140px; /* Reducido */
        width: auto;
        margin-top: 60px; /* Reducido */
    }
    
}