@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

*{
    text-align: center;
    font-family: "Fredoka", sans-serif;
}
html{
    background-color: #545E75;
    overflow: auto;
}
h1{
    font-size: 75px;
    color:#A7CCED;
}
#gamemodeSelect{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
button{
    font-size: 30px;
    font-weight: 500;
    width: 200px;
    height: 80px;
    background-color: #82A0BC;
    border-radius: 10px;
    border-style: solid;
    border-width: 4px;
    margin: 20px;
    transition-duration: 0.4s;
    color: black;
}
button:hover{
    background-color:#a7cced;
    cursor: pointer;
}
#showSlidersButton{
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 15px;
    width: auto;
    height: auto;
    padding: 10px;
    font-weight: normal;
    border-width: 2px;
}
#sliders div {
    margin-left: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
    gap: 5%;
}
#sliders label {
    width: 20%;
    text-align: left;
}
#sliders input {
    width: 50%;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #545E75;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s ease;
}
#sliders input:hover {
    background: #82A0BC;
}
#sliders input::-webkit-slider-thumb {
    appearance: none;
    cursor: pointer;
    background-color: #A7CCED;
    border: 2px solid #545E75;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: background 0.3s ease;
}
#sliders input::-webkit-slider-thumb:hover {
    background-color: #82A0BC;
}
#sliders .sliderLabels {
    margin-left: 22.5%;
    margin-bottom: 30px;
    font-size: 12px; 
    display: flex; 
    justify-content: space-between; 
    width: 55%;
    text-align: center; /* Center text inside each <p> */
}

#sliders .sliderLabels p {
    flex: 1; /* Make each <p> take up equal space */
    text-align: center; /* Center the text inside each <p> */
}
#resetSliders{
    font-size: 15px;
    width: auto;
    height: auto;
    padding: 10px;
    font-weight: normal;
    border-width: 2px;
}
.teamSelect{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
}
.teamScroll{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
a{
    color: black;
    text-decoration: none;
    font-weight: 500;
    font-size: 25px;
}
#information{
    position: absolute;
    text-align: center;
    right: 30px;
    top: 10px;
}
.popup{
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 1000px;
    background-color: lightblue;
    border: 4px solid black;
    border-radius: 10px;
    display: none;
    height: fit-content;
    max-height: 75vh;
    max-width: 100vw;
    overflow-y: auto;
}
::-webkit-scrollbar {
    width: 20px;
}
::-webkit-scrollbar-track {
    border: 2px solid, black;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #82A0BC;
    border-radius: 10px;
    border: 2px solid, black;
}
#x{
    position: absolute;
    right: 0px;
    top: 0px;
    width: fit-content;
    height: fit-content;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
iframe{
    width: 95%;
    height: 70vh;
    border: 6px solid black;
    border-radius: 10px;
}
@media only screen and (max-width: 800px) {
    p{
        font-size: 10px;
    }
    h1{
        font-size: 30px
    }
    button{
        font-size: 20px;
        width: 150px;
        height: 60px;
        border-width: 3px;
    }
}