:root {
    --background-color: #f0f0f0;
    --text-color: #333;
    --text-button-color: #f0f0f0;
    --primary-color: #4CAF50;
    --primary-hover: #45a049;
    --secondary-color: #f44336;
    --secondary-hover: #e53935;
    --win-color: #4CAF50;
    --lose-color: #d02323;
    --notification-color: #d02323;
}

* {
    box-sizing: border-box;
    color: var(--text-color);
}


body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    text-align: center;
    margin: 0;
    padding: 0;
}

html {
    font-size: 20px;
}

h1 {
    margin-top: 50px;
}

.choices {
    margin: 20px 0;
}


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

.home-button {
    background-color: var(--primary-color);
    color: var(--text-button-color);
    font-size: 22px;
    padding: 15px 30px;
    margin: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; 
}

.home-button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}


button {
    background-color: var(--primary-color);
    color: var(--text-button-color);
    font-size: 18px;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--primary-hover);
}

.resetBtn {
    background-color: var(--secondary-color);            
}

.resetBtn:hover {
    background-color: var(--secondary-hover);
}

#resultsList {
    margin: 30px auto;
    max-width: 800px;
}

.versusResult {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.versusResult p {
    font-weight: 600;
    font-size: .9rem;
}

.result {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-top: 10px;
}

img.versus {
    height: 200px;
}

.win {
    color: var(--win-color);
}

.lose {
    color: var(--lose-color);
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--notification-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2;
    transition: opacity 0.5s ease;
    opacity: 0; 
    visibility: hidden; 
}

.notification.show {
    opacity: 1; 
    visibility: visible;
}

@media (max-width: 360px) {
    .versusResult {
        flex-direction: column;
    }
}
