/* Section Styling */
.discussion {
  padding-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-image: url("https://static.igem.wiki/teams/4451/wiki/bg.png");
}

/* Styling all the avatar images */
.discussion img {
  width: 50px;
  border-radius: 50%;
}

/* Styling fade in header */
.view.introduction {
  font-family: "IBM Plex Sans";
  text-align: center;
  margin: 10px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgb(230,222,188);
  animation: fade-in 6s, slide-in-down 2s;
}
  
.introduction__fade {
  /* global 94%+ browsers support */
  background: linear-gradient(
    90deg,
    rgba(68, 54, 45, 1) 33%,
    rgb(180, 182, 138) 93%,
    rgb(200, 202, 148) 100%
  );
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Styling Avatars */
.avatar {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 2s ease-in-out;
  z-index: 100;
}

.avatar .name {
  font-weight: 800;
  font-family: "IBM Plex Sans";
  font-style: italic;
  color: rgb(230,222,188);
}

.avatar img {
  width: 100px;
  border-radius: 50%;
  background-color: white;
}

.avatar .speech {
  border: 1px solid gray;
  box-shadow: 2px 3px 18px rgb(237, 237, 237);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background-color: white;
}

.cat .speech,
.dog .speech {
  max-width: 60%;
  border: 1px solid gray;
  box-shadow: 2px 3px 18px #e6debc;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background-color: #e6debc;
  margin-left: 2rem;
  margin-right: 2rem;
}

.speech__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.speech {
  transition: all 1s ease-in-out;
  transform: scale(0.6);
}

.cat .avatar {
  padding-left: 3rem;
}

.dog .avatar {
  padding-right: 3rem;
}

.dog .speech {
  margin-right: 2rem;
}
/* Styling Cats */

.cat {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* animation: slide-in-left 2s; */
}

/* Styling Dog */

.dog {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  /* animation: slide-in-right 2s; */
}

/* Media Queries  */

@media (max-width: 700px) {
  .view.introduction {
    padding-top: 60px;
  }
  .dog {
    margin: 0;
  }
  .avatar {
    display: none;
  }
  .dog .speech {
    max-width: 70%;
  }
  .cat .speech {
    max-width: 70%;
  }
}

@media (min-width: 700px) {
  .speech__header {
    display: none;
  }
}
