body {
   
}

/* .navbar{
    background-color: white;
    font-color
} */

.upper{
     width: 100%;
    height: 70dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Roboto", sans-serif;
}

.hide-container{
    display: flex;
    justify-content: space-between;
}

.container {
    min-height: 65dvh;
    max-height: 65dvh;
    min-width: 35vw;
    max-width: 35vw;
    border: 1px black solid;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1dvh 10vw;
    padding-bottom: 20px;
}

.card {
    /* display: flex; */
    /* padding: 0dvh 10vw; */
    /* min-height: 30dvh; */
    /* width: 100%; */
    height: 100%;
    width: 100%;
}

.kanji {
    /* min-height: 35dvh;
    max-height: 35dvh;
    min-width: 40vw;
    max-width: 40vw; */
    width: 100%;
    max-height: 50dvh;
    min-height: 50dvh;
    border: 1px black solid;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    padding: 0dvh 5vw;
    font-size: 2rem;


}

/* #question{
     max-height: 50dvh;
    min-height: 50dvh;
} */

#forma{
    display: flex;
    justify-content: space-between;
}

.bottom-input {
    width: 100%;
    height: 100%;
    margin-top: 2.5dvh;
    margin-bottom: 1.5dvh;
    /* display: flex; */
    /* justify-content: space-between; */
    /* padding-bottom: 2dvh; */
}

.input-text {
    min-height: 5dvh;
    max-width: 20vw;
    min-width: none;
    font-size: 3dvh;
}

.input-button {

    border: 1px black solid;
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    min-width: 10vw;
    max-width: 10vw;
    min-height:6dvh;
}

.input-button:hover {
    background-color: #41bae0;
    color: white;
}

.btn-wrapper{
     width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    
}

.card-point {
    width: 100%;
}

.card-content {

    display: flex;
    /* flex-direction: column; */
    /* justify-content: space-between; */
    /* align-items: center; */
    width: 100%;

}

.poin {
    display: flex;
    justify-content: end;
}

.poin-text {
    font-size: clamp(1rem, 1.25rem, 4rem);
    margin: 2px 5px;
}

.top-content {
    max-height: 15dvh;
    display: flex;
    justify-content: start;
    gap: 2dvh;
}

.invisible{

    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.answer-kanji {
    display: flex;
    flex-direction: column;
    /* justify-content: center;
    align-items: center; */
    margin: 0px;

    font-size: clamp(1.5dvh, 3dvh, 5dvh);
}

.answer-left {
    margin: 0%;
}

.meaning {
    font-size: clamp(1rem, 2rem, 3rem);

}


.un-kun {
    display: flex;
    flex-direction: column;
    /* font-size:1vw ; */

    font-size: clamp(2dvh, 5dvh, 7dvh);
    /* font-size: 1000px; */
}

.answer-top-text {
    margin: 2px 0px;

}

.answer-top-text_1 {
    margin: 0px;
    font-size:2rem;


}

.answer-example {
    font-size: 3dvh;
    /* border: 1px black solid; */


}



.bottom-content {
    flex-grow: 1;
    max-height: 50%;
    overflow-y: auto;
}

.answer-content {
    border: 1px red solid;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    padding: 0px 15px;
    max-height: 50dvh;
    min-height: 50dvh;
    /* height: 85%; */
}

th,
td {
    border-bottom: 1px solid #000;
}

.off {
    display: none;
}

.meaning{
    max-height: 4dvh;
    font-size:2rem ;
    margin:0px;
    padding:0px;
}
.center-content.h1{
}

.transl{
    overflow-y: auto;
}



@media (max-width: 500px) {
    body {
        height: 100dvh;
        height: 100ddvh;
        /* height: 60dvh; */
        /* width: 100dvh; */
        overflow-y: auto;
    }

    .container {
        max-width: 70vw;
        min-width: 70vw;
        max-height: 55dvh;
        min-height: 55dvh;
        /* display: flex;
        flex-direction: column;
        justify-content: space-between; */
    }

    .card {
        min-height: 40dvh;
        max-height: 40dvh;
        padding-top: 0cm;
        /* overflow-y: auto; */
    }

    .poin {
  position: sticky;
  top: 0;
  right: 0;
  /* z-index: 9999; ensures it stays above other content */

    }


    .input-text {
        max-width: 60%;
    }

    .un-kun {
        font-size: clamp(1dvh, 2dvh, 4dvh);
    }

    .translation{
       font-size: clamp(12px, 2.2rem, 22px);
  line-height: 1   
 }

    .answer-example {
        /* display: flex; */
        /* flex-grow: 1; */
        overflow-y: auto;
        font-size: 1.5dvh;
    }

    .bottom-content {
        flex-grow: 1;
        height: 20dvh;

        overflow-y: auto;
        /* max-height: 40%; */
    }

    .bottom-input {
        margin-bottom: 12px;

    }

    .kanji {
        max-height: 30dvh;
        min-height: 30dvh;
    }

    .poin-text {
        font-size: 4vw;
    }

    .answer-content {
        max-height: 40dvh;
        min-height: 40dvh;
    }

    .bottom-input {
        margin-bottom: 10px;
    }

    /* #question{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    } */
     .answer-top-text_1{
        font-size: 1.75rem;
     }
.answer-left{
    font-size: 2rem;
}
     .translation{
        font-size: 1.75rem;
     }
}

@media (max-width:1080px) {
    .container {
        /* min-height: 60dvh; */
        /* max-height: 60dvh; */
    }
    .level{
        display: flex;
        flex-direction: column;
    }

    .poin-text {
        font-size: 1rem;
    }

    .un-kun {
        font-size: 1.25rem;
    }
    .kanji{
        font-size: 3dvh;
    }
    
}

.can-hide{
    display: flex;
    flex-direction: column;
}
.level{
    max-width: 60vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.level-row{
    display: flex;
    list-style: none;   
}
.level-row li input{
    background-color: transparent;   
    width: 30px; 
    height: 30px; 

}
.level-row li input:hover{
    background-color:cyan;
}


.navbar {
  background-color: white;
  border-bottom: 1px solid black;
  padding: 10px 0;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 4vw;
}

.navbar ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

.active{
    background-color:#41bae0  !important ;
}