body {
    display: flex;
    justify-content: center;
}
#answer {
    margin-right: 0;
    font-size: 1em;
    width: 20%;
    background-color: rgb(255, 223, 202);
    height: 10%;
    vertical-align: top;
    border: 10px solid #7E4916;
    border-radius: 0.6em / 1.2em;
    outline: none;
    z-index: 99;
    padding: 5px;
}
#ansbox {
    margin-left: 35%;
    width: 100%;
    z-index: 50;
    position: relative;
}

#buttonh {
    height: 50px;
    cursor: pointer;
    position: relative;
    bottom: 2%;
}
#buttonh:active{
    transform: translateY(4px);
    filter: grayscale(100%);
}

#dogname {
    font-size: 1.4em;
    width: 45%;
    height: 50px;
    z-index: 50;
    position: relative;
    bottom: 2%;
}

.pet {
    height:50%;
}
#firstpage {
    width:100%;
    height:85%;
    position:absolute;
}

#formx {
    position: absolute;
    top: 2%;
    left: 5%;
    width: 75%;
    height:90%;
}
#hello {
    position:absolute;
    width:100%;
    height:100%;
}

input::placeholder {
    font-size: min(1.7vw, 14px);
    color: orchid;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    /* -webkit-appearance: none;  */
    opacity: 1;
}

#mathform {
    margin-left: 20px;
    background-color: transparent;
    box-sizing: border-box;
    height: 80%;
    width: 90%;
    font-size: 2em;
    color:#FFF;
}
#mathform #firstN {
    background-color:rgba(7,69,10,0.5);
    padding:5px;
    padding-right: 0;
    border-radius:15px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#mathform h3 {
    background-color:rgba(7,69,10,0.5);
    padding:10px;
    border-radius:15px;
}
#message1 {
    width: 75% ;
}
#message_text {
    width: 80%;
    margin-left: 5%;
    color: black;
    padding: 2%;
    background: white;
    border: 6px solid black;
    border-radius: 20px;
}
#myanswer {
    cursor: pointer;
    width: 20%;
    margin-top: 0.35em;

}
#myanswer:active{
    transform: translateY(4px);
    filter: grayscale(100%);
}

#next{
    position: absolute;
    width: 100px ;
    bottom: 10% ;
    z-index:10;
    right: 10%;
}
#nullans {
    color: red;
    background-color: white;
    width: 50%;
    border-radius: 5px;
    padding: 5px;
}


#theAnswer {
    background-color: whitesmoke;
    position: absolute;
    top: 2%;
    left: 2%;
    width: 55%;
    margin-left: 20%;
    margin-top: 5%;
}
#wrapper {
    background-repeat: no-repeat;
    background-size:cover;
    overflow: visible;
}
#wrong {
    position: absolute;
    top: 2%;
    left: 15%;
    width: 55%;
    text-align: center;
    color: white;
}

#vid{
    margin-left: 2%;
}


#youwon{
    position: absolute;
    left: 30%;
    bottom: 25%;
    width: 60%;
}
#youwontext{
    position: absolute;
    left: 5%;
    width: 60%;
    bottom: 80%;
    background-color: white;
    font-size: 30px;
    font-weight: bold;
    color: black;
}
