/* BASIC STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

body {
  font-family: "DM Sans", sans-serif;
  margin: 100px 0;
  color: white;
  background: #131417;
}

.text {
  max-width: 1000px;
  padding: 0 15px;
  margin: 0 auto 50px;
  font-size: 1.5rem;
}

/* MARQUEE STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.marquee-wrapper {
  position: relative;
}

.marquee {
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.marquee-item {
  position: relative;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.member {
  width: 100%;
}

.member-link {
  display: block;
}

.member-img-wrapper {
  margin: 0;
}

.member-img {
  display: block;
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.member-details {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.member-title {
  margin: 0 0 5px;
}

.member-subtitle {
  margin: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.member-link:hover .member-details {
  transform: none;
}

.member-link:hover .member-img {
  filter: grayscale(0);
}

.marquee-arrow {
  position: absolute;
  bottom: -60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #dc2f02;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.marquee-arrow.arrow-prev {
  left: calc(50% - 50px);
}

.marquee-arrow.arrow-next {
  right: calc(50% - 50px);
}

@media (min-width: 850px) {
  .marquee-item {
    width: 500px;
  }
}

@media (min-width: 850px) {
  .member-img {
    height: 500px;
  }
}

@media (min-width: 850px) {
  .member-title {
    font-size: 1.6em;
  }
}

@media (min-width: 850px) {
  .marquee-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 850px) {
  .marquee-arrow.arrow-prev {
    left: 40px;
  }
}

@media (min-width: 850px) {
  .marquee-arrow.arrow-next {
    right: 40px;
  }
}

/* FOOTER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.page-footer {
  position: fixed;
  right: 0;
  bottom: 50px;
  display: flex;
  align-items: center;
  padding: 5px;
  z-index: 1;
  font-size: 14px;
  color: black;
  background: white;
}

.page-footer a {
  display: flex;
  margin-left: 4px;
}

