html{
    font-size: 16px;
}

body {
    max-width: 95%;
    margin: 0 auto;
    background-color: #e2f0d9;
}
.main{
    position: relative;
    background-color: #fff;
    border: 2px solid #498fcf;
    width: 80%;
    /* height: 8rem; */
    margin: 1rem auto 0.5rem;
}

h1{
    font-size: 2rem;
    text-align: center;
    margin: 0.5rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

button{
    width: fit-content;
    height: auto;
    text-align: center;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    background-color: #498fcf;
    box-shadow: 3px 3px 2px 1px #396b9b;
    margin: 20px 0 20px 0;
    padding: 0 10px;
}
button:hover{
    cursor: pointer;
    background-color: #396b9b;
    box-shadow: none;
}

.button{
    margin: 0 auto;
    text-align: end;
}

p{
    font-size: 1.3rem;
    /* margin-top: -1px;
    margin-bottom: -1px; */
    padding: 0 1rem;
}

.ta-center{
    text-align: center;
}

.flex{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
table{
    text-align: center;
    width: 80%;
    height: 70%;
    margin: 0 auto;
    border-collapse: collapse;
}
th,td{
    border: 1.5px solid black;
}

.toi-h{
    /* text-align: center;
    width: 40vw;
    color: white; */
    background-color: orange;
    height: 50px;
}

.tekihou-h,.ihou-h{
    text-align: center;
    width: 30vw;
    height: 50px;
    color: white;
    font-size: 2rem;
}

.tekihou-h{
    background-color: skyblue;
}

.ihou-h{
    background-color: orangered;
}

.toi-d{
    /* text-align: center;
    width: 40vw;
    height: 500px; */
    background-color: navajowhite;
    height: 200px;
}

.tekihou-d, .ihou-d {
    height: 300px;
}
.tekihou-d{
    /* text-align: center;
    width: 30vw;
    height: 500px; */
    background-color: navajowhite;
}
.ihou-d{
    /* text-align: center;
    width: 30vw;
    height: 500px; */
    background-color: navajowhite;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.drag{
    position: relative;
    background-color: sandybrown;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    width: calc((100% - 120px) / 4);
    min-height: 100px;
    height: fit-content;
    margin: 5px;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.drop{
    color: red;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.back {
    display: none;
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
 
.content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    background: skyblue;
    padding: 6rem 3rem;
    width: 80%;
    /* height: 80%; */
    opacity: 1;
    z-index: 101;
    overflow: auto;
    flex-wrap: wrap;
}
.badcontent{
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translate(-50%,0);
    display: none;
    color: #fff;
    opacity: 1;
    z-index: 101;
}

.content>p{
    margin-bottom: 0;
}
.content>button{
    margin: 2rem auto 0;
}

.ans-mark,.bad-mark{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 30rem;
    display: none;
    opacity: 1;
    z-index: 101;
}
.ans-mark{
    color: red;
}
.bad-mark{
    color: blue;
}

.show{
    display: flex;
}
@media screen and (max-width:1280px){
    html {
        font-size: 8px;
    }
}