@font-face {
  font-family: "Caslon 540 LT Std";
  src: url("../fonts/Caslon540LTStd-Roman.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Caslon 540 LT Std";
  src: url("../fonts/CaslonFiveForty-ItalicOsF.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Schnyder S Cond";
  src: url("../fonts/SchnyderSCond-Demi.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Grotesk';
  src: url('../fonts/AkzidenzGroteskBE-BoldCn.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

.overlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  z-index: 999;
  overflow-y: scroll;
  display: none;
}

.card--close {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: right;
  padding: 1.5rem;
  box-sizing: border-box;
}

.card--close img {
  width: 24px;
  height: 24px;
}

.card--close-icon {
  cursor: pointer;
}

.overlay--card {
  background-color: white;
  padding: 4rem;
  max-width: 80%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.card--logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.card--logo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card--logo img {
  width: 100%;
  height: auto;
}

.card--para {
  margin-bottom: 2rem;
  font-family: "Caslon 540 LT Std", serif;
  font-weight: 300;
  font-style: normal;
}

.card--title {
  font-family: 'Schnyder S Cond',serif;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  font-size: 4.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -.05em;
}

.card--para {
  text-align: center;
  max-width: 75ch;
  letter-spacing: -.06em;
  line-height: 1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card--para span {
  font-style: italic;
}

.card--cover {
  width: 60%;
  height: auto;
  margin-bottom: 1.5rem;
}

.card--cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card--link a {
  font-family: "Grotesk", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8rem;
  border-bottom: 1px solid black;
}

@media only screen and (max-width: 414px) {
  .overlay--card {
    padding: 1rem;
    height: 458px;
  }

  .card--title {
    font-size: 2.5rem;
  }

  .card--para {
    font-size: 0.8rem;
  }

  .card--cover {
    width: 85%;
    margin-bottom: 0.5rem;
  }

  .card--link a {
    font-size: 0.7rem;
  }

  .card--para {
    max-width: 35ch;
  }

  .card--close img {
    width: 20px;
    height: 20px;
  }

  .card--logo {
    width: 80px;
  }

  .card--logo img {
    width: 80%;
  }

}



