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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background-color: rgb(170, 83, 32);
    color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

header.transparent {
    background-color: rgba(170, 83, 32, 0.8);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #f0a500;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgb(170, 83, 32);
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 60%;
        padding: 0;
        padding-top: 60px;
        margin: 0;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        z-index: 1000;
        justify-content: flex-start;
        align-items: flex-start;
        box-sizing: border-box;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
        left: 0;
        margin-left: 0;
    }

    .nav-links li a {
        margin: 15px 0;
        font-size: 14px;
        color: #ffffff;
        text-decoration: none;
        padding: 10px 10px 10px 20px; /* Añadido padding-left: 20px para separar el texto del borde */
        transition: none;
        text-align: left;
        display: block;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: #ffffff;
        font-weight: normal;
    }

    .menu-toggle {
        display: flex;
    }
}

.header-section {
    position: relative;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 100px;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.9rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgb(255, 140, 8);
    animation: fadeIn 7s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    width: 85%;
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #c77930;
    font-size: 1.5rem;
    margin-top: 20px;
}

h3 {
    color: #c77930;
    font-size: 1.2rem;
    margin-top: 15px;
}

p {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1rem;
}

ul {
    list-style-type: square;
    margin-left: 20px;
    margin-bottom: 1rem;
}

li {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 8px;
}

.container a {
    color: #0000ff;
    font-weight: 100;
    text-decoration: none;
    transition: color 0.3s ease;
}

.container a:hover {
    color: #c77930;
}

footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
}

@media (max-width: 768px) {
    .header-text {
        font-size: 2.5rem;
    }

    .container {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .header-text {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p, li {
        font-size: 0.9rem;
    }
}