@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Tilt+Neon&display=swap');

:root {
    --grid-color: #35f762;
    --title-font: 'Tilt Neon', cursive;
    --subtitle-font:'Tilt Neon', cursive;
}

body {
    margin: 0;
    /* background: radial-gradient(ellipse at center, #0b1f59 0%,#0f3c77 27%,#8b008b 95%); */
    background-color: #000;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

a{
    text-decoration: none;
}

.logo {
    text-align: center;
    width: 65%;
    height: 250px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     user-select: none;
  }
  
  .logo b{
    font: 400 19vh  'Tilt Neon', cursive;
    color: #fee;
    /* text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em #ff4444, 0 0 0.5em #ff4444, 0 0 0.1em #ff4444, 0 10px 3px #000; */
  }
  .logo b span{
    animation: blink linear infinite 2s;
  }
  .logo b span:nth-of-type(2){
    animation: blink linear infinite 3s;
  }
  @keyframes blink {
    78% {
      color: inherit;
      text-shadow: inherit;
    }
    79%{
       color: #333;
    }
    80% {
      
      text-shadow: none;
    }
    81% {
      color: inherit;
      text-shadow: inherit;
    }
    82% {
      color: #333;
      text-shadow: none;
    }
    83% {
      color: inherit;
      text-shadow: inherit;
    }
    92% {
      color: #333;
      text-shadow: none;
    }
    92.5% {
      color: inherit;
      text-shadow: inherit;
    }
  }


.cover {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000;
    z-index: 2;
}

.container {
    width: 352%;
    position: absolute;
    bottom: 0;
    left: -126%;
    transform-style: preserve-3d;
    perspective-origin: bottom;
    backface-visibility: visible;
    display: none;  
}

#sun {
    height: 200px;
    width: 200px;
    background: linear-gradient(to bottom, #00ff5ea4 0%,#1F3A07 100%);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 300px 50px rgb(9, 254, 9);
    transform: translate(0,50px);
    animation: dawn 3s ease-out 1 forwards;
    align-items: center;
    display: flex;
    justify-content: center;
}

#sun a{
    margin:0;
    padding: 0;
    text-align: center;
}

#sun a img{
    margin: 0;
    padding: 0;
    width: 65%;
}

#horizon {
    width: 104%;
    height: 378px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 1;
    border-bottom: solid 2px var(--grid-color);
    box-shadow: inset 0 0 15px 2px var(--grid-color);
    transform: translate(-2%,-10px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#horizon > .inner {
    position: relative;
    transform: translate(0,102px);
    animation: zoom-in 3s ease-out 1 forwards;    
}

#horizon > .inner > .title {
    font-size: 160px;
    font-family: var(--title-font);
    font-weight: normal;
    color: white;
    filter: drop-shadow(0 0 5px white);
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-text-stroke: 2px #ddd;
}

#horizon > .inner > .subtitle {
    font-size: 63px;
    font-family: var(--subtitle-font);
    color: yellow;
    font-weight: normal;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    bottom: -48px;
    right: -25px;
    transform: rotate(-3deg);
    filter: drop-shadow(4px 3px 0px #0f3c77);
    animation: pulse 1.25s linear infinite forwards;    
}

.grid:nth-of-type(1) {
    display: grid;
    grid-template-rows: repeat(9, 1fr);
    grid-template-columns: repeat(10, 1fr);
    margin: 0 auto;
    transform-origin: bottom;
    transform: translate3d(0,32px,-350px) rotateX(15deg);
}

.grid:nth-of-type(2) {
    display: grid;
    grid-template-rows: repeat(9, 1fr);
    grid-template-columns: repeat(10, 1fr);
    margin: 0 auto;
    transform-origin: bottom;
    transform: translate3d(0,21px,-173px) rotateX(15deg);
}

.grid:nth-of-type(3) {
    display: grid;
    grid-template-rows: repeat(9, 1fr);
    grid-template-columns: repeat(10, 1fr);
    margin: 0 auto;
    transform-origin: bottom;
    transform: rotateX(15deg);
}


.cell {
    box-shadow: 0 0 15px 2px var(--grid-color);
    height: 70px;
    border: solid 2px var(--grid-color);
    animation: sail 5s linear infinite forwards;
}

@keyframes sail {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(665px);
    }
}

@keyframes dawn {
    0% {
        transform: translate(0,-400px);
    }
    100% {
        transform: translate(0,-110px);
    }
}

@keyframes zoom-in {
    0% {
        transform: translate(0,72px) scale(0.5);
    }
    100% {
        transform: translate(0,102px) scale(1);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {
    0% {
        transform: rotate(-3deg) scale(1);
    }
    89% {
        transform: rotate(-3deg) scale(1);
    }
    90% {
        transform: rotate(-3deg) scale(1.1);
    }
    100% {
        transform: rotate(-3deg) scale(1);
    }
}

@keyframes hue-rotate{
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }    
}

@media screen and (min-width:00px) {
    .logo {
        text-align: center;
        width: 60%;
        height: 250px;
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
         user-select: none;
      }
      .logo b{
        font-size: 50%;
    }

    #sun {
        height: 100px;
        width: 100px;
        background: linear-gradient(to bottom, #00ff5ea4 0%,#1F3A07 100%);
        border-radius: 50%;
        position: absolute;
        box-shadow: 0 0 300px 50px rgb(9, 254, 9);
        transform: translate(0,50px);
        animation: dawn 3s ease-out 1 forwards;
        align-items: center;
        display: flex;
        justify-content: center;
    }
}