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-color: linear-gradient(90deg, #ffffff00, #fff9f9);
    border-radius: 0.3125rem;
    transition: background 0.3s ease;
}

.second_box, .fourth_box, .third_box {
    background-color: white;
    justify-content: center;
    text-align: center;
    position: relative;
}

.second_box {
    height: auto;
    padding: 2rem;
}

.third_box {
    background-color: black;
    padding: 2rem;
}

.fourth_box {
    height: auto;
    padding: 2rem;
}

.footer-box-text {
    color: rgb(255, 255, 255);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    text-align: left;
    position: relative;
    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-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.875rem;
    background-color: #808080;
    padding: 0.625rem;
    text-align: left;
}

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

.social-media li {
    margin: 0;
}

.social-media a {
    text-decoration: none;
    color: white;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
}

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

.first_box {
    position: relative;
    height: 15rem;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.25rem;
}

.text-panel {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25rem;
}

.text-panel h2 {
    color: #000000;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.3125rem;
    border-bottom: 0.0625rem solid #000000;
    display: inline-block;
    padding-bottom: 0.3125rem;
}

.text-panel p {
    color: #000000;
    line-height: 1.6;
}

.text-panel img {
    max-width: 80%;
}

.third-text-panel h2, .third-panel h4, .third-panel p {
    color: white;
}

.third-panel img {
    max-width: 100%;
    height: auto;
}

.third-panel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.third-panel {
    width: 100%;
    text-align: center;
    border: 0.0625rem solid #414040;
    background-color: #313131;
    padding: 1.25rem;
    margin: 1.25rem 0;
}

.third-text-panel {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.3125rem;
    border-bottom: 0.0625rem solid #FFFFFF;
    display: inline-block;
    padding-bottom: 0.3125rem;
}

@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.3125rem 0;
    }

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

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

    .third-panel {
        width: 90%;
    }
}
