.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.centerdiv {
    margin: auto; 
    position: absolute;
    left: 50%;
    transform: translate(-50%)
}
.centerform {
    padding: 12px 20px;
    margin: auto;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -40%)
    
}
.centerbtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.centerhexbtn {
    position: absolute;
    margin: auto;
    left: 50%;
    top: 35%;
}
.centertxt {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
}
.centersquare {
    position: absolute;
    margin: auto;
}
.centerhex {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
}
@keyframes my-animation {
    from {
        color:rgb(0, 255, 0);
        width: 250%;
        height: 250%;
    }
    to {
        color: black;
        width: 100%;
        height: 100%;
    }
}
.run-animation {
    position: relative;
    animation: my-animation .25s;
}
.yesorno {
    font-family: Arial;
    color: black;
    font-size: 40px;
    animation-fill-mode: forwards
}
.thebtnclass {
    text-align: center;
    font-family: Arial;
    border-color: transparent;
    color: black;
    position: relative;
    border-radius: 20px;
    word-wrap: none;
    white-space: nowrap;
    transition: background-color .125s linear;
    transition: color .125s linear;
    background-color: rgb(0, 255, 0);
    width: 125px;
    height: 50px;
    font-size: 16px;
    text-align: left;
}
.thebtnclass:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}
.thehexbtnclass {
    text-align: center;
    margin: auto;
    font-family: Arial;
    border-color: transparent;
    position: relative;
    color: black;
    border-radius: 20px;
    word-wrap: none;
    white-space: nowrap;
    transition: background-color .125s linear;
    transition: color .125s linear;
    background-color: rgb(0, 255, 0);
    width: 125px;
    height: 50px;
    font-size: 16px;
}
.thehexbtnclass:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}
.square {
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-color: black;
    border-radius: 20px
}
.topnav {
    overflow: hidden;
    background-color: #333;
}
.topnav .active {
    background-color: #04AA6D;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
}
.topnav ._a {
    font-family: Consolas;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
}
.topnav ._a:hover {
    background-color: #ddd;
    color: black;
}
.topnav .active {
    font-family: Consolas;
    background-color: #04AA6D;
    color: white;
}
.home {
    padding: 7px 8px;
    float: left;
    padding: none;
    width: 35px;
    height: 35px;
    filter: invert(100%)
}
.home:hover {
    filter: invert(0%)
}
.homehref {
    float: left;
}
.homehref:hover{
    background-color: #ddd;
    color: black;
    cursor: pointer;
}
input[type=number] {
    font-family: Arial;
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}
input[type=submit] {
    text-align: center;
    font-family: Arial;
    border-color: transparent;
    color: black;
    position: relative;
    border-radius: 20px;
    word-wrap: none;
    white-space: nowrap;
    transition: background-color .125s linear;
    transition: color .125s linear;
    background-color: rgb(0, 255, 0);
    width: 125px;
    height: 50px;
    font-size: 16px;
    left: 50%;
    transform: translate(-50%);
}
input[type=submit]:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}
input[type=number]:focus {
    border: 3px solid #555;
}