:root {
  --ff-primary: "Poppins", sans-serif;
  --ff-secondary: "Arial";

  --fs-100: 0.85em;
  --fs-200: 1em;
  --fs-250: 1.25em;
  --fs-300: 2em;
  --fs-350: 3.5em;

  --fw-100: 600;
  --fw-200: 800;
  --fw-300: 900;

  --padding-inline: 6.25em;

  --primary-clr: #fff;
  --secondary-clr: #c5c5c5;
  --accent-clr: #222;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-image: url(../assets/crew/background-crew-desktop.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
  font-family: var(--ff-primary);
  color: var(--primary-clr);
  overflow: hidden;
}
main {
  /* margin-top: 50px; */
  padding-inline: var(--padding-inline);
  height: 100%;
}
.container {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-template-rows: 10% 80%;
  grid-template-areas:
    "title title"
    "content image-wrapper";
  align-items: center;
  height: 100%;
}
.title {
  grid-area: title;
  font-size: var(--fs-250);
  font-weight: var(--fw-200);
  letter-spacing: 4.75px;
  text-transform: uppercase;
}
.title span {
  color: var(--secondary-clr);
}
.content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 2rem 0;
  gap: 1rem;
}
.crew-title {
  font-size: var(--fs-200);
  font-weight: var(--fw-100);
  text-transform: uppercase;
  color: var(--secondary-clr);
}
.crew-name {
  font-size: var(--fs-300);
  font-weight: var(--fw-200);
}
.crew-description {
  min-height: 40%;
}
.crew-description p {
  font-size: var(--fs-100);
  color: var(--secondary-clr);
  line-height: 2;
}
.dots {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.dots a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
}
.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--primary-clr);
  cursor: pointer;
}
.active-dot {
  background-color: var(--primary-clr);
}
.image-wrapper {
  grid-area: image-wrapper;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.image-wrapper img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 560px) {
  body {
    background-image: url("../assets/crew/background-crew-mobile.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
  main {
    padding: 0;
  }
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: 10% 40% 45%;
    grid-template-areas:
      "title"
      "image-wrapper"
      "content";
    gap: 2.5%;
    height: 100%;
    width: 100%;
    padding-inline: 2em;
  }
  .title {
    grid-area: title;
  }
  .content {
    grid-area: content;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .inner-content {
    display: grid;
    gap: 0.5rem;
  }
  .image-wrapper {
    grid-area: image-wrapper;
  }
  .image-wrapper img {
    border-bottom: 0.5px solid #000;
  }
}

/* tablet */
/* @media (max-width: 900px) {
  body {
    background-image: url("../assets/crew/background-crew-tablet.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: 10% 20% 65%;
    grid-template-areas:
      "title"
      "content"
      "image-wrapper";
    gap: 2.5%;
    height: 100%;
    width: 100%;
    padding-inline: 2em;
  }
  .title {
    grid-area: title;
  }
  .image-wrapper {
    grid-area: image-wrapper;
  }
  .content {
    grid-area: content;
  }
} */

/*
@media (max-width: 560px) {
  body {
    background: url(../assets/crew/background-crew-mobile.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
  }
  nav {
    position: absolute;
    top: 0;
    right: -200px;
    background-color: #000;
    opacity: 1;
    height: 100vh;
    width: 200px;
    z-index: 2;
    transition: 0.5s ease-in-out;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    height: 50%;
  }
  nav ul li {
    margin: 0;
    padding: 0;
  }
  .close-icon-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 1.5rem;
  }
  header {
    justify-content: space-between;
  }
  .nav-bar {
    justify-content: flex-end;
    padding-right: var(--padding-inline);
    padding: 0;
  }

  .icons {
    display: block;
  }
  .line {
    display: none;
  }
  .menu-icon {
    margin-right: 20px;
    cursor: pointer;
  }

  
  main {
    padding-inline: 2em;
    height: 100vh;
    width: 100vw;
  }
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: 10% 35% 40%;
    grid-template-areas:
      "title"
      "image-wrapper"
      "content";
    gap: 2.5%;
    height: 100%;
    width: 100%;
  }
  .title {
    grid-area: title;
  }
  .content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    grid-area: content;
  }
  .inner-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .image-wrapper {
    border-bottom: 1px solid #000;
    grid-area: image-wrapper;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    display: block;
    object-fit: contain;
    z-index: 100;
  }
}

@media (max-width: 1024px) {
  body {
    background-image: url("../assets/crew/background-crew-tablet.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100vh;
  }
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: 10% 40% 45%;
    grid-template-areas:
      "title title"
      "content"
      "crew-image";
    gap: 2.5%;
  }
  .title {
    grid-area: title;
  }
  .content {
    grid-area: content;
  }
  .image-wrapper {
    grid-area: crew-image;
    position: relative;
  }
  .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    display: block;
    object-fit: contain;
    z-index: 100;
  }
}
*/
