#add_button {
	width: min(800px, 100vw - 40px);
  height: 70px;
  color: rgb(0, 0, 0);
  font-size: 23px;
  border: none;
  border-radius: 5px;
  text-align: center;
  line-height: 50px;
  position: absolute;
  left: 50%;
  top: 152px;
  transform: translate(-50%, -50%);
}
.add_button_container {
  height:100px;
  width:100%;
  margin-bottom:40px;
}
.avoc {
user-select:none;
cursor:pointer;
display:flex;
justify-content: space-between;
margin:0px;
font-family:Poppins;
font-size:20;
overflow: hidden;
}
.vocname {
  display:flex;
  align-items: center;
  padding-left:10px;
  padding-right:10px;
  width:max-content;
  min-height:50px;
}
.vocinfo {
  display:flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}
.balls {
  display:flex;
  align-items: center;
}
h2 {
font-family:Poppins;
font-size:26;
}
.started {
  height:25px;
  width:10px;
  display:flex;
  align-items: center;
  margin-left:3px;
  margin-right:3px;
}
.owned {
  height:25px;
  width:10px;
  display:flex;
  align-items: center;
  margin-left:3px;
  margin-right:3px;
}
.ball-green {
  display:block;
  height:10px;
  width:10px;
  border-radius: 50%;
  background-color: green;
}
.ball-yellow {
  display: block;
  height:10px;
  width:10px;
  border-radius: 50%;
  background-color: yellow;
}
#vocs {
  margin:auto;
  height:400px;
  max-width:min(800px, 100vw - 40px);
  border:3px solid black; 
  border-radius: 5px; 
  overflow-y:auto;
  background-color: rgb(var(--body-color));
  filter: brightness(105%);
  margin-top:24px;

}
#bottombar {
  margin:auto;
  width:min(766px, 100vw - 60px);
  padding:min(10px, 10px + 1vw);
  padding-bottom: 0px;
  font-family: Poppins;
  background-color: rgba(var(--highlight1),1);
  border-radius:5px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
#search {
  height:30px;
  width:calc(100% - 100px);
  border-radius: 5px;
  border: none;
  margin-left: 5px;
  font-family: Poppins;
  cursor: pointer;
}
#search:focus {
  outline: 2px solid black;
}
.highlight {
  background-color: rgba(var(--highlight1),1);
  color: rgba(var(--base-highlight-darker),1);
}
#search_icon {
  display: inline-block;
  position:relative;
  top:5px;
  margin-left:10px;
  transition:transform 0.5s;
  filter: brightness(130%);
}
#search_icon:hover {
  top:5px;
  transform:rotateZ(360deg);
}
#buttons_container  {
  display:flex;
  width:210px;
  margin-bottom:10px;
}
.active {
  background-color: rgba(var(--base-highlight),1) !important;
}
#topBarContainer_buttons {
  display:flex;
  flex-wrap: wrap;
  margin:auto;
  justify-content: space-between;
  margin-top: 9px;
  filter: brightness(110%);

}
.button{
  background-color: rgba(var(--highlight1),1);
  border-radius: 5px;
  border: none;
  margin-left: 5px;
  font-family: Poppins;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.word_count {
  background-color: rgb(var(--body-color));
  filter:brightness(105%);
  float:right;
  width:60px;
  padding: 10px;
  text-align: end;
  overflow: hidden;
  height: 100%;
}
.word_count div {
  position:relative;
  top:50%;
  transform: translate(0,-50%);
}
.avoc:hover {
	background-color:rgba(var(--body-color),1);
  filter: brightness(105%);
}
.avoc:hover .word_count {
  background-color: rgba(var(--body-color),1);
}
#text {
  width:min(800px, 100vw - 80px);
  margin:auto;
  font-family:Poppins;
  font-size:22px;
  background-color: rgb(var(--body-color));
  filter: brightness(105%);
  padding: 20px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
#buttons_container2 {
  display:flex;
  width:175px;
  margin-bottom:10px;
}
@media only screen and (max-width:480px) {
  .add_button_container {
    height:40px;
  }
  #vocs {
    margin-top:0;
  }
  #buttons_container2 {
    width: calc(100vw - 40px);
    justify-content: end;
  }
  #add_button {
    top:134px;
  }
  .avoc {
    flex-wrap: wrap;
  }
  .vocinfo {
    flex-basis: 100%;
    background-color: rgb(var(--body-color));
    filter: brightness(105%);
    justify-content: space-around;
    border-bottom: 2px dashed gray;
  }
  .word_count {
    background-color: unset;
    order:-1;
    text-align: center;
  }
  .avoc:hover .word_count {
    background-color: unset;
  }
  .avoc:hover .vocinfo {
    background-color: rgba(var(--highlight1),1);
  }
  .vocname {
    flex-basis: 100%;
    justify-content: center;
    text-align: center;
  }
}
