/* General Reset */
body, h1, p, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

h1 {
    margin-bottom: 1rem;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #111;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    position: relative;
    z-index: 10; /* Ensure the header remains on top */
}

.logo {
    margin-bottom: -10px;
}

nav {
    position: relative;
}

.menu {
    display: flex;
    gap: 1rem;
}

.menu li a {
    color: #fff;
    transition: color 0.3s ease;
}

.title {
    color: #ffb700;
    letter-spacing: 0.0625em;
    font-weight: 700;
}

.menu li a:hover {
    color: #ffb700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 15; /* Keep menu toggle above the menu */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Main Styles */
main {
    text-align: center;
    padding: 2rem;
    background-color: #111;
    color: #fff;
}

.info-box {
    width: 60%;
    background-color:#222;
    color: #888;
    margin: 0px auto; /* Center horizontally and add vertical spacing */
    margin-bottom: 4rem;
    text-align: left;
    

}

.box {
    width: 60%; /* Set the width to 80% of the parent container */
    aspect-ratio: 16 / 9; /* Modern approach for aspect ratio */
    background-color: #222;
    x-border: 1px solid #ccc;
    margin: 0px auto; /* Center horizontally and add vertical spacing */
    display: flex;
    justify-content: center;
    align-items: center; /* Center content inside the box */
    font-size: 1.2rem;
    color: #333;
    border-radius: 5px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
}

/* Fallback for older browsers without aspect-ratio support */
.box::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 ratio (9 / 16 = 0.5625 * 100 = 56.25%) */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    header {
        flex-direction: row-reverse;
    }

    .box {
        width: 100%; /* Set the width to 80% of the parent container */
    }
    .info-box {
        width: 100%; /* Set the width to 80% of the parent container */
    }

    .menu {
        display: flex;
        flex-direction: column;
        background-color: #444;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 200px;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 5; /* Ensure menu is below the toggle button */
    }

    .menu li {
        text-align: center;
        padding: 1rem 0;
    }

    .menu.show {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }
}
