* {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}




.container {
    width: 100vw;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
}


.main {
    background-color: #242424;
    width: 80%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}


.serververificationwaiting {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #161616;
}

.logo {
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2rem;
    margin-left: 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.logo span {
    color: skyblue;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

a {
    text-decoration: none;
}

.header-right {
    margin-left: auto;
    display: flex;
    flex-direction: row;
}

.button-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: auto;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    background-color: transparent;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
}

.advwrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

.adv {
    width: 178px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    border: 1px solid #42555f;
    border-radius: 3px;
    flex-direction: column;
}

.serverlist {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(400px, 400px));
    gap: 10px;
    opacity: 0;
    animation: starteranim 1s forwards;
}

@keyframes starteranim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

    ;
}

.votediv {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: starteranim 1s forwards;
}


.votecard {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.votecard h2 {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.votecard input {
    width: 90px;
    height: 40px;
    border-radius: 3px;
    border: 0;
    background-color: #007aff;
    color: white;
    cursor: pointer;
}


.marketplacediv {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: starteranim 1s forwards;
}

.marketcard {
    border: 1px solid #42555f;
    width: 320px;
    height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.marketcard-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    background-color: #42555f;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    text-shadow: 2px 2px black;
    font-weight: bold;
}

.marketcard-middle {
    width: 100%;
    height: 370px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.marketcard-middle-properties {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.marketcard-middle-properties img {
    width: 20px;
    height: 20px;
}

.marketcard-middle-properties span {
    color: lightgray;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8rem;
    margin-left: .2rem;
}

.marketcard-bottom {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: center;
    background-color: #42555f;
    height: 50px;
}

.marketcard-middle-properties-info
{
    color: white;
    font-size: 1.3rem;
    text-shadow: 2px 2px black;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.addserverdiv {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: starteranim 1s forwards;
}




.addservercard {
    background-color: transparent;
    min-height: 300px;
    border: 1px solid rgba(211, 211, 211, 0.1);
}

.addservercard-forms {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.addservercard-forms-left {
    display: flex;
    flex-direction: column;
}


.addservercard-forms-right {
    display: flex;
    flex-direction: column;
}

.addserverdiv input {
    width: 300px;
    height: 30px;
    margin-left: 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(211, 211, 211, 0.1);
    border-radius: 3px;
}

.addserverdiv select {
    width: 300px;
    height: 30px;
    margin-left: 1rem;
    color: white;
    border: 1px solid rgba(211, 211, 211, 0.1);
    border-radius: 3px;
    background-color: transparent;
}

.addserverdiv select option {
    background-color: #161616;
}


.addserverdiv input:focus {
    outline: 0;
}



.addserverdiv textarea {
    max-width: 300px;
    height: 100px;
    margin-left: 1rem;
    background-color: transparent;
    border: 1px solid rgba(211, 211, 211, 0.1);
    color: white;
    border-radius: 3px;
}

.addserverdiv textarea:focus {
    outline: 0;
}


.addserverdiv label {
    margin-left: 1rem;
    color: lightgray;
    font-family: Arial, Helvetica, sans-serif;
}

.tdheader {
    background-color: #42555f !important;
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 40px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.mainmsg {
    background-color: #181818;
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 70px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
    opacity: 0;
    animation: starteranim 1s forwards;
}

td {
    max-width: 400px;
    background-color: lightgray;
    height: 23px;
}



.container-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 55px;
}

.container-1 img {
    width: 24px;
    height: 24px;
}

.container-1:hover {
    background-color: rgba(128, 128, 128, 0.1);
}


.row {
    font-size: .8rem;
    color: lightgray;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: .2rem;
}

.servername {
    color: white;
    text-shadow: 1px 1px black;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.interlude {
    background-color: orangered;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}


.expiredat {
    background-color: rgba(135, 207, 235, 0.5);
    border-radius: 3px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}

.livein {
    background-color: red;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .7rem;
    margin-left: .3rem;
}

.highfave {
    background-color: purple;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}

.serverrate {
    background-color: #337ab7;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}

.l2off {
    background-color: red;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}

.l2j {
    background-color: #fd1b7a;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
}


.footer {
    margin-top: auto;
    width: 100%;
    height: 90px;
    background-color: #161616;
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.card-container {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.card {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer span {
    margin-left: 1rem;
    color: white;
    text-shadow: 1px 1px black;
}

.footer a {
    color: orangered;
    text-decoration: none;
}

.main-middle {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: row;
}

.middle-left {
    width: 200px;
    height: 500px;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #42555f;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
    flex-direction: column;
}

.middle-right {
    width: 200px;
    height: 500px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #42555f;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
    flex-direction: column;
}


.mobilebutton {
    display: none;
    margin-left: auto;
    margin-right: 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.mobilebutton img {
    width: 32px;
}


#mobilemenu {
    right: 0;
    display: none;
    position: fixed;
    background-color: #101010;
    min-height: 100vh;
    flex-direction: column;
    color: white;
    align-items: flex-end;
    overflow: hidden;
    z-index: 10;
    align-items: center;
}

@keyframes mobilemenu {
    from {
        width: 0;
    }

    to {
        width: 200px;
    }
}

#actived {
    background-color: #262626;
}

.serverlist-box {
    border-radius: 5px;
    width: 650px;
    min-height: 130px;
    border: 1px solid #42555f86;
    background-color: #1616167a;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 0.3s ease;
}

.serverlist-box:hover {
    transform: scale(1.05);
}

.serverlist-card {
    background-color: rgba(27, 27, 27, 0.377);
    width: 750px;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 200px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.serverlist-card h1 {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.4rem;
    width: 100%;
    background-color: #42555f;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.informationsdiv {
    width: 100%;
    display: flex;
    /* grid yerine flex ile daha esnek kontrol */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Eğer yer yetmezse alt satıra geçmeyi sağlar */
    gap: 10px;
    opacity: 0;
    animation: starteranim 1s forwards;
}

.informationscard {
    width: 100%;
    max-width: 1000px;
    /* Büyük ekranlarda 1000px'e kadar büyüsün */
    min-height: 500px;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.informationscard b {
    color: skyblue;
}

.voteinfo {
    display: flex;
    margin-left: auto;
    margin-right: 1rem;
    background-color: #42555f;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    width: 85px;
    border-radius: 5px;
    flex-wrap: wrap;
}

.voteinfo img {
    width: 19px;
}



.voteinfo span {
    font-size: .9rem;
    margin-left: .3rem;
}

.serverlist-box-left {
    width: 200px;
    margin-left: 1rem;
}

.serverlist-box-right {
    margin-left: 1rem;
    width: 100%;
}

.info {
    display: flex;
    flex-direction: row;
}

.rate {
    margin-right: .5rem;
    background-color: transparent;
    border-radius: 3px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 1px 1px black;
    padding: 2px;
    font-size: .8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.description {
    color: lightgray;
    overflow-y: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8rem;
}

.discord {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5865F2;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    width: 100px;
    height: 30px;
    gap: .2rem;
}

.discord img {
    width: 24px;
}


.top {
    background-color: black;
    height: 33px;
    display: flex;
    align-items: center;
}

.top span {
    color: white;
    font-size: .8rem;
    font-family: Arial, Helvetica, sans-serif;
}

.top-right {
    margin-left: auto;
}

.top img {
    margin-left: 1rem;
}

.top a {
    margin-right: 1rem;
    color: #9c8e7f;
    font-family: Rubik, sans-serif;
    font-weight: 400;
}

.top a:hover {
    color: #007aff;
}

.userdiv {
    margin-right: 1rem;
    color: lightgray;
    font-family: Arial, Helvetica, sans-serif;
    padding: 3px;
    display: flex;
    align-items: center;
}

.logoutdiv {
    margin-left: 1rem;
    padding: 3px;
    color: red;
    border: 1px solid rgba(255, 0, 0, 0.5);
}


table tr:nth-child(odd) td {
    background-color: #363636;
    /* siyah */
}

table tr:nth-child(even) td {
    background-color: #323232;
    /* beyaz */
}



@media only screen and (max-width:1500px) {
    .main {
        width: 90%;
    }
}

@media only screen and (max-width:1278px) {
    .middle-left {
        display: none;
    }

    .middle-right {
        display: none;
    }
}

body {
    background-color: lightgray;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width:1032px) {
    .main {
        width: 100%;
    }

    .header-right {
        display: none;
    }

    .mobilebutton {
        display: flex;
    }

    .userdiv a {
        display: none;
    }

    #mobilemenu a {
        margin-top: 1rem;
    }

}



@media only screen and (max-width:675px) {
    .serverlist-box {
        width: 99%;
    }

    .serverlist-card {
        width: 100%;
    }

    .voteinfo {
        display: none;
    }

}

a {
    color: white;
}




@media only screen and (max-width:410px) {
    td {
        width: 50% !important;
        display: inline-block;
        box-sizing: border-box;
        height: auto;
        overflow-y: hidden;
    }


    table {
        width: 100%;
        table-layout: fixed;
    }

    .serverlist {
        grid-template-columns: 1fr;
    }


    .tdheader {
        width: 100% !important;
    }

    .serverlist table {
        width: 100% !important;
        table-layout: fixed;
    }

    td,
    .tdheader {
        width: 100% !important;
        box-sizing: border-box;
    }
}

@media only screen and (max-width:377px) {
    .advwrap {
        display: none;
    }

}