* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #e6e8f0;
  width: 100%;
  /* background: linear-gradient(to right, #E6F7FF, #AFCBFF); */
  color: #333333;
  font-family: "Montserrat", sans-serif !important;
}

.arrow a {
  color: white;
  text-decoration: none;
  font-size: 30px;
}
.arrow {
  text-align: center;
  margin-top: 3%;
}
.bounce {
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.arrowP a {
  color: #1c1f4a;
  text-decoration: none;
  font-size: 30px;
}
.arrowP {
  text-align: center;
  margin-top: -5% !important;
}
.bounce {
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(-40px);
  }
  60% {
    transform: translateY(-25px);
  }
}

html {
  scroll-behavior: smooth;
}

.welcome {
  text-align: center;
  font-size: 4rem;
  color: #342e6e;
  animation: fadeInUp 2s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes color {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.top {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 34rem;
}
.logoo {
  width: 25.05rem;
  height: 25rem;
}

.animated-background {
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: animateBackground 2s linear infinite;
  background-image: url("/photos/teamslogo/iste.png");
  background-size: cover;
  opacity: 0.8;
}

@keyframes animateBackground {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.middle {
  width: 100%;
  margin-bottom: 1rem;
}

.middle h1 {
  color: #1f3a93;
}

.content-box {
  margin-top: 2rem;
  /* background-color: #f5f5dc;
  background-color: #e6e6fa;
  background: linear-gradient(to right, #d4e4f7, #afcbff); */
  background-color: white;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3%;
  border-radius: 0.7rem;
}
.content-box h1 {
  font-size: 3rem;
  padding-top: 2rem;
}
.information {
  width: 90%;
  padding: 5%;
  padding-top: 2%;
  line-height: 1.8rem;
  font-size: 1.3rem;
  padding-bottom: 0;
  color: #333333;
  word-spacing: 10px;
}

.view {
  all: unset;
  background-color: #1c1f4a;
  width: 15rem;
  height: 4rem;
  color: white;
  font-size: 1.4rem;
  font-weight: 550;
  border-radius: 0.7rem;
  text-align: center;
}
.but {
  width: 100%;
  display: flex;
  justify-content: center;
}

.view:hover {
  box-shadow: 3px 3px 10px #3a4fbd;
  transform: scale(1.1);
  cursor: pointer;
}

.benefits {
  display: none;
}

.last {
  width: 100%;
}

.last h1 {
  color: #1f3a93;
  font-size: 3rem;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.teams {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.team .direct {
  height: 2rem;
  width: 7rem;
  text-align: center;
  margin: auto;
  margin-top: 1rem;
  padding: 0.8rem;
  font-size: 1.6rem;
  background-color: #1c1f4a;
  border-radius: 2rem;
  color: white;
  font-weight: 550;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease;
}

.direct:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.2s ease;
  color: #1c1f4a;
  border: 2px solid #1c1f4a;
  background-color: white;
}

.team {
  width: 26rem;
  background-color: #f0f1f5;
  margin: 1rem;
  border-radius: 0.7rem;
}

.team:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
  transition: 0.3s ease;
}

.team-image {
  height: 13rem;
  width: 90%;
  margin: 1rem auto;
}

.team h3 {
  color: #f93535;
  font-size: 1.8rem;
  text-align: center;
  padding-bottom: 1rem;
}

.team-description {
  font-size: 1.1rem;
  width: 90%;
  margin: auto;
  display: none;
  color: #333333;
}

.teams img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1080px) {
  .top {
    justify-content: space-around;
  }
  .logoo {
    width: 20.05rem;
    height: 20rem;
  }
  .graphic {
    height: 27rem;
  }
  .welcome {
    font-size: 3.5rem;
  }
  .content-box {
    width: 85%;
  }
  .information {
    line-height: 1.3rem;
    font-size: 1.2rem;
  }
  .content-box h1 {
    font-size: 2.5rem;
    padding-top: 1.5rem;
  }
  .team {
    width: 26rem;
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(-40px);
    }
    40% {
      transform: translateY(-70px);
    }
    60% {
      transform: translateY(-55px);
    }
  }
}

@media (max-width: 500px) {
  .top {
    justify-content: space-around;
  }
  .logoo {
    width: 15.04rem;
    height: 15rem;
  }
  .graphic {
    height: 20rem;
  }
  .welcome {
    font-size: 2.5rem;
  }
  .content-box {
    width: 90%;
  }
  .information {
    line-height: 1.3rem;
    font-size: 1rem;
  }
  .information h1 {
    font-size: 2rem;
    padding-top: 1rem;
  }
  .team-description {
    font-size: 1rem;
  }
  .team {
    width: 24rem;
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(-40px);
    }
    40% {
      transform: translateY(-70px);
    }
    60% {
      transform: translateY(-55px);
    }
  }
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
}

/* animation */
