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

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

:root {
  /* Primary */
  --clr-darkBlue: hsl(240, 38%, 20%);
  --clr-grayishBlue: hsl(240, 18%, 77%);
}

/* **************************************** */
/* ********     GENERAL    **************** */
/* **************************************** */

body {
  width: 100vw;
  height: 100vh;
  position: relative;
  font-size: 32px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: var(--clr-darkBlue);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bg_pattern {
  width: 300px;

  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%) translateY(-70%);
  z-index: 0;
}

.image_tanja,
.image_john {
  width: 230px;

  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%) translateY(-70%);
  z-index: 10;
}

.slider {
  width: 100px;
  height: 50px;
  background: white;

  border: solid 1px transparent;
  border-radius: 100px;
  box-shadow: -50px 5px 50px 9px rgba(0, 0, 0, 0.28);

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;

  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-60%);
  z-index: 100;
}

.slider img {
  cursor: pointer;
}

.slider img:hover {
  transform: scale(1.2);
}

.slider img:active {
  transform: scale(1);
}

.quotes_pattern {
  width: 80px;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%) translateY(-45%);
}

.quotes {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 0 10%;

  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%) translateY(-35%);
}

.details {
  font-size: 1.2rem;
  padding-bottom: 1em;
}

.name {
  font-weight: 700;
}

.position {
  font-weight: 500;
  color: var(--clr-grayishBlue);
}

.curve_pattern {
  width: 100%;

  position: absolute;
  top: 85%;
  left: 50%;
  transform: translateX(-50%) translateY(-15%);
}

.attribution {
  width: 100%;
  font-size: 11px;
  text-align: center;
  position: absolute;
  top: 97%;
  left: 50%;
  transform: translateX(-50%) translateY(-3%);
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

.toggle {
  display: none;
}

@media (min-width: 1025px) {
  .bg_pattern {
    width: 700px;

    position: absolute;
    top: 50%;
    left: 65%;
    transform: translateX(-35%) translateY(-50%);
  }

  .image_tanja,
  .image_john {
    width: 550px;

    position: absolute;
    top: 50%;
    left: 65%;
    transform: translateX(-35%) translateY(-50%);
  }

  .slider {
    position: absolute;
    top: 82%;
    left: 60%;
    transform: translateX(-40%) translateY(-18%);
  }

  .quotes_pattern {
    width: 100px;
    position: absolute;
    top: 35%;
    left: 25%;
    transform: translateX(-75%) translateY(-65%);
  }

  .quotes {
    width: 650px;
    text-align: left;
    font-size: 1rem;
    padding: 0;

    position: absolute;
    top: 50%;
    left: 40%;
    transform: translateX(-60%) translateY(-50%);
    z-index: 1000;
  }

  .details {
    font-size: 2rem;
  }

  .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: center;
  }

  .name {
    margin-right: 1rem;
  }

  .curve_pattern {
    width: 50%;

    position: absolute;
    top: 85%;
    left: 0%;
    transform: translateY(-15%);
  }

  .attribution {
    font-size: 1rem;
    text-align: center;
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translateX(-50%) translateY(-3%);
  }
}
