:root {
    --scale: 5;
    --size: 200px;
    --scrollbar-width: 36px;
    --handle-background: url("https://www.svgrepo.com/show/263197/magnifying-glass-search.svg");
    background-color: #1E1E1E;
}

.lightMode{
    background-color: white;
    color: black;
}

.wrapper {
    max-width: 90vw;
    padding: 20px 0 3% 0;
    overflow-block: hidden;

}

#field {
    padding-left: 70px;
}

.handle {
    position: absolute;
    height: calc(var(--size) * 1.9);
    width: calc(var(--size) * 1.9);
    background: var(--handle-background);
    background-size: contain;
    filter: drop-shadow(-2px -2px 10px rgba(0, 0, 0, 0.5));
}

.magnifying-glass {
    position: absolute;
    padding: 0;
    margin: 0;
    height: var(--size);
    width: var(--size);
    border: solid 3px black;
    background: radial-gradient(#f5fcfc 45%, gray);
    overflow: hidden;
    border-radius: 50%;
}

.magnifying-glass::after {
    display: block;
    position: relative;
    content: "";
    top: calc(2 * var(--size) / 3);
    left: calc(2 * var(--size) / 3);
    height: 15px;
    width: 30px;
    background-color: white;
    border-radius: 50%;
    z-index: 10;
    transform: rotate(-45deg);
    opacity: 70%;
}

#magtext {
    font-size: 21px;
}

.body-clone {
    position: absolute;
    margin-left: 8vw;
    padding: inherit;
    height: 100vh;
    width: calc(100vw - var(--scrollbar-width));
    transform: scale(var(--scale));

}

#magnify {
    font-size: 2rem;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;

}

.magnify-button {
    display: flex;
    flex-direction: column;
}

.magnify-speech {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

#magnify:hover {
    color: white;
    background-color: #1E1E1E;
    box-shadow: none;
}

html {
    width: 100%;
    height: 100%;
}

.play-container {
    margin: 200px 100px;
    width: 80vw;
    height: 80vh;
}

.play-section {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-size: xxx-large;
}

.play-button {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    padding: 3% 5% 0.2%;
    font-size: xx-large;
    border-radius: 10px;
}

.play-button:hover {
    color: white;
}

.backAndContinueButtons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px
}

.homeButton a {
    text-decoration: none;

}

.homeButton:hover {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

.button-playrules:hover {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

#voorlees {
    align-content: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    padding: 2% 5% 3%;
    font-size: xx-large;
    border-radius: 10px;
}

#voorlees:hover {
    color: white;
    background-color: #1E1E1E;
    box-shadow: none;
}

#magnify {
    font-size: 2rem;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.voorleesButton {
    max-height: 47%;
    gap: 20px;
}


#magnify:hover {
    color: white;
    background-color: #1E1E1E;
    box-shadow: none;
}

.magnify-button {
    display: flex;
    justify-content: center;
    align-content: center;
    max-width: fit-content;
    max-height: fit-content;
    width: 100%;
    height: 100vh;
    align-items: center;
    font-size: xx-large;
    border-radius: 10px;
}

.magnifyGameExplain {
    max-width: 1000px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.magnify-button-whole {
    display: flex;
    justify-content: center;
    align-content: center;
}

.hidden {
    display: none;
}

img {
    width: 650px;
    height: 450px;
}

body {
    background-color: #1E1E1E;
    font-family: Helvetica, serif;
    color: white;
    font-size: 3rem;
    margin: 0;

}

.extraClass {
    background-color: #EAEAEA;
    color: black;
}

h1 {
    margin: 0;
    font-size: 7rem;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 100vh;
    margin: 0 30px;
}

.explImage {
    width: 100%;
    border-radius: 5px;

    height: 400px;
    object-fit: cover;
}

.center-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px
}

header p {
    text-align: center;
}

button {
    padding: 15px 30px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 48px;
    text-align: center;
    border-radius: 5px;
    border: 3px solid #0a2463;
    background-color: #0a2463;
    position: relative;
}

a {
    text-align: center;
    background-color: #0a2463;
}

.play-container {
    margin: 200px 100px;
    text-align: center;
}

.play-section {
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.play-button {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.button-playrules:hover {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

.hidden {
    display: none;
}

#text-field {
    text-align: center;
}

#body {
    padding: 40px 20px;
}

.magnify-speech {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.divBody {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    padding-right: 30%;
}

@media (max-width: 481px) {
    header div {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    header {
        height: unset;
    }

    header h1 {
        font-size: 3rem;
    }

    .explImage {
        max-width: 100%;
        max-height: 100%;
        object-fit: scale-down;
    }

    .magnify-speech {
        width: 100%;
        flex-direction: column;
    }

    .playrules-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: scale-down;
    }

    #field {
        padding: 0 10px 0 25px;
    }

    #magtext {
        display: flex;
        text-align: center;
    }

    .play-button {
        flex-direction: column;
    }

    .magnify-speech {
        flex-direction: column;
    }

    .playrules-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: scale-down;
    }

    #field {
        padding: 0 10px 0 25px;
    }

    #magtext {
        display: flex;
        text-align: center;
    }

    .play-button {
        flex-direction: column;
    }

    .homeButton {
        display: flex;
        align-items: center;
        justify-content: center;
    }


}