*{
    margin: 0px;
    padding: 0px;
}

html, body{
    height: 100%;
    width: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.colorname {
    background-image: linear-gradient(to left, violet, indigo, green, blue, orange, red);
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        color: transparent;
}

#compname {
    position: absolute;
    padding: auto;
}

#main{
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 247, 217, 0.729);
}

#panel {
    margin-top: 20px;
    overflow: hidden;
    height: 75%;
    width: 85%;
    box-shadow: 1px 1px 7px gray;
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    /* border: 2px solid rgb(96, 146, 96); */
}

#ptop {
    align-items: center;
    justify-content: center;
    display: flex;
    height: 15%;
    width: 100%;
    background-color: rgb(96, 146, 96);
    /* box-shadow: 1px 1px 7px gray; */
}

#timing {
    letter-spacing: 1px;
    font-size: 35px;
    height: 50px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(221, 0, 0);
}

.board {
    color: white;
    letter-spacing: 0.5px;
    padding: 0px 5%;
    display: flex;
}

.binput {
    margin-left: 5px;
    font-weight: 800;
    padding: 4% 6%;
    color: green;
    font-size: 20px;
    /* font-family:Verdana, Geneva, Tahoma, sans-serif; */
    background-color: white;
    border-radius: 4px;
}

#pbottom {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 5px 0px 5px;
    height: calc(100% - 100px);
    width: 100%;
    overflow-y: scroll;
}

#bubble {
    height: 65px;
    width: 65px;
    font-size: 25px;
    color: white;
    background-color: rgb(132, 190, 132);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    /* margin: 15px 7px; */
}

#bubble:hover {
    background-color: rgb(109, 160, 109);
}

#menu {
    box-shadow: 1px 1px 7px gray;
    border-radius: 6px;
    width: 84%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    background-color: rgb(245, 245, 245);
}

#btn {
    padding: 0px 10px;
    font-weight: bolder;
    color: white;
    background-color: rgb(81, 158, 81);
    border: none;
    font-size: 23px;
    border-radius: 5px;
    cursor: pointer;
    height: 45px;
    width: 120px;
}

#t_b {
    width: 55%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainclass {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.469);
}

#mainintro, #mainsboard {
    height: 100%;
    width: 100%;
}

.midclass {
    overflow-x: hidden;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    padding: 25px;
}

#midintro {
    height: 80%;
    width: 80%;
}

#midsboard {
    overflow: hidden;
    height: 50%;
    width: 50%;
}

#name {
    padding-left: 15px;
    font-size: 19px;
    height: 40px;
    border-radius: 5px;
    letter-spacing: 1px;
    width: 45%;
    margin:4% 0px 0px 0px;
    border: 1px solid rgb(63, 153, 63);
}

#htp {
    color: green;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#error {
    margin-bottom: 4%;
    color: red;
}

li {
    margin-bottom: 10px;
}

#roles {
    color: rgb(0, 0, 0);
    font-size: 16px;
    margin-top: 5px;
    padding-top: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#ohkbtn {
    padding: 10px;
    height: 40px;
    font-weight: bolder;
    cursor: pointer;
    border-radius: 5px;
    width: 200px;
    margin: 40px 0px 10px 0px;
    font-size: 19px;
    letter-spacing: 0.5px;
    color: white;
    background-color: rgb(81, 158, 81);
    border: none;
}

.scorecard {
    margin-top: 12px;
    letter-spacing: 1px;
}

@media(max-width: 500px) {
    #panel {
        width: 95%;
    }

    #bubble {
        width: 57px;
        height: 57px;
    }

    #menu {
        flex-direction: column-reverse;
    }

    #t_b {
        gap: 10px;
        margin-bottom: 15px;
        width: 100%;
    }

    #name {
        width: 100%;
    }

    #midsboard {
        width: 70%;
        height: 40%;
    }
}
