body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.navegacion {
    background-color: black;
    padding: 0 1.25rem;
}

.top-navigation-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
}

.top-navigation-wrap a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.top-navigation-wrap img {
    max-width: 10rem;
    height: auto;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .left-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav .left-menu li {
    margin: 0 0.625rem;
}

nav .left-menu li a {
    display: block;
    padding: 0.625rem 0.9375rem;
    text-decoration: none;
    color: white;
}

nav .left-menu li a:hover {
    background-color: #555;
}

nav .right-menu {
    margin-left: 1.25rem;
}

.button {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: linear-gradient(225deg, #56565600, #7b7b7b);
    border-radius: 0.3125rem;
    transition: background 0.3s ease;
}

.second_box {
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: white;
}

.footer-box-text {
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    text-align: left;
    margin-left: 1.25rem;
}

.footer_box {
    background-color: black;
    padding: 1.25rem;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.footer_box .copyright {
    font-size: 0.875rem;
    background-color: #808080;
    padding: 0.625rem;
}

.social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.625rem;
}

.social-media a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.social-media a:hover {
    color: #f1f1f1;
}

.panel-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.panel {
    max-width: 20rem;
    text-align: center;
    border: 1px solid #000000;
    padding: 1.25rem;
    border-radius: 0.5rem;
    background-color: #313131;
}

.panel img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.panel h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.panel p {
    font-size: 1rem;
    line-height: 1.5;
    color: white;
}

@media (max-width: 768px) {
    .top-navigation-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav .left-menu {
        flex-direction: column;
        width: 100%;
    }

    nav .left-menu li {
        margin: 0.5rem 0;
    }

    .panel-container {
        flex-direction: column;
        gap: 2rem;
    }

    .panel {
        max-width: 90%;
    }

    .footer_box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-media {
        justify-content: center;
    }
}
