/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

#add_button {
	width: min(796px, 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;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.add_button_container {
  height:100px;
  width:100%;
  /*margin-bottom:20px;*/
}
#or-text {
  text-align:center;
}
.choose-text {
  text-align: center;
  margin: 0;
}
.avoc {
-webkit-user-select:none;
   -moz-user-select:none;
    -ms-user-select:none;
        user-select:none;
cursor:pointer;
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
        justify-content: space-between;
margin:0px;
font-family:Poppins;
font-size:20;
overflow: hidden;
}
.vocname {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left:10px;
  padding-right:10px;
  width:-webkit-max-content;
  width:-moz-max-content;
  width:max-content;
  min-height:50px;
}
.vocinfo {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.balls {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
h2 {
font-family:Poppins;
font-size:26;
}
.started {
  height:25px;
  width:10px;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left:3px;
  margin-right:3px;
}
.owned {
  height:25px;
  width:10px;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          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));
  -webkit-filter: brightness(105%);
          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;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
          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;
  -webkit-transition:-webkit-transform 0.5s;
  transition:-webkit-transform 0.5s;
  -o-transition:transform 0.5s;
  transition:transform 0.5s;
  transition:transform 0.5s, -webkit-transform 0.5s;
  -webkit-filter: brightness(130%);
          filter: brightness(130%);
}
#search_icon:hover {
  top:5px;
  -webkit-transform:rotateZ(360deg);
      -ms-transform:rotate(360deg);
          transform:rotateZ(360deg);
}
#buttons_container  {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  width:210px;
  margin-bottom:10px;
}
.active {
  background-color: rgba(var(--base-highlight),1) !important;
}
#topBarContainer_buttons {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin:auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 9px;
  -webkit-filter: brightness(110%);
          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;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
          box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.word_count {
  background-color: rgb(var(--body-color));
  -webkit-filter:brightness(105%);
          filter:brightness(105%);
  float:right;
  width:60px;
  padding: 10px;
  text-align: end;
  overflow: hidden;
  height: 100%;
}
.word_count div {
  position:relative;
  top:50%;
  -webkit-transform: translate(0,-50%);
      -ms-transform: translate(0,-50%);
          transform: translate(0,-50%);
}
.avoc:hover {
	background-color:rgba(var(--body-color),1);
  -webkit-filter: brightness(105%);
          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));
  -webkit-filter: brightness(105%);
          filter: brightness(105%);
  padding: 20px;
  border-radius: 20px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
          box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
#buttons_container2 {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  width:175px;
  margin-bottom:10px;
}
@media only screen and (max-width:480px) {
  /*.add_button_container {
    height:40px;
  }
  #add_button {
    top:134px;
  }*/
  #vocs {
    margin-top:0;
  }
  #buttons_container2 {
    width: calc(100vw - 40px);
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
  }
  
  .avoc {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .vocinfo {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    background-color: rgb(var(--body-color));
    -webkit-filter: brightness(105%);
            filter: brightness(105%);
    -ms-flex-pack: distribute;
        justify-content: space-around;
    border-bottom: 2px dashed gray;
  }
  .word_count {
    background-color: unset;
    -webkit-box-ordinal-group:0;
        -ms-flex-order:-1;
            order:-1;
    text-align: center;
  }
  .avoc:hover .word_count {
    background-color: unset;
  }
  .avoc:hover .vocinfo {
    background-color: rgba(var(--highlight1),1);
  }
  .vocname {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}
