@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@media (orientation: landscape) {
  :root {
    --textregular: 1rem;
    --textheader: 4rem;
    --textheader2: 3rem;
    --textheader3: 2rem;
    --floatingtext: 1em;
    --linkunderline: none;
    --postergap: 1rem;
    --headerlandscape: block;
    --hamburgerbutton: none;
    --border: 2px;
    --indexserviceheight: 15em;
    --textblockside: 20vw;
    --standardwidth: 20em;
    --doublewidth: 35vw;
    --standardheight: 25em;
    --doubleheight: var(--standardheight);
  }
  ul {
    display: flex;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  li {
    display: inline;
    justify-content: center;
    align-items: center;
  }
}
@media (orientation: portrait) {
  :root {
    --textregular: 1rem;
    --textheader: 3rem;
    --textheader2: 2rem;
    --textheader3: 1.5rem;
    --floatingtext: 0.75em;
    --linkunderline: underline;
    --postergap: 1rem;
    --headerlandscape: none;
    --hamburgerbutton: flex;
    --border: 2px;
    --indexserviceheight: auto;
    --textblockside: 5vw;
    --standardwidth: 15em;
    --doublewidth: var(--standardwidth);
    --standardheight: 10em;
    --doubleheight: 20em;
  }
  ul {
    list-style-type: none;
    padding: 0;
  }
  li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
  }
}
@media (prefers-color-scheme:light) {
  :root {
    --pagecolor: #eeedea;
    --pagecolor2: #f7f6f4;
    --headercolor: #eeedeace;
    --cardcolor: #f9f8f5;
    --buttoncolor: #d3d2cf;
    --buttonhovercolor: #a8a7a4;
    --textcolor: #000000;
    --textcolor2: #144821;
    --textwhite: #f3ede6;
    --textblack: #000000;
    --footertextcolor: #5e5e5e;
    --highlightcolor: #d22a71;
    --primarycolor: #acd3ba;
    --secondarycolor: #4dc47a;
    --shadowcolor: #33353331;
    --gradientgold: linear-gradient(#f3c224, #c67a08);
    --golddarker: #c67a08;
    --gradientgoldbanner: linear-gradient(#f3c224 0%, var(--golddarker) 100%);
    --reddarker: #6a0c51;
    --gradientred: linear-gradient(#f7057e 0%, var(--reddarker) 100%);
  }
  nav {
    box-shadow: 0 2px 4px var(--shadowcolor);
  }
  .card {
    box-shadow: 0 3px 10px var(--shadowcolor);
  }
}
@media (prefers-color-scheme:dark) {
  :root {
    --pagecolor: #000000;
    --pagecolor2: #151515;
    --headercolor: #292929ce;
    --cardcolor: #292929;
    --buttoncolor: #3a3a39;
    --buttonhovercolor: #50504f;
    --textcolor: #f3ede6;
    --textcolor2: #75c27f;
    --textwhite: #f3ede6;
    --textblack: #000000;
    --footertextcolor: #a1a1a1;
    --highlightcolor: #de4c89;
    --primarycolor: #30503c;
    --secondarycolor: #126f34;
    --shadowcolor: #494949;
    --gradientgold: linear-gradient(#aa770a, #87691c, #30253c);
    --golddarker: #614b14;
    --gradientgoldbanner: linear-gradient(#aa770a 0%, var(--golddarker) 100%);
    --reddarker: #6a0c51;
    --gradientred: linear-gradient(#f7057e 0%, var(--reddarker) 100%);
  }
}

html {
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--pagecolor);
  color: var(--textcolor);
  line-height: 1.6;
}
a {
  color: var(--secondarycolor);
  text-decoration: none;
}
a:hover {
  color: var(--primarycolor);
}

.container {
  max-width: 60vw;
  margin: 0 auto;
  padding: 0 3em;
}

nav {
  background-color: var(--headercolor);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
}

#headerlogo {
  fill: var(--secondarycolor);
  height: 3em;
  margin: 0 1em;
}
.headerbanner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5em;
  color: var(--textcolor);
  font-size: 1em;
}
.headerbanner p {
  color: var(--textcolor);
}
a:hover .headerbanner {
  filter: brightness(120%);
  transition: 0.3s;
}

.nav-links a {
  text-decoration: none;
  margin-left: 30px;
  color: var(--textcolor);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondarycolor);
}

input:focus {
  outline: none;
}
.searchbar {
  display: flex;
}
.searchbar * {
  font-size: 1em;
}
.searchbar input {
  background-color: var(--pagecolor2);
  color: var(--textcolor);
  border: none;
  padding: 0.5em 1em;
  width: 13em;
  border-radius: 0;
  border-bottom-left-radius: 0.5em;
  border-top-left-radius: 0.5em;
}
.searchbar button {
  background-color: var(--buttoncolor);
  color: var(--textcolor);
  border: none;
  margin: 0;
  padding: 0.5em 0;
  width: 5em;
  border-bottom-right-radius: 0.5em;
  border-top-right-radius: 0.5em;
}
.searchbar button:hover {
  background-color: var(--buttonhovercolor);
}
.searchcontainer {
  display: block;
  width: 20em;
}
.searchresults {
  position: absolute;
  z-index: 100;
  width: 20em;
  background-color: var(--pagecolor2);
  border-radius: 0.5em;
  height: fit-content;
  overflow: hidden;
}
.searchresult {
  border-top: 1px solid var(--pagecolor);
  padding: 0.25em 1em;
  color: var(--textcolor);
}
.searchresult:hover {
  background-clip: inherit;
  background-color: var(--secondarycolor);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--textcolor);
}

p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}
p.centered {
  text-align: center;
}

.content-section {
  padding: 4em 0;
}

.second-color {
  background-color: var(--pagecolor2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.card {
  padding: 1em;
  border-radius: 1em;
  background-color: var(--cardcolor);
  color: var(--textcolor);
}

h2 {
  margin: 1em 0;
  font-size: 2rem;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  margin: 0.5em;
  border-radius: 25px;
  background-color: var(--secondarycolor);
  color: var(--textwhite);
  text-decoration: none;
  transition: transform 0.3s ease;
  width: fit-content;
  font-weight: 600;
}

.button:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

footer {
  display: flex;
  background-color: var(--pagecolor);
  border-top: 2px solid var(--pagecolor2);
  justify-content: center;
  padding: 2em 0;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60vw;
}
.footer-logo {
  flex-basis: 1;
  width: 50%;
  display: flex;
  border-right: 2px solid var(--pagecolor2);
}
.footer-logo h3 {
  margin: 0 1em;
}
.footer-links {
  display: flex;
  flex-basis: 2;
  justify-content: space-around;
  width: 100%;
}
.footerlist {
  display: flex;
  flex-direction: column;
}

#footerlogo {
  height: 5em;
  fill: var(--textcolor);
}