@media (max-width: 1200px) {
  .minhasespecialidades, .interface2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    width: 95%;
  }
  
 
}



@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    
  }
  .presentation {
    font-size: 12px;
    margin-bottom: 0px;
  }
  .dev {
  margin-top: -5px;
  font-size: clamp(40px, 8vw, 80px);
  margin-bottom: -10px;
  color: #ffffff;
}

.dev2 {
  font-size: clamp(40px, 8vw, 80px);
  color: var(--ios-text-secondary);
  margin-top: 10px;
  line-height: 1;
  border-right: 2px solid var(--ios-text-secondary);
  width: 9ch;
  overflow: hidden;
  white-space: nowrap;
  animation: blinkMarker 0.5s infinite, typing 5s infinite steps(9) forwards;
  
}
@keyframes typing {
  0% { width: 0; }
  40% { width: 8ch; }
  60% { width: 8ch; }
  80% { width: 8ch; }
  100% { width: 8ch; }
 
}

@keyframes blinkMarker {
  0%, 50% { border-color: var(--ios-text-secondary); }
  51%, 100% { border-color: transparent; }
}

.dev2 span {
  color: var(--ios-accent);
}

  .sobre {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .sobre img {
    width: 120px;
    height: 120px;
    border-radius: 30px;
  }
  
  .titulo {
    font-size: 24px;
    margin: 40px 0 20px;
  }
  
  .ios-dock {
    width: 90%;
    justify-content: space-around;
    padding: 8px;
    bottom: 15px;
  }
  
  .dock-item {
    width: 45px;
    height: 45px;
  }
  
  .dock-item:hover {
    transform: scale(1.1) translateY(-5px) !important;
  }

  .topo-do-site {
    background-attachment: scroll !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-size: cover !important;
    background-position: center center !important;
    width: 100vw !important;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .dev, .dev2 {
    font-size: 36px;
  }
  
  .minhasespecialidades, .interface2 {
    grid-template-columns: 1fr;
  }
  
  .glass-card {
    padding: 20px;
  }
}

/* Background Animation Support */
.topo-do-site {
  background-image: url("background.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
