
/* NEW STYLES */

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    color: white;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#1c3752, rgb(28, 45, 61), rgb(33, 44, 55));
    z-index: -1;
}

.page {
    width: 100%;
    max-width: 1200px;
    flex: 1;
}

.footer {
    position: static;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 50px;
}

.home-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    margin-right: 30px;
    text-align: center;
}

.selection-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.role-container {
    flex: 1.5 1.5;
    width: 280px;
    background: linear-gradient(145deg, #89f7fe, #66a6ff);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 40px 20px;
    cursor: pointer;
    color: #000;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.role-container.admin {
    background: linear-gradient(145deg, #a1c4fd, #c2e9fb);
    color: #000;
}

.role-container.voter {
    background: linear-gradient(145deg, #89f7fe, #66a6ff);
    color: #000;
}

.role-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.role-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.role-content p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
}

/* Responsive Design */

/* Tablets */
@media (max-width: 1000px) {
    .home-header h1 {
        font-size: 2rem;
    }

    .selection-container {
        gap: 30px;
    }

    .role-container {
        width: 250px;
        padding: 30px 15px;
    }

    .role-content h2 {
        font-size: 1.8rem;
    }
}

/* Mobile Devices */
@media (max-width: 700px) {
    body {
        padding: 20px 10px;
    }

    .home-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .home-header h1 {
        font-size: 1.8rem;
        margin-right: 0;
    }

    .selection-container {
        flex-direction: column;
        gap: 20px;
    }

    .role-container {
        width: 100%;
        padding: 20px 10px;
        min-height: 200px;
    }

    .role-content h2 {
        font-size: 1.5rem;
    }

    .role-content p {
        font-size: 1rem;
    }
}


