/* =============== ABOUT SECTION =============== */

#hero-ink {
  position: absolute;
  top: 100px;
  right: -30px;
  transform: rotate(-45deg);
  z-index: 0;
  width: 330px;
  height: auto;
  display: none;
  animation-delay: 250ms;
}

@media (min-width: 560px) {
  #hero-ink {
    display: block;
  }
}

@media (min-width: 768px) {
  #hero-ink {
    top: -10px;
    right: var(--padding-sm);
    width: 420px;
  }
}

@media (min-width: 992px) {
  #hero-ink {
    right: var(--padding-md);
  }
}

@media (min-width: 1024px) {
  #hero-ink {
    right: var(--padding-lg);
  }
}

@media (min-width: 1440px) {
  #hero-ink {
    width: 500px;
  }
}

#about-section {
  padding: var(--padding-sm);
  width: 100%;
  background-color: var(--background-primary);
}

@media (min-width: 992px) {
  #about-section {
    padding: var(--padding-md);
  }
}

@media (min-width: 1440px) {
  #about-section {
    padding: var(--padding-lg);
  }
}

#about-section p {
  font-weight: 400;
  font-size: var(--text-medium);
  text-align: justify;
}

@media (min-width: 768px) {
  #about-section p {
    text-align: left;
  }
}

@media (min-width: 992px) {
  #about-section p {
    font-size: var(--text-large);
  }
}

#blue-pen-title-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  display: relative;
}

@media (min-width: 992px) {
  #company-name-wrapper {
    padding: var(--padding-md);
  }
}

@media (min-width: 1440px) {
  #company-name-wrapper {
    padding: var(--padding-lg);
  }
}

#company-name-wrapper {
  margin-top: auto;
  padding: var(--padding-sm);
  box-shadow: inset 0px -30px 20px -25px rgba(0, 0, 0, 0.1);
}

#company-name-wrapper .blue-pen-writing {
  width: 412px;
  height: auto;
  margin-top: var(--nav-height);
  margin-bottom: 24px;
}

#company-name-wrapper h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 100px;
  line-height: 80%;
  letter-spacing: -2%;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  #company-name-wrapper h1 {
    font-size: 140px;
  }
}

@media (min-width: 992px) {
  #company-name-wrapper h1 {
    font-size: 152px;
  }
}

@media (min-width: 1440px) {
  #company-name-wrapper h1 {
    font-size: 232px;
  }
}

/* =============== COMPANY SECTION =============== */

#company-section {
  padding: 60px var(--padding-sm);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0px 35px 13px -25px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
  #company-section {
    padding: 80px var(--padding-md);
  }
}

@media (min-width: 1440px) {
  #company-section {
    padding: 120px var(--padding-lg);
  }
}

#company-section-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 60px;
}

#members-header {
  width: 242px;
  height: auto;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 480px) {
  #members-header {
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (min-width: 768px) {
  #members-header {
    width: 336px;
  }
}

#company-ink {
  position: absolute;
  top: -30px;
  right: var(--padding-sm);
  transform: rotate(-45deg);
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {
  #company-ink {
    display: block;
  }
}

@media (min-width: 992px) {
  #company-ink {
    right: var(--padding-md);
  }
}

@media (min-width: 1024px) {
  #company-ink {
    right: var(--padding-lg);
  }
}

#company-photos-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 480px) {
  #company-photos-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 600px) {
  #company-photos-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  #company-photos-wrapper {
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
  }
}

.company-member-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.member-photo-wrapper {
  border-radius: 4px;
  overflow: hidden;
  margin-left: 30px;
  margin-right: 30px;
  cursor: pointer;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.member-photo-wrapper:hover {
  box-shadow: rgb(38, 57, 77) 0px 15px 20px -5px;
}

.member-photo-wrapper:active {
  transform: scale(0.99);
  box-shadow: rgb(38, 57, 77) 0px 5px 8px -2px;
}

@media (min-width: 480px) {
  .member-photo-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

.member-name {
  height: auto;
  width: auto;
}

#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background-color: rgba(0, 0, 0, 0.32);
}

#modal {
  display: none;
  position: fixed;
  z-index: 100001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 4px 10px 0px #0000003d;
  border: 1px solid var(--border-secondary);
  padding: 24px;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 320px;
  max-width: 90%;
  height: auto;
  background-color: #ffffff;
  border-radius: 8px;
}

@media (min-width: 768px) {
  #modal {
    flex-direction: row;
    width: 700px;
    height: 360px;
    gap: 24px;
  }
}

#modal-headshot-wrapper {
  width: 100%;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 768px) {
  #modal-headshot-wrapper {
    width: 50%;
    height: 100%;
  }
}

#modal-headshot {
  width: 100%;
  height: auto;
}

#modal-actor-name {
  font-size: 1rem;
  color: #090944b8;
  margin-top: -8px;
  margin-bottom: 8px;
  text-align: center;
}

#modal-bio-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  #modal-bio-wrapper {
    width: 50%;
    height: 100%;
  }
}

#modal-bio {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-blue);
  text-align: justify;
}

#modal-socials-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

#modal-instagram-link i {
  font-size: 24px;
  color: var(--text-primary);
}

/* =============== FOOTER SECTION =============== */

#footer-section {
  position: relative;
}

#footer-section img:first-of-type {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: auto;
}

#footer-section img:last-of-type {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: auto;
}

@media (min-width: 992px) {
  #footer-section img {
    height: 662px;
  }
}
