@font-face {
    font-family: 'RobotRadicalsDestanGraphic';
    src: url('../fonts/RobotRadicalsDestanGraphic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kaishou';
    src: url('../fonts/Kaishou.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #18100a;
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto;
    display: flex;
    flex-direction: column;
}

.h2{
    padding: 0;
    margin: 0;
}

.container {
    text-align: center;
    flex: 1;
}

.logo-background, .footer-background {
    display: block;
    max-width: none;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.logo-background {
    width: 100%; 
    height: auto; 
    max-width: 100%; 
    max-height: 100vh; 
    display: block;
    margin: 0 auto; 
    object-fit: contain; 
}

@media (min-width: 1024px) {
    .logo-background {
        width: auto; 
        height: auto; 
    }
}

.logo {
    max-width: 100%;
    height: auto; 
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1024px) {
    .logo {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50%;
    }
}

.footer-background {
    width: 100%;
    height: auto; 
    max-width: 1568px; 
    max-height: 504px; 
    display: block;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .footer-background {
        width: auto; 
        height: auto; 
    }
}

.server-select {
    letter-spacing: 5px;
}

.server-select h2 {
    font-family: 'RobotRadicalsDestanGraphic', sans-serif;
    background: -webkit-linear-gradient(0deg, #ffe014, #ef8a02, #ffe014) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    letter-spacing: 30px;
    font-weight: 100;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
}

.amberleft-image {
    background-image: url('../img/amberleft.png');
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.amberright-image {
    background-image: url('../img/amberright.png');
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.amberleft-image {
    background-image: url('../img/amberleft.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 300px;
    height: auto;
    padding-top: 40%;
    margin: 0;
    box-sizing: border-box;
    margin-right: 7%;
}

.amberleft-image:hover {
    background-image: url('../img/amberleft.png');
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .amberleft-image {
        width: 80%;
        max-width: 400px;
        padding-top: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .amberleft-image {
        width: 100%;
        max-width: none;
        padding-top: 56.25%;
        margin-bottom: 20px;
    }
}

.amberright-image {
    background-image: url('../img/amberright.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 300px;
    height: auto;
    padding-top: 40%;
    margin: 0;
    box-sizing: border-box;
    margin-left: 7%;
}

.amberright-image:hover {
    background-image: url('../img/amberright.png');
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .amberright-image {
        width: 80%;
        max-width: 400px;
        padding-top: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .amberright-image {
        width: 100%;
        max-width: none;
        padding-top: 56.25%;
        margin-bottom: 20px;
    }
}


.announcement {
    margin-top: 3%;
    margin-bottom: 10%;
}

.title {
    font-size: 36px;
}

.title h2 {
    font-family: 'Kaishou', sans-serif;
    background: -webkit-linear-gradient(0deg, #fff1d7, #ffffff, #ffe9c0) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    font-weight: 100;
    text-shadow: 0 0 10px #fbe4b986;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 2%;
    padding-bottom: 2%;
}

.subtitle {
    font-size: 20px;
}

.subtitle h1 {
    font-family: 'RobotRadicalsDestanGraphic', sans-serif;
    background: -webkit-linear-gradient(0deg, #6b614f, #fbe4b9, #6b614f) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    text-shadow: 0 0 10px #fbe4b986;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 100;
}

.countdown {
    font-size: 30px;
    letter-spacing: 2px;
}

.countdown h2 {
    font-family: 'RobotRadicalsDestanGraphic', sans-serif;
    background: -webkit-linear-gradient(0deg, #6b614f, #fbe4b9, #6b614f) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
    text-shadow: 0 0 10px #fbe4b986;
    margin-top: 0px;
    margin-bottom: 100px;
    font-weight: 100;
}

.footer-background {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.footer-image {
    display: block;
    width: 100%; 
    height: auto;
    max-width: 100%; 
}

.footer-icons {
    position: absolute;
    top: 5%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.footer-icons a {
    width: 80px; 
    height: 80px;
}

@media (max-width: 768px) {
    .footer-icons a {
        width: 60px; 
        height: 60px;
    }
}

@media (max-width: 480px) {
    .footer-icons a {
        width: 40px; 
        height: 40px;
    }
}

.icon-facebook, .icon-discord, .icon-youtube {
    display: block;
    width: 97px;
    height: 97px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-facebook {
    background-image: url('../img/facebook.png');
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-facebook:hover {
    background-image: url('../img/facebook_hover.png');
    transform: scale(1.1);
    opacity: 1;
}

.icon-discord {
    background-image: url('../img/discord.png');
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-discord:hover {
    background-image: url('../img/discord_hover.png');
    transform: scale(1.1);
    opacity: 1;
}

.icon-youtube {
    background-image: url('../img/youtube.png');
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-youtube:hover {
    background-image: url('../img/youtube_hover.png');
    transform: scale(1.1);
    opacity: 1;
}

.sponsor-bar {
    padding:6.5rem 0 7rem 0
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.sponsor-title {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.sponsor-title h2 {
    font-family: 'RobotRadicalsDestanGraphic', sans-serif;
    background: -webkit-linear-gradient(0deg, #ffe014, #ef8a02, #ffe014) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    letter-spacing: 30px;
    font-weight: 100;
}

.sponsor-line {
    align-items: center;
    display:flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    row-gap: 2rem;
}


@media(max-width: 575px){
    .sponsor-line {
        flex-direction: column;
    }
}

@media screen and (max-width: 991px){
    .sponsor-line {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

.sponsor-item {
padding: 0 4%;
}

@media (max-width: 991px){
    .sponsor-item {
        flex: 1 0 30%;
        max-width: 30%;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 575px){
    .sponsor-item {
        flex: 1 0 100%;
        max-width: 100%;
        margin-bottom: 35px;
    }
}

.sponsor-item img {
    max-width: 400px;
    max-height: 140px;
    object-fit: contain;
}

.timerparent{
    position: relative;
}

.timer{
    width: 100%;
    position: absolute;
    font-size: 2em;
    color: #f8bb0c;
    top:-40px;
}

.timer > *{
    padding: 10px;
    position: relative;
}

.hours::before{
    content: ":";
    position: absolute;
    left: -8px;
    top: 2px;
}
.minutes::before{
    content: ":";
    position: absolute;
    left: -8px;
    top: 2px;
}
.seconds::before{
    content: ":";
    position: absolute;
    left: -8px;
    top: 2px;
}


.timer2{
    width: 100%;
    position: absolute;
    font-size: 1em;
    color: #fbe4b9;
    top:0;
}
.timer2 > *{
    padding: 10px;
    width: 60px;
    display: inline-block;
}

@media only screen and (max-width: 768px) { 
	.timer{
        top:0;
    }
    .amberleft-image{
        margin-bottom: 100px;
    }
    .timer2{
        top:46px;
    }
    .amberright-image{
        margin-left: 0;
    }
    .amberleft-image{
        margin-right: 0;
    }
}