/* Font Face Declaration */
/* @font-face {
    font-family: "Doganicapixel";
    src: url("Font/dogicapixel.ttf") format("truetype");
    font-display: swap;
} */

/* Base Styles */
body {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    flex-direction: column; /* Ensures elements stack vertically */
    min-height: 100vh; /* Full viewport height */
    margin: 0; /* Remove default margin */
    background-color: #fff; /* Optional background color */
    line-height: 1;
    /*     font-family: "Doganicapixel", monospace;
 */
}
#language-select {
    /* Make the dropdown menu fit with the rest of the design */
    background-color: gray;
    border: 2px solid black;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0.3em 0.5em;
    margin: 0.5em;
    font-size: 1rem;
    position: absolute;
    right: 1em;
    width: auto;
    height: auto;
    overflow: visible;
}
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    width: 75%;
    height: 1px;
    overflow: hidden;
}
.hidden {
    display: none;
    color: transparent;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}
.top-box {
    margin-top: 20px; /* increase the margin-top to lower the box */
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    min-height: 80px;
    background-color: gray;
    border: 2px solid black;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-box {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background-color: gray;
    border: 2px solid black;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow-y: auto;
}

select {
    padding: 0.5em;
    font-size: 1.5rem;
    margin: 0.5em;
    border: 2px solid #000;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: gray;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    height: auto;
    overflow: hidden;
}

h1 {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3rem; /* Larger font size for PC */
    margin: 0.2em;
    padding: 5px 10px;
    text-align: center;
}

h2 {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    padding: 10px;
}

h6 {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1rem; /* Adjusted for readability */
    margin: auto;
}

p {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem; /* Larger for PC */
    line-height: 1.5;
    padding: 10px;
}

a {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 1.5rem; /* Larger for PC */
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    padding: 0.3em 0.6em;
}

a:hover {
    color: #333;
    text-decoration: underline;
    transform: scale(1.05);
}

a:active {
    transform: scale(0.98);
}

/* list on hover */
button {
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border: 2px solid #000;
    border-radius: 5px;
    padding: 0.6em; /* Adjusted for better spacing */
    margin: 0.5em;
    background-color: gray;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem; /* Larger for PC */
    letter-spacing: normal;
    word-spacing: normal;
    cursor: pointer;
}

button:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

button:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-button {
    display: inline-block;
    color: #000;
    background-color: gray;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 0.6em 0.8em;
    margin: 0 0.4em;
    text-decoration: none;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 1.25rem;
    text-align: center;
}

.nav-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px) scale(1.02);
}



footer {
    grid-area: bottom;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
    position: fixed;
    left: 10px;
    bottom: 10px;
    font-size: 1rem;
}

li {
    line-height: 1.5;
    font-size: 1.5rem; /* Larger for PC */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #000;
}

input {
    line-height: 1.5;
    font-size: 1.5rem; /* Larger for PC */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #000;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 0.5em;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p,
    li {
        font-size: 1.25rem;
    }

    button {
        font-size: 1.2rem;
        padding: 0.5em 1em;
    }

    nav {
        font-size: 1.125rem;
        padding: 0.5em;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        align-items: center;
        padding: 0 1em;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p,
    li {
        font-size: 1.1rem;
    }

    button {
        font-size: 1.1rem;
        padding: 0.4em 0.8em;
    }

    nav {
        font-size: 1rem;
        padding: 0.4em;
    }

    footer {
        font-size: 0.9rem;
        padding: 0.3em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 0.5em;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    p,
    li {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
        padding: 0.3em 0.6em;
    }

    nav {
        font-size: 0.9rem;
        padding: 0.3em;
    }

    footer {
        font-size: 0.8rem;
        padding: 0.3em;
    }

    select,
    input {
        font-size: 1.2rem;
        padding: 0.5em;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #000;
}
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
