@import url('https://fonts.googleapis.com/css2?family=New+Amsterdam&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Unica+One&display=swap');

body {
    background-color: #1f305e;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.24' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    margin: auto;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 14px;

}

header {
    text-align: center;
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
    color: #FFFFFF;
    text-shadow: #ffffff 0px 0px 5px;
    margin-top: 20px;
    margin-bottom: 20px;

}

nav {
    background-color: #0a0f1f;
    overflow: hidden;
    box-shadow: #000000 0px 0px 5px;
    

}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;

}

nav li {
    float: left;

}

nav li a {
    display: block;
    text-align: center;
    padding: 14px 25px;
    position: relative;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease-in-out;
    animation-duration: 0.9s;
}

nav li a:hover {
    animation-name: pulse79;
    animation-iteration-count: infinite;
}

@keyframes pulse79 {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

h1 {
    letter-spacing: 1.5px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 25px;
    margin-left: 20px;
    text-shadow: #000000 0px 0px 2px;
}

h2 {
    text-align: center;
    font-size: 14px;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h3 {
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    caption-side: top;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
}

h4 {
    letter-spacing: 1.5px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 16px;
    margin-left: 20px;
    text-align: center;
    text-shadow: #000000 0px 0px 2px;
}

a {
    color:#000000;
}

a:hover {
    color: #444C38;
}

footer a {
    color: #FFFFFF;
}

section {
    background-color: rgba(255, 255, 255, 0.9);
    width: 60%;
    margin: auto;
    padding: 25px;
    text-align: justify;
    border-radius: 8px;
    box-shadow: #8ba7f3 0px 0px 2px;
}

footer {
    margin: auto;
    margin-top: 20px;
    height: 100px;
    text-align: center;
    padding: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 11px;
}

/* Luokat */ 
.luokat {
    overflow: auto;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: #000000 0px 0px 3px;
}

.luokat table {
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.luokat th {
    border: #000000 1px solid;
    background-color: #2e437e;
    color: #ffffff;
    padding: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
}

.luokat td {
    border: #000000 1px solid;
    color: #000000;
    padding: 4px;
    font-size: 14px;
    text-align: center;
}

/* Valiolistaus */
.valiot {
    overflow: auto;
    width: 100%;
    box-shadow: #000000 0px 0px 3px;
}

.valiot table {
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: center;
}

.valiot caption {
    caption-side: top;
}

.valiot th {
    border: #000000 1px solid;
    background-color: #2e437e;
    color: #ffffff;
    padding: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 20px;
}

.valiot td {
    border: #000000 1px solid;
    color: #000000;
    padding: 4px;
    font-size: 14px;
    max-width: 20px;
}

.laatikon {
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-shadow: #484c52 0px 0px 1px;
    text-align: justify;
    box-sizing: border-box;
}

.kilpailut {
      display: flex;
      gap: 10px;
      padding: 5px;
    }

.laatikko {
    background-color: rgb(255, 255, 255);
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-shadow: #484c52 0px 0px 1px;
    text-align: justify;
    box-sizing: border-box;
    font-size: 13px;
}