* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background: #fff;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 17vh;
  background: #00796B;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 0 1rem;
}

header #linha1 {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size: 1rem;
}

header h2 {
  font-size: 2rem;
  color: whitesmoke;
  text-align: center;
}

header #title, #logo {
    align-items: center;
}

/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 10vh;
  background: #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  padding: 1rem;
  text-align: center;
  z-index: 1000;
}

footer #linha2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-around;
  font-size: 1rem;
}

/* MAIN */
main, main.container {
  width: 100%;
  height: 100%;
  padding-top: 17vh;
  padding-bottom: 10vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  align-items: center;
  justify-content: center;
}

main.container section {
  height: 100%;
  scroll-snap-align: start;
  scroll-margin-top: 17vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 25px;
}

section {
  text-align: center;
  font-size: 1.2em;
  overflow: hidden;
}

h2 {
  color: #00796B;
  font-family: "Indie Flower", cursive;
}

/* LAYOUTS */
.biografia, .mission, .projects {
  display: flex;
  flex-wrap: wrap;
}

.home img{
    width: 400px;
    max-height: 400px;
}

.biografia img {
    width: 400px;
    max-height: 400px;
}

.biografia img {
  border-radius: 50%;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.icons div {
  flex: 1;
  min-width: 180px;
}

.icons h3 {
  color: #00796B;
  margin-bottom: .5rem;
}

.projects img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}


/* FORMULÁRIO */
form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  align-items: center;
}

/* LINKS */
a {
  color: #00796B;
  text-decoration: none;
}

.menu li a:hover {
  color: #ffcc00;
}

/* MENU */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1em;
}

.menu-icon .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s;
  margin: 4px 0;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  min-width: 30vw;
  list-style: none;
  justify-content: space-evenly;
  align-items: center;
}

.menu li {
  margin-left: 20px;
}

.menu li a {
  color: #333;
  padding: 8px 16px;
  display: block;
}

/* OUTROS */
#logo {
  padding: .5rem;
  width: 120px;
}

#title {
  color: #f0f0f0;
  min-width: 30vw;
  text-align: center;
}

main p {
  color: #333;
  font-size: .8rem;
}

/* ESCONDER SCROLL */
.elemento::-webkit-scrollbar {
  display: none;
}
.elemento {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.image-gallery {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.gallery-img.active {
  opacity: 1;
  z-index: 1;
}


/* RESPONSIVO */
@media (max-width: 1024px) {
  .menu-icon {
    display: flex;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #f0f0f0;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 10;
  }

  .menu.show {
    display: flex;
  }

  header {
    height: 10vh;
    padding: 1rem 0;
    flex-direction: row;
    justify-content: space-between;
  }

  footer {
    height: 7vh;
  }
  
  footer p {
    font-size: 0.6rem;
  }
  
  main, main.container {
  width: 100%;
  height: 100%;
  padding-top: 10vh;
  padding-bottom: 7vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

  main.container section {
  height: calc(100vh - 17vh);
  scroll-snap-align: start;
  scroll-margin-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 30px
}

  #logo {
  padding: .5rem;
  width: 80px;
  }

.home img{
    width: 25rem;
}

.biografia img {
    width: 10rem;
    max-height: 300px;
}

  .biografia {
    flex-direction: column;
  }
  .mission {
    flex-direction: column;
  }

  .image-gallery {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.gallery-img.active {
  opacity: 1;
  z-index: 1;
}

}
