.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.index-box-1 {
    margin-top: 150px;
    background-color: aliceblue;
    border: solid antiquewhite 2px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: larger;
}

.blue {
    background-color: blue;
}

body {
    background-image: url('../img/Contour Line.svg');
    background-size: 100vw 100%;
    background-attachment: scroll;
}

.roulettes {
    background-color: rgba(0, 0, 255, 0.199);
}

.roulette-Header {
    text-align: center;
    font-size: 35px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: aliceblue;
    border-radius: 5px;
}

.roulette {
    border-radius: 8px;
    background-color: rgb(184, 192, 185);
    padding: 4px;
    margin-bottom: 80px;
    min-height: 30rem;
}

.gludiv {
    background-color: rgb(75, 111, 131);
}

.gluetcdiv {
    background-color: rgb(184, 192, 185);
}

.rocdiv {
    background-color: rgb(192, 184, 184);
}

.card {
    min-width: 20rem;
    max-width: 22rem;
    max-height: 40rem;
    flex: 0 0 auto;
    margin: 5px;
    text-align: center;
    margin-top: 2px;
    font-family: 'avante garde';
    border: 2px solid white;
    border-radius: 10px;
    background-color: lavender;
}

.card-body {
    overflow-y: auto;
    max-height: 25rem;
}

.card-button {
    border: none;
    background: none;
    color:black
}

.card-button:hover {
    color: 200, 200, 200, 1;
    background: rgba(0, 0, 0, 0.215);
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-card {
    min-width: 20rem;
    max-width: 40rem;
    max-height: 70rem;
    flex: 0 0 auto;
    margin: 5px;
    margin-top: 2px;
    font-family: 'avante garde';
    border: 2px solid white;
    background-color: lavender;
    border-radius: 10px;
    overflow: hidden;
}

.overlay-card-body {
    text-align: center;
    overflow-y: auto;
    max-height: 40rem;
    padding-left: 35px;
    padding-right: 35px;
}

.large-padding {
    padding: calc(25px + 10vw);
}

.coolcode {
    text-align: left;
    border: 2px solid black;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 40rem;
    scrollbar-color: rgb(33, 33, 33) transparent;
    scrollbar-width: thin;
}

pre {
    margin: 2px;
    margin-bottom: 0rem !important;
}

@media screen and (max-height: 640px) {
    .roulette {
        min-height: 28rem;
    }
    .card {
        max-height: 28rem;
    }
    .card-body {
        max-height: 12rem;
    }
    #overlay {
        top : 5%;
    }
    .overlay-card {
        max-height: 30rem;
    }
}