

* {
  margin: 0;
  padding: 0;
  font-family: avenir;
  box-sizing: border-box;
  --webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #efefef;
}
::selection {
  color: #rgba(255, 0, 0, 0.5);;
  background: #4d59fb;
}
.container {
  width: 600px;
  border-radius: 7px;
  background: #rgba(255, 0, 0, 0.5);;
  padding: 25px 28px 45px;
  box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.05);
}
.container header {
  font-size: 28px;
  font-weight: 900;
  text-align: left;
  color: #03463c;

}
.container .search {
  position: relative;
  margin: 35px 0 18px;
}
.search input {
  height: 53px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding: 0 42px;
  border: 1px solid #999;
}
.search input:focus {
  padding: 0 41px;
  border: 2px solid #4d59fb;
}
.search input::placeholder {
  color: #b8b8b8;
}
.search :where(i, span) {
  position: absolute;
  top: 50%;
  color: #999;
  transform: translateY(-50%);
}
.search i {
  left: 18px;
  pointer-events: none;
  font-size: 16px;
}
.search input:focus ~ i {
  color: #4d59fb;
}
.search span {
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  display: none;
}
.search input:valid ~ span {
  display: block;
}
.container .info-text {
  font-size: 13px;
  color: #9a9a9a;
  margin: -3px 0 -10px;
}
.container.active .info-text {
  display: none;
}
.info-text span {
  font-weight: 500;
}
.container ul {
  height: 0;
  opacity: 0;
  padding-right: 1px;
  overflow-y: hidden;
  transition: all 0.2s ease;
}
.container.active ul {
  opacity: 1;
  height: 130px;
}
.container ul li {
  display: flex;
  list-style: none;
  margin-bottom: 14px;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid #d9d9d9;
  justify-content: space-between;
}

ul .word p {
  font-size: 22px;
  font-weight: 500;
}
ul .word span {
  font-size: 12px;
  color: #989898;
}
ul .word i {
  color: #999;
  font-size: 15px;
  cursor: pointer;
}
ul .content {
  max-height: 215px;
  overflow-y: auto;
}
ul .content::-webkit-scrollbar {
  width: 0px;
}
.content li .details {
  padding-left: 10px;
  border-left: 3px solid #4d59fb;
}
.content li p {
  font-size: 17px;
  font-weight: 500;
}
.content li span {
  font-size: 15px;
  color: #7e7e7e;
}
.button{
  background-color:#03400c;

  color: #f7f7f7;
  padding: 5px;
}
#wordInput {
  padding: 5px;
  width: 100%;
}
hr{
  color:#ff4ffc;
  opacity:.1;
}
.word{
  color: #03400c;
  font-size: 24pt;
  }
.definition::first-letter {

    text-transform:lowercase;
  }
  #footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #666;
    background-color: #252525;
    color: #c9c9c9;
    text-align: center;
    margin-top: 10px;
    z-index: 5;
  }
  a:link{
      color: #ffd300;
      text-decoration: none;
  }
  a:active, a:hover, a:visited {
    color: #ffd300;
    text-decoration: none;
  }



@media screen and (max-width: 480px){
  .container{
    width: 350px;
  }
}
