@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/perandory');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

body {
    margin: 0;
    padding: 0;
}

.container {
    margin: auto;
    background-color: #000000;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #740000;
    cursor: pointer;
}

.nav a {
    color: #EAEAEA;
    text-decoration: none;
    font-family: 'Perandory', sans-serif;
    font-size: 54px;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

.nav div {
    font-size: 54px;
    text-align: center;
    letter-spacing: 3.5px;
    margin-top: 5px;
}

.section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.section a {
    color: #EAEAEA;
    text-decoration: none;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 18px;
    transition: color 0.3s ease;
}

.section div {
    padding: 8px;
    flex-wrap: wrap;
    color: #EAEAEA;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 18px;
    cursor: pointer;
    letter-spacing: normal;
    transition: color 0.3s ease;
}

.nav.section {
    font-family: 'Red Hat Display', sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    color: #EAEAEA;
}

.submenu {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    margin: 10px 0px;
    background-color: #000000;
    border-bottom: 3.5px solid #EAEAEA;
}

.submenu a {
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    color: #000000;
}

.submenu a:hover {
    text-decoration: underline;
}

.submenu:hover {
    display: block;
}

.menu-item a {
    color: #eaeaea;
    text-decoration: none;
    transition: all 0.5s ease;
}

.menu-item a:hover {
    color: #FFD700;
}

.menu-item:hover .submenu {
    display: block;
}

.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.menu {
    display: flex;
    gap: 1rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
    color: #EAEAEA;
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    margin: 0 10px;
}

.footer-social img {
    width: 40px;
    cursor: pointer;
}

.footer-social img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.footer p {
    font-family: 'Red Hat Display', sans-serif;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.2px;
}

@media screen and (max-width: 768px) {

    .container {
        margin: auto;
        background-color: #000000;
    }

    .nav {
        display: flex;
        flex-direction: row;
        padding: 20px;
        justify-content: space-between;
        background-color: #740000;
        cursor: pointer;
        align-items: end;
    }

    .nav div {
        color: #EAEAEA;
        font-family: 'Perandory', sans-serif;
        font-size: 45px;
        text-align: center;
        letter-spacing: 3.5px;
        margin-top: 5px;
    }

    .menu-toggle {
        font-size: 1.5rem;
        position: fixed;
        cursor: pointer;
        display: block;
        align-items: end;
        right: 0;
        top: 5px;
    }

    .section {
        display: none;
        flex-direction: column;
        background-color: #000000;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        padding-top: 5rem;
        text-align: center;
        z-index: 1000;
    }

    .section.active {
        display: flex;
    }

    .section div {
        padding: 8px;
        flex-wrap: wrap;
        color: #EAEAEA;
        font-family: 'Red Hat Display', sans-serif;
        font-size: 18px;
        cursor: pointer;
        letter-spacing: normal;
        transition: color 0.3s ease;
    }

    .nav.section {
        font-family: 'Red Hat Display', sans-serif;
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
        color: #EAEAEA;
    }

    .submenu {
        display: none;
        position: absolute;
        min-width: 160px;
        width: 93%;
        z-index: 1;
        margin: 10px 0px;
        background-color: #000000;
        border-bottom: 3.5px solid #EAEAEA;
    }

    .submenu a {
        padding: 10px 16px;
        text-decoration: none;
        display: block;
        text-align: center;
        color: #000000;
    }

    .submenu a:hover {
        text-decoration: underline;

    }

    .submenu:hover {
        display: block;

    }

    .menu-item a {
        color: #eaeaea;
        text-decoration: none;
        transition: all 0.5s ease;
    }

    .menu-item a:hover {
        color: #FFD700;
    }

    .menu-item:hover .submenu {
        display: block;
    }


    .footer {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 40px 50px;
        color: #EAEAEA;
        margin-top: 20px;
    }

    .footer-social img {
        width: 30px;
        padding: 0 5px;
        cursor: pointer;
    }

    .footer p {
        font-family: 'Red Hat Display', sans-serif;
        color: #000000;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 1.2px;
    }
}

@media screen and (max-width: 375px) {

    .nav div {
        font-size: 38px;
        text-align: center;
        letter-spacing: 3.5px;
        margin-top: 8px;
    }

    .footer-social img {
        width: 30px;
        padding: 0px;
        cursor: pointer;
    }

    .footer p {
        font-family: 'Red Hat Display', sans-serif;
        color: #000000;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 1px;
    }
}