body {
    margin: 0;
    background-color: transparent;
}

.bg {
    background: url("../images/bg-repeat.png");
    background-color: #223;
    background-repeat: repeat;
    background-position: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: -1;
  }

.userinfo {
    padding: 15px;
    overflow: hidden;
    background-color: #222;
    position: fixed;
    top: 90px;
    height: 160px;
    width: 90%;
    z-index: 100;
    width: 350px;
    left: 0;
    display: none;
}

#profile{
    color: white;
    text-align: center;
    background-color: rgb(66, 66, 85);
    height: 32px;
    padding-top: 4px;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 15px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    transition: 0.2s;
}

#profile:hover{
    background-color: rgb(72, 72, 100);
}

.avatar
{
    border-radius: 4px;
    width: 22px;
    height: 22px;
}

#balance{
    color: white;
    text-align: center;
    background-color: rgb(31, 31, 46);
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 4px;
    height: 32px;
    margin-top: 15px;
    border-radius: 3px;
    border: 1px solid rgba(61, 61, 94, 0.5);
    margin-right: 10px;
}

#coinsIconBalance{
    color: rgb(255, 204, 0);
    font-size: 15px;
}
#userName {
    display: inline;
    font-size: 14px;
    margin-left: 4px;
    margin-top: 5px;
    font-family: "Trebuchet MS";
    font-weight: bold;
    color: white;
}

#userCoins {
    display: inline;
    font-size: 15px;
    margin-left: 4px;
    font-family: "Arial";
    font-weight: bold;
    color: rgb(255, 204, 0);
}

#ticketsBalance{
    color: white;
    text-align: center;
    background-color: rgb(31, 31, 46);
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
    height: 32px;
    margin-top: 15px;
    border-radius: 3px;
    border: 1px solid rgba(61, 61, 94, 0.5);
    margin-right: 4px;
}

#ticketsBalanceMobileMenu{
    color: white;
    text-align: center;
    background-color: rgb(31, 31, 46);
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
    margin-top: 8px;
    height: 32px;
    border-radius: 3px;
    border: 1px solid rgba(61, 61, 94, 0.5);
    margin-right: 4px;
}

#balanceMobileMenu{
    color: white;
    text-align: center;
    background-color: rgb(31, 31, 46);
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 4px;
    height: 32px;
    margin-top: 8px;
    border-radius: 3px;
    border: 1px solid rgba(61, 61, 94, 0.5);
}

#userTickets {
    display: inline;
    font-size: 14px;
    margin-left: 4px;
    font-family: "Arial";
    font-weight: bold;
    color: 	#50C878;
}

#ticketsIconBalance{
    color: 	#50C878;
    font-size: 14px;
}

.user{
    display: flex;
    flex-direction: row;
    position: fixed;
    right: 20px;
}

.mobileMenuButton{
    color: white;
    font-size: 30px;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.mobileMenuButton:hover{
    color: rgb(255, 250, 175);
}

.steamlogout {
    color: rgb(105, 105, 125);
    background: none;
    border: none;
    font-size: 22px;
    margin: 0;
    margin-top: 13px;
    margin-left: 2px;
    transition: 0.3s;
    text-shadow: 1px 1px 1px #121212;
    display: inline-block;
}

.steamlogout:hover{
    color: rgb(136, 136, 174);
}

.navibarbig {
    z-index: 100;
    overflow: hidden;
    background: linear-gradient(#334, #223); 
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    height: 60px;
    display: flex;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.notClickable{
    position: fixed;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.7);
    left: 0;
    top: 60px;
    width: 100%;
    height: 100%;
    display: none;
}


.mainpage{
    min-height: -moz-calc(100vh - 310px);
    min-height: -webkit-calc(100vh - 310px);
    min-height: -o-calc(100vh - 310px);
    min-height: calc(100vh - 310px);
    padding-bottom: 30px;
}

@media (max-width: 1309px)
{
    #pagecontent{
        margin-right: 0px;
        transition: margin-right 0.5s;
    }
}
@media (min-width: 1310px)
{
    #pagecontent{
        margin-right: 350px;
        transition: margin-right 0.5s;
    }
}

@media (max-width: 2850px){
    .mainpage {
        margin-top: 60px;
        color: white;
        max-width: 2500px;
    }
}
@media (min-width: 2851px){
    .mainpage {
        margin-top: 60px;
        color: white;
        max-width: 2500px;
        position: relative;

        /* Calc position */
        left: -moz-calc(50% - 1425px);
        left: -webkit-calc(50% - 1425px);
        left: -o-calc(50% - 1425px);
        left: calc(50% - 1425px);
    }
}


@media (min-width: 1500px){
    .menu_container a {
        border: none;
        color: rgb(255, 250, 225);
        padding: 12px;
        text-align: center;
        font-size: 16px;
        transition: 0.3s;
        font-family: "Trebuchet MS";
        font-weight: bold;
        text-shadow: -1px -1px 3px #020202, 
          2px 2px 4px #1b1b1b;
    }

    .menu_container a:hover {
        color: rgb(255, 250, 175);
    }

    .menu_container{
        height: 60px;
        width: -moz-calc(100% - 590px);
        width: -webkit-calc(100% - 590px);
        width: -o-calc(100% - 590px);
        width: calc(100% - 590px);
        display: block;
        padding-top: 18px;
        overflow: hidden;
        white-space: nowrap;
    }

    #mobileMenuButtonVisibility{
        display: none;
    }

    .desktopVisibility{
        display: block;
    }

    #logoutVisibility{
        display: block;
    }

    #mobileMenuProfileVisibility{
        display: none;
    }

    .mobileMenuWrapperVisibility{
        display: none;
    }
}
@media (min-width: 1310px) and (max-width: 1499px){

    .menu_container a {
        border: none;
        color: rgb(255, 250, 225);
        padding: 8px;
        text-align: center;
        font-size: 14px;
        transition: 0.3s;
        font-family: "Trebuchet MS";
        font-weight: bold;
        text-shadow: -1px -1px 3px #020202, 
          2px 2px 4px #1b1b1b;
    }

    .menu_container a:hover {
        color: rgb(255, 250, 175);
    }

    .menu_container{
        height: 60px;
        width: -moz-calc(100% - 590px);
        width: -webkit-calc(100% - 590px);
        width: -o-calc(100% - 590px);
        width: calc(100% - 590px);
        display: block;
        padding-top: 20px;
        overflow: hidden;
        white-space: nowrap;
    }

    #mobileMenuButtonVisibility{
        display: none;
    }

    .desktopVisibility{
        display: block;
    }

    #logoutVisibility{
        display: block;
    }

    #mobileMenuProfileVisibility{
        display: none;
    }

    .mobileMenuWrapperVisibility{
        display: none;
    }
}
@media (min-width: 1200px) and (max-width: 1309px){
    .menu_container a {
        border: none;
        color: rgb(255, 250, 225);
        padding: 6px;
        text-align: center;
        font-size: 12px;
        transition: 0.3s;
        font-family: "Trebuchet MS";
        font-weight: bold;
        text-shadow: -1px -1px 3px #020202, 
          2px 2px 4px #1b1b1b;
    }

    .menu_container a:hover {
        color: rgb(255, 250, 175);
    }

    .menu_container{
        height: 60px;
        width: -moz-calc(100% - 590px);
        width: -webkit-calc(100% - 590px);
        width: -o-calc(100% - 590px);
        width: calc(100% - 590px);
        display: block;
        padding-top: 22px;
        overflow: hidden;
        white-space: nowrap;
    }

    #mobileMenuButtonVisibility{
        display: none;
    }

    .desktopVisibility{
        display: block;
    }

    #logoutVisibility{
        display: block;
    }

    #mobileMenuProfileVisibility{
        display: none;
    }

    .mobileMenuWrapperVisibility{
        display: none;
    }
}

@media (max-width: 1199px){
    .menu_container{
        display: block;
        position: fixed;
        width: 280px;
        height: 100%;
        right: -280px;
        top: 60px;
        background: linear-gradient(#334, #223);
        z-index: 1;
    }

    .menu_container a {
        border: none;
        display: block;
        color: rgb(245, 245, 255);
        padding-left: 25px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 16px;
        transition: 0.3s;
        font-family: "Trebuchet MS";
        font-weight: bold;
        text-shadow: 1px 1px 1px #121212;
        border-top: 1px dashed rgba(245, 245, 255, 0.08);
    }

    .menu_container a:hover{
        background-color: #445;
    }

    #mobileMenuButtonVisibility{
        display: block;
    }

    .desktopVisibility{
        display: none;
    }

    #logoutVisibility{
        display: none;
    }

    #mobileMenuProfileVisibility{
        display: block;
    }

    .mobileMenuWrapperVisibility{
        display: flex;
    }
}

#mobileMenuWrapper {
    width: 100%;
    height: 70px;
    padding-top: 20px;
    justify-content: center;
}

#mobileMenuTicketsWrapper {
    width: 100%;
    height: 50px;
    justify-content: center;
}

.mobileProfileContainer{
    float: left;
}

.mobileLogoutContainer{
    float: left;
}

#banner {
    cursor: pointer;
    width: 350px;
}

@media (min-width: 480px){
    .realbanner{
        width: 240px;
        height: 60px;
        background: url('../images/gatherskins-banner.png');
        background-size: 230px 60px;
        background-repeat: no-repeat;
        left: 0;
        cursor: pointer;
    }
}
@media (max-width: 479px){
    .realbanner{
        width: 70px;
        height: 60px;
        background: url('../images/banner-logo.png');
        background-size: 60px 60px;
        background-repeat: no-repeat;
        left: 0;
        cursor: pointer;
    }
}

.userProfileModal{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 35, 0.6);
    z-index: 101;
    transition: 0.5s;
}

.userProfileBox {
    position: absolute;
    margin: auto;
    left: 0; 
    right: 0;
    top: 15%;
    background-color: rgb(46, 46, 61);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 5px;
    width: 94%;
    max-width: 500px;
    max-height: 70%;
    overflow: auto;
}

.userProfileName{
    color: white;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #121212;
}

.userJoinDate{
    color: #bbd;
    margin-bottom: 12px;
    font-size: 12px;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #121212;
}

.userProfileImage{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
}

.userProfileImage img{
    height: 80px;
    width: 80px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 
                0 6px 20px 0 rgba(0, 0, 0, 0.3);
}

.progress-bar {
    position: relative;
    width: 80%;
    margin-left: 10%;
    height: 22px;
    background-color: #223;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
  }
  
  .progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #209cee;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: width 0.5s ease-in-out;
  }
  
  .xpText{
    color: white;
    text-shadow: 1px 1px 1px #121212;
    font-family: 'Anybody', cursive;
    z-index: 1;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .levelText{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #223;
    border-radius: 36px;
    height: 32px;
    width: 32px;
    top: -5px;
    color: white;
    font-size: 16px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
  }

  #currentUserLevel {
    left: -12px;
    background-color: #209cee;
  }
  
  #nextUserLevel {
    right: -12px;
  }


.userStatsContainer {
    display: flex;
    gap: 10px; /* Adjust the gap as needed */
    margin: 20px;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.userStat {
    flex: 1 1 160px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(65, 65, 95);
    text-align: center;
    font-family: 'Anybody', cursive;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 8px;
}

#userStatsCoinsIcon{
    color: rgb(255, 204, 0);
}

#userStatsTicketsIcon{
    color: #50C878;
}

.userValue {
    font-size: 20px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px #121212;
    color: white;
}

.userLabel {
    font-size: 12px;
    letter-spacing: 1px;
    color: #bbd;
}
#closeProfileModal {
    color: rgb(156, 156, 168);
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 36px;
    transition: 0.25s;
}
  
#closeProfileModal:hover, #closeProfileModal:focus {
    color: rgb(255, 250, 175);
    text-decoration: none;
    cursor: pointer;
}


.loginSteam{
    margin-top: 14px;
    margin-right: 15px;
}

.loginModal{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 35, 0.6);
    z-index: 101;
    transition: 0.5s;
}

.loginBox {
    position: absolute;
    margin: auto;
    left: 0; 
    right: 0;
    top: 15%;
    background-color: rgb(46, 46, 61);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 5px;
    width: 94%;
    max-width: 500px;
    max-height: 70%;
    overflow: auto;
}

.loginBoxText{
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 10px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: 'Trebuchet MS';
}

.loginBoxText h3{
    font-size: 18px;
    color: white;
    margin-bottom: 16px;
}

.loginBoxText p{
    padding: 4px 6%;
    text-align: left;
    color: rgb(156, 156, 168);
}

.loginBoxText hr{
    border: none;
    border-image: 
        linear-gradient(to right, 
        rgba(110, 110, 145, 0), 
        rgba(110, 110, 145, 0.2),
        rgb(110, 110, 145),
        rgba(110, 110, 145, 0.2),
        rgba(110, 110, 145, 0)) 1;
    border-width: 1px;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

#closeLoginModal {
    color: rgb(156, 156, 168);
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 36px;
    transition: 0.25s;
}
  
#closeLoginModal:hover, #closeLoginModal:focus {
    color: rgb(255, 250, 175);
    text-decoration: none;
    cursor: pointer;
}