body {
  background-color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 32px;
  border-bottom: 1px solid black;
}

@font-face {
  font-family: against;
  src: url(../import/against.ttf);
}
header h1 {
  display: inline;
  font-family: "snaga-unicase-display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  cursor: pointer;

}


header ul {
  display: flex;
  flex-direction: row;
  list-style: none;
}

header ul li {
  display: inline;
  font-family: "snaga-unicase-display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: 15px;
}

header a {
  text-decoration: none;
  color: inherit;
}
#slider {
  position: relative;
  height: 600px;
  overflow: visible;
  flex: 1;
}

#slider figure {
  position: absolute;
  cursor: grab;
  margin: 0;
  width: 300px;
  height: 200px;
  overflow: hidden;
}

#slider figure img {
  display: block;
  width: 300px;
  height: 200px;
  object-fit: cover;
}

#slider figcaption {
  font-family: "snaga-unicase-display", sans-serif;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 25px;
  letter-spacing: 0.08em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;

}

#slider figure:hover figcaption {
  opacity: 1;
}

footer {
  width: 100%;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "snaga-unicase-display", sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-top: auto;
}

footer ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
  margin: 0;
  width: 100%;
}

footer a {
  text-decoration: none;
  color: inherit;
}

footer a:hover {
  text-decoration: underline;
}

