h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Jost', sans-serif;
}

#header {
    margin-top: 50px;
}

#login {
    max-width: 1500px;
    margin: auto auto auto auto;
    justify-items: center;
    align-items: center;
    display: grid;
    height: 70vh;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-template-rows: 25% 2% 73%;
}

#name {
    text-align: center;
    grid-column-start: 3;
}

#name input {
    width: 95%;
    height: 35px;
    font-size: 30px;
    margin-left: -1.5px;
    border: 3px solid #555;
}

button {
    height: 100%;
    width: 100%;
    border: 3px solid #555;
    background-color: white;
    font-size: 35px;
    grid-row-start: 3;
}

#host-wrapper {
    grid-column-start: 2;
    grid-row-start: 3;
    height: 100px;
    width: 100%;
}

#join-wrapper {
    grid-column-start: 4;
    grid-row-start: 3;
    height: 100px;
    width: 100%;
}

#startButton {
    width: 30%;
}

#playerList {
    height: 250px;
}

#waitForStart {
    max-width: 1500px;
    margin: auto auto;
    display: none;
}

#gameBoard {
    display: none;
    height: 100%;
}

#notepad {
    height: 100%;
    width: 60%;
    margin-left: 20%;
    border: black 5px solid;
}

#notepadContent {
    display: block;
    grid-template-rows: 30% 30% 40%;
    grid-template-columns: 30% 30% 30%;
    height: 100%;
    width: 100%;
    justify-items: center;
    align-items: center;
    text-align: center;
}

#notepadHeader {
    display: flex;
    justify-content: space-evenly;
    align-content: center;
}


/* The container */

.container {
    display: block;
    position: relative;
    margin-bottom: 35px;
    font-size: 22px;
    font-family: 'Gochi Hand', cursive;
}

#words {
    justify-items: center;
    align-items: center;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 3;
}

#execute {
    width: 200px;
    height: 70px;
    margin-bottom: 30px;
    border: 3px solid rgb(0, 189, 0);
    display: inline-flex;
    font-size: large;
    align-items: center;
    justify-content: space-evenly;
}

#confirm {
    display: none;
    width: 200px;
    height: 70px;
    margin-bottom: 30px;
    border: 3px solid rgb(189, 0, 0);
    font-size: large;
    align-items: center;
    justify-content: space-evenly;
}

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

    h1,
    h2,
    h3,
    h4,
    h5,
    p {
        font-family: 'Jost', sans-serif;
    }

    #header {
        margin-top: 50px;
    }

    #login {
        justify-items: center;
        align-items: center;
        display: grid;
        height: 70vh;
        grid-template-columns: 20% 20% 20% 20% 20%;
        grid-template-rows: 25% 2% 73%;
    }

    #name {
        text-align: center;
        grid-column-start: 2;
        grid-column-end: 5;
    }

    #name input {
        width: 95%;
        height: 35px;
        font-size: 30px;
        margin-left: -1.5px;
        border: 3px solid #555;
    }

    button {
        height: 100%;
        width: 100%;
        border: 3px solid #555;
        background-color: white;
        font-size: 25px;
        grid-row-start: 3;
        text-align: center;
    }

    #host-wrapper {
        grid-column-start: 1;
        grid-column-end: 3;
        height: 100px;
        width: 100%;
    }

    #join-wrapper {
        grid-column-start: 4;
        grid-column-end: 6;
        height: 100px;
        width: 100%;
    }

    #startButton {
        width: 30%;
    }

    #playerList {
        height: 250px;
    }

    #waitForStart {
        display: none;
    }

    #gameBoard {
        display: none;
        height: 100%;
    }

    #notepad {
        height: 100%;
        width: 80%;
        margin-left: 10%;
        border: black 5px solid;
    }

    #notepadContent {
        display: block;
        grid-template-rows: 30% 30% 40%;
        grid-template-columns: 30% 30% 30%;
        height: 100%;
        width: 100%;
        justify-items: center;
        align-items: center;
        text-align: center;
    }

    #notepadHeader {
        display: flex;
        justify-content: space-evenly;
        align-content: center;
    }

    /* The container */
    .container {
        display: block;
        position: relative;
        margin-bottom: 35px;
        font-size: 22px;
        font-family: 'Gochi Hand', cursive;
    }

    #words {
        justify-items: center;
        align-items: center;
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 3;
    }

    #execute {
        width: 200px;
        height: 70px;
        margin-bottom: 30px;
        border: 3px solid rgb(0, 189, 0);
        display: inline-flex;
        font-size: large;
        align-items: center;
        justify-content: space-evenly;
    }

    #confirm {
        display: none;
        width: 200px;
        height: 70px;
        margin-bottom: 30px;
        border: 3px solid rgb(189, 0, 0);
        font-size: large;
        align-items: center;
        justify-content: space-evenly;
    }

    .deadpoolDiv {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 20px;
    }

    .deadpoolMission {
        width: fit-content;
        border: 2px solid black;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 10px 10px 10px;
        margin: auto;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 80%;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 20px;
    cursor: pointer;
}

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