/* AHHHH MY EYESSSSSS!! */
.toggle-container {
    position: absolute;
    left: 270px;
    top: 45px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 25px;
    background-color: #323232;
    transition: background-color 0.3s ease;
}

.toggle-label::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background-color: #00137f;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #eeeeee;
}

.toggle-checkbox:checked + .toggle-label::after {
    transform: translateX(25px);
}

body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000000;
    /* background-image: url('your-background-image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; */
}

.main-content-container {
    padding: 40px 0 0 0;
    margin: 0 auto;
    width: 1200px;
    position: relative;
}


.main-content {
    flex: 1; 
    padding: 200px;
    margin-top: 80px;
}

/* Droid XD. */
@media (max-width: 1000px) {
    nav {display: none;}
    #nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }
    
    #nav-menu a {
        display: block;
        padding: 10px;
        color: #000000;
        text-decoration: none;
    }
    
    #nav-menu a:hover {
        background-color: #f0f0f0;
    }
}

.master-page {
    position: relative;
    z-index: 0;
}

.main-content {
    flex: 1; 
    padding: 20px;
    margin-top: 60px;
    background: transparent;
}

header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: calc(100% - 30px);
    z-index: 1000;
    overflow: visible;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 40px;
    background-color: #00137f;
    transform: skewY(0deg);
    z-index: -1;
}

header h1 {
    margin: -7px 0 7px 0;
    color: #c0ff33;
}

#site-title {
    text-decoration: none;
    color: inherit;
}

#site-title:hover h1 {
    color: #9f00f0;
}

.page-title {
    margin: 0;
    color: #c0ff33;
    text-decoration: none;
}

nav {
    background-color: #c0ff33;
    padding: 10px 10px;
    margin-bottom: 10px;
}

nav a {
    color: #9f00f0;
    text-decoration: none;
    padding: 5px 8px;
}

nav a:hover {
    background-color: #9f00f0;
    color: #c0ff33;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    flex: 1;
}

.centercontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 175px);
    padding: 0 20px;
    box-sizing: border-box;
}

.gridcontainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #9f00f0;
    padding: 10px;
    text-align: center;
    margin-top: auto;
    height: 15px;
}

footer .copyright {
    color: #c0ff33;
    margin-left: 20px;
    margin-right: auto;
    font-size: 12px;
}

footer .button {
    color: #c0ff33;
    background-color: #323232;
    padding: 5px 10px;
    text-decoration: none;
    display: inline-block;
}

footer .button:hover {
    background-color: #c0ff33;
    color: #323232;
}

.site-description {
    text-align: center;
    margin-top: 20px;
}

.site-description p {
    margin: 0;
}

.master-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

.main-content {
    flex: 1; 
    padding: 20px;
    margin-top: 60px;
}

/* Header Decorations */
.square {
    width: 320px;
    height: 17px;
    background-color: #9f00f0;
    position: absolute;
    top: 60px;
    left: 0px;
    z-index: -1;
}

.triangle {
    width: 0;
    height: 0;
    border-top: 450px solid transparent;
    border-right: 50px solid #9f00f0;
    transform: rotate(180deg);
    position: absolute;
    top: 77px;
    left: 0px;
    z-index: +1;
}

.square2 {
    width: 100%;
    height: 20px;
    background-color: #9f00f0;
    position: absolute;
    top: 40px;
    right: 0px;
    z-index: -1;
}

.triangle2 {
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-right: 200px solid #9f00f0;
    transform: rotate(180deg);
    position: absolute;
    top: 60px;
    left: 320px;
    z-index: -1;
}

/* Picture Button */
.picture-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background-color: #9f00f0;
    transition: background-color 0.3s;
}

.picture-button:hover {
    background-color: #c0ff33;
}

.picture-button:active {
    background-color: #ffffff;
}

.picture-button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #c0ff33;
    font-size: 16px;
    width: 100%;
    height: 100%;
    transition: color 0.3s;
}

.picture-button a:hover {
    color: #9f00f0;
}

.picture-button img {
    max-width: 100px;
    margin-bottom: 10px;
}

/* Title styles */
.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}