@import url('https://fonts.googleapis.com/css2?family=Dongle&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root{
    --clr-neon: hsl(317 100% 54%);
    --clr-bg: hsl(323 21% 16%);
    --clr-nav: rgb(0, 0, 0);
}

*,
*::before,
*::after{
    box-sizing: border-box;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: var(--clr-bg);
    cursor: url(../assets/micky.png), auto;
}

.Welcome-text{
     font-size: 20px;
     font-family: 'Press Start 2P';
     background-color: transparent;
     display: inline-block;
     text-decoration: none;
     color: whitesmoke;
     margin: 0.25em;
     border-radius: 0.25em;
     text-align: center;
     
     
     text-shadow: 
         0 0 0.125em hsl(0 0% 100%/ 0.5),
         0 0 0.9em currentColor;
     
     box-shadow: 0 0 0.5em 0 var(--clr-neon), 0 0 0.5rem 0 var (--clr-neon);
     
     position: relative;
     margin-top: -50px;
}
li, a, .login {
    font-family: 'Press Start 2P';
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-decoration: none;
    background-color: var(--clr-nav);
}

.navbar{
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    background-color: var(--clr-nav);
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Dongle', sans-serif;
}

.nav1{
    border-bottom: 5px solid var(--clr-neon) ;
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo {
    cursor: pointer;
    width: 150px;
    margin-left: 20px;
    margin-top: 5px;
    background-color: transparent;
    
}


/* .nav_links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;

} */
.navbar .nav_links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
  }

.nav_links li {
    display: inline-block;
    padding: 0px 15px;
    justify-content: center;
}

.nav_links li a {
    transition: all 0.1s ease 0s;
}

.nav_links li a:hover {
    color: var(--clr-neon);
    border-bottom: 5px solid var(--clr-neon) ;
    cursor: pointer;
}

.login{
    font-size: 0.9rem;
    font-family: 'Press Start 2P', cursive;
    background-color: transparent;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-neon);
    border: var(--clr-neon) 0.125em solid;
    padding: 0.25em 1.3em;
    border-radius: 0.25em;
    
    
    text-shadow: 
        0 0 0.125em hsl(0 0% 100%/ 0.5),
        0 0 0.45em currentColor;
    
    box-shadow: 0 0 0.5em 0 var(--clr-neon), 0 0 0.5rem 0 var (--clr-neon);
    
    position: relative;
}

.login:hover{
    background: var(--clr-neon);
    color: var(--clr-bg);
    text-shadow: none;
}

.bottom {
    display: flex;
    overflow: hidden;
  }
  
  .W,
  .E,
  .L,
  .C,
  .O,
  .M,
  .E {
    width: 70%;
    height: 70%;
  }

  .W{
    animation: fadeIn 2s ease-in-out forwards;
  }

  .E{
    animation: fadeIn 1s ease-in-out forwards;
  }

  .L{
    animation: fadeIn 4s ease-in-out forwards;
  }

  .C{
    animation: fadeIn 5s ease-in-out forwards;
  }

  .O{
    animation: fadeIn 6s ease-in-out forwards;
  }

  .M{
    animation: fadeIn 7s ease-in-out forwards;
  }

  .E{
    animation: fadeIn 8s ease-in-out forwards;
  }

  .btn
 {
     font-size: 1.2rem;
     font-family: 'Press Start 2P', cursive;
     background-color: transparent;
     display: inline-block;
     cursor: pointer;
     text-decoration: none;
     color: var(--clr-neon);
     border: var(--clr-neon) 0.125em solid;
     padding: 1.05em 1.45em;
     margin: 0.35em;
     border-radius: 1.1em;
     
     
     text-shadow: 
         0 0 0.125em hsl(0 0% 100%/ 0.5),
         0 0 0.45em currentColor;
     
     box-shadow: 0 0 0.7em 0 var(--clr-neon), 0 0 1.4rem 0 rgba(255, 0, 170, 0.35);
     
     position: relative;
        
 }
 
 .btn::before{
     pointer-events: none;
     content: '';
     position: absolute;
     background: var(--clr-neon);
     top: 90%;
     left: 0%;
     width: 100%;
     height: 100%;
     
     transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
     filter: blur(1em);
     opacity: 0.7;
         
 }
 
 .btn::after{
     
     content:'';
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
     box-shadow: 0 0 2em 0.5em var(--clr-neon);
     opacity: 0;
     transition: opacity 100ms linear;
     
 }
 
 
 .btn:hover,
 .btn:focus
 {
     background: var(--clr-neon);
     color: var(--clr-bg);
     text-shadow: none;
     
 }
 
.btn:hover::after{
     opacity: 1;
 }

.container,
.start-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
   /* .W {
    width: 70%;
    height: 70%;
    position: absolute;
    size: 2rem;
    bottom: -50px;
    left: -50px;
    top: 20px;
    right: 30px;
    transform: rotate(-25deg);
  }
  
  .E {
    width: 70%;
    height: 70%;
    top: -50px;
    left: -150px;
    transform: rotate(-30deg);
  } */
  
  /* .L {
      
    top: 0px;
    left: -200px;
    transform: rotate(-15deg);
  }
  
  .C {
    top: 50px;
    left: -150px;
    transform: rotate(0deg);
  }
  
  .O {
    top: 100px;
    left: -100px;
    transform: rotate(15deg);
  }
  
  .M {
    top: 150px;
    left: -50px;
    transform: rotate(30deg);
  }
  
  .E {
    top: 200px;
    left: 0px;
    transform: rotate(45deg);
  }
     */

@media (max-width: 768px) {
    body {
        width: 100%;
        min-height: 100vh;
        height: auto;
        padding: 0 1rem 2rem;
        overflow-x: hidden;
    }

    .bottom {
        width: 100%;
        margin-top: 1rem !important;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.6rem;
        justify-items: center;
        align-items: center;
    }

    .W,
    .E,
    .L,
    .C,
    .O,
    .M {
        width: min(100%, 4.4rem);
        height: auto;
    }

    .Welcome-text {
        margin-top: 1rem;
        padding: 0 0.4rem;
        font-size: 0.8rem;
        line-height: 1.8;
        max-width: 22rem;
    }

    .Welcome-text h1 {
        font-size: 1.9rem;
        margin-bottom: 0.75rem;
    }

    .Welcome-text h2 {
        font-size: 1rem;
        line-height: 1.9;
    }

    .container,
    .start-button {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }

    .btn {
        width: min(100%, 24rem);
        min-height: 4.6rem;
        padding: 1rem 1.1rem;
        font-size: 0.85rem;
        line-height: 1.7;
        text-align: center;
        white-space: normal;
    }
}
