body {
    
    background-size: cover; 
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 192, 203); 
    padding: 10px; 
    position: relative;
    flex-direction: column;
}

 main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 150px;
 }
 nav {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;         
    gap: 20px;             
    justify-content: center;  
    align-items: center;     
}
nav ul li {
    display: inline-block;    
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    padding: 8px 12px; 
    border-radius: 5px;
    background-color: #f5f5dc; 
    transition: background-color 0.3s;
    font-family: 'Comic Sans MS', cursive, sans-serif; 
}

nav ul li a:hover {
    background-color: rgba(255, 192, 203);
}

    

h1 {
    margin: 0;
    font-size: 2em;
    font-family: 'Great Vibes', cursive;
    text-align: center;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 192, 203);
    text-align: center;
    padding: 5px 8px; /* pienempi */
    font-size: 0.9em;
}


.dropdown {
    position: relative;
}

.dropbtn {
    background: #f5f5dc !important;
    color: #333 !important;
    color: #333;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.dropbtn:hover {
    background-color: yellow;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: yellow;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 100;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 1em;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: rgb(238, 137, 228);
}


.dropdown:hover .dropdown-content {
    display: block;
}
.info-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5f5dc;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.info-btn:hover {
    background-color: yellow;
}

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

    margin-top: 40px;
    text-align: center;

    background: rgba(255, 255, 255, 0.8);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

#pisteLista {
    list-style: none;
    padding: 0;
    width: 320px;
}

#pisteLista li {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

#pisteLista li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#kokonaisPisteet {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

button {
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    cursor: pointer;
    font-size: 16px;
    /* font-weight: bold; */
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0056b3, #0099cc);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:active {
    transform: scale(0.97);
}