/* ==================== */
/* RESET E BASE GERAL   */
/* ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #0a1b33;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== */
/* HEADER               */
/* ==================== */
header {
  background: #0b223f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1.tech-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #4fe0c6;
  text-align: center;
  flex: 1;
}

#menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: #4fe0c6;
  cursor: pointer;
  position: absolute;
  left: 20px;
}

/* ==================== */
/* MENU LATERAL         */
/* ==================== */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #0f2a44;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  z-index: 1001;
}

.side-menu.open {
  left: 0;
}

.side-menu button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 1rem;
  cursor: pointer;
}

.side-menu a {
  color: #fff;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.side-menu a:hover,
.side-menu a.active {
  color: #00d4ff;
}


/* ==================== */
/* CONTEÚDO PRINCIPAL   */
/* ==================== */
.container {
  flex: 1;
  padding: 20px;
}

.about-section {
  margin-bottom: 40px;
}

.about-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background: #13294b;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

.about-photo {
  flex-shrink: 0;
}

.profile-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4fe0c6;
}

.about-description {
  flex: 1;
  text-align: left;
}

.about-description h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4fe0c6;
}

.about-description h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  color: #4fe0c6;
}

.about-description ul {
  margin-top: 8px;
  padding-left: 18px;
}

.about-description ul li {
  margin-bottom: 6px;
  list-style: disc;
}

/* ==================== */
/* GALERIA              */
/* ==================== */
#about-gallery h2 {
  margin-bottom: 16px;
  color: #4fe0c6;
  text-align: center;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.gallery-photo:hover {
  transform: scale(1.05);
}


/* ==================== */
/* RESPONSIVIDADE       */
/* ==================== */

/* Tablets */
@media (min-width: 768px) {
  .about-flex {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-description {
    text-align: justify;
  }

  .about-description h2 {
    font-size: 1.7rem;
  }
}

/* Desktops */
@media (min-width: 1024px) {
  header h1.tech-title {
    font-size: 1.6rem;
  }

  .about-description h2 {
    font-size: 1.9rem;
  }

  .about-description h3 {
    font-size: 1.3rem;
  }
}
