* {
    box-sizing: border-box;
}

body {
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.overlay {
    background: rgba(0, 0, 0, 0.55);
    min-height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    padding-bottom: 50px;
}

.menu {
    display: inline-flex;
    width: 100%;
}

.menu img {
    width: 25em;
    height: auto;
    padding-top: 2%;
    padding-left: 5%;
    transition: all .2s ease-in-out;
}

.menu img:hover {
    transform: scale(1.1);
}

.links {
    margin: 80px 150px;
}

.links a {
    font-family: 'Ubuntu', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 15px 40px;
    border: 2px solid white;
    margin: 0px 10px;
    background: rgba(0, 0, 2, 0.63);
    border-radius: 5px;
    transition: all .3s ease;
}

.links a:hover {
    color: rgba(207, 207, 207, 0.733);
    background: rgba(88, 186, 211, 0.3);
    border-color: rgb(88, 186, 211);
}

.head-text {
    padding-top: 30px;
}

.head-text h1 {
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    font-size: 70px;
    color: white;
    text-shadow: 3px 3px 15px black, 0 0 30px rgba(0,0,0,0.8);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.dark-text {
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    margin: 0px 25%;
    border-radius: 10px;
}

.dark-text h3 {
    color: white;
    font-family: 'Ubuntu', sans-serif;
    text-shadow: 2px 2px 8px black, 0 0 15px rgba(0,0,0,0.7);
    text-align: center;
    font-size: 28px;
    letter-spacing: 2px;
    margin: 0;
}

.colorchange {
    color: rgb(88, 186, 211);
}

.description {
    text-align: center;
    color: white;
    font-size: 18px;
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
    text-shadow: 2px 2px 6px black, 0 0 10px rgba(0,0,0,0.6);
    line-height: 1.6;
}

.server-ip {
    text-align: center;
    margin: 30px auto;
}

.server-ip h3 {
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 5px black;
    margin-bottom: 15px;
}

.ip-box {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid rgb(88, 186, 211);
    border-radius: 10px;
    padding: 15px 40px;
}

.ip-text {
    color: rgb(88, 186, 211);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}

.button {
    padding-top: 20px;
}

button {
    transition: all .3s ease-in-out;
    margin: 0 auto;
    display: block;
    padding: 15px 40px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: bold;
    background: rgb(88, 186, 211);
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: rgb(60, 140, 160);
    transform: scale(1.05);
}

.rules-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.rules-section h2 {
    color: white;
    text-align: center;
    font-size: 36px;
    text-shadow: 2px 2px 5px black;
    margin-bottom: 25px;
}

.rules-box {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(88, 186, 211, 0.5);
}

.rule {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule:last-child {
    border-bottom: none;
}

.rule-icon {
    font-size: 30px;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.rule-text {
    color: white;
    font-size: 18px;
    text-shadow: 1px 1px 3px black;
}

.votes-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.votes-section h2 {
    color: white;
    text-align: center;
    font-size: 36px;
    text-shadow: 2px 2px 5px black;
    margin-bottom: 10px;
}

.votes-description {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px black;
}

.votes-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.vote-link {
    text-decoration: none;
}

.vote-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(88, 186, 211, 0.5);
    border-radius: 15px;
    padding: 25px 40px;
    text-align: center;
    transition: all .3s ease;
    min-width: 200px;
}

.vote-card:hover {
    transform: scale(1.05);
    border-color: rgb(88, 186, 211);
    background: rgba(88, 186, 211, 0.2);
}

.vote-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.vote-site {
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px black;
}

.vote-timer {
    color: rgb(88, 186, 211);
    font-size: 14px;
    display: block;
}

.discord-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.discord-section h2 {
    color: white;
    font-size: 36px;
    text-shadow: 2px 2px 5px black;
    margin-bottom: 10px;
}

.discord-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px black;
}

.discord-button {
    display: inline-block;
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    transition: all .3s ease;
    border: 2px solid #5865F2;
}

.discord-button:hover {
    background: #4752C4;
    transform: scale(1.05);
    border-color: white;
}

.discord-icon {
    margin-right: 10px;
}

.cp {
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@media (max-width: 900px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .menu img {
        padding-left: 0;
        width: 200px;
    }
    
    .links {
        margin: 20px 0;
        text-align: center;
    }
    
    .links a {
        display: block;
        margin: 10px auto;
        width: fit-content;
        font-size: 18px;
        padding: 12px 30px;
    }
    
    .head-text h1 {
        font-size: 40px;
    }
    
    .dark-text {
        margin: 0 10%;
    }
    
    .dark-text h3 {
        font-size: 20px;
    }
    
    .votes-box {
        flex-direction: column;
        align-items: center;
    }
    
    .vote-card {
        min-width: 250px;
    }
    
    .ip-text {
        font-size: 22px;
    }
    
    .rules-section h2,
    .votes-section h2,
    .discord-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .menu img {
        width: 150px;
    }
    
    .links a {
        font-size: 16px;
        padding: 10px 20px;
        margin: 8px auto;
    }
    
    .head-text h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .dark-text {
        margin: 0 5%;
        padding: 15px;
    }
    
    .dark-text h3 {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .server-ip h3 {
        font-size: 20px;
    }
    
    .ip-box {
        padding: 12px 25px;
    }
    
    .ip-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .votes-section,
    .rules-section,
    .discord-section {
        padding: 0 15px;
    }
    
    .rules-section h2,
    .votes-section h2,
    .discord-section h2 {
        font-size: 24px;
    }
    
    .votes-description,
    .discord-description {
        font-size: 16px;
    }
    
    .vote-card {
        padding: 20px 30px;
        min-width: 200px;
    }
    
    .vote-site {
        font-size: 18px;
    }
    
    .rules-box {
        padding: 20px;
    }
    
    .rule {
        padding: 12px 0;
    }
    
    .rule-icon {
        font-size: 24px;
        margin-right: 15px;
        min-width: 30px;
    }
    
    .rule-text {
        font-size: 15px;
    }
    
    .discord-button {
        padding: 15px 30px;
        font-size: 18px;
    }
    
    .cp h5 {
        font-size: 12px;
    }
}
