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

body {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to body */
    background-color: #9A9996;
}

/* Custom Font */
@font-face {
    font-family: 'ConthraxSB';
    src: url('/assets/m/fonts/conthraxsb.otf') format('opentype');
}

/* Header */
header {
    background-color: #f0f0f0;
    padding: 5px;
    text-align: center;
    margin: 5px; /* Add margin to separate from screen edge */
}

.header-container {
    display: flex;
    align-items: center;
}

.studio-name {
    flex-grow: 1;
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
    max-width: 33.33%;
}

.discord-link img {
    width: auto;
    height: 50px;
}

/* Sub-header */
.sub-header {
    background-color: #aaaaaa;
    padding: 5px;
    margin: 15px; /* Add margin to separate from header */
}

.sub-header-container {
    display: flex;
    align-items: center;
}

.game-name {
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.buttons-container {
    display: flex;
    flex-direction: column;
}

button {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to buttons */
    background-color: #a6faa6;
    color: #000;
    padding: 10px;
    margin: 5px 0;
    border: none;
    cursor: pointer;
}

.button_w {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to buttons */
    background-color: #ff8484;
    color: #000;
    padding: 10px;
    margin: 5px 0;
    border: none;
    cursor: pointer;
}
/* Main Info */
.main-info {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to main info text div */
    background-color: #b0bebe;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 30px; /* Add margin to separate from sub-header */
}

/* Header for content box */
.content-box-header {
    background-color: #2a61bc; /* Dark blue */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    position: relative;
    top: -45px; /* Align to the top of the content box */
    left: 2%; /* Align to the left of the content box */
    width: fit-content; /* Occupy full width */
    }

.updates-info-content iframe {
    max-width: 100%; /* Ensure the iframe doesn't exceed the width of its container */
}

.updates-info-content {
    background-color: #99a692;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 30px 0 0; /* Add margin to separate from sub-header, 0 margin at the bottom and left */
    max-width: 560px; /* Set maximum width to match YouTube player */
    display: flex; /* Use flexbox */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-right: auto; /* Align with left side */
}

.updates-info-content-text {
    background-color: #d1e5c678;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 0 0 30px; /* 0 margin at the top, add margin to separate from updates-info-content, 0 margin at the right */
    max-width: 560px; /* Set maximum width to match YouTube player */
    display: flex; /* Use flexbox */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-right: auto; /* Align with left side */
}



.progress-info {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to main info text div */
    background-color: #b0beb8;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 30px; /* Add margin to separate from sub-header */
}
.staff-info {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to main info text div */
    background-color: #c4c4c4;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 30px; /* Add margin to separate from sub-header */
}
.patch-notes-info {
    font-family: 'ConthraxSB', Arial, sans-serif; /* Apply custom font to main info text div */
    background-color: #bebbb0;
    padding: 15px; /* Set padding to 15 pixels */
    margin: 30px; /* Add margin to separate from sub-header */
}

/* Apply max-width and max-height only to images within header and sub-header */
header img,
.sub-header img {
    width: auto;
    height: 100px;
}
.progressheader {
    /*background-color: #FFFFFF;*/
    padding: 0;
    justify-content: space-between;
    text-align: center;
    display: flex;
    align-items: right;
}

.patchnote {
    background-color: #E5E5E5;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    text-align: center;
    display: flex;
    align-items: center;
    height: 50px;
}
.patchnote2 {
    background-color: #F2F2F2;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    text-align: center;
    display: flex;
    align-items: center;
    height: 50px;
}
.patchnote:hover,
.patchnote2:hover {
    background-color: #C1C1C1;
    cursor: pointer;
}
/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
}

/* Dropdown button */
.dropbtn {
    background-color: #3498db;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
  
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #2980b9;
}
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}
  
/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0; /* Adjusted to align with left edge of the dropdown button */
    border: 1px solid #696969; /* Dark grey border all around */
    width: max-content;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 5px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #bdbdbd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Position the dropdown content */
.dropdown-content {
    right: 0;
}



.horizontal-line {
    display: flex;
    justify-content: center; /* aligns items to the start of the container */
    align-items: center; /* aligns items vertically centered */
}
