@font-face {
  font-family: Neon;
  src: URL('../neon_80s/Neon.ttf') format('truetype');
} 
/* Import fonts on html */

:root{
  --background: black;
  --primary: white;
  --fonts: Neon;
  --highlight: #FE018A;
}


html {
  box-sizing: border-box;
  margin: 0;
  background-color: var(--background);
}

body {
  font-family: Neon;
  font-size: 1.3rem;
}

header {
  display: flex;
  justify-content: center;
}

h1 {
  display: none;
}

main {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  /* check what is flex vertical alignment */
  align-items: center;
  margin: 30px;
}

img {
  margin: 30px 0;
  width: 40%;
  max-width: 150px;
}

a {
  min-width: 200px;
  max-width: 350px;
  width: 85%;
  padding: 20px;
  /* remove once vertical flex is fixed */
  margin: 15px 0;
  text-align: center;
  text-decoration: none;
  color: var(--primary);

  /* border: 2px var(--primary) solid;
  border-radius: 15px; */
}

a:active, a:hover {
  background-color: var(--highlight);
}

.neon {
  /* border: 2px var(--primary) solid; */
  border-radius: 15px;
  /* font-size: 80px; */
  /* color: #fff; */
  /* text-align: center; */
  animation: neon 0.8s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
  from {
    box-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #e60073, 0 0 4px #e60073, 0 0 5px #e60073, 0 0 6px #e60073, 0 0 7px #e60073;
  }
  
  to {
    box-shadow: 0 0 3px #fff, 0 0 4px #ff4da6, 0 0 5px #ff4da6, 0 0 6px #ff4da6, 0 0 7px #ff4da6, 0 0 8px #ff4da6, 0 0 9px #ff4da6;
  }
}

/* media for less than 376px reduce padding */
@media screen and (max-height: 790px), 
       screen and (max-width: 376px) {
  main {
    margin: 15px; 
  }

  a {
    padding: 15px;
    margin-top: 10px;
  }
}

@media screen and (min-width: 700px) {
  a {
    max-width: 450px;
  }
}
