/*CSS Code*/

:root {
  --content-primary: #FFFFFF;
  --content-inversePrimary: #12130F;

  --background-primary: #12130F;
  --background-inversePrimary: #FFFFFF;
  --background-secondary: #536379;
}

/* Color Palette
Content Primary: #FEFFFE
Background Secondary: #637081
Background Primary: #08090A
*/

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background-primary);
  color: var(--content-primary);
}

a {
  color: var(--content-primary);
  text-decoration: none;
}

/* ---------------- cards ---------------- */

.cards {
  color: var(--content-primary); 
  display: flex;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
}

.cards-grid {
  display: grid;
}

.card {
  display: flex;
  margin: 0 0.4rem;
  align-items: center;
  margin-bottom: 1.2rem;
  background: var(--background-secondary);
  flex-direction: column;
  justify-content: center;
  border-radius: 0.75rem;
}

.cards .card .icon {
  z-index: 1;
  font-size: 3rem;
  color: #FCFCFC;
  margin-top: 2rem;
  position: relative;
  margin-bottom: 1.6rem;
}


.cards .card .icon::before {
  content: "";
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  padding: 0.4rem;
  position: absolute;
  border-radius: 1rem;
  background: rgb(255 255 255 / 5%);
  transform: translate(-50%, -50%);
}

.cards .card:hover {
  color: var(--content-primary); !important;
}

.cards .card:hover .icon::before {
  background: rgb(209 228 245 / 20%); /*d1e4f5 GRAY I LIKE*/
  transform: translate(-50%, -50%);
}

.cards .card .title {
  font-size: 1.5rem;
  color: var(--content-primary);
}

.cards .card .desc {
  font-size: 0.8rem;
  max-width: 100%;
  line-height: 20px;
  text-align: center;
  margin: 0.8rem;
  color: var(--content-primary);
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
/*  flex: auto;*/
}

/* ---------------- end cards ---------------- */

/* ---------------- Navigation Bar ---------------- */

.navbar {
  display: flex;
  height: 4.2rem;
  padding: 0 1.5rem;
  position: relative;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background-primary);
}

.navbar.active {
  z-index: 2;
  width: 100%;
  position: fixed;
  background: #0D090A;
  animation: animateMenu 0.3s;
}

@keyframes animateMenu {
  from {
    transform: translateY(-2rem);
  }
  to {
    transform: translateY(0rem);
  }
}

.navbar ul {
  display: flex;
}

.navbar nav ul li {
  margin: 0 0.6rem;
  list-style: none;
  position: relative;
  flex: auto;
}

.navbar nav ul li::before {
  content: "";
  left: 0;
  top: -2px;
  height: 1px;
  background: #fff;
  position: absolute;
  transform: scale(0);
  width: calc(50% - 0.5rem);
  transform-origin: center;
  transition: transform 0.3s
}

.navbar nav ul li:hover::before {
  transform: scale(1); /*THIS IS THE LINE ABOVE NAV BAR*/
}

.navbar nav ul li::after {
  content: "";
  right: 0;
  bottom: -2px;
  height: 1px;
  background: #FCFCFC;
  position: absolute;
  transform: scale(0);
  width: calc(50% - 0.5rem);
  transform-origin: center;
  transition: transform 0.3s
}

.navbar nav ul li:hover::after {
}

.menuBtn {
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.menuBtn span {
  height: 0.18rem;
  position: absolute;
  border-radius: 8px;
  background-color: #fff;
  transition: 0.3s;
}

.menuBtn span:nth-child(1) {
  left: 10%;
  width: 50%;
  transform: translateY(-12px);
}

.menuBtn.active span:nth-child(1) {
  left: 10%;
  width: 80%;
}

.menuBtn span:nth-child(2) {
  width: 80%;
}

.menuBtn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(40px);
}

.menuBtn span:nth-child(3) {
  left: 10%;
  width: 50%;
  transform: translateY(12px);
}

.menuBtn.active span:nth-child(3) {
  left: 10%;
  width: 80%;
  transform: translateY(0px)
}

/* ---------------- End Navigation Bar ---------------- */

/* ---------------- Home section ---------------- */

.home-section .logo {
  display: flex;
  width: 400px;
  height: 400px;
  border-radius: 1rem;
  margin: auto;
  background: var(--background-secondary);
}

.home-section .logo img {
/*  align: auto;*/

}

/* ---------------- End Home section ---------------- */

/* ---------------- About section ---------------- */

.about-section {
  /*width: 75%;
  height: 100%;*/
/*  margin: 0 1.5rem;*/
  margin-top: 10rem;
  max-width: 100%; /*was 25*/
  display: block;
  align-content: center;
}

.about-section .section-title {
  text-align: center;
  font-size: clamp(3rem, 4vw, 5rem);
  margin-bottom: 5rem;
}

.about-section .content {
  margin: auto;
  width: 50%;
  font-size: 1.0rem;
  line-height: 30px;
  max-width: fit-content;
}

/* ---------------- End About section ---------------- */

/* ----------------  Events section ---------------- */

.events-section {
  margin-top: 10rem;
  margin-bottom: 0;
}

.events-section .section-title {
  text-align: center;
  font-size: clamp(3rem, 4vw, 5rem);
  margin-bottom: 5rem;
}

.about-section .content {
  margin: auto;
  width: 50%;
  font-size: 1.0rem;
  line-height: 30px;
  max-width: fit-content;
}

/* ---------------- End Events section ---------------- */

/* ---------------- Team section ---------------- */

.team-section {
  margin-top: 10rem;
  margin-bottom: 0;
}

.team-section .section-title {
  text-align: center;
  font-size: clamp(3rem, 4vw, 5rem);
  padding-top: 12rem;
  margin-bottom: 5rem;
  color: var(--content-primary);
}

.team-section .cards .card .title {
  color: var(--content-primary);
}

.team-image {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar {
  display: inline-block;
  overflow: hidden;
/*  position: relative;*/
  --size: 5.5rem;
  margin: 1rem;
}

/*
z-index: 1;
  font-size: 3rem;
  color: #FCFCFC;
  margin-top: 2rem;
  position: relative;
  margin-bottom: 1.6rem;
*/

.team-section.card {
  width: 33%;
  max-width: 100%;
}

.team-section .cards {
/*  margin: 1rem;*/
} 

@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
}

/*TODO: Fix, use this card instead of the others....once successful*/
.team-card {
/*  display: flex;*/
/*  flex-direction: column;*/
  align-items: center;
  justify-content: center;
  margin: 0 0.4rem;
  margin-bottom: 1.2rem;
  --background-color: var(--background-secondary);
}

.team-card .title {
  text-align: center;
  color: var(--content-primary);
}

.team-card .desc {
  text-align: center;
  color: var(--content-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 3rem;
  grid-row-gap: 2rem;
}

/* ---------------- end team  ---------------- */

/* ---------------- pacts  ---------------- */

.pacts-section {
  margin-top: 10rem;
  margin-bottom: 2rem;
}

.pacts-section .section-title {
  text-align: center;
  font-size: clamp(3rem, 4vw, 5rem);
  margin-bottom: 5rem;
}

.pacts-content {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.pacts-card {
  width: 75%;
  align-items: center;
  --box-shadow: 5px 5px gray;
}

.pacts-card::part(base) {
  color: var(--content-primary);
  background-color: var(--background-secondary);
}

.pacts-list {

}

/* ---------------- end pacts  ---------------- */

/* ---------------- footer  ---------------- */

.footer {
  overflow-x: hidden;
  background-color: darkred;
}

.footer .copyright {
  font-size: 0.7rem;
  display: flex;
  margin-bottom: 1rem;
  justify-content: center;
  color: rgb(255 255 255 / 50%);
}

/* ---------------- end footer  ---------------- */

@media (max-width: 665px) {
  /*.navbar nav ul {
    top: 0%;
    z-index: 1;
    left: -100%;
    width: 100%;
    height: 100vh;
    position: absolute;
    align-items: center;
    background: #010910;
    flex-direction: column;
    justify-content: center;
    transition: left 0.4s ease-in-out;
  }

  .navbar nav ul.show {
    left: 0;
  }

  .navbar nav ul li {
    font-size: 1.2rem;
    margin: clamp(1rem, 4vh, 1.8rem) 0;
  }*/

  .team-section .cards {
    display: grid;
    grid-template-columns: auto auto;
  }
}

@media (max-width: 480px) {
  .team-section .cards {
    display: grid;
    overflow-x: hidden;
    margin: 0 1rem;
    grid-template-columns: auto;
  }

  .team-section .cards .card {
    width: 20rem;
    max-width: 20rem;
  }
}

/* ---------------- dark mode  ---------------- */


@media (prefers-color-scheme: dark) {
  body {
    color: var(--content-primary);
    background: var(--background-primary);
  }
}

@media (prefers-color-scheme: light) {
   body {
    color: var(--content-inversePrimary);
    background: var(--background-inversePrimary);
  }
}