*{
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(
        180deg,
        rgba(240, 240, 240, 1) 0%,
        rgba(238, 238, 238, 1) 50%,
        rgba(204, 204, 204, 1) 100%
    );
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    min-height: 100vh;
}

a{
    text-decoration: none;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #ffffff, #f2f2f2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-title {
    font-size: 24px;
    font-weight: bold;
    color: #333; 
    margin: 0;
}

.header-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.main-nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 120px;
    margin: 0;
    padding: 20px 40px 20px 20px;
}

.nav-menu li {
    border-bottom: 2px solid #ddd;
    padding: 10px 10px;
}

.nav-menu li a {
    text-decoration: none;
    font-size: 18px;
    font-weight:100;
    color: #555;
    transition: color 0.3s ease;
    display: block;
}

.nav-menu li a:hover {
    color: #7fc7f7;
    padding-bottom: 2px;
}

/* Estilo del menú hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.3s ease;
    margin-right: 10px;
}

/* Líneas del menú hamburguesa */
.hamburger .line {
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animación cuando el menú hamburguesa está activo */
.hamburger.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Estilos del menú hamburguesa cuando está visible */
.nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 300px;
}

/* Estilos específicos solo para el menú hamburguesa */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 50px 0; /* padding de 50px para el menú hamburguesa */
        border-radius: 8px;
        opacity: 0;
        transform: translateY(-20px);
    }

    .nav-menu li {
        border-bottom: 2px solid #ddd; /* Línea separadora entre los elementos del menú */
        padding: 10px 0; /* Separación entre elementos */
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .logo{
        height: 80px;
        width: 80px;
    }
}

#negrop {
    color: #3f77f1;
    font-weight: 600;
}

main {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

form {
    padding: 5px 55px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    width: 340px;
    height: 450px;
    margin: 25px 0;
}

.input-group{
    display: flex;
    flex-direction: column;
    text-align: left;
}

h2{
    color: #283629;
    font-size: 25px;
}

label{
    color: #283629;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

input, textarea{
    padding: 13px 25px;
    border-radius: 25px;
    margin-bottom: 20px;
    background-color: #edf5ff;
    border: 2px solid #f0faf1;
    color: #283629;
    outline: none;
}

input::placeholder, textarea::placeholder{
    color: #b5cab6;
}

.form-txt{
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.form-txt a{
    color: #768bb2;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn{
    font-size: 16px;
    color: #ffffff;
    border: 0;
    border-radius: 25px;
    background-color: #3f77f1;
    box-shadow: 0 0 20px rgba(0, 25, 254, 0.4);
    cursor: pointer;
}

.btn:hover{
    background-color: #50e04b;
}

@media(max-width:991){
    body{
        padding: 30px;
    }

    form{
        padding: 50px 30px;
        width: 100%;
    }

    input{
        padding: 15px;
    }

}
footer{
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    padding-bottom: 10px;
    background: linear-gradient(
        180deg,
        rgba(240, 240, 240, 1) 0%,
        rgba(238, 238, 238, 1) 50%,
        rgba(198, 198, 198, 1) 100%
    );
}

.firspar{
    margin: 5px 0;
}

.firspa{
    margin: 20px 0;
}

.seco p{
    margin: 5px 0;
}

@media (max-width: 800px){
    .seco{
        margin-left: 0;
    }

    .firs{
        margin-left: 0;
    }

    footer{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}