@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@600;700&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Assistant", sans-serif;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

.employee-testimonials {
  --dark: #1e2742;
  --white: #fff;
  --primary: #004987;
  background-image: url(./assets/map.svg);
  width: 100vw;
  height: 100vh;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonial {
  width: 100%;
  height: 100%;
  max-width: 619px;
  max-height: 431px;
  background: var(--dark);
  opacity: 0.75;
  border-radius: 28px;
  display: grid;
  place-content: center;
  padding: 0 70px;
  overflow: hidden;
  grid-area: 2 / 6 / span 2 / span 3;
  align-self: center;
  justify-self: center;
}

.testimonial--title {
  color: var(--white);
  font-size: 46px;
  font-weight: 700;
  line-height: 56px;
  margin: 0;
}

.testimonial--quote {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
  margin: 12px 0;
}

.testimonial--author {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
  text-align: right;
}

.testimonial--link {
  background-color: var(--white);
  border-radius: 5px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 32px;
  text-decoration: none;
  margin-top: 24px;
  display: inline-block;
  width: fit-content;
}

.employees {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2em;
  width: 100%;
  height: 100%;
}

.employee {
  width: 185px;
  height: 185px;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6.77733px);
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
}

.employee:not(.focused):nth-child(2) {
  grid-area: 1 / 7;
  align-self: flex-end;
  justify-self: flex-end;
}

.employee:not(.focused):nth-child(3) {
  grid-area: 3 / 2;
}

.employee:not(.focused):nth-child(4) {
  grid-area: 2 / 2;
  justify-self: flex-end;
}

.employee:not(.focused):nth-child(5) {
  grid-area: 4 / 5;
  align-self: center;
  justify-self: center;
}

.employee:not(.focused):nth-child(6) {
  grid-area: 4 / 7;
}

.employee.focused {
  width: 427px;
  height: 427px;
  border-color: var(--white);
  grid-area: 2 / 3 / span 2 / span 3;
  justify-self: flex-end;
  align-self: center;
  transition: all 500ms ease-in-out;
}

.employee img {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  border: 1px solid var(--white);
}

.employee.focused img {
  width: 222px;
  height: 222px;
  transition: all 500ms ease-in-out;
}
