@import url('./css2.css');
body{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 5vh;
    font-family: 'Courier New', Courier, monospace;
}
.border5{
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2vh;
  padding-left: 2vw;
  padding-right: 2vw;
  border-radius: 16px;
}

#main-body {
  background-color: rgb(165, 199, 213);
  height: 90vh;
  justify-content: center;
  overflow: hidden;
}
#main-body2{
  background-color: rgb(165, 199, 213);
  justify-content: center;
}
#main-container {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding-bottom: 15vh;
  border-radius: 16px;
  width: 50vw;
}
.big-title {
  font-family: 'Miltonian Tattoo', serif;
  font-size: 5em;
}
#info{
    align-items: flex-start !important;
    margin-bottom: 4vh;
    padding-left: 12px;
   
}
#input{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.border {
    border: 2px black solid;
    border-radius: 10px;
    padding: 5px;
    min-width: 50vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* max-height: 500px; */
    overflow-x: hidden;
}

.border1 {
    border: 2px black solid;
    border-radius: 10px;
    padding: 10px;
    min-width: 50vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.border2 {
  display: flex;
  border-radius: 10px;
  padding: 10px;
  min-width: 70vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1vh;
}

h2{
    margin: 1vh 1vw;
}
.remove-button{
    align-self: flex-;
}
#inputText{
    width: 95%;
    padding: 8px 4px;
    margin-bottom: 4vh;
}
.btn{
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 38px;
    margin-top: 1vh;
    margin-bottom: 1vh;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 300px;
   
}
#submitButton{
  background-color: rgb(106 106 237);
}
#submit_button{
  background-color: rgb(106 106 237);
}

#create {
  font-size: 20px;
  width: 500px;
  height: 50px;
  background-color: rgb(32, 177, 83);
}

#create:hover{
    background-color: rgb(26, 141, 66);
}
#submit{
  font-size: 20px;
  width: 500px;
  height: 50px;
  background-color: rgb(106 106 237);
}
.text{
  font-size: 25px;
  margin-right: 1vw;
}
#submit:hover {
    background-color: rgb(87 87 194);
}
#TitleInput{
 width: 25%;
 margin-left: 1vw;
}
.TitleBox{
  display: inline;
  text-align: center;
  width: 100%;
  margin-bottom: 3vh;
}
.CategoryBox{
  display: inline;
  justify-content: center;
  width: 100%;
}

.TitleName{
  max-width: 200px !important;
}
#newWord{
    font-size: 16px;
    font-weight: 700;
    padding: 12px 28px;
    margin-bottom: 2vh;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: rgb(189 189 194);
}
#newWord:hover{
    background-color: rgb(130, 130, 134);
}



.back{
    text-decoration: none;
    position: absolute;
    top: 1vh;
    left: 1vh;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 20px;
    margin-bottom: 2vh;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: rgb(106 106 237);
}
.back:hover{
    background-color: rgb(87 87 194);
}
.categoryinput{
    margin-bottom: 1vh;
    width: 50%;

    height: 4vh;
}
.textinput{
    width: 90%;
    height: 30vh;
}

.button{
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 12px;
    
    margin-bottom: 2vh;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: rgb(32, 177, 83);
}
.button:hover{
    background-color: rgb(26, 141, 66);
}
#container{
  background-color: white;
  border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: center;
    padding-top: 5vh;
    font-family: 'Courier New', Courier, monospace;
}
    

  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
    border-radius: 8px;
  }
  .modal-content-index {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
    border-radius: 8px;
  }
  
  /* Additional styles */
  .back-button-modal {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
  }
  .back-button-modal:hover {
    background-color: #3367d6;
  }
  .message-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .message {
    padding: 12px;
    background-color: #ff7f7f;
    color: white;
    border-radius: 8px;
    margin-top: 8px;
    display: none;
    transition: opacity 0.5s ease-in-out;
    max-width: 90%;
  }
  .time{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-direction:column;
    gap: 2px;
    width: 50%;
  }
  .score{
    width: 50%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-direction:column;
    gap: 2px;
  }

  .order{
    display: flex;
  }

  .list {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 90%;
    padding: 10px;
    margin: 1vh 2vw;
    overflow-y: scroll;
  }
  
  .head{
    text-align: left;
    padding: 8px;
  }
  th, td{
    overflow: hidden;
    padding: 4px;
  }

tr{
  border-bottom: 1px solid rgb(144, 144, 144);
}
#randombutton{
    background: #03e9f4;
    color: black;
}
#randombutton:hover{
    background: #03e9f4;
    color: #050801;
    box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4;
    transition: box-shadow 1s;
}
.title{

  height: 4vh;
}
.BoundPlay{
  display: flex;
  justify-content: end;
}
.play{
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 38px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background-color: rgb(106 106 237);
  margin-top: 1vh;
  margin-bottom: 1vh;

}
a{
  all:unset;
}
.or{
  font-size: 25px;
}