* {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}


body {
  background-color: #ecebeb;
}



header {
  background: url(../imgs/imgsProjetos/LojaDeOculosSobre.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 500px;
  position: relative;
  z-index: 100;
}

.container-butto-header {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}

.container-butto-header .button a {
  text-decoration: none;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.container-butto-header .button a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

header h1 {
  padding-top: 200px;
  font-size: 3rem;
  z-index: 2;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

header p {
  font-size: 1.2rem;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  color: #858585;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #ecebeb, #ecebebf5, rgba(0, 0, 0, 0));
  z-index: 1;
}


.project-overview {
  margin-top: 50px;
  background-color: #dbdcdb;
  padding: 20px;
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.container-overview h2 {
  color: #333;
  font-size: 23px;
}

.container-overview p {
  color: #555;
  font-size: 18px;
  margin-top: 10px;
}

.container-overview {
  width: 100%;
  max-width: 1100px;

}


.technologies-used {
  min-height: 500px;
  display: flex;
  align-content: center;
  padding: 10px;
  padding-top: 40px;
  padding-bottom: 40px;
  justify-content: center;
  flex-direction: column;
}

.technologies-used h2 {
  color: #333;
  font-size: 23px;
  text-align: center;
  padding-bottom: 20px;
}

.technologies-used ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.technologies-used ul li {
  flex: 1 1 250px;
  max-width: 300px;
  height: 100px;
  list-style: none;
  color: #333;
  background-color: white;
  border: 1px solid #b3b3b3;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.technologies-used ul li:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.technologies-used ul li i {
  font-size: 40px;
  color: #333;
}

.gallery {
  margin-top: 50px;
  padding: 10px;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #dbdcdb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery h2 {
  color: #333;
  font-size: 23px;
  margin-bottom: 20px;
  text-align: center;
}

.image-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.image-grid .itemImg {
  flex: 1 1 300px;
  max-width: 700px;
  transition: transform 0.3s ease;
}

.itemImg:hover {
  cursor: pointer;
  transform: scale(1.02);
}

.image-grid .itemImg img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}



/* Modal */
.modal {
  display: none;
  /* escondido por padrão */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

#caption {
  text-align: center;
  color: #ccc;
  margin-top: 10px;
  font-size: 16px;
}

/* Botão de fechar */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}



.links {
  padding: 10px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.links h2 {
  color: #333;
  font-size: 23px;
  margin-bottom: 10px;
  text-align: center;
}

.links ul {
  display: flex;
  gap: 20px;
  list-style-type: none;
  padding: 0;
  margin-top: 40px;
}

.links ul li a {
  text-decoration: none;
}


.links ul li:nth-child(1) a {
  background-color: #0073e6;
  padding: 15px 25px 15px 25px;
  border-radius: 8px;
  color: white;
  transition: all 0.3s ease;
}

.links ul li:nth-child(1) a:hover {
  background-color: #005bb5;
}


.links ul li:nth-child(2) a {
  background-color: white;
  border: 1px solid rgb(179, 179, 179);
  color: #333;
  padding: 15px 25px 15px 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.links ul li:nth-child(2) a:hover {
  background-color: #d3d3d3;
}



footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background-color: #dbdcdb;
  padding: 50px;
}

footer h3 {
  color: #333;
  font-size: 15px;
  text-align: center;
}

footer .links-footer a {
  color: #333;
  font-size: 25px;
  margin-left: 10px;
  transition: color 0.3s ease;
}



@media (max-width: 800px) {
  .links ul {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 60px;
  }

  .container-overview h2,
  .technologies-used h2 {
    font-size: 19px;
  }

  header h1 {
    font-size: 25px;
  }

  .container-overview p,
  header p {
    font-size: 14px;
  }

  .technologies-used ul li {
    flex: 1 1 200px;
    max-width: 250px;
    height: 80px;
    font-size: 14px;
  }
}