/* font from: https://fontmeme.com/fonts/cookierun-font/#previewtool */
@font-face {
    font-family: 'CookieRun Bold';
    src: url('/assets/CookieRun\ Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* global styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'CookieRun Bold', sans-serif;
    background: url('/assets/images/misc-elements/main-bg.png') no-repeat center center fixed;
    background-size: cover;
    background-color: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(211, 211, 211, 0.15);
    pointer-events: none;
    z-index: 0;
}

main {
    flex-grow: 1;
}

/* main & outer content container */

.content-box {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    width: 80%;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 0;
}

.main-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-height: 0;
}

/* main content styling */

.main-content h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        2px 2px 0 #ce4868,
        4px 4px 0 #ce4868,
        6px 6px 0 #ce4868;
}

.main-content p {
    font-size: 1.2rem;
}

/* nav bar */

.navbar {
    margin-bottom: 10px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-list li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #ce4868;
}

/* footer */

.footer {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    border-top: 1px solid #444;
    margin-top: 30px;
    color: #e7e7e7;
}

.footer a {
    text-decoration: none;
    font-weight: bold;
    color: inherit;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ce4868;
}

/* home icon styling */

.home-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 1.1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home-icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background: #222;
    transition: transform 0.3s ease;
    border-radius: 16px;
    padding: 18px 24px;
    min-width: 120px;
}

.home-icon-button:hover {
    transform: scale(1.1);
    background: #ce4868;
}

.home-icon-button img {
    height: 150px;
    width: auto;
    margin-bottom: 12px;
    object-fit: contain;
}

.subtext {
    font-size: 0.8rem !important;
    color: #ccc;
    margin-top: 5px;
    text-align: center;
}

/* about page styles */

.about-container {
    display: flex;
    width: 100%;
    min-height: 400px;
    gap: 32px;
    padding: 50px;
}

.about-gif {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-gif img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-text {
    flex: 1 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ebebeb;
    font-size: 1.1rem;
}

.about-container a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.about-container a:hover {
    color: #ce4868;
}