html {
  scroll-behavior: smooth;
}

/* Add local fonts from folder ./static/fonts/ */
@font-face {
  font-family: "Roboto";
  src: url("static/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Playfair Display";
  src: url("static/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

#hero {
  background: url("static/background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh; /* This makes the hero take the full height of the viewport */
  display: flex;
  justify-content: left;
  align-items: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero-card {
  box-shadow: 0 0 5px 0;
  background: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  /* padding: 0.5em; */
  height: 100px;
  display: flex;
}

#hero h1 {
  position: relative;
  font-size: 1.875em;
  font-family: "Playfair Display", serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.5em;
}

#fixed-header {
  opacity: 0;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  width: calc(100% - 1em);
  background: url("static/background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  z-index: 1000;
  transition: all 0.2s ease-in-out;
  font-family: "Playfair Display", serif;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
  height: 100px;
}

#fixed-card {
  /* padding: 0.5em; */
  box-shadow: 0 0 5px 0;
  background: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  width: 100vw;
  height: 100px;
  display: flex;
}

#fixed-header h1 {
  font-size: 1.875em;
  padding: 0 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 100px;
  height: 100px;
}

#info {
  margin: 65px 20px 0 20px;
}

.subpage {
  margin: 0 20px 0 20px;
  text-align: center;
}

.subpage-card {
  width: 80%;
  height: 100px;
  display: flex;
  text-align: left;
  border: 1px solid #333;
  text-decoration: none;
  color: black;
  margin: auto auto 20px auto;
}

.subpage-card > img {
  width: 100px;
  height: 100px;
  display: inline-block;
}

.subpage-card h2 {
  display: inline-block;
  padding: 0 0 0 10px;
  font-size: 1.5em;
  font-family: "Playfair Display", serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  background: url("static/background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  font-size: 1em;
  font-family: "Playfair Display", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#footer-card {
  box-shadow: 0 0 5px 0;
  background: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
