@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
    font-family: "The Kids Mraker";
    src: url("../Fonts/TheKidsMraker/TheKidsMraker.woff2") format("woff2"),
        url("../Fonts/TheKidsMraker/TheKidsMraker.woff") format("woff"),
        url("../Fonts/TheKidsMraker/TheKidsMraker.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    --blue: #6ACADF;
    --pink: #C73971;
    --white: #F9FCFE;
    --purple: #753FB1;
    --light-pink: #FF85A2;

    --header-height: clamp(4rem, 14vh, 34rem);

    --header-item-height: clamp(2.5rem, 6vw, 20rem);
    --header-nav-font: clamp(1.5rem, 2vw, 8rem);

    --footer-height: clamp(2rem, 7vh, 17rem);

    --body-font: clamp(1.5rem, 1.75vw, 6rem);
}

body {
    background-color: var(--blue);
}

/* Header Section */
.header {
    position: fixed;
    top: 0;
    width: 100vw;
    height: var(--header-height);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2%;
    background-color: var(--pink);
    z-index: 5;
}

.header::after {
    position: absolute;
    top: calc(var(--header-height) - 0.25rem);
    left: 0;
    width: 100vw;
    height: calc(var(--header-height) * 0.3);
    content: " ";
    background-color: var(--pink);
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0% 100%);
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    height: var(--header-item-height);
    width: auto;
}

.logo-button {
    background: none;
    border: none;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.logo-button img {
    height: 100%;
    width: 100%;
}

/* Title Section */
.title {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: "The Kids Mraker", sans-serif;
    color: var(--white);
    font-size: var(--header-item-height);
    font-weight: normal;
    text-align: left;
    flex-grow: 2;
}

/* Menu Section */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--header-item-height);
    color: var(--white);
}

/* Navigation Section */
.navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.4s ease-in-out;
}

.navigation.active {
    transform: translateX(-15%);
    opacity: 1;
}

.navigation ul {
    width: 100%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--header-nav-font) * 0.9);
    list-style-type: none;
}

.navigation ul li {
    position: relative;
    height: calc(var(--header-nav-font) * 3);
    width: calc(var(--header-nav-font) * 8);
    padding: 12px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    pointer-events: auto;
    background-color: var(--pink);
}

.navigation ul li:hover {
    background-color: var(--light-pink);
}

.navigation ul li:nth-child(odd) {
    align-self: flex-end;
}

.navigation ul li:nth-child(even) {
    align-self: flex-start;
}

.navigation ul li:nth-child(1) {
    clip-path: polygon(0 26%, 100% 7%, 92% 85%, 17% 90%);
}

.navigation ul li:nth-child(2) {
    clip-path: polygon(4% 14%, 100% 7%, 91% 95%, 0% 79%);
}

.navigation ul li:nth-child(3) {
    clip-path: polygon(2% 4%, 89% 5%, 100% 83%, 14% 100%);
}

.navigation ul li:nth-child(4) {
    clip-path: polygon(8% 2%, 100% 15%, 94% 86%, 0% 94%);
}

.navigation ul li a {
    width: 110%;
    height: 100%;
    padding: 10% 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: var(--header-nav-font);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    color: var(--white);
}

/* Dim Overlay Section */
.dim-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    background-color: #00000060;
    transition: opacity 0.2s ease;
}

.dim-overlay.active {
    opacity: 1;
}

/* Content Section */
.content {
    height: 100vh;
    width: 100vw;
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    background-image: url(../Images/Radial\ Lines.png);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: soft-light;
}

/* Footer Section */
.footer {
    position: fixed;
    width: 100%;
    height: var(--footer-height);
    bottom: 0;
    background-color: var(--pink);
    z-index: 5;
}

.footer::after {
    position: absolute;
    bottom: calc(var(--footer-height) - 0.25rem);
    left: 0;
    width: 100%;
    height: calc(var(--footer-height) * 0.7);
    content: " ";
    background-color: var(--pink);
    clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
}

@media screen and (min-width: 64em) {
    .header::after {
        min-height: 50px;
    }

    .footer::after {
        min-height: 50px;
    }
}

@media screen and (max-width: 64em) {
    .navigation {
        width: 40vw;
    }
}

@media screen and (max-width: 48em) {
    * {
        --body-font: clamp(1rem, 3vw, 6rem);
    }

    .header {
        padding: 0 2%;
    }
}

@media screen and (max-width: 32em) {
    .navigation {
        width: 100vw;
        left: 0;
        right: auto;
    }

    .navigation.active {
        transform: translateX(0);
    }
}
