@font-face {
    font-family: "AgathoLightCaps";
    src: url("https://eqhqqdp.com/assets/fonts/AgathoLightCAPS.otf") format("opentype"),
        url("https://eqhqqdp.com/assets/fonts/AgathoLightCAPS.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AgathoLight";
    src: url("https://eqhqqdp.com/assets/fonts/AgathoLight.otf") format("opentype"),
        url("https://eqhqqdp.com/assets/fonts/AgathoLight.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AgathoBold";
    src: url("https://eqhqqdp.com/assets/fonts/AgathoBold.otf") format("opentype"),
        url("https://eqhqqdp.com/assets/fonts/AgathoBold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AgathoNarrow";
    src: url("https://eqhqqdp.com/assets/fonts/AgathoNarrow.otf") format("opentype"),
        url("https://eqhqqdp.com/assets/fonts/AgathoNarrow.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(-200%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(200%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


body,
ul,
li,
h1,
h2,
p {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    background-color: #131313;
    color: white;
    line-height: 1.5;
    padding-top: 80px;
}

.navbar {
    background-color: #131313;
    padding: 20px 0;
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'AgathoLightCaps';
    text-decoration: none;
    color: white;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #9c9c9c;
    transform: scale(1.1);
}

.logo {
    display: none;
}

.menu {
    display: none;
}

.menu-overlay {
    display: none;
}

.menu-overlay ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.menu-overlay ul li a:hover {
    color: #ccc;
}

.content {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    margin-top: 70px;
    padding-top: 10px;
}

.content h1 {
    font-size: 38px;
    font-family: 'AgathoLightCaps';
    margin-bottom: -10px;
    text-align: center;
}

.content h2 {
    font-size: 26px;
    margin-bottom: 50px;
    font-family: 'AgathoNarrow';
    text-align: center;
}

.box-container {
    display: grid;
    gap: 12px;
    padding: 20px;
    background-color: #131313 !important;
    margin-top: -35px;
    margin-bottom: 10px;
    justify-content: space-between;
    grid-template-columns: repeat(4, 1fr);
}

.box {
    background-color: #131313 !important;
    color: white;
    text-align: center;
    font-family: 'AgathoRegular';
    padding: 0;
    margin: 0;
}

.box video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: block;
}

.footer {
    background-color: #131313;
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer a:hover {
    color: #7e7e7e;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .logo {
        display: flex;
        text-align: center;
        margin-left: 10px;
        margin-top: 10px;
        font-family: 'AgathoBold';
    }

    .logo a {
        color: white;
        text-decoration: none;
    }

    .logo h1 {
        font-size: 2rem;
        margin: -1rem;
    }

    .logo p {
        font-size: 1rem;
        margin: -2px;
        margin-left: 4rem;
    }

    .menu {
        margin-top: -50px;
        display: flex;
        justify-content: flex-end;
        margin-right: 10px;
    }

    .ul {
        list-style: none;
        padding: 0;
    }

    .ul.li.a {
        list-style: none;
        text-decoration: none;
        color: white;
        font-size: 18px;
        margin: 10px 0;
    }

    .menu-button {
        font-size: 30px;
        color: white;
        border: none;
        background-color: #131313;
        cursor: pointer;
        margin-right: 10px;
        margin-top: 10px;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        justify-content: center;
        align-items: center;
        transition: display 0.1s ease-out;
        z-index: 2;
    }

    .menu-overlay.fade-in {
        animation: fadeIn 1s ease-out forwards;
    }

    .menu-overlay.fade-out {
        animation: fadeOut 1s ease-out forwards;
    }

    .menu-content {
        text-decoration: none;
        text-transform: uppercase;
        color: #fff;
        font-size: 25px;
        text-align: center;
    }

    .close-button {
        background-color: transparent;
        border: none;
        color: white;
        font-size: 48px;
        cursor: pointer;
        position: absolute;
        top: 22px;
        right: 20px;
    }

    .content h1 {
        font-size: 34px;
    }

    .content h2 {
        font-size: 22px;
    }

    .box-container {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {
    .box-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .content h1 {
        font-size: 30px;
    }

    .content h2 {
        font-size: 18px;
    }

}

@media (max-width: 720px) {
    .box-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0px;
        margin-top: -15px;
    }

    .content h1 {
        font-size: 30px;
    }

    .content h2 {
        font-size: 18px;
    }

    .footer {
        font-size: 11px;
    }
}