.body {
    /*background-color: rgb(217, 217, 217);*/
    background-color: rgb(22, 22, 22);
    color: rgb(213, 213, 213);
    margin: 0px;
    overflow-x: hidden;
}
.bodyempty {
    background-color: rgb(22, 22, 22);
}

.header {
    background-color: rgb(73, 138, 171);
    margin: 0px;
    padding-top: 0px;
    height: 40px;
}

.nav {
    display: flex;
    justify-content: space-around;
    height: 100%;
    width: 100%;
    align-items: center;
}

.navLinks {
    color: white;
    text-decoration: none;
}

.navLinks:hover {
    color: white;
}

.themeBtm {
    border: 2px solid black;
    height: 40px;
    width: 40px;
    background-image: url(/documents/kuvat/nappi.png);
    background-color: black;
}

.headText {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.content {
    display: flex;
    flex-wrap: wrap; /* mahdollistaa rivinvaihdon */
    justify-content: center;
    gap: 20px;       /* valinnainen, lisää tilaa elementtien väliin */
    padding: 30px;
}

.contentBox {
    flex: 0 1 auto;
    border: 1px solid white;
    border-radius: 10px;
    background-color: rgb(117, 116, 116);
    height: 310px;
    width: 500px;
    padding: 30px;
}

.contentBoxInfo {
    height: 70%;
    width: 70%;
}

.upBox {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 40px;
}
.up {
    border: 2px solid black;
    border-radius: 10px;
    background-color: white;
    height: 100px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.past {
    border: 2px solid black;
    border-radius: 10px;
    background-color: white;
    height: 100px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pastBox {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}


.footer {
    background-color: rgb(39, 39, 39);
    height: 100px;
    width: 100%;
    margin-top: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.search {
    height: 100%;
    width: 200px;
    margin-left: 30%;
}

/*.logo {

}*/

.join {
    height: 30%;
    width: 70%;
    border: 1px solid rgb(36, 54, 63);
    background-color: rgb(73, 138, 171);
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.join:hover {
    background-color: rgb(101, 180, 220);
    cursor: pointer;
}

/*LOGIN CSS*/

.loginBox {
    margin-top: 30px;
    border: 1px solid white;
    background-color: rgb(117, 116, 116);
    border-radius: 15px;
    padding: 10px;
    height: 500px;
    width: 700px;
    display: flex;
    flex-wrap: wrap; /* mahdollistaa rivinvaihdon */
    justify-content: center;
    gap: 80px;       /* valinnainen, lisää tilaa elementtien väliin */
}

/*.input {

}*/

.inputarea {
    display: flex;
    margin-top: 30px;
    border: 1px solid rgb(222, 222, 222);
    background-color: rgb(117, 116, 116);
    border-radius: 15px;
    padding: 10px;
    height: 300px;
    width: 700px;
    flex-wrap: wrap;
    gap: 20px;
}
.inputarea-admin {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border: 1px solid rgb(222, 222, 222);
    background-color: rgb(117, 116, 116);
    border-radius: 15px;
    padding: 10px;
    height: 200px;
    width: 400px;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}
.inputarea-join {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border: 1px solid rgb(222, 222, 222);
    background-color: rgb(117, 116, 116);
    border-radius: 15px;
    padding: 10px;
    height: 400px;
    width: 400px;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}
.centerde {
    display: flex;
    columns: center;
    justify-content: center;
    width: 100%;
    max-width: 1920px;
}

#sendbutton {
    background-color: rgb(73, 138, 171);
    border: 1px solid rgb(36, 54, 63);
    width: 400px;
    height: 50px;
    border-radius: 15px;
    color: white;
    font-size: 20px;
}

.centre {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.centered {
    text-align: center;
}
.bigbody {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1800px;
  width: 100%;
  margin: 5pX;
}

.cube {
  max-width: 600px;
  background-color: #1a1a1a;
  color: #b70e0e;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(183, 14, 14, 0.2);
}

.cube.left {
  margin-left: 2rem;
  align-self: flex-start;
}
.cube.right {
  margin-right: 2rem;
  align-self: flex-end;
}
.border-colors {
    border-style: solid;
    border-width: 3px;
    border-color: grey;
}

.default {
    margin: 0;
    padding: 0;
}

/*Tekstit*/
h1, h2, h3 {
    color: white;
}
p {
    color: whitesmoke;
}
a {
    color: purple;
    text-decoration: none;
}
.txt {
    color: whitesmoke;
}
.page-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.abutton {
    border-radius: 20px;
    border: 2px solid black;
    background-color: white;
    padding: 5px;
}
.extra {
    margin-top:20px;
}
/* Vanhat turnaukset CSS */
.smallerBoxs {
    width: 150px;
}
.float-start {
    float: inline-start;
}
.float-end {
    float: inline-end;
}
#P0 {
    padding-top: 0px;
    margin-top: 0px;
}