* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  font-family: sans-serif;
  justify-content: center;
  background-color: crimson;
}

.pokedex {
  align-items: flex-end;
  display: flex;
  height: 500px;
  margin: 50px;
  width: 800px;
}

.left-container,
.right-container {
  border: 3px solid black;
  width: 50%;
}

.right-container {
  border-left: none;
}

.left-container {
  background: #e71d23;
  height: 100%;
  width: calc(50% + 50px);
}

.left-container__main-section-container {
  display: flex;
  height: calc(100% - 50px);
}

.left-container__main-section {
  height: 100%;
  padding: 25px;
  width: 500px;
}

.main-section__white {
  background: #dedede;
  border: 3px solid black;
  box-shadow: inset 0 0 3px 3px rgba(0, 0, 0, 0.3);
  height: 325px;
}

.main-section__black {
  background: black;
  height: calc(100% - 50px);
  margin: 25px;
  padding: 10px;
  width: calc(100% - 50px);
}

.main-screen {
  border-radius: 15px;
  height: 100%;
  padding: 15px;
}

.screen__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.poke-name {
  color: white;
  font-size: 25px;
  font-weight: bold;
}

.poke-id {
  color: white;
  font-size: 20px;
}

.screen__image {
  display: flex;
  justify-content: space-around;
}

.poke-front-image,
.poke-back-image {
  height: 96px;
  width: 96px;
}

.screen__description {
  display: flex;
  height: 100px;
  justify-content: space-around;
}

.screen__stats {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 20px 15px;
}

.stats__types {
  height: 100%;
  padding: 5px;
}

.poke-type-one,
.poke-type-two {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  text-align: center;
}

.buttons__button {
  align-items: center;
  background: black;
  border-radius: 50%;
  border: 1px solid dimgrey;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  height: 35px;
  justify-content: center;
  width: 35px;
}

.left-container__right {
  border-left: 3px solid black;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 50px;
}

.right-container {
  background: #e71d23;
  height: calc(100% - 50px);
  padding: 25px;
  width: calc(50% - 50px);
}

.right-container__black {
  background: black;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  height: 300px;
  padding: 10px;
}

.right-container__screen {
  background: #43b0f2;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
  padding: 15px 15px 0;
}

.list-item {
  align-items: center;
  color: black;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  height: 25px;
  overflow-x: hidden;
  padding-left: 5px;
  width: 50%;
}

.list-item:hover {
  background: #85cbf2;
  color: black;
}

.list-item:active {
  background: #1280f2;
  color: white;
}

.right-container__buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
}

.left-button,
.right-button {
  align-items: center;
  background: #dedede;
  border-radius: 3px;
  border: 2px solid black;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  font-weight: bold;
  height: 30px;
  justify-content: center;
  text-transform: uppercase;
  width: 100px;
  transition: ease-in 0.3s;
}

.left-button:hover,
.right-button:hover {
  background: #e71d45;
}

.left-button:active,
.right-button:active {
  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 800px) {
  .pokedex {
    display: flex;
    flex-direction: column;
    /* justify-content: flex-start; */
    align-items: center;
  }
  .screen__header {
    font-size: 10px;
  }
  .main-section__white {
    margin-right: 15%;
  }
  .right-container {
    width: 300px;
  }
}
