/* ANIMATIONS */

@keyframes fade {
  0% {
      opacity: 0;
  }

  50% {
      opacity: 0;
  }

  100% {
      opacity: 1;
  }
}

.fade {
  animation: fade ease 2.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.zoom {
  padding: 50px;
  background-color: green;
  transition: transform .2s;
  margin: 0 auto;
}

.zoom:hover {
  transform: scale(1.2);
}

/* FONTS */


/* BODY AND GENERAL TAGS */

body {
  background-image: linear-gradient(#579E36, #D585DC);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

h1 {
  font-family: poppins;
  font-weight: 600;
  font-style: normal;
  font-size: 40pt;
  margin-bottom: 2%;
  color: #fbfffa;
  text-align: center;
}

h2 {
  font-family: poppins;
  font-weight: 600;
  font-style: normal;
  font-size: 30pt;
  margin-bottom: 2%;
  color: #fbfffa;
}

h3 {
  font-family: poppins;
  font-weight: 600;
  font-style: normal;
  font-size: 20pt;
  margin-bottom: 2%;
  color: #fbfffa;
}

h4 {
  font-family: poppins;
  font-size: 16pt;
  color: #fbfffa;
  margin-bottom: 1%;
}

h5 {
  font-family: poppins;
  font-weight: 600;
  font-style: normal;
  font-size: 10pt;
  color: #fbfffa;
  margin-bottom: 2%;
}

p {
  font-family: poppins;
  color: #fbfffa;
  font-size: 16pt;
}

a {
  font-family: poppins;
  color: #fbfffa;
  font-size: 16pt;
}

li {
  font-family: poppins;
  color: #fbfffa;
  font-size: 16pt;
}

b::before {
  transform: scaleX(0);
  transform-origin: bottom right;
  content: " ";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0 0 0 0;
  background: #793872;
  z-index: -1;
  transition: transform .3s ease;
}

b {
  position: relative;
}

b:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

td, th {
  border: #252525 1px solid;
  border-radius: 10px;
  font-family: poppins;
  color: #fbfffa;
  width: auto;
  min-width: fit-content;
  padding: 10px;
}

th { 
  text-align: left;
}

/* TABLES  */

.green-table th { 
  background-color: #579E36;
}

.green-table td { 
  background-color: #447e15;
}

.green-table-light th { 
  background-color: #3e6f20;
}

.green-table-light td { 
  background-color: #4b8428;
}

.purple-table th { 
  background-color: #7a3073;
  
}

.purple-table td { 
  background-color: #6b2964;
}


.header {
  animation-name: fade;
  animation-duration: 3.5s;
  display: flex;
  justify-content: center;
  margin-top: 15%;
}

.logo-home {
  display: inline-block;
  height: 20vw;
  width: auto;
}

.logo {
  display: inline-block;
  height: 80px;
  width: auto;
}

.logoSmall {
  display: inline-block;
  height: 5vw;
  width: auto;
}

/* IMAGES */

.display-img {
  width: 50%;
  height: 50%;
  border-radius: 40px;
  border: #252525 solid 2px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.display-img-h {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  border: #252525 solid 2px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.display-img-nb {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}


/* POSITIONS */

.row {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.col  {
  display: flex;
  flex-direction: column;
}

.left {
  display: flex;
  justify-content: left;
}

.right {
  display: flex;
  justify-content: right;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container {
  display: block;
  justify-content: center;
  padding: 2% 15%;
}

/* MENU POP-UP */

.nav-bar {
  display: flex;
  justify-content: center;
  flex-direction: row;
  font-family: "Poppins";
  color: #fbfffa;
  font-weight: 700;
  font-size: 14pt;
  gap: 10vw;
  padding: 30px;
}

.popup-button {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup-button .menu-card {
  visibility: hidden;
  display: grid;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  background-color: #30531f;
  position: absolute;
  z-index: 1;
  color: #fbfffa;
  animation-name: fade;
  animation-duration: 1s;
  font-family: "Poppins", sans-serif;
  margin-top: 8px;
}

.menu-card a {
  text-decoration: none;
  color: #fbfffa;
  margin-bottom: 6px;
  margin-top: 6px;
}

.popup-button .show {
  visibility: visible;
}

/* BUTTON ROW */

.button-row button:hover {
  background-color: #b1d361;
  border: #8fb23d solid 2px;
}

/* TEAM PHOTOS */

.team-photo {
  display: block;
  max-width: auto;
  height: 100%;
  border-radius: 40px;
  border: #30531f solid 4px;
}

.team-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.member-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: flex-start;
  padding: 2%;
  width: 25%;
  border-radius: 20px;
  border: #30531f solid 4px;
  background-color: #40672E;
  color: #fbfffa;
}

.member-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  border: #30531f solid 4px;
}

.members .member-card {
  background-color: #793872;
  border: #5d2157 solid 4px;
}

.members .member-card img {
  border: #5d2157 solid 4px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.categories a {
  background-color: #D585DC;
  border: #904689 solid 2px;
  border-radius: 20px;
  padding: 3% 4%;
  color: #fbfffa;
  font-size: 14pt;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.categories a:hover {
  background-color: #AD4FB5;
  border: rgb(107, 41, 100) solid 2px;
  border-radius: 20px;
  padding: 3% 4%;
  color: #fbfffa;
  font-size: 14pt;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}


/* TIMELINE */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 0;
}

.entry-card {
  border-radius: 40px;
  padding: 2% 4%;
  margin-left: 60px;
  position: relative;
}

.entry-card::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #D585DC;
  border: #fbfffa solid 4px;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  left: -75px;
  margin-top: 45px;
}

.entry-card-plain {
  border-radius: 40px;
  padding: 2% 4%;
}
/* FOOTER */

.footer {
  display: flex;
  flex-direction: column;
  padding: 5% 10%;
  text-align: center;
  background-color: #965B90;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: #80447a 2px solid;
}



