body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

#login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f5f5f5;
}

.container {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
}

#game-container {
    width: 90%;
    max-width: 800px;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.screen {
    width: 100%;
}

.hidden {
    display: none !important;
}

.score-display {
    text-align: right;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.person-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#person-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

/* Add media query for mobile devices */
@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;  /* Change to single column */
    }

    #person-image {
        width: 250px;    /* Make image slightly smaller on mobile */
        height: 250px;
    }

    .option-btn {
        padding: 0.8rem;  /* Slightly reduce padding */
    }
}

.option-btn {
    padding: 1rem;
    border: 2px solid #0077b5;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background-color: #0077b5;
    color: white;
}

.option-btn.correct {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.option-btn.incorrect {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

#result-screen {
    text-align: center;
}

.final-score {
    margin: 2rem 0;
}

.play-again-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background-color: #0077b5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-again-btn:hover {
    background-color: #005582;
}

.logo {
    margin-bottom: 2rem;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.linkedin-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.linkedin-btn:hover {
    transform: scale(1.05);
}

.linkedin-btn img {
    max-width: 215px;
    height: auto;
}

.score-history {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.score-history h3 {
    margin-bottom: 1rem;
    color: #666;
}

.histogram-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 250px;
    padding: 2rem 1rem;
    position: relative;
}

.vertical-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
    padding-right: 1rem;
    border-right: 2px solid #666;
    width: 30px;
    text-align: right;
}

.vertical-axis span {
    color: #666;
    font-size: 0.9rem;
    transform: translateY(50%);
}

.bars-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.histogram-bar-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    height: 30px;
}

.histogram-bar {
    height: 30px;
    background-color: #0077b5;
    transition: width 0.3s ease;
}

.histogram-bar:hover {
    background-color: #005582;
}

.histogram-count {
    color: #666;
    font-size: 0.9rem;
    min-width: 20px;
}

@media (max-width: 768px) {
    .histogram-container {
        height: 200px;
        padding: 1rem;
    }

    .histogram-bar-wrapper {
        height: 20px;
    }

    .histogram-bar {
        height: 20px;
    }
}

.missed-people {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.missed-people h3 {
    margin-bottom: 1rem;
    color: #666;
}

.missed-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.missed-person:last-child {
    border-bottom: none;
}

.missed-person img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.person-info {
    text-align: left;
}

.person-info h4 {
    margin: 0;
    color: #333;
}

.person-info p {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.9rem;
} 

.navbar {
    background-color: #283e4a;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}