@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --Golden-black: hsl(40, 6%, 9%);

  --Gold: #c9a24a;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  background-color: var(--Golden-black);
  background-image: url(Gumbo\ pictures/JMFC-2024-MD-c-1125.jpg);
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: 50%;
  background-position-y: 5rem;

  overflow-x: hidden;
}
.topstuff {
  padding-right: 3rem;
  padding-top: 1rem;
  display: flex;

  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 0.3rem;
}

.infotab {
  font-size: 20px;
  color: white;
  display: flex;
  justify-content: space-evenly;

  min-width: 350px;
}

.infotab a {
  text-decoration: none;
  color: white;
}
.Header {
  padding-left: 2.5rem;
}
.title {
  color: white;
  font-size: 2rem;
}

.homebox1 {
  background-color: var(--Gold);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  max-width: 93%;
  margin: auto;
  position: relative;
  top: 40rem;
}
.homeimage {
  padding-left: 2.5remS;
  opacity: 100;
}

.hooktext {
  opacity: 0;
  animation-name: starttext;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 0.9s;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10rem;
  margin: auto;
  letter-spacing: 3px;
  max-width: 90%;
  min-height: 42rem;

  position: relative;
  top: 1.5rem;

  color: #f5f5f5;
  font-size: 3.5rem;
  letter-spacing: 2px;
  font-weight: 600;
}
.hooktexts {
  position: relative;
  top: -4rem;
}
.hooktext span {
  color: #c9a24a;
  font-size: 1.2;
}
@keyframes starttext {
  0% {
    opacity: 0%;
    transform: translateY(20px);
  }
  10% {
    opacity: 0%;
    transform: translateY(20px);
  }
  100% {
    opacity: 100%;
    transform: translateY(0);
  }
}

.infotab a {
  display: inline-block;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.infotab a:hover {
  transform: scale(1.1);
  color: beige;
  text-decoration: underline;
}

.intro {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  position: relative;
  top: -21rem;
  min-height: 700px;

  color: #f5f5f5;
  font-size: 100px;
  font-weight: 1000;
}

.s {
  color: wheat;
  position: relative;
  top: -5rem;
  left: -13rem;
}
.f {
  color: wheat;
  position: relative;
  top: -3rem;
  left: 17rem;
}
.d {
  color: wheat;
  position: relative;
  top: -1rem;
  left: -10rem;
}
.a {
  color: var(--Gold);
  position: relative;
  top: 3rem;

  animation-name: textinout;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 30% cover 55%;
}

.paragraph {
  padding-left: 4rem;
  font-size: 30px;
  position: relative;
  top: 9rem;
  animation-name: textinout;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
.goldbox {
  position: relative;
  top: 10rem;

  border-radius: 40%;
  color: wheat;
  background-color: gold;

  display: flex;
  justify-self: center;
  align-self: center;

  min-height: 500px;
  min-width: 10px;

  animation-name: textinout;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 20% cover 50%;
}

.goldbox2 {
  position: relative;
  top: 16rem;

  background-color: #a28b56;

  display: flex;
  justify-self: center;
  align-self: center;

  min-height: 10px;
  min-width: 800px;

  animation-name: textinout;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}
.autoshow {
  animation-name: textinout;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 20% cover 65%;
}

.container {
  position: relative;
  top: 10rem;
  width: 90%;
}

.text {
  font-size: 5rem;
  letter-spacing: 10px;
  display: flex;
  justify-content: center;
  color: #534b4b;
  cursor: pointer;
  z-index: 2;
  position: relative;
  top: 3rem;
}

.goldbox3 {
  background-color: #56492a;
  height: 16px;
  width: 50rem;
  position: relative;
  margin: 0 auto;
  top: 5rem;
  z-index: 2;
}

.colorfill {
  position: absolute;
  inset: 0;
  background: transparent;
  transform: scale(0);
  border-radius: 50%;
  transition:
    transform 0.8s ease,
    background 0.8s ease;
  z-index: -1;
}

.container.active .colorfill {
  transform: scale(3);
}

.paragraph2 {
  opacity: 0;
  font-size: 25px;
  transform: translateY(30px);
  transition: 0.6s ease;
  text-align: center;
  padding-top: 7rem;
  color: white;

  max-width: 900px;
  margin-left: auto;
  margin-right: auto;

  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.container.active .paragraph2 {
  opacity: 1;
  transform: translateY(0);
}

.container.active .goldbox3 {
  border: 0;
}

.learn {
  display: block;
  text-align: center;
  color: white;
  text-decoration: none;

  font-size: 20px;
  position: relative;
  top: 13rem;
}

.aboutfin {
  transition: transform 0.3s ease;
}

.servicesfin {
  transition: transform 0.3s ease;
}
.aboutfin:hover {
  transform: scale(1.1);
  color: beige;
}

.servicesfin:hover {
  transform: scale(1.1);
  color: beige;
}
/* add if adding footer


.endbox {
  background-color: #111;
  min-width: 100%;
  min-height: 7rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.innerline {
  background-color: white;
  min-width: 95%;
  min-height: 5px;
  max-height: 5px;
  color: beige;
  display: flex;
  justify-content: center;
  position: relative;
  top: 4rem;
}
.quick {
  display: flex;

}
*/

.servicesfin {
  position: relative;
  left: 3.5rem;
}

@keyframes textinout {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.linegrow {
  animation: linegrowq both;
  animation-timeline: view();
}

@keyframes linegrowq {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}
