@import url('https://fonts.googleapis.com/css2?family=Lato&family=Rubik&display=swap');

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #191A19;
}
.header {

    font-size: 1.5em;
    height: 100%;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6em;
}
ul{
    padding: 0;
    display: flex;
    gap: 0.6em;
}
a{
    color: White;
    align-items: center;
    text-decoration: none;
}
a:visited{
    text-decoration: none;
}

.collection-name a{
  font-weight: 600;
  font-size: 0.8em;
  text-decoration: underline;
}

.button-parent{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  font-size: 1.5em;
  font-family: 'Rubik';
}
.button-overtitle{
  width: fit-content;
  color: white;
}
.button{
  display: block;
  font-size: 1.5em;
  color: #191A19;
  background-color: rgb(248, 248, 161);
  width: fit-content;
  height: fit-content;
  padding: 1em;
  border-radius: 1em;
}
.button:hover{
  background-color: rgb(252, 252, 181);
}
.button:active{
  background-color: rgb(236, 236, 208);
}

/* CAROUSEL */

.pic{
    height: 20em; 
    width: 20em; 
}

  .pic-ctn {
    width: 100vw;
    height: 200px;
  }
  
  @keyframes display {
    0% {
      transform: translateX(330px);
      opacity: 0;
    }
    10% {
      transform: translateX(0);
      opacity: 1;
    }
    20% {
      transform: translateX(0);
      opacity: 1;
    }
    30% {
      transform: translateX(-330px);
      opacity: 0;
    }
    100% {
      transform: translateX(-330px);
      opacity: 0;
    }
  }
  
  .pic-ctn {
    position: relative;
    width: 100vw;
    height: 220px;
    margin-top: 15vh;
  }
  
  .pic-ctn > img {
    position: absolute;
    top: 0;
    left: calc(50% - 164px);
    opacity: 0;
    animation: display 20s infinite;
  }
  img{
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
  }
  
  img:nth-child(2) {
    animation-delay: 4s;
  }
  img:nth-child(3) {
    animation-delay: 8s;
  }
  img:nth-child(4) {
    animation-delay: 12s;
  }
  img:nth-child(5) {
    animation-delay: 16s;
  }

.collection-name{
  font-family: 'Rubik', sans-serif;
  text-align: center;
  color: white;
}

