/* Basic CSS Styling */
@font-face {
    font-family: 'AdelonBook';
    src: url('../fonts/adelonlregular-webfont.woff2') format('woff2'),
         url('../fonts/adelonlregular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'newton';
    src: url('../fonts/newton.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Supernatural_Knight';
    src: url('../fonts/Supernatural_Knight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #fff;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg,#847769,#ab9986);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg,#dabc9c,#dabc9c);
  }

body {
    font-family: 'AdelonBook', Times New Roman, Times, serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Add this line to hide the horizontal scrollbar */
    top: 0px !important;
	 user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Webkit browsers */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.custom-buttons {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.custom-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-image: url('../img/icons/social_border.png');
    padding: 24px 23px;
    border-radius: 5px;
    margin-bottom: 10px;
	transition: background-color 0.3s ease, transform 0.2s ease; /* Added transition for smoother hover */

}

.custom-button:hover {
    background-image: url('../img/icons/social_border_hover.png');
	transform: scale(1.05); /* Scale up slightly on hover */
		transition: background-color 0.3s ease, transform 0.2s ease; /* Added transition for smoother hover */
}

.button-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.fa-discord {
	color:#b99669;
}

.fa-facebook {
	margin-left:2px;
	color:#b99669;
}

.fa-youtube {
	margin-left:1px;
	color:#b99669;
}

@media only screen and (max-width: 768px) {
.custom-buttons {
	display:none;
}
}

/* Media query for mobile view */
@media (max-width: 767px) {
  .custom-buttons {
    display: none; /* Hide sidebar on smaller screens */
  }
}

header {
	
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.6;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px 0px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 25px;
    z-index: 9999;
}

.logo {
    max-width: 220px;
    width: 100%;
    padding: 10px;
    margin-top: 3px;
	margin-right:20px;
	margin-left: 10px;
}

.logo:hover {
    animation: navLogo 0.3s ease forwards;
}

nav {
    text-align: center;
    margin-left: 35px; /* Adjusted to align from the left */
    margin-right: auto; /* Adjusted to align from the left */
	margin-top:-10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start; /* Changed to flex-start */
    align-items: center; /* Added to vertically center items */
}

nav ul li {
    margin: 0 10px;
    display: inline-block;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 6px;
    transition: .5s;
	text-align:center;
	
}


nav ul li a:hover {
    position: relative;
    z-index: 1;
    color: #b99669;
    transition: background-color 0.3s ease;
}

nav ul li a img {
    margin:-12px auto;
}

#hero-section {
    background-image: url('../img/bgtop.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#hero-section::after {
    content: ""; /* Create the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the overlay color and opacity */
    z-index: 1; /* Ensure the overlay is above the background image */
}

#hero-section::before {
    content: "";
    background-image: url('../img/bgtop.jpg'); /* Background image */
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure the background image is below the overlay */
}

.mobile-heading {
    display: none; /* Initially hide the mobile heading */
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .desktop-heading {
        display: none; /* Hide the desktop heading on mobile screens */
    }
    .mobile-heading {
        display: block; /* Display the mobile heading on mobile screens */
    }
}

#hero-section h1 {
font-family: 'AdelonBook';
    font-size: 30px;
    z-index: 2;
    color: #fff;
    height: 30px;
	font-weight: normal;
	height: 30px;
}


#countdown {
      font-size: 30px;
      font-weight: normal;
      color: #fff;
      z-index: 9999;
	  margin-bottom:25px;
}

#hero-section h2 {
font-family: 'Supernatural_Knight';
    font-size: 32px;
    z-index: 2;
    color: #fff;
    height: 30px;
}

#hero-section p {
     z-index: 2;
     max-width: 650px;
     color: #fff;
}

.cta-button {

    padding: 20px 36px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: .2s;
    font-size: 15px;
	text-align:center;
    text-transform: uppercase;
	text-shadow: 0 0 10px rgba(0,0,0,.8);
	align-items: center;
	display:flex;
}

.cta-button:hover {
    filter: brightness(110%);

	text-shadow: 0 0 10px rgba(0,0,0,.8);
}

.cta-divider {
    display: inline-block;
    width: 1px; /* Adjust the width of the divider */
    height: 45px; /* Adjust the height of the divider */
    background-color: #977e48; /* Adjust the color of the divider */
    margin: 0 10px; /* Adjust the spacing around the divider */
	opacity:0.3;
}

.cta-button2 {
    display: inline-block;
    padding: 18px 36px;
    background: url(../img/icons/button_red.png) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
	font-family: 'Supernatural_Knight';
    font-size: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 60px;
    text-shadow: 0 0 10px rgba(0,0,0, 0.8);
    z-index: 999;
    width: 200px;
	filter: brightness(95%);
}

.cta-button2:hover {
    filter: brightness(110%);
}


/* Define a keyframe animation for rotation */
@keyframes rotateImages {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px; /* Adjust the gap between images */
    position: relative; /* Establishes the positioning context */
    z-index: 9998; /* Set a high z-index value */
}

.image-wrapper {
    text-align: center;

}

.image-wrapper img {
    max-width: 100%;
    height: auto;
	animation: rotateImages 10s linear infinite; /* Apply the rotation animation */
}

.image-wrapper:hover img {
    filter: brightness(140%); /* Adjust the brightness level as needed */
	margin-top:-5px;
	 transition: transform 0.8s ease; /* Add a transition property */
}

.image-caption {
    margin-top: 10px; /* Adjust the spacing between image and text */
}

.tooltip-container {
  position: relative;
}

.tooltip {
  visibility: hidden;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  top:100%;
  cursor:pointer;
  
  z-index: 1;
  align-items:center;
}

.account-icon:hover .tooltip {
  visibility: visible;
}

.feature-card {
    width: 300px;
    background-color: #eaeae8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 140px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    color: #4e4e4e;
    text-transform: uppercase;
    height: 0;
}

.card-content h3.extra-details {
    font-size: 14px;
    text-transform: none;
    color: darkgoldenrod;
    margin-right: 15px;
    height: auto;
}

.card-content p {
    color: #a49478;
    font-size: 16px;
}

#vote-section {
    background-image: url('../img/bgvotes.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#vote-section h1 {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
	font-weight: bold;
}

#vote-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#vote-section h3 {
    font-size: 32px;
    margin-bottom: -130px;
    text-transform: uppercase;

}



#vote-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
	margin-bottom:8px;
}

#download-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    background-image: url('../img/bgdownload.jpg');
    background-size: cover;
    background-position: center;
}

#download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the color and opacity as needed */
    z-index: 0; /* Ensure the overlay is above the background image */
}


.blurry-bg-download {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bgdownload.html');
    background-size: cover;
    filter: blur(5px); /* Add the blur filter to the background image */
    opacity: 1; /* Adjust the opacity as needed */
    z-index: -1; /* Place the blurry background behind the content */
}

.margin-top {
	margin-top:120px;
}

.text-light {
    font-family: 'AdelonBook';
	    font-weight: normal;
    font-style: normal;
}
#download-section h2 {
	font-family: 'Supernatural_Knight';
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    text-transform: uppercase;
	text-shadow: 0 0 10px rgba(0,0,0,.8);
	z-index:2;
}

#download-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
}


/* Progress Bars */

.containerdownload {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:20px;
  	z-index:1;
}

.hero-chart {
    max-width: 600px; /* Adjust as needed */
	width:550px;
    margin: 0 50px;
}

.hero {
	margin-top:5px;
    margin-bottom: 15px;
}

.hero-name {
	font-weight: normal;
	font-size:20px;
    margin-bottom: 5px;
	color: #ffffff;
	text-decoration: none;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.progress {
    position: relative;
    width: 0; /* Start from 0 width */
    height: 20px;
    background-color: rgba(256, 256, 256, 0.5);
    overflow: hidden; /* Hide overflowing content */
    transition: width 1.5s ease-out; /* Transition for smoother animation */
}

.start-animation .progress {
    width: 100%; /* End at the full width */
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0; /* Start from 0 width */
    height: 100%;
    background: linear-gradient(135deg, #e8c9a2, #cca574, #e8c9a2);
    animation: progressAnimation 1.5s ease-out forwards; /* Animation to fill the progress bar */
}

@keyframes progressAnimation {
    0% {
        width: 0; /* Start from 0 width */
    }
    100% {
        width: 100%; /* End at the full width */
    }
}

/* Download Button Cards */

.dcardcontainer {
	margin-top:30px;
    display: flex;
    justify-content: space-between;
	z-index:1;
	
}

.dcardcolumn {
    flex: 1;
	margin-right:185px;
}

.dcardcolumn:last-child {
    flex: 1;
	margin-right:0;
}

.dcardcard {
    width: 400px;
    padding: 20px;
    margin-bottom: 20px;
    border-width: 20px; /* Width of the border */
    border-style: solid; /* Style of the border */
    border-image-source: url('../img/icons/download_border.png'); /* Path to your border image */
    border-image-slice: 28; /* Slice value to define the border size */
	background-color: rgba(12, 12, 12, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.dcardcard li {
    list-style-type: none;
}

.dcardcard:hover {
    box-shadow: 0 8px 12px 5px rgba(177, 164, 124, 0.2);
}

.dcardcard img {
    margin-top: -30px;
    border-radius: 15px;
    display: block; /* Ensures the image is treated as a block element */
    height: auto; /* Allows the image to scale proportionally */
	filter: brightness(100%); /* Initial state */
    transition: ease-in-out 0.5s; /* Smooth transition for brightness changes */
}

.dcardcard img:hover {
	filter: brightness(110%);
}

.dcardcard img:hover::after {
	transition: ease 0.5s;
}

.downloadtitle {
	font-size:25px;
	text-transform:uppercase;
	color: #735b3c;
}

.dcardcontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dcard {
    display: flex;
    flex-direction: column;
    align-items: left;
}

.dcardleft {
    display: flex;
    align-items: center;
	margin-top:25px;
}

.text {
    margin-left: 5px; /* Adjust the spacing between the image and text */
	text-align:left;
	margin-top:-22px;
	
}

.text div {
    margin: 1px 0; /* Adjust the spacing between lines */
}


.dcardleft img {
    width: 80px;
    height: 80px;
    margin-right: 5px;
	vertical-align: middle; /* Align the image vertically */

}

.dcardleft p {
    margin: 0;
	text-align:center;
	font-size:18px !important;
}


.dcarddownload-button {
	width:175px;
	margin-top:25px;
    padding: 10px 20px;
    background-color: #735b3c;
	margin-bottom: -25px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dcarddownload-button:hover {
    background-color: #c3a784;
}

.dcarddownload-button:active {
    background-color: #b98f59;
}


#features-section {
    background-image: url('../img/bgfeatures.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the color and opacity as needed */
    z-index: 0; /* Ensure the overlay is above the background image */
}

#features-section h2 {
	font-family: 'Supernatural_Knight';
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    text-transform: uppercase;
	text-shadow: 0 0 10px rgba(0,0,0,.8);
	z-index:2;
}

#features-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
}

/* features menu */
.sidebar-icons {
	margin-top:15px;
	width:900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	z-index:1;
	margin-bottom:-5px;
}

.sidebar-icons img{
    width: 107px;
    height: 107px;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}

.sidebar-icons img:hover{
	filter:brightness(120%);
}

.sidebar-icons img:hover:after{
	transition: ease 0.3s;
}

.sidebar {
    width:100%;
	z-index:1;
	align-items: center;
    justify-content: center;
}

.featuresbutton {
	flex-direction: column;
    align-items: center;
    justify-content: center;
	width:155px;
	margin-top:25px;
    padding: 10px 20px;
    background-color: #735b3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.featuresbutton:hover {
    background-color: #c3a784;
}

.featuresbutton:active {
    background-color: #b98f59;
}

.featuresbutton.active {
    background-color: #b98f59;
}

.content {
    margin: 20px auto; /* Center the content */
    padding: 20px;
    border-width: 5px; /* Width of the border */
    border-style: solid; /* Style of the border */
    border-image-source: url('../img/icons/download_border.png'); /* Path to your border image */
    border-image-slice: 5; /* Slice value to define the border size */
    background-color: rgba(12, 12, 12, 0.5);
    width: 90%; /* Use percentage for responsive width */
    max-width: 1200px; /* Max width for larger screens */
    height: auto; /* Allow height to adjust based on content */
    z-index: 1;
}


	
.section {
    display: none;
}

.section.active {
    display: block;
}

.section p {
	margin-bottom:-4px;
}

.section h1 {
	margin-top:-5px;
	font-size:18px;
	font-weight:normal;
	margin-bottom:-5px;
}

.section h2 {
	font-size:23px !important;
	margin-bottom:0;
}

#section2 p {
	margin-top:12px !important;
}

.sectionspace {
	margin-top:25px;
}

.mobile-only-paragraph {
    display: none;
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .mobile-only-paragraph {
        display: block; /* Display the element on mobile screens */
        text-align: center; /* Align the content at center */
    }
}

table {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0; /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards; /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above and move down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

table img {
	margin-top:5px;
}

th, td {
	font-weight: normal;
    padding: 7px;
    text-align: left;
	border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
	background: rgba(115, 91, 60, 0.4);
}

th {
    text-align: right;
	text-shadow: 1px 1px 2px black;
	background: #735b3c;
}

tr {
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Define the hover effect */
tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523); /* Orange to dark orange gradient */
}

td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

td:nth-child(2) {
    width: auto; /* Allow the second column to expand */
		text-align:left;
		padding-left:0;
}
td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:right;

	
}

td:nth-child(4) {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */

	text-align:left;
}

td:last-child, th:last-child {
    text-align: right;
}

/* table enchant */
.table-enchant {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0; /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards; /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above and move down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

.table-enchant img {
	margin-top:5px;
}

.table-enchant th, td {
	font-weight: normal;
    padding: 7px;
    text-align: left;
	border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
	background: rgba(115, 91, 60, 0.4);
}

.table-enchant th {
    text-align: left;
	text-shadow: 1px 1px 2px black;
	background: #735b3c;
}

.table-enchant tr {
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Define the hover effect */
.table-enchant tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523); /* Orange to dark orange gradient */
}

.table-enchant td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

.table-enchant td:nth-child(2) {
    width:600px; /* Allow the second column to expand */
	text-align:left;
		
}
.table-enchant td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:left;	
}

.table-enchant td:nth-child(4) {
    width: auto; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

.table-enchant td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */
	text-align:left;
}

.table-enchant td:last-child, .table-enchant th:last-child {
    text-align: right;
		padding-right:30px;
}

/* table olympiad */
.table-olympiad {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0; /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards; /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above and move down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

.table-olympiad img {
	margin-top:5px;
}

.table-olympiad th, td {
	font-weight: normal;
    padding: 7px;
    text-align: left;
	border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
	background: rgba(115, 91, 60, 0.4);
}

.table-olympiad th {
    text-align: left;
	text-shadow: 1px 1px 2px black;
	background: #735b3c;
}

.table-olympiad tr {
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Define the hover effect */
.table-olympiad tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523); /* Orange to dark orange gradient */
}

.table-olympiad td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

.table-olympiad td:nth-child(2) {
    width:600px; /* Allow the second column to expand */
	text-align:left;
		
}
.table-olympiad td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:left;	
}

.table-olympiad td:nth-child(4) {
    width: auto; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

.table-olympiad td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */
	text-align:left;
}

.table-olympiad td:last-child, .table-olympiad th:last-child {
    text-align: right;
	padding-right:30px;
}

/* table rules */
.table-rules {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0; /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards; /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above and move down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

.table-rules img {
	margin-top:5px;
}

.table-rules th, td {
	font-weight: normal;
    padding: 3px;
    text-align: left;
	border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
	background: rgba(115, 91, 60, 0.4);
}

.table-rules th {
    text-align: left;
	text-shadow: 1px 1px 2px black;
	background: #735b3c;
}

.table-rules tr {
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Define the hover effect */
.table-rules tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523); /* Orange to dark orange gradient */
}

.table-rules td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

.table-rules td:nth-child(2) {
    width:600px; /* Allow the second column to expand */
	text-align:left;
		
}
.table-rules td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:left;	
}

.table-rules td:nth-child(4) {
    width: auto; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

.table-rules td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */
	text-align:left;
}

.table-rules td:last-child, .table-rules th:last-child {
    text-align: left;
		padding-right:30px;
}

footer {
    background-color: rgba(22, 12, 10, 1);
    color: #fff;
    text-align: center;
    padding: 20px 0; /* Increase the padding to make the footer bigger */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

footer .fa-discord {
	color: #b99669;
}

footer p {
    font-size: 16px; /* Adjust the font size as needed */
    margin: 0;
}

footer a {
  color: #b99669;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: .2s;
  text-transform: uppercase;
}

footer a:hover {
   filter: brightness(130%);
}

.rulespolicy {
	font-size:16px;
	color:fff;
	text-decoration:underline;
	text-transform:none;
}

.smoke {
    position: absolute;
    left: 0;
    right: 0;
    height: 923px;
    width: 100%;
    background-image: url(../img/smoke.png);
    background-position: left top;
    -webkit-animation: smoke 20s linear infinite;
    animation: smoke 20s ease-in-out infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 1;
}

.main_logo {
	margin-bottom: 30px;
    z-index: 999;
}

/* logotype */

.logotype {
	display: block;
    width: 100%;
	max-width: 400px;
	position: relative;
	z-index: 0;
}

.logotype__img {
	display: block;
	max-width: 100%;
}

.logotype__img_hover {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	opacity: 0;
	transition: 0.3s all;
	pointer-events: none;
}

.logotype:hover .logotype__img_hover {
	animation: logotype 0.2s ease forwards;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%); 
    z-index: 1; 
  }


/* Content CSS */
#content-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    padding-bottom: 50px; /* Add padding to avoid content overlap with the fixed footer */
}

#content-section.show {
    opacity: 1;
    visibility: visible;
}


  .header_menu_item a {
    font-size: 16px;
    align-items: center;
	font-style:bold;
	
	text-transform:uppercase;
    transition: 0.3s all;
    position: relative;
    z-index: 0;
    cursor: pointer;
    vertical-align: -webkit-baseline-middle;
}

  .header_menu_item img {
	  margin-top:3px;
    margin-right: 8px;
    transition: 0.2s all;
    pointer-events: none;
}

.header_menu_item:hover img {
    animation: navImg 0.3s ease forwards;
}

.border {
    width: 100%;
    height: 40px;
    background: url(../img/icons/border_line_mobile.png) center center repeat-x;
    margin: -20px auto;
    position: relative;
    z-index: 9;
}

.download-button {
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center the content horizontally */
    padding: 10px 20px; /* Adjust the padding to make the buttons smaller */
    background: url(../img/aden-button.html) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
    font-size: 24px;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(206,111,0,.8);
    z-index: 999;
    margin-top: 50px;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 50%;
    margin: 0 auto; /* Center the buttons horizontally */
}

.download-button:hover {
    filter: brightness(130%);
}

.download-button span img {
    float: right;
}

.cta-button3 {
    display: inline-block;
    padding: 6px 2px;
    background: url(../img/server-button.html) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 999;
    width: 200px;
}

.cta-button3:hover {
    filter: brightness(130%);
}

#back-to-top-btn {
	  display: none; /* Hide the button by default */
  position: fixed;
  bottom: 70px;
  right: 30px;
  padding: 13px 5px;
   background: url(../img/icons/social_border.png) no-repeat;

  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s ease-out;
}

#back-to-top-btn:hover{
   filter: brightness(140%);
}

#back-to-top-btn:active {
   filter: brightness(80%);
}

#back-to-top-btn a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: .2s;
  text-transform: uppercase;
}

#back-to-top-btn a:hover {
   filter: brightness(140%);
}



.categories-container {
    display: flex;
  }

  .category-container {
    /* Your existing styles for the category container */
    width: calc(50% - 10px); /* Adjust the width as needed */
    margin-bottom: 20px; /* Add spacing between the categories */
  }

  .category-container h2 {
    /* Your existing styles for the category headings */
    margin-bottom: 10px; /* Add spacing between the heading and content */
  }

  .extra-details {
    margin-left: 15px; /* Add indentation for the extra details */
  }

  .hamburger-icon {
    display: none; /* Hide the hamburger icon by default */
    cursor: pointer;
    margin-left: 10px; /* Adjust the left margin to create space between the logo and the menu icon */
}

  .hamburger-icon:active {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add glow effect */
	transition: ease 0.2s;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
}

/* Styles for the mobile navigation */
.mobile-nav {
    display: none; /* Hide the mobile navigation by default */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0 auto;
}

.mobile-nav li a {
    color: #fff;
    text-decoration: none;
	margin-left:-10px;
}

@media only screen and (max-width: 1380px) {
    
    nav ul li {
        margin: 15px 0; /* Add spacing between navigation items */
    }
}




.margin-right {
	margin-right: 35px;
}


.containervotes {
  display: flex;
  margin-top:25px;
}

.advertising-box {
	
	width:250px;
	height:350px;
	margin-right:25px;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(152 143 130 / 12%);
    color: #fff;
    padding: 10px 0px;
    text-align: center;
    justify-content: space-between;
    align-items: center;
	border-radius: 3px;
	box-shadow: 3px 4px 12px 1px rgba(0,0,0,0.8);  
}

.advertising-box:last-child {
	margin-right:0;
}

.advertising-box img {
  max-width: 100%;
  height: auto;
  
}

.advertising-space {
margin-top:35px;	
}


.buttondiscord-desktop {

  display: inline-block;
  padding: 10px 20px;
  width:155px;
  background-color: #998773;
  color: #fff;
  font-size:16px;
  text-shadow: 1px 1px 2px black;
  text-decoration: none;
  border-radius: 5px;
  transition: .5s;
}


.buttondiscord-desktop:hover {
	transition: .5s;
	background-color:#c9b094;
}

.buttondiscord-desktop:active {
	background-color: #b98f59;
	transition: .5s;
}

.buttondiscord-desktop,
.buttondiscord-mobile {
    display: none; /* Initially hide both buttons */
}

/* Media query for desktop screens */
@media screen and (min-width: 768px) {
    .buttondiscord-desktop {
        display: inline-block; /* Display the desktop button on desktop screens */
    }
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .buttondiscord-mobile {
        display: inline-block; /* Display the mobile button on mobile screens */
    }
}


.margin-top-discord {
	margin-top:10px;
}

.smoke1 {

	align-items:center;
    background-image: url(../img/smoke.png);
    background-position: left top;
    -webkit-animation: smoke 20s linear infinite;
    animation: smoke 20s ease-in-out infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 1;
}

/* Mobile Header Section */
  /* Mobile Styles */
    @media only screen and (max-width: 360px) {
  
      .mobile-nav {
		font-size: 10px; 
      }
  }  
  
  @media only screen and (min-width: 361px) {
  
      .mobile-nav {
		font-size: 12px; 
      }
  }  
	  
@media only screen and (max-width: 768px) {
	
		#back-to-top-btn a{
		display:none;
	}

	#hero-section {
		height:100%;
	}
	
	#hero-section h2 {
        font-size: 22px; /* Reduce the font size for smaller screens */
		text-align:center;
		margin-bottom:30px;
		
    }

    #hero-section p {
        font-size: 10px !important; /* Reduce the font size for smaller screens */
    }
	
	.logotype {
		width:70%;
		margin:100px auto;
		margin-bottom:-20px;
	}
	
	.image-gallery {
		width:100%;
		flex-direction:row;
		margin-top:20px;
	}
	
	.image-wrapper img {
		width:80%
	}
	
	
	.cta-button2 {
		margin-bottom:35px;
	}

	.cta-divider {
		display:none;
	}
	
    header {
        padding: 10px 0px; /* Reduce the header padding for smaller screens */
        height: 60px; /* Reduce the header height for smaller screens */
		width:100%;
    }

.border {
    width: 100%;
    height: 40px;
    background: url(../img/icons/border_line_mobile.png) center center repeat-x;
    margin: -20px auto;
    position: relative;
    z-index: 9;
}

    .logo {
        max-width: 40px; /* Reduce the logo size for smaller screens */
        display: none;
    }

    nav {
        margin-left: 0; /* Center the navigation for smaller screens */
        display: none; /* Hide the main navigation on mobile */
    }



    nav ul li {
        display: block; /* Display navigation items vertically for smaller screens */
        margin: 5px 0; /* Add spacing between navigation items */
    }

    nav ul li a {
        padding: 10px 10px;
    }




    
    .hamburger-icon {
        display: block;
        margin-right: auto;
    }

    /* Show the mobile navigation */
    .mobile-nav {
        display: block;
		background: linear-gradient(140deg, #19140c, #5a232b, #19140c);
		border-top: 1px solid rgba(109, 99, 78, 1);
		border-bottom: 1px solid rgba(109, 99, 78, 1);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* Add a shadow for satin effect */
        padding: 15px;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        text-align: center;
        max-height: 0; /* Set the initial max-height to 0 */
        overflow: hidden; /* Hide the content when max-height is 0 */
        transition: max-height 0.3s ease; /* Add a transition to the max-height property */
        text-transform: uppercase;
		
      }

    .mobile-nav li {
        margin: 10px 0;
    }
	
	.mobile-nav li img {
		width:46px;
		height:46px;
        margin: 0 10px;
		margin-left:-5px;
    }
	
    /* Hide the mobile navigation when not needed */
    .mobile-nav.hidden {
        display: none;
    }

    .mobile-nav.show {
        max-height: 500px; /* Adjust the max-height to your desired value based on the content */
		
    }
	
	.tooltip-container {
		display:none;
	}

}

	
  /* Mobile - Download Section */
@media only screen and (max-width: 768px) {
	
 #download-section {
        height: 100%;
    }
	
 #download-section h2 {
     font-size:20px;
   }
   
  #download-section p {
     font-size:14px;

   }
   
.containerdownload {
    display: none;
}

.dcardcontainer {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap onto new lines */
    justify-content: space-between;
    z-index: 1;

}

.dcardcolumn {
    flex-basis: calc(50% - 10px); /* Adjust width for two columns */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    
}

.dcardcard {
    width: 300px;
    margin: 0 auto; /* Align center */
    margin-bottom: 20px;
    border-width: 5px;
    border-style: solid;
    border-image-source: url('../img/icons/download_border.png');
    border-image-slice: 5;
    background-color: rgba(12, 12, 12, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.dcardcard img {
    margin-top: -28px;

    display: block;
    width: 80%;
    height: auto;
    filter: brightness(100%);
    transition: ease-in-out 0.5s;
    margin-left: auto;
    margin-right: auto;
}

.downloadtitle {
    font-size: 25px;
    text-transform: uppercase;
    color: #735b3c;
    text-align: center;
}

.dcardcontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dcard {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dcardleft {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.text {
    margin-left: 5px;
    text-align: left;
    margin-top: -22px;
	font-size:14px;
}

.text div {
    margin: 1px 0;
}

.dcardleft img {
    width: 40px;
    height: 40px;
    margin-right: 5px;
    vertical-align: middle;
}

.dcardleft p {
    margin: 0;
    text-align: center;
    font-size: 18px !important;
}

.dcarddownload-button {
    width: 100%; /* Take full width */
    padding: 10px 20px;
    background-color: #735b3c;
    margin-top: 25px;
    margin-bottom: -25px;
    color: #fff;
    border: none;
    border-radius: 5px;
	
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dcarddownload-button:hover {
    background-color: #c3a784;
}

.dcarddownload-button:active {
    background-color: #b98f59;
}

}

/* Default styles for both tables */
.table-desktop,
.table-mobile {
    display: none; /* Initially hide both tables */
}

/* Media query for desktop screens */
@media screen and (min-width: 768px) {
    .table-desktop {
        display: table; /* Display the desktop table on desktop screens */
    }
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .table-mobile {
        display: table; /* Display the mobile table on mobile screens */
    }
}

/* Mobile - Vote Section */
@media only screen and (max-width: 768px) {

 #features-section {
    height: 100%;
	background-image: url('../img/bgfeaturesmobile.jpg');
    background-attachment: fixed; /* Keep the background image fixed */
 }

 #features-section h2 {
     font-size:20px;
   }
   
  #features-section p {
     font-size:14px;

   }
   
/* features menu */
.sidebar-icons {
	margin-top:15px;
	width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	z-index:1;
	margin-bottom:-5px;
}

.sidebar-icons img{
    width: 54px;
    height: 54px;
    cursor: pointer;
    transition: ease-in-out 0.3s;
	margin:0 auto;
	justify-content: space-between;
}

.sidebar-icons img:hover{
	filter:brightness(120%);
}

.sidebar-icons img:hover:after{
	transition: ease 0.3s;
}

.sidebar {
    width:100%;
	margin:10px auto;
	z-index:1;
	align-items: center;
    justify-content: center;
}

.featuresbutton {
	flex-direction: column;
    align-items: center;
    justify-content: center;
	width:155px;
	margin-top:10px;
    padding: 10px 20px;
    background-color: #735b3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.featuresbutton:hover {
    background-color: #c3a784;
}

.featuresbutton:active {
    background-color: #b98f59;
}

.featuresbutton.active {
    background-color: #b98f59;
}

.content {
    margin:15px auto; /* Adjust as needed based on sidebar width */
    padding: 20px;
    border-width: 5px; /* Width of the border */
    border-style: solid; /* Style of the border */
    border-image-source: url('../img/icons/download_border.png'); /* Path to your border image */
    border-image-slice: 5; /* Slice value to define the border size */
	background-color: rgba(12, 12, 12, 0.5);
	width:80%;
	height:100%;
	z-index:1;
	margin-bottom:30px;
}


	
.section {
    display: none;
}

.section.active {
    display: block;
}

.section p {
	margin-bottom:-4px;
}

.section h1 {
	margin-top:-5px;
	font-size:18px;
	font-weight:normal;
	margin-bottom:-5px;
}

.section h2 {
	font-size:16px !important;
	margin-bottom:0;
}



.sectionimg {
	width:80%;
}

#section2 p {
	margin-top:12px !important;
}

.sectionspace {
	margin-top:25px;
}

/* General Table Mobile */
table {
    margin: 15px auto;
    width: 100%;
    border-collapse: collapse;
	margin-left:auto;
	margin-right:auto;
    color: #fff;
    opacity: 0; /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards; /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above and move down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

table img {
	margin-top:5px;
}

th, td {
	font-weight: normal;
    padding: 7px;
	font-size:14px;
    text-align: left;
	border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
	background: rgba(115, 91, 60, 0.4);
}

th {
    text-align: right;
	text-shadow: 1px 1px 2px black;
	background: #735b3c;
}

tr {
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Define the hover effect */
tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523); /* Orange to dark orange gradient */
}

td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

td:nth-child(2) {
    width: auto; /* Allow the second column to expand */
		text-align:left;
		padding-left:0;
}
td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:right;

	
}

td:nth-child(4) {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */

	text-align:left;
}

td:last-child, th:last-child {
    text-align: right;
}

/* Common styles for both tables */
.table-enchant {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    animation: fadeInTable 0.5s ease forwards;
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common styles for both table images */
.table-enchant img {
    margin-top: 5px;
}

/* Common styles for both th and td */
.table-enchant th,
.table-enchant td {
    font-weight: normal;
    padding: 7px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
}

/* Define the hover effect for both tables */
.table-enchant tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
}

/* Adjustments specific to table-enchant */
.table-enchant th {
    text-align: left;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

.table-enchant td:first-child,
.table-enchant td:nth-child(4) {
    width: 36px;
    padding-right: 0;
}

.table-enchant td:nth-child(2) {
    width: auto;
    text-align: left;
}

.table-enchant td:nth-child(3),
.table-enchant td:nth-child(5) {
    width: auto;
    text-align: left;
}

.table-enchant td:last-child,
.table-enchant th:last-child {
    text-align: right;
    padding-right: 30px;
}


/* Table EVENTS MOBILE */
.table-events {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    animation: fadeInTable 0.5s ease forwards;
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common styles for both table images */
.table-events img {
    margin-top: 5px;
}

/* Common styles for both th and td */
.table-events th,
.table-events td {
    font-weight: normal;
    padding: 7px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
}

/* Define the hover effect for both tables */
.table-events tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
}

/* Adjustments specific to table-enchant */
.table-events th {
    text-align: left;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

.table-events td:first-child,
.table-events td:nth-child(4) {
    width: 36px;
    padding-right: 0;
}

.table-events td:nth-child(2) {
    width: auto;
    text-align: left;
}

.table-events th:nth-child(5),
.table-events th:nth-child(6),
.table-events th:nth-child(7),
.table-events th:nth-child(8),
.table-events th:nth-child(9),
.table-events th:nth-child(10),
.table-events th:nth-child(11) {
	display:none;
}

.table-events td:nth-child(5),
.table-events td:nth-child(6),
.table-events td:nth-child(7),
.table-events td:nth-child(8),
.table-events td:nth-child(9),
.table-events td:nth-child(10),
.table-events td:nth-child(11) {
	display:none;
}

.table-events td:last-child,
.table-events th:last-child {
    text-align: right;
    padding-right: 30px;
}


/* Table SIEGES MOBILE */
.table-olympiad {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;

    opacity: 0;
    animation: fadeInTable 0.5s ease forwards;
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common styles for both table images */
.table-olympiad img {
    margin-top: 5px;
}

/* Common styles for both th and td */
.table-olympiad th,
.table-olympiad td {
    font-weight: normal;
    padding: 7px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
}

/* Define the hover effect for both tables */
.table-olympiad tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
}

/* Adjustments specific to table-enchant */
.table-olympiad th {
    text-align: left;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

.table-olympiad td:first-child {
    width: 36px; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
}

.table-olympiad td:nth-child(2) {
    width:600px; /* Allow the second column to expand */
	text-align:left;
		
}
.table-olympiad td:nth-child(3) {
    width:auto; /* Allow the second column to expand */
	text-align:left;	
}

.table-olympiad td:nth-child(4) {
    width: auto; /* Adjust the width for the icon column */
    padding-right: 0; /* Remove padding on the right for the icon column */
	text-align:left;
}

.table-olympiad td:nth-child(5) {
    width: auto; /* Adjust the width for the icon column */
	text-align:left;
}

.table-olympiad td:last-child, .table-olympiad th:last-child {
	
    text-align: left;
	padding-right:14px;
}


}


/* Mobile - Vote Section */
@media only screen and (max-width: 768px) {
	
	#vote-section {
	height:100%;
	background-attachment: fixed; /* Keep the background image fixed */
	background-position: 970px center;
	}
	
.containervotes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  justify-content: space-between; /* Distribute items evenly across the container */
}

.advertising-box {
  width: calc(50% - 12.5px); /* Calculate width for two items per row */
  /* 12.5px is half of the right margin */
  height: 350px;
  margin-bottom: 25px; /* Add margin bottom to create space between rows */
  margin-right:10px;
  background-color: rgb(152 143 130 / 12%);
  color: #fff;
  padding: 10px 0px;
  text-align: center;
  border-radius: 3px;
  box-shadow: 3px 4px 12px 1px rgba(0, 0, 0, 0.8);
}

  .advertising-box:nth-child(odd) {
    margin-right: 0; /* Remove margin for odd boxes on smaller screens */
	margin-left: 10px;
  }

.advertising-box img {
  max-width: 100%;
  height: auto;
}

.buttondiscord-mobile {

  display: inline-block;
  padding: 10px 20px;
  width:100px;
  background-color: #998773;
  color: #fff;
  font-size:16px;
  text-shadow: 1px 1px 2px black;
  text-decoration: none;
  border-radius: 5px;
  transition: .5s;
}


.buttondiscord-mobile:hover {
	transition: .5s;
	background-color:#c9b094;
}

.buttondiscord-mobile:active {
	background-color: #b98f59;
	transition: .5s;
}

}


#rules-section {
    background-image: url('../img/bgrules.jpg');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#rules-section::after {
    content: ""; /* Create the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the overlay color and opacity */
    z-index: 1; /* Ensure the overlay is above the background image */
}

#rules-section::before {
    content: "";
    background-image: url('../img/bgrules.jpg'); /* Background image */
    background-size: cover;
    background-position: center;
	background-attachment:fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure the background image is below the overlay */
}

#rules-section h2 {
font-family: 'Supernatural_Knight';
    font-size: 32px;
    z-index: 2;
    color: #fff;
    height: 30px;
	margin-top:150px;
}

#rules-section p {
     z-index: 2;
     max-width: 650px;
     color: #fff;
}

.rules-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    position: relative; /* Establishes the positioning context */
    z-index: 9998; /* Set a high z-index value */
}

@media (min-width: 368px) and (max-width: 1024px) {
	
    header {
        padding: 15px 0;
        height: 70px;
		max-width:1024px;
    }

nav {
    text-align: center;
    margin-left: 35px; /* Adjusted to align from the left */
    margin-right: 0; /* Adjusted to align from the left */
	margin-top:-10px;
}
	
    .logo {
        display:none;
    }

    .logotype {
		margin-top:10px;
        max-width: 200px !important; /* Scale down the logo */
    }


	
    /* Hero section adjustments */
    #hero-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }

    #hero-section h1, #hero-section h2 {
        font-size: 0.8em;; /* Adjust font size */
    }

    #hero-section p {
        font-size: 0.8em; /* Adjust font size */
    }

	#download-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
    #download-section h1, #download-section h2 {
        font-size: 0.8em; /* Adjust font size */
    }

    #download-section p {
        font-size: 0.8em; /* Adjust font size */
    }

    #features-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
	#features-section h1, #features-section h2 {
        font-size: 0.8em !important; /* Adjust font size */
    }

    #features-section p {
        font-size: 0.8em; /* Adjust font size */
    }

    #vote-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
	#vote-section h1, #features-section h2 {
        font-size: 0.8em !important; /* Adjust font size */
    }

    #vote-section p {
        font-size: 0.8em; /* Adjust font size */
    }
	
	
	#countdown {
      font-size: 24px;
      font-weight: normal;
      color: #fff;
      z-index: 9999;
	  margin-bottom:25px;
	  margin-top:-10px;
}

	.image-gallery {
		margin-top:20px;
	}

	.tooltip-container {
		margin-right:0;
	}
	
	.margin-top {
		margin-top:35px;
	}
	
	.hero-chart {
    max-width: 400px; /* Adjust as needed */
	width:350px;
    margin: 0 50px;
}

	.progress-bar {
		width:100%;
	}

    /* Card and content container adjustments */
    .dcardcontainer, .containervotes {
        gap: 15px;
        justify-content: center; /* Center content */
    }

    .dcardcard {
        width: 350px; /* Scale down card width */
        padding: 10px; /* Reduce padding */
    }
	
.downloadtitle {
	font-size:25px;
	text-transform:uppercase;
	color: #735b3c;
	margin-top:25px;
}

.dcardcontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

	.dcardcolumn {
    flex: 1;
	margin-right:20px;
}

	.dcardcolumn:last-child {
    flex: 1;
	margin-right:0;
}

.dcardleft {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center the items */
    position: relative; /* Ensures normal positioning */
    margin-top: 25px;
}

	.dcardleft img {
		width:50px !important;
		height:50px !important;
		margin-bottom: 15px; /* Adds space between the image and the text */
	}
	
.text {
	margin-top:40px;
	text-align:center;
	}

	
	.dcarddownload-button {
		margin-right:5px;
	}



.dcardcard img {
	width:70%;
    border-radius: 15px;
	margin:-30px auto;
    display: block; /* Ensures the image is treated as a block element */
    height: auto; /* Allows the image to scale proportionally */
	filter: brightness(100%); /* Initial state */
    transition: ease-in-out 0.5s; /* Smooth transition for brightness changes */
}



.section {
    width: 100%; /* Use full width */
    max-width: 95%; /* Limit maximum width */
    margin: 0 auto; /* Center content */
    padding: 20px; /* Add some padding for comfort */
    box-sizing: border-box; /* Include padding in the element's total width */
}
	
	
	.content h2 {
		margin: 0 auto;
		font-size: 0.8em !important;
	}
	
    /* Table adjustments */
    table, th, td {
        font-size: 14px; /* Reduce table font size */
        padding: 5px; /* Adjust padding */
    }

    /* Image gallery adjustments */
    .image-wrapper img {
        max-width: 60%; /* Ensure images don't overflow */
        height: auto;
    }

	.sidebar-icons {
		display:none;
	}
	
    /* Sidebar and feature buttons */
    .sidebar-icons img {
        width: 80px; /* Adjust size */
        height: 80px;
    }

    .featuresbutton {
        width: 150px; /* Reduce button width */
        padding: 8px 15px; /* Adjust padding */
    }
	

    .containervotes {
        display: flex;

        gap: 15px; /* Add space between items */
        margin-top: 25px;
        justify-content: center; /* Center the items */
    }

    .advertising-box {
        width: 100%; /* Make each item take full width */
        margin-right: 0; /* Remove margin to fit */
        margin-bottom: 20px; /* Add spacing between items */
    }
	
	.account-icon img {
		width:40px;
	}
	
	.buttondiscord-desktop {
		font-size:13px;
		width:130px;
	}

}

	
/* Media query for laptops */
@media (min-width: 1024px) and (max-width: 1366px) {
    /* Header adjustments */
    header {
        padding: 15px 0;
        height: 70px;
		
    }

nav {
    text-align: center;
    margin-left: 35px; /* Adjusted to align from the left */
    margin-right: 0; /* Adjusted to align from the left */
	margin-top:-10px;
}
	
    .logo {
        display:none;
    }

    .logotype {
		margin-top:10px;
        max-width: 200px !important; /* Scale down the logo */
    }


	
    /* Hero section adjustments */
    #hero-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }

    #hero-section h1, #hero-section h2 {
        font-size: 0.8em;; /* Adjust font size */
    }

    #hero-section p {
        font-size: 0.8em; /* Adjust font size */
    }

	#download-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
    #download-section h1, #download-section h2 {
        font-size: 0.8em; /* Adjust font size */
    }

    #download-section p {
        font-size: 0.8em; /* Adjust font size */
    }

    #features-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
	#features-section h1, #features-section h2 {
        font-size: 0.8em !important; /* Adjust font size */
    }

    #features-section p {
        font-size: 0.8em; /* Adjust font size */
    }

    #vote-section {
        height: 100vh; /* Set a comfortable height */
		min-height: 750px;
    }
	
	#vote-section h1, #features-section h2 {
        font-size: 0.8em !important; /* Adjust font size */
    }

    #vote-section p {
        font-size: 0.8em; /* Adjust font size */
    }
	
	
	#countdown {
      font-size: 30px;
      font-weight: normal;
      color: #fff;
      z-index: 9999;
	  margin-bottom:25px;
	  margin-top:-10px;
}

	.image-gallery {
		margin-top:20px;
	}

	.tooltip-container {
		margin-right:0;
	}
	
	.margin-top {
		margin-top:35px;
	}
	
	.hero-chart {
    max-width: 400px; /* Adjust as needed */
	width:350px;
    margin: 0 50px;
}

	.progress-bar {
		width:100%;
	}

    /* Card and content container adjustments */
    .dcardcontainer, .containervotes {
        gap: 15px;
        justify-content: center; /* Center content */
    }

    .dcardcard {
        width: 350px; /* Scale down card width */
        padding: 10px; /* Reduce padding */
    }
	
.downloadtitle {
	font-size:25px;
	text-transform:uppercase;
	color: #735b3c;
	margin-top:25px;
}

.dcardcontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

	.dcardcolumn {
    flex: 1;
	margin-right:20px;
}

	.dcardcolumn:last-child {
    flex: 1;
	margin-right:0;
}

.dcardleft {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center the items */
    position: relative; /* Ensures normal positioning */
    margin-top: 25px;
}

	.dcardleft img {
		width:50px !important;
		height:50px !important;
		margin-bottom: 15px; /* Adds space between the image and the text */
	}
	
.text {
	margin-top:40px;
	text-align:center;
	}

	
	.dcarddownload-button {
		margin-right:5px;
	}



.dcardcard img {
	width:70%;
    border-radius: 15px;
	margin:-30px auto;
    display: block; /* Ensures the image is treated as a block element */
    height: auto; /* Allows the image to scale proportionally */
	filter: brightness(100%); /* Initial state */
    transition: ease-in-out 0.5s; /* Smooth transition for brightness changes */
}



.section {
    width: 100%; /* Use full width */
    max-width: 95%; /* Limit maximum width */
    margin: 0 auto; /* Center content */
    padding: 20px; /* Add some padding for comfort */
    box-sizing: border-box; /* Include padding in the element's total width */
}
	
	
	.content h2 {
		margin: 0 auto;
		font-size: 0.8em !important;
	}
	
    /* Table adjustments */
    table, th, td {
        font-size: 14px; /* Reduce table font size */
        padding: 5px; /* Adjust padding */
    }

    /* Image gallery adjustments */
    .image-wrapper img {
        max-width: 60%; /* Ensure images don't overflow */
        height: auto;
    }

	.sidebar-icons {
		display:none;
	}
	
    /* Sidebar and feature buttons */
    .sidebar-icons img {
        width: 80px; /* Adjust size */
        height: 80px;
    }

    .featuresbutton {
        width: 150px; /* Reduce button width */
        padding: 8px 15px; /* Adjust padding */
    }
	

    .containervotes {
        display: flex;

        gap: 15px; /* Add space between items */
        margin-top: 25px;
        justify-content: center; /* Center the items */
    }

    .advertising-box {
        width: 100%; /* Make each item take full width */
        margin-right: 0; /* Remove margin to fit */
        margin-bottom: 20px; /* Add spacing between items */
    }
	
	.account-icon img {
		width:40px;
	}
	
	.buttondiscord-desktop {
		font-size:13px;
		width:130px;
	}



}

/* General section adjustments */
#hero-section, #download-section, #features-section, #vote-section {
    min-height: 950px; /* Ensures a minimum height */
    padding: 20px; /* Adds padding for content comfort */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
}

/* Responsive adjustments for screens smaller than 768px */
@media (max-width: 768px) {
    #hero-section, #download-section, #features-section, #vote-section {
        min-height: 600px; /* Reduces min-height for smaller devices */
        padding: 15px; /* Slightly reduces padding */
    }
}

/* Further adjustments for screens smaller than 600px */
@media (max-width: 600px) {
    #hero-section, #download-section, #features-section, #vote-section {
        min-height: 500px; /* Adjusts for very small devices */
        padding: 10px; /* Reduces padding further */
    }
}

/* Special adjustments for very small screens (e.g., 480px or smaller) */
@media (max-width: 480px) {
    #hero-section, #download-section, #features-section, #vote-section {
        min-height: 400px; /* Ensures the sections are not too tall */
        padding: 5px; /* Minimal padding for compact space */
    }

    h1, h2 {
        font-size: 18px; /* Adjusts header sizes */
    }

    p {
        font-size: 14px; /* Reduces paragraph text size */
    }
}

	
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .section {
        padding: 15px; /* Slightly reduce padding */
    }
}

@media (max-width: 600px) {
    .section {
        padding: 10px; /* Further reduce padding */
    }
}

@media (max-width: 480px) {
    .section {
        padding: 5px; /* Minimal padding for very small devices */
    }
}

/* Responsive styles for screens 769px to 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
    .table-desktop {
        display: none; /* Hide desktop tables for this range */
    }

    .table-mobile {
        display: table; /* Show mobile tables */
    }

    /* General layout adjustments for sections */
    #section1, #section2, #section3, #section4 {
        margin: 0 auto; /* Center sections */
        max-width: 800px; /* Limit section width */
    }

    h2 {
        font-size: 1.8rem; /* Adjust section title size */
        text-align: center; /* Center titles */
    }

    p {
        text-align: center; /* Center text paragraphs */
    }

    /* Optional: Style for images in the section */
    img {
        max-width: 100%; /* Ensure images are responsive */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Styles for larger screens */
@media (min-width: 1024px) {
    .table-mobile {
        display: none; /* Hide mobile tables for larger screens */
    }

    .table-desktop {
        display: table; /* Show desktop tables */
    }
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .content {
        padding: 10px; /* Reduce padding on smaller screens */
        margin: 10px; /* Adjust margin for smaller screens */
        border-width: 3px; /* Thinner border for smaller screens */
    }
}

@media (max-width: 480px) {
    .content {
        padding: 5px; /* Further reduce padding */
        margin: 5px; /* Further adjust margin */
        border-width: 2px; /* Even thinner border */
    }
}