@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;800&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing:border-box;
  font-family: 'JetBrains Mono', monospace;
  list-style:none;
}

body {
  overflow-x:hidden;
}

a {
  text-decoration:none;
  color:#eee;
}

header {
  width:100%;
  height:100vh;
  background: linear-gradient(to bottom,rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('./bg.jpg') center no-repeat;
  background-size:cover;
}

.container {
  max-width:100%;
  width:90%;
  margin: 0 auto;
}

nav {
  padding-top:3rem;
  display:flex;
  justify-content:space-between;
  align-items: center;
  text-transform:uppercase;
  font-size:1rem;
}

.brand {
  font-size:2rem;
  font-size:300;
  transform: translateX(-100rem);
  animation: slideIn 0.5s forwards;
}

.brand span {
  color:crimson;
}

nav ul {
  display:flex;
}

nav ul li {
  transform: translateX(100rem);
  animation: slideIn 0.5s forwards;
}

nav ul li:nth-child(1) {
  animation-delay:0s;
}

nav ul li:nth-child(2) {
  animation-delay:0.5s;
}

nav ul li:nth-child(3) {
  animation-delay:1s;
}

nav ul li:nth-child(4) {
  animation-delay:1.5s;
}

nav ul li a {
  padding: 0.7rem 0;
  margin: 0 1.3rem;
  letter-spacing: 2px;
  position:relative;
}

nav ul li a:last-child {
  margin-right:0;
}

nav ul li a::before,
nav ul li a::after {
  content:'';
  position:absolute;
  width:100%;
  height:2px;
  background-color:crimson;
  left:0;
  transform: scaleX(0);
  transition: all .5s;
}

nav ul li a::before {
  top:0;
  transform-origin:left;
}

nav ul li a::after {
  bottom:0;
  transform-origin:right;
}

nav ul li a:hover::before,
nav ul li a:hover::after {
  transform:scaleX(1);
}

@keyframes slideIn {
  from {

  }

  to {
    transform:translateX(0);
  }
}