/* Base styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #eaeaea;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-size: 16px;
}

.container {
    text-align: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
}

/* Enhance the select elements with consistent styling */
select {
    padding: 8px 16px;
    margin: 0 10px;
    border-radius: 8px;
    background-color: #f0f0f0;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 16px;
}

.team-select {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.scoreboard {
    font-size: 72px;
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px;
    background-color: #333;
    color: #fff;
    border-radius: 12px;
}

.timer-display {
    font-size: 96px; /* Øk font-størrelsen for større synlighet */
    padding: 50px; /* Øk padding for mer plass rundt teksten */
    margin: 30px 0; /* Større vertikal margin for å skille den fra andre elementer */
    background: #ffd700; /* Endre bakgrunnsfargen til en lys, iøynefallende farge */
    border: 5px solid #444; /* Tykkere grense for mer definisjon */
    color: #333; /* Endre tekstfargen for bedre kontrast mot den lysere bakgrunnen */
    box-shadow: 0 10px 20px rgba(0,0,0,0.25); /* Legg til skygge for 3D-effekt */
    border-radius: 15px; /* Mykere kanter for et moderne utseende */
}


.timer-controls {
    display: flex;
    justify-content: center;
    gap: 20px; /* Ensure buttons are spaced evenly */
}

.round-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.round-button:hover {
    background-color: #367c39;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* 3D Effect for Buttons */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    margin: 5px;
    cursor: pointer;
    background: #f0f0f0;
    box-shadow: 0 5px #666;
    transition: all 0.3s ease;
}

button:active {
    box-shadow: 0 2px #666;
    transform: translateY(4px);
}

/* Score buttons specifically */
#homeGoalButton, #awayGoalButton {
    width: 150px; /* Fixed width for consistency */
    height: 50px; /* Fixed height */
    color: white; /* White text */
    font-size: 20px; /* Larger font for visibility */
}

/* Example team colors, dynamically updated via JavaScript */
.team-blue { background-color: blue; box-shadow: 0 5px darkblue; }
.team-white { background-color: white; color: black; box-shadow: 0 5px gray; }
.team-yellow { background-color: yellow; box-shadow: 0 5px darkgoldenrod; }
.team-orange { background-color: orange; box-shadow: 0 5px darkorange; }
.team-green { background-color: green; box-shadow: 0 5px darkgreen; }
