@import url('https://fonts.googleapis.com/css2?family=Lato&family=Roboto+Mono:wght@400;700&display=swap');

body {
  font-family: Lato;
  font-size: 16px;
  line-height: 1.5;

  background-color: #202020;
  background-image: url(background.png);
  background-repeat: repeat-x;
  background-position: center;
  background-attachment: fixed;
  background-size: contain;
  
  color: #ffffff;
  margin: 80px auto 60px auto;
  width: 1120px;
}

header {
  align-items: center;
  justify-content: space-between;
}

h1 {
  font-family: Roboto Mono;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #01ff70;
}

h2 {
  font-family: Roboto Mono;
  margin: 10px 0 0 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  text-align: ;
}

nav,
footer {
  font-family: Roboto Mono;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}


a {
  color: #ffffff;
  text-decoration: none;

  transition: color 150ms, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}


a:hover {
  color: #01ff70;
  border-bottom: 2px solid #01ff70;
}

section {
  margin: 100px 0 150px 0;

  display: grid;
  gap: 32px 32px;
  grid-auto-flow: dense;
  text-align: left;
}


footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer a {
  margin: 0 32px 0 32px;
}




@media (max-width: 1248px) {
  body {
    width: auto;
    margin: 80px 64px 48px 64px;
  }
  
  section {
  margin: 100px 0 180px 0;
 }
  
  nav,
  footer {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }
  h1 {
    font-size: 32px;
  }
}

.pushable {
  background: hsl(146deg 100% 15%);
  border: none;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.front {
  display: block;
  padding: 12px 24px 12px 24px;
  border-radius: 12px;
   font-family: Roboto Mono;
  font-size: 1.25rem;
  background: hsl(145deg 100% 40%);
  color: white;
  transform: translateY(-4px);
}

.pushable:active .front {
  transform: translateY(-2px);
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

