:root {
    --black: #231f20;
    --grey: #474545;
    --white: #f5f2ee;
    --light_blue: #add1e9;
    --dark_blue: #266a97;
    --light_orange: #fdd089;
    --dark_orange: #fb7c3b;
    --box_glow: rgba(236, 232, 226, 0.5);
    --box_shadow: rgba(14, 13, 13, 0.5);
}

@font-face {
  font-family: Gazpacho-Black;
  src: url(../../back/fonts/Gazpacho-Font-Family/Gazpacho-Font-Family/Gazpacho-Black.otf);
}

@font-face {
  font-family: Gazpacho-Light;
  src: url(../../back/fonts/Gazpacho-Font-Family/Gazpacho-Font-Family/Gazpacho-Medium.otf);
}

html {
    scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: Gazpacho-Black;
  font-size: 1.5rem;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

section {
  display: flex;
  width: 100%;
  height: 90vh;
  justify-content: center;
  text-align: center;

}

h1 {
  font-family: Gazpacho-Black;
  font-weight: 900;
  font-style: normal;
  font-size: 5rem;
  font-variant: small-caps;
}

p {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1rem;
}

.section_content {
  width: 80vh;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.whitebox {
  border-color: white;
  border-radius: 2px;
  border: 2px;
  box-shadow: 0px 0px 3px 3px var(--box_glow);
  padding: 5px;
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1rem;
}

.blackbox {
  border-color: black;
  border-radius: 2px;
  border: 2px;
  box-shadow: 0px 0px 3px 3px var(--box_shadow);
  padding: 5px;
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1rem;
}

#nav {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 80vh;
  background-color: color-mix(var(--white) 90%, transparent);
  color: var(--black);
  padding: 1rem;
  margin-top: 1rem;
  align-self: center;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

#nav_logo {
  height: 40px;
  margin-right: 1rem;
  float: left;
}

#nav_logo:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

#nav > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
  width: 100%;
}

#nav > ul > li > a {
  color: var(--black);
  font-family: Gazpacho-Black;
  font-size: 1.25rem;
  text-transform: uppercase;
  text-decoration: none;
}

#nav > ul > li > a:hover {
  color: var(--dark_blue);
}

#nav > ul > li > a:active {
  color: var(--dark_orange);
}

#footer {
  padding-bottom: 50px;
  padding-top: 50px;
  margin-top: 50px;
  background-color: var(--grey);
  text-align: center;
  width: 100%;
  height: 50vh;
  font-family: 'Fira Sans', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#footer_content {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: top;
  text-align: center;
}

#footer_column ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#footer_column > ul > li > a {
  color: var(--white);
  font-family: Gazpacho-Black;
  font-size: .5rem;
  text-transform: uppercase;
  text-decoration: none;
}

#footer_column > ul > li > a:hover {
  color: var(--dark_blue);
}

#footer_column > ul > li > a:active {
  color: var(--dark_orange);
}

#footer_bottom {
  border-top: 1px solid var(--white);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem;
}

/* ANIMATIONS */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 2s ease-out 1 both;
}

@media (prefers-reduced-motion: reduce) {
  

  .fade-in-element,
  .fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
  }
}

@media (max-width: 768px) {
  #nav {
    width: 90%;
    padding: 0.5rem;
    margin-top: 0.5rem;
  }

  #nav > ul {
    flex-direction: row;
    gap: 0.5rem;
  }

  #nav > ul > li > a {
    font-size: .8rem;
  }

  h1 {
    font-size: 3rem;
  }

  .quote p {
    width: 80%;
    font-size: 0.9rem;
  }
}

