@font-face {
    font-family: myFont;
    src: url(fonts/Montserrat//Montserrat-VariableFont_wght.ttf);
  }
  
  @font-face {
    font-family: ftl;
    src: url(fonts/ftl.otf);
  }
  
  @font-face {
    font-family: ftb;
    src: url(fonts/ftb.otf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: myFont;
}

body {
    min-height: 100vh;
    background: rgb(5, 98, 160);
    background: linear-gradient(rgb(66, 156, 236), rgb(0, 9, 105));
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
        height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}


.header {
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.navbar a {
    position: relative;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    margin-left: 40px;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: .2s;
}

.navbar a:hover::before {
    width: 100%;

}

.head {
    align-items: center;
    display: block;
    background: rgba(0, 0, 0, 0.796);
    width: 100%;
    text-align: center;
}

.navbar2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar2 a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    align-items: center;
    font-size: 20px;
    transition: .2s;
    padding: 10px 10px 10px 20px;
    font-weight: 700;
}

.navbar2 a:hover {
    color: #d1cfcf;
}

.holder {
    align-content: center;
    text-align: center;
    padding: 10vh 0px 15vh 0px;
    color: #fff;
}

.holder h1 {
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.583);
    font-weight: 750;
    font-size: 3rem;
    margin: 1vh;
}

.holder p {
    margin: 10px;
    font-weight: 300;
    font-size: 1.2rem;
}

.logo {
    width: 20%;
    text-decoration: none;
    color: #fff;
    font-size: x-large;
    font-weight: 700;
}

.join {
    color: #fff;
    text-align: center;
    padding: 10px 20px 10px 20px;
    margin: 15px;
    border-radius: 5px;
    border-width: 0px;
    transition: .2s;
}

.join:hover {
    background-color: #d4d4d4;
}

.join a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: large;
}

footer {
    background: #00000073;
    bottom: 0;
    width: 100%;
    padding: 2rem;
    text-align: center;
    color: #fff;
    font-size: small;
    font-weight: 300;
}

/* About Page */

#about .header {

    background: rgba(0, 0, 0, 0.383);
  
}

/* Staff Page */

#staff .header {
    background: rgba(0, 0, 0, 0.383);
}
#staff div.holder {
    margin: 10vh;
    font-size: xx-large;
}

#staff div.holder h1 {
    font-size: 5rem;
}

.container {
    background: rgba(245,245,245,255);
    outline: 10px solid rgba(0, 0, 0, 0.293);

}

.container_left {
    max-width: 60%;
    display: grid;
    gap: 2rem;
    border: 5px solid rgba(0, 0, 255, 0);
}

.card {
    margin-top: 6rem;
    margin-bottom: 2rem;
    text-align: center;
    margin-left: 20vh;
    padding: 0rem 5rem 0rem 0rem;
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
    overflow: hidden;
}

div.title {
    display: flex;
    justify-content: center;
    background-image: url(images/background.png);
    width: 113%;
    overflow: hidden;
}

.card .title {
    font-size: 150%;
    padding: 1rem;
    color: #fff;
    height: 20%;
}

.fa-twitter {
    color: #00acee;
}

.fa-youtube {
    color: #ff0000;
}

.fa-window-maximize {
    color: #000000;
}

.fa {
    padding-top: 20px;
    font-size: 40px;
    width: 60px;
    text-decoration: none;
    margin: 5px 5px;
}

.card_contentx {
    margin: 1rem 0rem 1rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.card_content {
    margin: 1rem 0rem 5rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.card_container {
    margin: 20px 0px 20px 0px;
    padding: 1rem;
}

.card_container a {
    text-decoration: none;
    color: #1e1e1e;
    transition: .2s;
}

.card_container a:hover {
    color: #1e247c;
}

#projects .gameButton {
    text-decoration: none !important;
    color: white !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

#projects .gameButton:hover {
    text-decoration: none;
    color: #ddd;
}


.card_container ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.card_container h2 {
    margin: 1rem 1rem 0rem 1rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.101);
}

.pfp {
    width: 160px;
    height: 160;
    border-radius: 100px;
}

.container_right {
    border: 5px solid rgba(255, 0, 0, 0);
    display: inline-flex;
    justify-content: right;
    width: 30%;
    height: 100%;
    margin: 1rem;
    padding: 1rem;
}

/* Edit Staff button styling */
.edit-staff-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #075fb2;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.edit-staff-button:hover {
    background-color: #004a8b;
    transform: translateY(-2px);
}

.edit-staff-button:active {
    background-color: #003a6b;
    transform: translateY(0);
}

/* Remove default button styling */
.edit-staff-button button {
    all: unset;
    cursor: pointer;
}

/* Sidebar styling */
.sidebar {
    position: fixed;
    top: 100px; /* Adjust this value to set how far from the top it should start */
    right: 20px; /* Align it to the right */
    width: 200px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}



/* Sidebar list styling */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sidebar list item */
.sidebar li {
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

/* Sidebar link styling */
.sidebar-link {
    display: block;
    padding: 12px 0; /* Vertical padding for consistent button size */
    padding-left: 6px;
    font-size: 1rem;
    color: #333;
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 10px; /* Rounded button edges */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sidebar link hover and active state */
.sidebar-link:hover,
.sidebar-link.active {
    background-color: #1566ae; /* Red background on hover */
    color: #ffffff; /* White text */
}






/* Jobs Page */

.section_title {
    display: flex;
    justify-content: start;
}

.points {
    display: inline-block;
    text-align: left;
    padding: 1rem 0rem 1rem 2rem;
}

.information {
    text-align: left;
    width: 55rem;
    padding: 1rem 1rem 2rem 1rem;
}

/* Projects Page */


#projects .header {
    background: rgba(0, 0, 0, 0.383);
}

.imageHolder {
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.imageHolder a {
    display: flex;
    justify-content: center;
    width: 100%;
    max-height: 1%;
    text-decoration: none;
}

.gameButton {
    display: flex;
    width: 80%;
    justify-content: center;
    border-radius: 5rem;
    box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
    border-width: 0;
    padding: 8rem 10rem 8rem 10rem;
    background-position: center;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.101);
    transition: .3s;
}

#GAR {
    background-image: url(images/GAR.png);
}

#RAOK {
    background-image: url(images/RAOK.png);
}

#RDD {
    background-image: url(images/rdd.png);
}

.gameButton:hover {
    background-blend-mode: multiply;
    background-color: #0000001e;
}

#projects .holder {
    margin-top: 8rem;
}

#projects .holder h1 {
    font-size: 5rem;
}

#projects .container {
    margin-top: 6em;
    outline: none;
}

/* GAR Page */

#gar .holder {
    background-image: url(images/GAR.png);
    padding-bottom: 10rem;
    padding-top: 10rem;
}

#garPlay {
    background-image: url(images/gar2.png);
    width: 50%;
    height: 20%;
}

#raok .holder {
    background-image: url(images/raok2.png);
    padding-bottom: 10rem;
    background-position: center;
    background-size: cover;
    padding-top: 10rem;
}

#raokPlay {
    background-image: url(images/RAOK.png);
    width: 50%;
    height: 20%;
}


.discordJoin {
    color: #000000;
    background-color: #bdbdbd;
    text-align: center;
    padding: 10px 20px 10px 20px;
    margin: 15px;
    border-radius: 5px;
    border-width: 0px;
    transition: .2s;
}

.discordJoin:hover {
    background-color: #a5a5a5;
}

.gameButton a {
    text-decoration: none;
    color: #fff;
}

#gar .container .left_container {
    padding-top: .5rem;
}

#raok .container .left_container {
    padding-top: .5rem;
}

#gar .container .left_container .card {
        margin-bottom: 2rem;
        text-align: center;
        margin-left: 20rem;
        margin-right: 20rem;
        padding: 0rem 3rem 3rem 0rem;
        border-radius: 30px;
        background-color: #ffffff;
        box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
        overflow: hidden;
}

#gar .container .left_container .card .title h1 {
    margin-right: 7rem;
}

#gar .container .left_container .card .card_contentx {
    text-align: center;
    justify-content: center;
    display: inline;
}

#gar .container .left_container .card .card_contentx h1 {
    text-align: center;
    justify-content: center;
}

#gar .container .left_container .card .card_contentx p {
    padding: 0rem 0rem 0rem 2rem;
    justify-content: center;
    text-align: center;
}

#raok .container .left_container .card {
        margin-bottom: 2rem;
        text-align: center;
        margin-left: 20rem;
        margin-right: 20rem;
        padding: 0rem 3rem 3rem 0rem;
        border-radius: 30px;
        background-color: #ffffff;
        box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
        overflow: hidden;
}

#raok .container .left_container .card .title h1 {
    margin-right: 7rem;
}

#raok .container .left_container .card .card_contentx {
    text-align: center;
    justify-content: center;
    display: inline;
}

#raok .container .left_container .card .card_contentx h1 {
    text-align: center;
    justify-content: center;
}

#raok .container .left_container .card .card_contentx p {
    padding: 0rem 0rem 0rem 2rem;
    justify-content: center;
    text-align: center;
}


/* RDD Page */

#rdd .holder {
    background-image: url(images/rddd.png);
    padding-bottom: 10rem;
    padding-top: 10rem;
}


#rddJoin {
        background-image: url(images/rdd.png);
        background-position: bottom;
        width: 50%;
        height: 20%;
}

.gameButton a {
    text-decoration: none;
    color: #fff;
}

#rdd .container .left_container {
    padding-top: .5rem;
}

#rdd .container .left_container .card {
        margin-bottom: 2rem;
        text-align: center;
        margin-left: 20rem;
        margin-right: 20rem;
        padding: 0rem 3rem 3rem 0rem;
        border-radius: 30px;
        background-color: #ffffff;
        box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
        overflow: hidden;
}

#rdd .container .left_container .card .title h1 {
    margin-right: 7rem;
}

#rdd .container .left_container .card .card_contentx {
    text-align: center;
    justify-content: center;
    display: inline;
}

#rdd .container .left_container .card .card_contentx h1 {
    text-align: center;
    justify-content: center;
}

#rdd .container .left_container .card .card_contentx p {
    padding: 0rem 0rem 0rem 2rem;
    justify-content: center;
    text-align: center;
}

/* socials page */

#socials .holder {
    padding-top: 8rem;
    padding-bottom: 6rem;
}

#socials .container {
    height: 100%;
    width: 100%;
    outline: none;
}

#socials .container .left_container {
    display: grid;
    justify-content: center;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 10rem;
    width: 100%;
    padding-top: 4rem;
}

#socials .container .left_container a {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 2rem 2rem 2rem 2rem;
    transition: .3s;
    padding: 3rem 18rem 3rem 18rem;
    text-decoration: none;
    border-radius: 2rem;
    box-shadow:  2px 2px 2px 1px rgb(0 0 0 / 20%);
}

#socials .container .left_container a:hover {
    background-blend-mode: multiply;
    background-color: #0000002b;
}

#socials .container .left_container a button {
    text-decoration: none;
    border: none;
    color: white;
    font-size: xx-large;
    font-weight: 700;
    background: transparent;
    background-size: contain;
}

.twitter {
    background-image: url(images/twitter.png);
}

.discord {
    background-image: url(images/discord.png);
}

.youtube {
    background-image: url(images/youtube.png);
}

.instagram {
    background-image: url(images/instagram.png);
    background-position: center;
}

.tiktok {
    background-image: url(images/tiktok.png);
    background-position: center;
}

/* LOG IN PAGE */

/* Center the login container */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    padding: 20px;
    width: 300px;
    margin-top: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}


.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Title styling */
.login-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Form field styling */
.login-container label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
    text-align: left;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #075db2; /* Button color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #005bb5;
}

/* Error message styling */
.login-container p {
    color: red;
    margin-top: 10px;
}


/* MANAGE STAFF PAGE */

/* General container styling for the form and list */
.manage-container {
    max-width: 600px;
    margin: auto; /* Remove top margin completely to move it further up */
    margin-bottom: 6rem;
    margin-top: -6rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Form styling */
.manage-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.manage-container form {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.manage-container label {
    font-weight: bold;
    color: #555;
}

.manage-container input[type="text"] {
    padding: 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.manage-container button[type="submit"] {
    padding: 10px 20px;
    background-color: #075db2;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.manage-container button[type="submit"]:hover {
    background-color: #004a8b;
}

/* Current Staff list styling */
.manage-container ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.manage-container ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.manage-container ul li h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.manage-container ul li form {
    margin: 0;
}

.manage-container ul li form button {
    padding: 5px 10px;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.manage-container ul li form button:hover {
    background-color: #e60000;
}

/* Message styling */
.message {
    color: green;
    font-weight: bold;
    margin-top: 1rem;
}

/* CHANGELOG PAGE */

#changelog .holder {
    margin: 10vh;
    text-align: center;
}

#changelog .holder h1 {
    font-size: 5rem;
}

.changelog-container {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    margin-top: -6rem;
    padding: 1rem;
}

.changelog-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.changelog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem; 
}

.changelog-card p {
    margin: 1rem 0;
    color: #555;
}

.changelog-card p strong {
    margin-bottom: 0.5rem; 
    color: #333;
}


.remove-post-button {
    padding: 0.5rem 1rem;
    margin-top: 5px;
    border-radius: 10px;
    background-color: transparent;
    border: 2px solid #a90303;
    color: #a90303;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.remove-post-button:hover {
    background-color: #a90303;
    color: white;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    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: #ffffff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 80%;
    text-align: center;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content label {
    font-weight: bold;
    color: #555;
    display: block;
    text-align: left;
    margin-top: 1rem;
}

.modal-content input[type="text"],
.modal-content input[type="date"],
.modal-content textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.modal-content button[type="submit"] {
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: #075db2;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background-color: #004a8b;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
    text-decoration: none;
}

/* Style for the "Post New Changelog" button */
.post-changelog-button {
    padding: 10px 20px;
    background-color: #075db2;
    margin-top: 2rem;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    text-align: center;
}

.post-changelog-button:hover {
    background-color: #004a8b;
}

/* FORCE white text with dark shadow inside project cards */
/* .changelog-card,
.changelog-card * {
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.85) !important;
}

/* Remove underline on all link states */
/* .changelog-card a,
.changelog-card a:visited,
.changelog-card a:hover,
.changelog-card a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Optional: Darken background image slightly for better contrast */
/* .changelog-card {
    position: relative;
    overflow: hidden;
}

.changelog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* subtle dark overlay */
    /* z-index: 0;
} */

.changelog-card * {
    position: relative;
    z-index: 1;
}  */

/* DASHBOARD PAGE */

#dashboard .holder {
    margin-top: 5rem;
    text-align: center;
    color: #fff;
}

#dashboard .holder h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

#dashboard .holder p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.dashboard-container {
    background: white;
    margin: 3rem auto;
    padding: 2rem 2.5rem 2rem 1.5rem; /* smaller left padding */
    max-width: 900px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 2px solid #ccc;
    padding-right: 1rem;
    padding-left: 0.25rem; /* ✨ reduce sidebar's own internal left pad */
}

.dashboard-sidebar a {
    margin-bottom: 0.6rem;
    padding: 8px 12px;
    background-color: #075fb2;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap; /* ✨ prevent line breaks */
    width: 100%;
    transition: background-color 0.2s;
}

.dashboard-sidebar a:hover {
    background-color: #004a8b;
}

/* Main user info block */
.dashboard-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* stretch to fill width */
}


.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: red; /* fallback if no image loads */
    object-fit: cover;
    border: 2px solid #999;
}

.dashboard-userinfo h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    text-align: left !important;
}

#dashboard .dashboard-userinfo h2 {
    color: #000 !important;
}


.dashboard-userinfo .dashboard-rank {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000 !important;
    margin-top: 0.2rem;
    text-shadow: none ;;
    text-align: left !important;
    opacity: 0.8;
}

/* Group avatar + name + buttons in row */
.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* add this */
    gap: 1.5rem;
    align-self: flex-start;
}

.dashboard-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-userinfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left !important;
}



/* Keep sidebar aligned to top */
.dashboard-container {
    align-items: flex-start;
}

/* Panel inside dashboard content */
.changelog-panel {
    display: none;
    width: 100%;
}

.changelog-panel.active {
    display: block;
    margin-top: 2rem;
}


/* Basic button/input reset and fix white text issue */
#dashboard input,
#dashboard textarea,
#dashboard select {
    font-size: 1rem;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    color: #000;
}

#dashboard button {
    background-color: #075fb2;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#dashboard button:hover {
    background-color: #004a8b;
}

#dashboard button:hover {
    background-color: #004a8b;
}

/* Staff list */
#staffList li {
    margin-bottom: 10px;
}

.remove-post-button {
    background-color: #c62828;
    color: white;
    font-weight: bold;
}

.remove-post-button:hover {
    background-color: #a4161a;
}






/* home responsive */

@media (max-width: 1170px) {
    
}

@media (max-width: 1024px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 90px;
    }
    
    .logo {
        font-size: 1rem;
    }

    .navbar a {
        font-size: 7rem;
        font-weight: 700;
        font-size: 1rem;
        margin-left: 30px;
    }

    .footer {
        bottom: 0;

    }
}

@media (max-width: 692px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 70px;
    }
}

@media (max-width: 652px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 50px;
    }
}

@media (max-width: 614px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 40px;
    }
}

@media (max-width: 425px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 40px;
    }

    .logo {
        font-size: .8rem;
    }

    .navbar a {
        font-weight: 700;
        font-size: .8rem;
        margin-left: 10px;
    }

    .navbar2 {
        padding: 1rem 1rem;
    }

    .navbar2 a {
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    .navbar a {
        font-weight: 700;
        font-size: .7rem;
        margin-left: 8px;
    }

    .navbar2 {
        padding: .5rem 1rem;
    }

    .navbar2 a {
        font-size: .8rem;
        padding: 0rem 1rem;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .holder .logo {
        width: 35%;
    }
}

@media (max-width: 375px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 10px;
    }

    .logo {
        font-size: .8rem;
    }

    .navbar a {
        font-weight: 700;
        font-size: .65rem;
        margin-left: 10px;
    }

    .navbar2 {
        padding: .6rem 1rem;
    }

    .navbar2 a {
        font-size: 1rem;
        padding: 0rem 1rem;
    }

    .holder .logo {
        width: 50%;
    }
}

@media (max-width: 320px) {
    .navbar2 a {
        font-size: .8rem;
        padding: 0rem 1rem;
    }
}

:root {
    --scale: calc(1vw + 1vh + 0.5vmin);
}

/* Base scaling for headings and body text */
h1, h2, h3, h4, h5, h6 {
    font-size: calc(1.4rem + 0.5vw);
}

body, p, a, li, label, input, button, textarea {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
}


/* Flexible containers */
.container, .changelog-container, .holder, .card, .content, .modal-content {
    max-width: 100%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Image scaling */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Make buttons scale nicely */
button {
    font-size: calc(0.8rem + 0.4vw);
    padding: 0.6em 1.2em;
}

/* Modal responsiveness */
@media (max-width: 600px) {
    .modal-content {
        width: 90% !important;
        padding: 1.2rem;
    }

    .post-changelog-button {
        width: 100%;
        font-size: 1rem;
    }
}

/* Constrain width of main sections for large screens */
.changelog-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Ensure project cards don't stretch too wide */
.changelog-card {
    max-width: 100%;
    width: 100%;
}

/* Responsive text scaling */
body, p, a, h1, h2, h3, h4, h5 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Allow cards to shrink for mobile */
@media (max-width: 768px) {
    .changelog-card {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .changelog-card h3 {
        font-size: 1.3rem;
    }

    .holder h1 {
        font-size: 3rem;
    }

    .navbar a {
        font-size: 1rem;
        margin-left: 15px;
    }
}

@media (min-width: 768px) {
    .changelog-card {
        width: 75%;
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        padding: 10px 20px;
    }

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar a {
        margin: 8px;
        font-size: 0.9rem;
    }

    .holder h1 {
        font-size: 2rem;
    }

    .changelog-container {
        gap: 1rem;
    }

    .changelog-card {
        padding: 1rem;
    }

    footer {
        padding: 1rem;
        font-size: 0.75rem;
    }
}