
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


html {
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    font-family: "Lato", sans-serif;
}
  
*, *:before, *:after {
  box-sizing: inherit;
}

  h1 {
    color: white;
    font-size: 2em;
    font-size: 6vw;
    margin: 0.5em 0 3em;
  }
  
  html,
  body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .wrap {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #120103;
    color: white;
    text-align: center;
  }
  
  header {
    /* background: #3e474f; */
    /* box-shadow: 0 0.5em 1em #111; */
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 900;
    width: 100%;
  }
  header label {
    color: white;
    cursor: pointer;
    display: inline-block;
    line-height: 4.25em;
    font-size: 1em;
    font-weight: bold;
    padding: 0 1em;
  }

  header label:hover {
    /* background: #2e353b; */
  }
  
  .slide {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 10;
    /* padding: 8em 1em 0; */
    background-color: #120103;
    background-position: 50% 50%;
    background-size: cover;
    transition: left 0s 0.75s;
  }
  
  [id^=slide]:checked + .slide {
    left: 0;
    z-index: 100;
    transition: left 0.65s ease-out;
  }
  
  .slide h1 {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s 0.5s, opacity 0.5s;
  }
  
  [id^=slide]:checked + .slide h1 {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s 0.5s;
}