html {
    height: 100%;
}

body {
    height: 100%;
    background-image: linear-gradient(to bottom right, #c6ffdd, #fbd786, #f7797d);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

.headerBox {
    text-align: center;
    margin-top: 1rem;
    margin-left: 4rem;
    margin-right: 4rem;
    margin-bottom: 2rem;
    background-color: #1F262A;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 7px;
    box-shadow: 0px 0px 8px 3px #A291FB;
}

.gameGridBox {
    align-self: left;
    padding-bottom: 0rem;
    padding-right: 1rem;
    padding-left: 1rem;

    margin-top: 0rem;
    margin-bottom: 1rem !important;
    background-color: #1F262A;
    border-radius: 7px;
    box-shadow: 0px 0px 8px 3px #A291FB;
}

.inner-grid-container {
    padding: 1rem !important;
}

.boggleBox {
    padding: 0 !important;
    width: 25%;
    padding-bottom: 25% !important;
    position: relative;
    box-sizing: border-box;
    margin: 0 !important;

}

.boggleBox .button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.boggleBox button {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    margin: 0 !important;
    min-width: 0 !important;
    font-size: 200% !important;
    padding: 0 !important;
    text-align: center;
}

.gifBox {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
    background-color: #1F262A;
    border-radius: 7px;
    box-shadow: 0px 0px 8px 3px #A291FB;
    height: 100%;
}

.scoreSubBox {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    margin-top: 0rem;
    background-color: #1F262A;
    border-radius: 7px;
    box-shadow: 0px 0px 8px 3px #A291FB;
    margin-bottom: 1rem;
    display: flex !important;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
}


.scoreSubBox h1 {
    margin: 1rem !important;
    text-align: center !important;
}

.gifCardStorageBox {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0rem;
    background-image: linear-gradient(to bottom, #A291FB, violet);
    border-radius: 0px 0px 7px 7px;
    min-height: 200px;
}

.searchBar {
    font-size: 2rem;
    background: none;
    border-bottom: 2px solid #ffe21f;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 82%;
    color: #fbd786;
}

.customIcon {
    background: none;
    border: none;
    color: #ffe21f;
    font-size: 3rem;
    width: 10%;
    height: 10%;
    justify-self: center;

}

.outermost {
    margin-top: 1rem;
    margin-left: 4rem;
    margin-right: 5rem;
    margin-bottom: 1rem;
}



.rules-container {
    background-color: #1F262A;
    margin-top: 0rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    margin-left: 0rem;
    margin-bottom: 0rem;
    border-radius: 7px;
    box-shadow: 0px 0px 8px 3px #A291FB;
}

.rules-list {
    font-size: 2rem !important;
}

.button-box {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.startBtn {
    width: 300px;
    justify-self: center;
}

.after-game {
    color: white;
}

.after-game header {
    font-size: 3rem;
}

.after-game>.content {
    background: #1F262A !important;
}

.after-game>.content>p {
    font-size: 2rem;
}

.unguessed-words {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.unguessed-words p {
    width: 33%;
    margin: 5px 0 5px, 0px;
    padding: 0;
    line-height: normal;
}

.btn-container {
    display: flex;
    justify-content: center;
}

.play-again-btn {
    margin-top: 15px !important;
    width: 33%;
}

.hidden {
    display: none !important;
}

.button-content {
    font-size: 3rem !important;
    text-align: left !important;
}

.gifCard {
    background-color: #1F262A !important;
    box-shadow: 0px 0px 8px 3px white !important;
    border-radius: 7px 7px 5px 5px !important;
}

.gifCard .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gifCard .header {
    color: #54c8ff !important;
    text-align: center;
}

.spacer {
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}

ul {
    list-style: none;
}

/* Taken from https://www.w3schools.com/howto/howto_css_bullet_color.asp */
ul li::before {
    content: "\2022";
    /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #ffe21f !important;
    /* Change the color */
    font-weight: bold;
    /* If you want it to be bold */
    display: inline-block;
    /* Needed to add space between the bullet and the text */
    width: 1em;
    /* Also needed for space (tweak if needed) */
    margin-left: -1em;
    /* Also needed for space (tweak if needed) */
}

@media only screen and (max-width: 768px) {
    body {
        padding-bottom: 1rem !important;
    }

    .outermost {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .headerBox {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .scoreSubBox h1 {
        font-size: 140% !important;
    }


    .customIcon {
        font-size: 200%;
    }
}