@font-face {
  font-family: 'Droid Serif';
  src: 
    url('fonts/DroidSerif-Regular.ttf') format('truetype'),
    url('fonts/droid-serif.woff') format('woff');
  font-weight: normal; 
  font-style: normal;
  font-display: swap; 
}
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
}
html{
  overflow-X: hidden;
}
body {
  background: white;
  color: #111;
  font-family: 'Droid Serif', serif;
}
@keyframes slideDown {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.wrapper {
  padding: 0 25px;
  max-width: 425px;
  margin: 0 auto;
  height: 100vh;
}
header {
  padding-top: 10px;
  margin-bottom: 0px;
}
header img{
  max-width: 100%;  
}
/* header h1 {
  font-size: 42px;
  margin-bottom: 10px;
  letter-spacing: 12px;
  color: #271111;
}
header h3{
  position: absolute;
  top: 8px;
  left: 73px;
  font-size: 12px;
} */
/* nav {
  position: absolute;
  top: 40px;
  right: 35px;
  width: 35px;
}
nav span {
  background-color: #222;
  margin: 4px 0;
  height: 3px;
  display: block;
} */

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: auto;
}

.cards .card {
  width: calc(50% - 13px);
  height: 150px;
  background-color: red;
  color: white;
  margin-bottom: 20px;
  /* border-radius: 5px; */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* padding: 10px; */
  /* border: 3px solid #f7f7f7; */
  /* box-shadow: 0 0 9px #333; */
}
.card.open-card {
  cursor: default;
}

.cards .card h2 {
  margin: 0;
  text-align: center;
  background: rgba(255,0,0,.75);
}


/* MODAL OPEN */
.card-content {
  width: 100%;
  margin: 0 auto;
  padding: 100px 25px 25px;
  overflow: auto;
  height: 100%;
  color: #fff;
  cursor: default;
}
.card-content > * {
  transform: translateY(-10px);
  opacity: 0;
}
.card-content audio{
  border: 1px solid white;
  width: 100%;
}
.card-content h3 {
  max-width: 640px;
  padding-left: 0!important;
  margin: 0px auto 18px !important;
  font-size: 32px;
  animation: slideDown 0.2s ease-out forwards;
}
.quote, .author{
  max-width: 640px;
  margin: 0px auto 18px !important;
  font-size: 32px!important;
  color: white;
}
.author{
  font-size: 24px!important;
  font-weight: bold;
}
.card-content img {
  max-width: 640px;
  margin: 0px auto 22px;
  width: 100%;
  display: block;
  background-color: #fff;
  cursor: pointer;
  animation: slideDown 0.2s ease-out 0s forwards;
}
.card-content p {
  max-width: 640px;
  margin: 20px auto;
  color: #999;
  font-size: 1.4rem;
  color: white;
  animation: slideDown 0.5s ease-out 0.4s forwards;
}
.card-content a {
  color: black;
}
.card-content p:last-child{
  margin-bottom: 80px;
}



footer{
  max-width: 640px;
  margin: 20px auto;
  padding-bottom: 40px;
}
.socials{
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.socials img{
  width: 40px;
  height: auto;
}
#spotify{
  width: 60px;
  margin: -10px 5px 0;
}


