@font-face {
  font-family: 'FuturaStd';
  src: url("/assets/fonts/FuturaStd-Bold.otf") format("opentype"), url("/assets/fonts/FuturaStd-Bold.ttf") format("truetype"), url("/assets/fonts/FuturaStd-Bold.woff") format("woff"), url("/assets/fonts/FuturaStd-Bold.svg#FuturaStd-Bold") format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'FuturaStd';
  src: url("/assets/fonts/FuturaStd-Medium.otf") format("opentype"), url("/assets/fonts/FuturaStd-Medium.ttf") format("truetype"), url("/assets/fonts/FuturaStd-Medium.woff") format("woff"), url("/assets/fonts/FuturaStd-Medium.svg#FuturaStd-Bold") format("svg");
  font-weight: 600;
  font-style: normal;
}

/* PLAYLIST CARDS */
.card__img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 150px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-sizing: border-box;
}

.card__info-hover {
  position: absolute;
  padding: 16px;
  width: 100%;
  min-height: 150px;
  opacity: 0;
  top: 0;
  box-sizing: border-box;
}

.card__img--hover {
  transition: 0.5s all ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: absolute;
  min-height: 150px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  top: 0;
  box-sizing: border-box;
}

.card__playlist:hover {
  box-shadow: 0px 15px 18px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.03, 1.03);
  box-sizing: border-box;
}

.card__info {
  z-index: 2;
  background-color: #fff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 10px 15px 10px 15px;
  white-space: nowrap;
  box-sizing: border-box;
}

.card__title {
  margin-bottom: 2px;
  padding: 0px 1px 1px 0px;
  font-size: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.card__by {
  font-size: 12px;
  font-weight: 500;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__author {
  font-weight: 600;
  text-decoration: none;
  color: #f34343;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.card__playlist:hover .card__img {
  visibility: hidden;
  box-sizing: border-box;
}

.card__playlist:hover .card__info {
  background-color: transparent;
  position: relative;
  top: auto;
  bottom: auto;
  box-sizing: border-box;
  white-space: nowrap;
}

.card__playlist:hover .card__info .card__title {
  text-overflow: ellipsis;
  white-space: normal;
  box-sizing: border-box;
}

.card__playlist:hover .card__info-hover {
  opacity: 1;
  box-sizing: border-box;
}

.card__playlist {
  width: 100%;
  max-width: 100%;
  margin: 25px 1%;
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0, 1);
  background-color: #fff;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 9px 10px 1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* HEADER IMAGE OVERLAY  */

.overlay {
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  opacity: 1;
  height: 100%;
  position: inherit;
}

.overlay-text {
  z-index: 1;
}

/* SHARE LINK */

#shareProfile:hover {
  cursor: pointer;
  color: grey;
}
/* POPUP FOR MODAL */

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 10;
  /* Sit on top */
  /*padding-top: 100px;*/
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-share {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 35%;
  margin-top: 75px;
  margin-bottom: 75px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.share-icons a {
  padding-left: 20px;
}

#copy-link:hover {
  cursor: pointer;
  color: #000;
}

#copy-message {
  color: #ff0000;
  display: none;
}

@media screen and (max-width: 900px) {
  .modal-content-share {
    width: 50%;
  }
}

@media screen and (max-width: 700px) {
  .modal-content-share {
    width: 80%;
  }
}

@media screen and (max-width: 460px) {
  .modal-content-share {
    width: 80%;
  }
}
