@import url("https://fonts.googleapis.com/css2?family=Iceland&display=swap");
:root {
  --primarycolor: #00a2e8;
  --primary-color: #00a2e8;
  --main-color: #00a2e8;
  --secondarycolor: #415a77;
  --shadowcolor: #e0e1dd;
  --background-color: #d9d9d9;
  --details: #0d1b2a;
  --font-color: white;
  --light-bg: #dfe7f1;
  --very-light-bg: #fbfdff;
  --chart-color: rgb(163, 236, 118);
  --alert-color: rgb(232, 110, 110);
  --very-very-light-bg: #fbfdff;
}

.no-text-decoration {
  text-decoration: none;
}

.navbar-brand img {
  width: 45px;
}

#main-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--main-color);
  border-radius: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  text-align: center;
  border: none;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
#main-button a {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: var(--font-color);
}
#main-button a i {
  margin-left: 0.3rem;
}

.container-dev {
  padding: 4rem 2rem;
  background-color: white;
}

.dev-profiles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.dev-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: -webkit-transform 0.3s ease, transform 0.3s ease;
}

.dev-card:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

.dev-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.dev-role {
  color: #666;
  font-weight: 500;
  margin: 0.5rem 0;
}

.dev-desc {
  font-size: 0.9rem;
  color: #777;
  margin: 1rem 0;
}

.dev-social {
  margin-top: 1.5rem;
}

.dev-social a {
  color: #333;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.dev-social a:hover {
  color: #007bff;
}

/* Estilos específicos para iOS */
@supports (-webkit-touch-callout: none) {
  .animated-video {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .dev-profiles {
    flex-direction: column;
    align-items: center;
  }

  .dev-card {
    width: 100%;
    max-width: 300px;
  }
}

/* Otimizações específicas para iPhone */
@media only screen and (min-device-width: 320px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
  .feature {
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .feature img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Reduz animações em iPhone */
  .hidden {
    opacity: 1;
    -webkit-transform: none !important;
    transform: none !important;
    transition: opacity 0.3s ease-out;
  }

  .show {
    opacity: 1;
    -webkit-transform: none !important;
    transform: none !important;
  }

  /* Previne problemas de layout */
  .feature-text-container {
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  .navbar-brand {
    margin-left: 1rem;
  }
}
