@import url('/css/font.css');

*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  overflow: hidden;
  background: #000;
  padding: 0px;
  margin: 0px;
  height: 100%;
}

.box{
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.collection,
.name{
  /* position: absolute; */
  color: #fff;
  padding: 5px;
  text-align: left;
  font-size: 45px;
  font-family: 'Laila', serif;
  transition: 200ms ease-in-out;
  text-shadow: 2px 0px 4px #000;
}

.collection{
  font-size: 18px;
  top: 50px;
  left: 0px;
}

.collection > span{
  font-size: 45px;
}

.name{
  top: 5px;
  left: 5px;
  font-family: 'Lobster', serif;
}

.collection > span > a{
  font-family: 'Lobster', serif;
  position: relative;
  transition: all 200ms ease-in-out;
}

.textHover:active,
.textHover:link,
.textHover:visited,
.textHover:hover{
  text-decoration: none;
  color: #fff;
}

.textHover:before,
.textHover:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0px;
  box-shadow: 0px 0px 10px #fff;
  background-color: white;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 200ms ease-in-out;
}

.textHover:after{
  top: -2px;
  transition-delay: 200ms;
}

.textHover:hover:before,
.textHover:hover:after,
.textHover:hover{
  visibility: visible;
  transform: scaleX(1);
  cursor: pointer;
  text-shadow: 0px 0px 10px #fff;
}

.page-footer{
  position: absolute;
  bottom: 20px;
}

@media (max-width: 768px){
  .box{
    padding: 24px 20px 72px;
    gap: 12px;
  }

  .collection,
  .name{
    width: min(100%, 30rem);
    padding: 0;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.25;
    text-align: center;
  }

  .collection{
    font-size: clamp(22px, 5.6vw, 28px);
  }

  .collection > span{
    font-size: inherit;
  }

  .collection > span > a,
  .name a,
  .page-footer a{
    display: inline-block;
    line-height: inherit;
    word-break: break-word;
  }

  .name h2{
    margin: 0;
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.35;
    font-weight: 500;
  }

  .page-footer{
    bottom: 16px;
    width: calc(100% - 40px);
    text-align: center;
  }
}
