
/**************  vars **************/

:root {
    --color-bg: #ffffff;
    --color-text: #fafafa;
    --color-mask: #111111;
    --main-padding: 0 1em;
}

/**************  General **************/

html,
body {
    overflow: hidden;
}

html {
    background: var(--color-mask);
    width: 100vw;
    height: 100vh;
}


body {
    display: flex;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.mask {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    background: var(--color-mask);
    clip-path: circle(0% at 50% 50%);
}

/**************  Text **************/

h1 {
    font-size: 6em;
    margin: 0;
    line-height: 100%;
    font-weight: 500;
}

h2 {
    font-size: 2em;
    margin: 0;
    font-weight: 200;
}

h3 {
    font-size: 1.3em;
    margin: 0;
    font-weight: 200;
}

@media only screen and (max-width: 991px) {
    h1 {
        font-size: 5em;
    }
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 2.4em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: .9em;
    }
}

/**************  Styles **************/

main {
    width: 100vw;
    max-width: 1400px;
    height: 100vh;
    padding: var(--main-padding);
}

main header {
    display: flex;
    justify-content: space-between;
    height: 120px;
    align-items: center;
}

main header .logo {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.2em;
}

main header a {
    position: relative;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 200;
    font-size: .9em;
}

@media only screen and (max-width: 480px) {
    main header a  {
        font-size: .8em;
    }
}

main header a::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width .5s;
}

main header a:hover::after {
    width: 100%;
}

main section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

main section .info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 2em 0 4em;
    text-align: center;
}

main section .image-wrapper {
    overflow: hidden;
    text-align: center;
    height: 100%;
}

/* main section .image-wrapper img {
    width: 100%;
    max-width: 1100px;
} */

.img-glitch{
    position:relative;
    width:100%;
    height:100%;
    background: url(./../images/hero.png);
    background-size:100%;
  }
  .img-glitch:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: url(./../images/hero.png);
    background-size:100%;
    opacity:.5;
    mix-blend-mode:hard-light;
  }
  .img-glitch:hover:before{
    animation:animate .2s linear infinite;
  }
  @keyframes animate{
      0%{
      background-position: 0 0;
      filter:hue-rotate(0deg);
      }
      10%{
      background-position: 5px 0;
      }
      20%{
      background-position: -5px 0;
      }
      30%{
      background-position: 15px 0;
      }
      40%{
      background-position: 5px 0;
      }
      50%{
      background-position: -25px 0;
      }
      60%{
      background-position: -50px 0;
      }
      70%{
      background-position: 0 -20px;
      }
      80%{
      background-position: -60px -20px;
      }
      81%{
      background-position: 0 0;
      }
      100%{
      background-position: 0 0;
      filter:hue-rotate(360deg);
      }
  }



