/* === ESTILO GERAL === */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: #f8f8f8;
  color: #222;
}

/* === TÍTULO === */
.portfolio-title {
  text-align: center;
  font-size: 2.4rem;
  margin: 40px 0 20px;
  color: #111;
}

/* === GRADE DE IFRAMES === */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 20px 60px;
}

.iframe-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.iframe-box {
  position: relative;
  width: 600px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iframe-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* === CABEÇALHO DE CADA SITE === */
.iframe-header {
  background: #111;
  padding: 10px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid #333;
}

.iframe-header a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.iframe-header a:hover {
  color: #00b7ff;
}

/* === IFRAMES === */
iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
  background: #fff;
}

/* === RESPONSIVIDADE === */
@media (max-width: 900px) {
  .iframe-box {
    width: 95%;
  }

  iframe {
    height: 500px;
  }

  .portfolio-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .iframe-box {
    width: 100%;
  }

  iframe {
    height: 400px;
  }
}
