/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #acacac;
  --first-color-light: #c4c4c4;
  --first-color-lighten: #131313;
  --gradient-color: #fff5;
  --title-color: #000000;
  --text-color: #000000;
  --white-color: #000000;
  --body-color: #131313;
  
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
}

/*=============== BASE ===============*/

body::-webkit-scrollbar{
  width: 0.5rem;
  height: 0.5rem;
}

body::-webkit-scrollbar-thumb{
  border-radius: .5rem;
  background-color: #dddcd2a9;
  visibility: visible;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  overflow: hidden;
}

ul {
  list-style: none;
}

a {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.container {
  height: 100vh;
  margin-inline: 1.5rem;
  display: grid;
  place-items: center;
}

.container {
  animation: fadeIn 1s ease;
}

.card {
  position: relative;
  width: 290px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(167, 167, 167, 0.77);
  border-radius: 30px;
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
  box-shadow: 0 .4rem .8rem #0005;
}
.card__img {
  width: 90px;
}
.card__border {
  width: 124px;
  height: 124px;
  background-color: var(--first-color-light);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
}
.card__perfil {
  width: 104px;
  height: 104px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.card__name, .card__profession {
  color: var(--white-color);
}
.card__name {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.card__profession {
  font-size: var(--smaller-font-size);
  font-weight: 500;
}

.card header {
  font-size: 1.5rem;
  color: #000000;
  font-weight: 600;
  text-align: center;
}

button {
  font-family: "Poppins", sans-serif;
  height: 55px;
  width: 100%;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.534);
}

.card button {
  background: linear-gradient(to right, #696969, #2b2b2b);

}

/*=============== CARD INFO ===============*/
.info {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  background-color: rgba(32, 32, 32, 0.932);
  padding: 6rem 3rem 7rem;
  border-radius: 30px;
  clip-path: circle(16px at 250px 40px);
  transition: clip-path 0.4s ease-in-out;
}




.info__icon {
  position: absolute;
  top: 1.36rem;
  right: 1.26rem;
  font-size: 1.5rem;
  color: var(--first-color-light);
  display: inline-flex;
  padding: 0.25rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.info__img {
  width: 45px;
}
.info__border {
  width: 64px;
  height: 64px;
  background-color: var(--first-color-light);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  transform: translateX(-3rem);
  transition: transform 0.8s;
}
.info__perfil {
  width: 52px;
  height: 52px;
  background-color: var(--first-color-light);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.info__data {
  display: grid;
  row-gap: 0.25rem;
  margin-bottom: 1.5rem;
  transform: translateX(-2rem);
  transition: transform 1s;
}
.info__name {
  font-size: var(--normal-font-size);
  color: var(--title-color);
}
.info__profession, .info__location {
  font-size: var(--smaller-font-size);
}
.info__social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
  transform: translateX(-5rem);
  transition: transform 1.2s;
}
.info__social-link {
  width: 32px;
  height: 32px;
  background-color: var(--first-color-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.info__social-link:hover {
  transform: translateY(-0.25rem);
}
.info__social-icon {
  display: inline-flex;
  background: var(--gradient-color);
  padding: 0.25rem;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1rem;
}

.info button {
  font-family: "Poppins", sans-serif;
  height: 55px;
  width: 100%;
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #a8a8a8;
  border-radius: 30px;
  border: 2px solid rgb(97, 97, 97);
}
.info button:hover {
  background: #949494;
}

/* Card info animation */
.info:hover {
  clip-path: circle(75%);
}
.info:hover .info__icon {
  opacity: 0;
}
.info:hover .info__border, .info:hover .info__data, .info:hover .info__social {
  transform: translateX(0);
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Adjust footer font size for smaller screens */
  .footer h3 {
      font-size: 20px;
      letter-spacing: normal;
  }

  .footer #container{
    padding: 15px;
  }

}

 /* BG SLIDESHOW CSS */
 .slideshow,
 .slideshow::after {
   position: fixed;
   width: 100%;
   height: 100%;
   top: 0px;
   left: 0px;
   z-index: 0px;
   opacity: 40%;
 }
 .slideshow::after {
   content: '';
   ;
 }
 .img-bg-slide {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0px;
   left: 0px;
   color: transparent; /*hides span's text*/
   background-size: cover; /* covers whole viewport */
   background-position: 100% 100%;
   background-repeat: none;
   opacity: 0;
   z-index: 0;
   animation: backgroundSlideshow 60s linear infinite 0s;
 }
.slideshow li:nth-child(1) .img-bg-slide {
  background-image: url('../bg-img/1.webp');
}
.slideshow li:nth-child(2) .img-bg-slide { 
      background-image: url('../bg-img/2.webp');
      animation-delay: 15s; 
}
.slideshow li:nth-child(3) .img-bg-slide { 
      background-image: url('../bg-img/3.webp');
      animation-delay: 30s; 
}
.slideshow li:nth-child(4) .img-bg-slide { 
      background-image: url('../bg-img/4.webp');
      animation-delay: 45s; 
}
 @keyframes backgroundSlideshow {
   0% { opacity: 0;}
   12.5% { opacity: 1;}
   25% { opacity: 1;}
   37.5% { opacity: 0;}
   100% { opacity: 0;} 
 }
 /* End of BG SLIDESHOW */
 
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgb(0 0 0 / 31%);
  z-index: 99;
  display: none;
}

.popup {
  background: linear-gradient(to right, #797979, #434343);
  border: 2px solid rgba(167, 167, 167, 0.77);
  width: 380px;
  padding: 8px 31px;
  position: fixed;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 30px;
  font-family: "Poppins", sans-serif;
  display: none;
  text-align: center;
  box-shadow: 0 0.5rem 0.9rem rgba(0, 0, 0, 0.432);
  animation: fadeIn 0.5s ease;
  z-index: 100;
}

.popup button {
  display: block;
  margin: revert-layer;
  background-color: transparent;
  font-size: 30px;
  font-weight: bold;
  color: #bdbdbd;
  border: none;
  outline: none;
  cursor: pointer;
}

.popup img {
  font-size: 14px;
  text-align: justify;
  margin: 20px 0;
  line-height: 25px;
  border-radius: 20px;
  box-shadow: 0 0.5rem 0.9rem rgba(0, 0, 0, 0.432);
  max-width: 100%;
}

.popup.closing {
  animation: fadeOut 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .popup {
    width: 80%;
    padding: 10px 20px;
  }

  .popup img {
    margin: 20px auto;
    display: block;
  }
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  font-size: 32px;
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
}

#spinner {
  width: 2em;
  animation: rotate 750ms linear infinite;
}

@keyframes rotate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

#sGD stop {
  stop-color: #ffffff;
}

.path-solid {
  stroke: #ffffff;
}