.off {
    display: none !important;
}

.playerDetails {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.buttons {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    width: 100%;
}


.homePageImages {
    display: flex;
    align-content: center;
    vertical-align: baseline;
    font-size: 130px;
    align-items: center;
    justify-content: center;
}

.homePageH2 {
    color: #4f4747;
    margin: 0;
}

.bullsandcows {
    text-align: center;
    font-size: 75px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene_container {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
}

.homePageH2 {
    margin: 0;
}

.winningLabels {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}



.buttonOptions {
    /*display: flex;
    justify-content: end;
    align-items: baseline;*/
    display: flex;
    flex-direction: row;
    text-align: center;
    padding: 15px 70px;
}

.playerInput {
    margin: 15px 0;
    display: flex;
    justify-content: center;

}

.mainContainer {
    display: flex;
    flex-direction: column;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    background-color: #ebebde;
    align-items: center;
}

.errorLabel {
    text-align: center;
    font-size: small;
    color: darkred;
}

.inputPlayerName {
    height: 30px;
    border-width: 2px;
}

.inputPlayerNumber {
    height: 30px;
    border-width: 2px;

}

.howToPlay {
    width: 35px;
    height: 35px;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #777764;
    border: 2px solid;
    padding: 0.25em 0.5em;
    box-shadow: 2px 2px 0px 0.2px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    position: absolute;
    top: 7px;
    right: 11px;
}

.tick {
    width: 35px;
    height: 35px;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #777764;
    border: 2px solid;
    padding: 0.25em 0.5em;
    box-shadow: 2px 2px 0px 0.2px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}


.continue {
    width: 120px;
    display: flex;
    flex-direction: row;
    height: 35px;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #777764;
    border: 2px solid;
    padding: 0.25em 0.5em;
    box-shadow: 2px 2px 0px 0.2px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    align-items: center
}


.closeButton {
    width: 35px;
    height: 35px;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #777764;
    border: 2px solid;
    box-shadow: 2px 2px 0px 0.2px;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: 5px;
    right: 5px;
}

.detailsPlayer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.endGame {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ebebde;
    height: 100%;
    width: 100%;
}



.cowImgRotate {
    width: 22vh;
    height: 22vh;

}


.bullsImgRotate {
    width: 22vh;
    height: 22vh;

}


.close:hover,
.close:focus {
    color: #4f4747;
    text-decoration: none;
    cursor: pointer;
}

.continueButton {
    position: absolute;
    right: 50px;
    bottom: 0;
}

body {
    margin: 0;
    font-family: 'Special Elite', cursive, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 40px;
    right: 5px;
}


.gameContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.sketchy {
    overflow-wrap: anywhere;
    padding: 30px;
    display: inline-block;
    border: 3px solid #333333;
    font-size: 2.5rem;
    border-radius: 2% 6% 5% 4% / 1% 1% 2% 4%;
    background: #ffffff;
    position: relative;
    text-align: center;
}

.mainGameImagesContainer {
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center;
}

.howToPlayModal {
    position: fixed;
    display: none;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modalContent {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    height: 80%;
    width: 80%;
    overflow-y: scroll;
}

.historyNumbers {
    display: flex;
    flex-direction: column;
    width: fit-content;
    position: absolute;
    left: 10px;
    padding: 5px;
    background: white;
}

.buttonPlay {
    display: inline-block;
    padding: 14px 50px;
    font-size: 24px;
    text-align: center;
    outline: none;
    color: #fff;
    background-color: #777764;
    border: none;
    border-radius: 1px;
    box-shadow: 0 9px#636353;
    margin: 0px 15px;
}

.buttonPlay:hover {
    background-color: #70705e;
}

.buttonPlay:active {
    background-color: #70705e;
    box-shadow: 0 5px #3f3f34;
    transform: translateY(5px);
}

.numberButton {
    display: inline-block;
    padding: 7px 14px;
    font-size: 8;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #777764;
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px#4f4747;
    margin: 5px 5px;
}

.button:hover {
    background-color: #555555
}

.button:active {
    background-color: #555555;
    box-shadow: 0 5px #363636;
    transform: translateY(5px);
}

.buttonStrikeThrough {
    position: relative;
}

.buttonStrikeThrough:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 2.5px solid;
    border-color: white;

    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.historyNumbers {
    display: flex;
    flex-direction: column;
    width: fit-content;
    position: absolute;
    z-index: 2;
    border: 1px solid white;
    left: 10px;
    padding: 5px;
    background: white;
    top: 10px;
}

@media screen and (max-width:280px) {
    #player_details_scene_container.sketchy.buttons {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    #player_details_scene_container.sketchy {
        padding: 4rem 8rem;
        display: inline-block;
        border: 3px solid #333333;
        font-size: 3rem;
        border-radius: 2% 6% 5% 4% / 1% 1% 2% 4%;
        position: relative;

    }

    .howToPlay {
        width: 50px;
        height: 50px;
    }

    #player_details_scene_container.inputPlayerName {
        justify-content: center;
    }

    .playerInput {
        justify-content: center;
    }

}

@media screen and (max-width: 600px) {
    #home_scene_container .buttons {
        display: flex;
        flex-direction: column;
    }

    .mainGameImagesContainer {
        width: 100%;
        padding: 5px;
    }

    .mainGameImagesContainer label {
        font-size: 1.8rem;
    }

    .mainGameImagesContainer img {
        width: 75px !important;
        height: 75px !important;
    }

    .historyNumbers {
        max-height: 100px;
        overflow: scroll;
    }

    .homePageImages {
        font-size: 30px;
    }

    .homePageH2 {
        font-size: 5rem;
    }

    #home_scene_container .buttons .buttonPlay {
        margin-top: 20px;
    }
}

@media screen and (max-width: 900px) {
    #winning_page_scene_container .buttonOptions {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    #winning_page_scene_container .buttonPlay {
        margin: 10px 0;
    }

    .howToPlay {
        width: 50px;
        height: 50px;
    }

    .responsiveContainer {
        width: 90%;
    }

    .btn-group {
        bottom: 5px;
        right: 0;
        top: unset;
        left: 5px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        display: flex;
    }

    .sketchy {
        width: 100%;

    }
}