/* Menu styles */

body {
    background-color: rgb(12, 12, 12);
    overflow: hidden;
}

.bold {
    font-weight: bold;
}

.hglt {
    color: #c47601;
}

.display {
    border: 0;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


video {
    position: absolute;
    z-index: -1;
}

.menu {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.menuTop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 320px;
}

.menuBanner {
    width: 1000px;
    height: 200px;
    position: relative;
    top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.menuBanner img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    user-select: none;
}

h1 {
    margin: 0;
}

.menuSubText {
    margin: 0px;
    position: relative;
    color: rgb(10, 10, 10);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgb(207, 203, 201);
    border-radius: 10px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
}

.menuContent {
    width: 100%;
    height: calc(100vh - 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menuButtons {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    width: 300px;
    justify-content: center;
    align-items: center;
}

.menuButtons button {
    width: 280px;
    height: 70px;
    margin: 10px;
    border-radius: 10px;
    border: none;
    background-color: rgb(190, 190, 190);
    color: white;
    font-size: 30px;
    cursor: pointer;
    color: black;
    font-family: WDXL Lubrifont SC, Arial, Helvetica, sans-serif;
    transition: background-color 0.3s ease;
}

.menuButtons button:nth-of-type(1) {
    background-color: #c47601;
    font-size: 40px;
    transition: 0.3s ease;
}

.menuButtons button:nth-of-type(1):hover {
    width: 300px;
    transition: 0.3s ease;
}


.menuButtons button:hover {
    background-color: #db8500;
}

/* game transition */

@keyframes gameTransition {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuTransitionOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes menuTransitionIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* overlayinfo styles */

/* how to play */
.overlayInfo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 60vh;
    transform: translate(-50%, -50%);
    display: flex;
    background-color: rgb(0, 0, 0);
    border: 2px solid white;
    display: flex;
    flex-direction: column;
}

.overlayInfo p {
    margin: 0;
    color: white;
    font-family: 'WDXL Lubrifont SC', Arial, Helvetica, sans-serif;
    font-size: 40px;
}

.escButton {
    height: 50px;
    width: 50px;
    background-color: #ffffff;
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    z-index: 1000;
    cursor: pointer;
}

.escButton:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "\d7";
    color: #000000;
    font-family: 'WDXL Lubrifont SC', Arial, Helvetica, sans-serif;
    font-size: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}

.howToPlayText,
.ControlsText {
    width: 100%;
    height: 50%;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 30px;
}

.howToPlayText p {
    margin: 0;
    color: white;
    font-family: 'WDXL Lubrifont SC', Arial, Helvetica, sans-serif;
    font-size: 40px;
}

.howToPlayText p:nth-of-type(1),
.ControlsText p:nth-of-type(1) {
    margin-bottom: 20px;
}

.howToPlayText p:nth-of-type(2),
.ControlsText p:nth-of-type(2) {
    margin-left: 20px;
    margin-right: 80px;
}

.menuFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 20px;
    color: white;
}

@media screen and (min-width: 1930px) {
    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 1450px) {
    .overlayInfo {
        width: 90%;
        height: 70vh;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .howToPlayText,
    .ControlsText {
        height: auto;
    }

    .howToPlayText p,
    .ControlsText p {
        font-size: 2.2rem;
        margin: auto;
    }

    .display {
        width: 100%;
        overflow-y: hidden !important;
        overflow-x: hidden !important;
    }

    video {
        position: fixed;
        right: 50;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
    }

    .menu {
        overflow-y: hidden;
        overflow-x: hidden;
        width: 100%;
    }
}

@media screen and (max-width: 750px) {

    .howToPlayText p,
    .ControlsText p {
        font-size: 2rem;
    }

    .menuBanner {
        width: 120%;
        height: auto;
    }

    .menuSubText {
        white-space: nowrap;
    }

    .menuSubText h1 {
        font-size: 100%;
    }

    .menuTop {
        height: auto;
        margin-top: 20px;
    }

    .menuContent {
        height: calc(100vh - 50px);
    }
}

@media screen and (max-width: 530px) {

    .howToPlayText p,
    .ControlsText p {
        font-size: 1.6rem;
    }

    .menuSubText {
        width: 70%;
        text-align: center;
    }

    .menuSubText h1 {
        font-size: 90%;
    }
}

@media screen and (max-width: 370px) {

    .howToPlayText p,
    .ControlsText p {
        font-size: 1.4rem;
    }
}