body {
    height: 100vh;
    font-family: Arial, sans-serif;
    color: #fff;
    /* White text */
}

/* Font settings */
body, h1, h2, h3, p, ul, li, img, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

/* Outline text with black */
h1, h2, h3, p, a, label, button {
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    /* Black outline */
}

h1 {
    font-size: 1.6em;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: #014;
}

header .logo img {
    width: 0px;
    height: 0px;
}

.nav-wrapper {
    flex: 1;
}

nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.5em;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    color: #fff;
    display: block;
    padding: 10px;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.menu-container {
    width: 250px;
    position: relative;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #014;
    padding-top: 20px;
}

.menu {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.menu-item {
    border-bottom: 1px solid #555;
}

.menu-btn {
    background-color: #555;
    color: white;
    padding: 15px;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    outline: none;
    font-size: 18px;
}

.menu-btn:hover {
    background-color: #3117BB;
}

.submenu {
    display: none;
    background-color: #444;
    padding-left: 15px;
}

.submenu a {
    padding: 10px;
    display: block;
    color: white;
    text-decoration: none;
}

.submenu a:hover {
    background-color: #575757;
}   


/* Title section styles */
.title {
    position: relative;
    top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Title text styles */
.title-text {
    position: relative;
    left: 40.8%;
    transform: translate(-50%, 0); /* Center horizontally and adjust vertical positioning */
    text-align: center;
    color: white;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: 80%; /* Adjust width as needed */
}

/* Links section styles */
.links, .links-MMM, .links-mst1, .links-mst2 {
    position: relative;
    top: 40px;
    /* Move the section down */
    left: 50%;
    transform: translate(-50%, 0px);
    width: 90%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.links-speedruns {
    position: relative;
    top: 80px;
    /* Move the section down */
    left: 50%;
    transform: translate(-50%, 0px);
    width: 90%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px 20px;
    border-radius: 10px;
}

.prompt {
    font-size: 0.0em;
}

label {
    font-size: 1.0em;
    font-weight: bold;
    position: relative;
    margin-left: 20px;
}

select {
    position: relative;
    margin-left: 20px;
    font-size: 1.1em;
    padding: 10px;
    width: 100%;
    max-width: 300px;
}

.input[type="submit"] {
    font-size: 1.1em;
    padding: 10px 20px;
}

.input {
    position: relative;
    margin-left: 20px;
    padding: 10px;
    font-size: 1.1em;
    min-width: 30vh;
    min-height: 2vh;
}

form {
    margin: 20px auto;
    text-align: center;
}

.adjust {
    padding: 0px;
    margin: 20px auto;
    text-align: center;
}


.links h2 {
    margin-bottom: 20px;
}

.link-list {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.link-list-alt {
    display: flex;
    position: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.link-item {
    flex: 1 1 30%;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
}

.link-item img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.link-item-packs {
}

.link-item-packs img {
    width: 290px;
    height: 260px;
    object-fit: cover;
    padding: 10px 0px;
    border-radius: 30px;
}

.link-item-wide img, .link-item-widen img {
    width: 350px;
    height: 200px;
    object-fit: cover;
    padding: 0px;
}

.link-item-widen img {
    padding: 0px 88px;
}

.link-item-alt img {
    width: 320px;
    height: 275px;
    object-fit: cover;
    padding: 10px 0px;
    border-radius: 30px;
}

/* Collapsible list styles */
.collapsible-list {
    position: relative;
    top: 0px;
    width: 100%;
    margin: 0px auto;
    padding-bottom: 20px;
    border-radius: 10px;
}

.shadow-box {
    position: relative;
    top: 40px;
    left: 50%;
    transform: translate(-50%, 0px);
    width: 95%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 20px 20px 20px;
    border-radius: 0px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.5);
}

.shadow-box-smaller {
    position: relative;
    top: 40px;
    left: 50%;
    transform: translate(-50%, 0px);
    width: 25%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 20px 20px 20px;
    border-radius: 0px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.5);
}

.visual {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.collapsible-list-inner {
    position: relative;
    bottom: 0px;
    font-size: 0.9em;
    width: 100%;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 0px;
    border-radius: 0px;
}

.collapsible {
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.5em;
}

.collapsible.active, .collapsible:hover {
    background-color: #3117BB;
}

.collapsible-inner {
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 18px;
    top: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.75em;
}

.collapsible-inner.active, .collapsible-inner:hover {
    background-color: #8117BB;
}

.expandable {
    background-color: #333;
    color: white;
    cursor: pointer;
    margin: 0px;
    margin-top: 7px;
    padding: 10px;
    width: 18.8%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
}

.nav-wrapper li {
    border-left: 1px solid #555;
    border-bottom: 1px solid #555;
}

.expandable.active, .expandable:hover {
    background-color: #8117BB;
}

.button-layout {
    top: 20px;
    display: none;
    overflow: hidden;
}

.content {
    padding: 0 20px;
    display: none;
    overflow: hidden;
    text-align: justify;
    text-transform: capitalize;
}

.content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    color: lightblue;
    text-decoration: none;
    /* Optional: Remove underline */
}

/* Change color on hover */
a:hover {
    color: orange;
    text-decoration: underline;
    /* Optional: Add underline on hover */
}

.list-item, .list-item-speedrun {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #555;
    font-size: 1.20em;
}

.spacing {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #555;
    font-size: 1.20em;
}

.list-item img {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    border-radius: 5px;
}

.imgResize {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    border-radius: 5px;
}

.list-item-speedrun img {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    border-radius: 5px;
}

.list-item span {
    display: inline-block;
    width: 20%;
    text-align: center;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    display: relative;
    justify-content: space-between;
}

footer {
    border-top: 1px solid #555;
    background-color: #014;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: absolute;
    top: calc(100vh - 38px);
    left: 0;
}

.about img {
    width: 0px;
    height: 0px;
    position: relative;
    left: 190vh;
    top: 25vh;
}

#footer {
    border-top: 1px solid #555;
    background-color: #014;
    color: white;
    text-align: center;
    position: absolute;
    top: 97vh;
    padding: 10px 0;
    width: 100%;
}

#footerB {
    border-top: 1px solid #555;
    background-color: #014;
    color: white;
    text-align: center;
    position: relative;
    top: 40vh;
    padding: 10px 0;
    width: 100%;
}

.footer {
    border-top: 1px solid #555;
    background-color: #014;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: relative;
    top: 20vh;
    left: 0;
}

.shadow {
    position: relative;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-left img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.profile-left input,
.profile-left button {
    width: 150px;
}

.profile-right {
    flex: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#logout-btn {
    height: fit-content;
    padding: 5px 10px;
}

.outline {
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 10px 0; /* space above and below text */
    text-align: center; /* optional, center the text */
    margin: 0px 0; /* space around the element */
}

.outlineb {
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 10px 0; /* space above and below text */
    text-align: center; /* optional, center the text */
    margin: 20px 0; /* space around the element */
}

.button {
    width: 80px;
    height: 35px;
    border-style: none;
    border-radius: 5px;
    background-color: #333;
    outline: none; /* Remove outline */
    border: 1px solid #555; /* Default border color */
    cursor: pointer; /* Ensure the button has a pointer cursor */
    transition: all 0.2s ease; /* Optional: Smooth transition */
}

.button:hover {
    border: 1px solid orange; /* Change border to orange on hover */
    box-shadow: 0 0 5px orange; /* Optional: Add glow effect */
}

.bio-input {
    font-size: 1.1em;
    background-color: #11111175; 
    color: white; 
    border: 1px solid #575757; 
    border-radius: 5px;
    outline: none; 
    transition: all 0.2s ease;
}

.img-input {
    background-color: #11111175; 
    color: white; 
    border: 1px solid #575757; 
    border-radius: 5px;
    outline: none; 
    transition: all 0.2s ease;
}

.layout {
    position: relative;
    top: 0px;
    left: 201px;
    width: calc(100% - 203px);
    text-align: center;
    height: 1019px;
    border-radius: 0px;
    flex-wrap: wrap;
}

.spacing {
  display: flex;
  align-items: center;    /* Vertically centers content */
  gap: 10px;              /* Optional spacing between items */
}

.spacing span {
  flex: 0 0 15%;          /* Each span takes exactly 25% */
  text-align: center;     /* Center text horizontally */
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.imgResize {
    width: 64px;
    height: 56px;
    margin-right: 5px;
    border-radius: 5px;
}
