/*Estilos Principais*/
.pagina{
  display: block;
  position: relative;
}

body {
  background: linear-gradient(to bottom, #c3d5e6, #a7c0d9);
  font-family: Verdana,sans-serif;
  height: 100vh;
  background-attachment: fixed;
}

.logo{
  display: block;
  width: 200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.logoessilor{
  padding: 5px;
  width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vh;
  margin-bottom: 10vh;
}
.botao-voltar{
  position: fixed; /* Adição: Define a posição absoluta */
  right: 5vh;
  top: 4.5vh;
  width: 30px;
  height: 30px;
  background-color: #7c7c7c;
  border-radius: 50%;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 16px;
  color: #fff;
  z-index: 4; /* Adição: Define a ordem de sobreposição */
  transition: background-color 0.3s, opacity 0.3s; /* Alteração: Adiciona transição para opacity */
  opacity: 0.6;
}
.botao-voltar a{
  text-decoration: none;
  color: white;
}
.botao-voltar:hover{
opacity: 0.8;
}
.titulo{
  width: 200px;
  height: auto;
  display: block;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.titulo:hover {
  color: #5997f3;
}
.rodape {
  color: #7C55A5;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;

}

/*estilo pagina dos icones*/
.titulo-principal {
  text-align: center;
  display: flex;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 50px;
  color: #1C1C1C;
  padding: 10px;
  margin-top: 20px;
  transition: transform 0.3s ease-in-out;
  flex-direction: row;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  }

  .titulo-principal h1{
    font-size: 1em;
  }
  
.pagina-principal {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.body-principal{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, #E4DFF2, #FFFFFF);
    overflow-x: hidden;
    font-family: Verdana,sans-serif;
    background-attachment:fixed;
}

.titulo-imagem{
    width: 100px;
    height: auto;
    display: inline;
  }

/*Estilo dos tratamentos*/

#primeira-imagem{
  position: relative;
  height: auto;
  transition: transform 0.1s;
  border-radius: 20px;
  perspective: none;
  flex: 0 0 100%; /* Alteração: Define a largura da imagem-container como 100% */
  max-width: 100%; /* Alteração: Define a largura máxima da imagem-container como 100% */
  margin: 0 auto; /* Alteração: Centraliza a imagem na tela */
  top: 10%;
  padding-top: 10vh;
  padding-bottom: 10vh;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

#primeira-imagem h1{
  text-align: center;
  font-size: 3vh;
  margin: 2vh;
}

.icones{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
/*Icones da pagina principal */

.icone-container {
    display: flex;
    justify-content: center; /* Alterado para centralizar os ícones */
    align-items: center;
    margin-top: 10px;
    flex-flow: wrap;
}

  .icone-container h2{
    text-align: center;
    margin-top: 1vh;
  }

.icone {
    cursor: pointer;
    position: relative;
    transition: transform 0.3s;
    overflow: hidden;
    background-color: white;
    width: 500px; /* Alterado para aumentar o tamanho das imagens */
    height: 500px; /* Alterado para aumentar o tamanho das imagens */
    margin: 0 20px; /* Adicionado espaçamento entre os ícones */
    margin-bottom: 20px;
    -webkit-box-shadow: 3px 4px 24px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 4px 24px 3px rgba(0,0,0,0.3);
    box-shadow: 3px 4px 24px 3px rgba(0,0,0,0.3);
  }

.icone img {
    width: 100%;
    height: 100%; /* Alterado para preencher completamente o espaço do ícone */
    object-fit: contain; /* Adicionado para manter a proporção da imagem */
}
#shamir-essor img{
  margin-top: 20px;
  height: 40%;
}

.icone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: left 0.3s;
    z-index: 1;
}
  .icone:hover::before {
    left: 0;
}
  .icone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .icone:hover::after {
    opacity: 1;
  }
.botao-tratamentos{
  padding: 1vh;
  border: none;
  cursor: pointer;
  font-size-adjust: inherit;
  border-radius: 12px;
  box-shadow: 2px 2px 5px #070707;
  overflow-wrap: normal;
  margin: 2vh;
  width: 150px;
  height: 150px;
}
.botao-tratamentos:hover{
  opacity: 0.6;
}
.w3-container .w3-modal-content{
  border-radius: 20px;
  box-shadow: 10px 10px 20px #4e4e4e;
  padding: 20px;
  margin-top: 40px;
}
.w3-container h2{
  font-size: 3vh;
  text-align: center;

}
.w3-container p{
  font-size: 2vh;
}

/*Estilo da Galeria*/

.galeria {
  display: flex;
  flex-wrap: nowrap; /* Alteração: Evita quebra de linha na galeria */
  overflow-x: hidden;
  gap: 10px;
  position: relative;
  overflow: hidden; /* Alteração: Oculta a barra de rolagem */
  justify-content: center; /* Adição: Centraliza horizontalmente */
  align-items: center; /* Adição: Centraliza verticalmente */
  margin-top: 5%;
}
.galeria-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding-bottom: 20px;
  padding-right: 10px;
  transition: transform 0.3s;
  width: 1000px; /* Adição: Define a largura da galeria como 100% */
  overflow: hidden; /* Adição: Oculta o conteúdo que ultrapassar a galeria */
}
.galeria.ativo .seta {
  display: block; /* Adição: Exibe as setas quando a galeria está ativa */
}
.galeria-scroll::-webkit-scrollbar {
  display: none; /* Adição: Oculta a barra de rolagem */
}

/*Estilo das setas*/
.seta {
  position: absolute; /* Adição: Define a posição absoluta */
  top: 50%; /* Adição: Centraliza verticalmente */
  transform: translateY(-50%); /* Adição: Alinha verticalmente */
  width: 50px;
  height: 50px;
  background-color: #7c7c7c;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  z-index: 2; /* Adição: Define a ordem de sobreposição */
  transition: background-color 0.3s, opacity 0.3s; /* Alteração: Adiciona transição para opacity */
}
.seta:hover {
  background-color: #999;
}
.seta.anterior {
  left: 0; /* Adição: Posiciona à esquerda */
  opacity: 0.5; /* Alteração: Inicia com opacity 0 */
  transition-delay: 0.3s; /* Alteração: Adiciona um atraso na transição */
}
.seta.proxima {
  right: 0; /* Alteração: Posiciona a seta próxima à direita */
  opacity: 0.5; /* Alteração: Define a opacidade inicial como 0.5 */
}

/*Estilo conteudo galeria*/
.imagem-container {
  position: relative;
  height: auto;
  transition: transform 0.1s;
  border-radius: 20px;
  background-color: #ffffff;
  perspective: none;
  flex: 0 0 100%; /* Alteração: Define a largura da imagem-container como 100% */
  max-width: 100%; /* Alteração: Define a largura máxima da imagem-container como 100% */
  margin: 0 auto; /* Alteração: Centraliza a imagem na tela */
}
.imagem-container h1{
  text-align: center;
  font-size: 3vh;
  margin: 2vh;
}

.imagem {
  margin-top: 2vh;
  padding: 5px;
  width: 100%;
  height: auto;

}
.imagem:hover {
  opacity: 0;
}
.imagem-hover {
  margin-top: 2vh;
  position: absolute;
  padding: 5px;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.imagem-container:hover .imagem-hover {
  opacity: 1;
}
.lista-legendas{
    display: flex;
    justify-content: center;
  }
  .lista-legendas span{
    color: #000;
    padding-left: 3px;
  }
  .lista-legendas-longe{
    list-style-type: square;
    color: green;
    margin-right: 4vh;
  }
  .lista-legendas-intermedio{
    list-style-type: square;
    color: orangered;
    margin-right: 4vh;
  }
  .lista-legendas-perto{
    list-style-type: square;
    color: red;
    margin-right: 4vh;
  }
  .lista-legendas-perto-bifocal{
    list-style-type: square;
    color: #099b02;
    margin-right: 4vh;
  }
  .lista-legendas-zona-distorcao{
    list-style-type: square;
    color: blue;
    margin-right: 4vh;
  }

.descricao {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}
.informacao{
  position: absolute;
  width: 30px;
  height: auto;
  margin-top: 1vh;
  margin-left: 1vh;
  opacity: 0.3;
  cursor: pointer;
  z-index: 2;
}
.informacao:hover{
  opacity: 0.6;
}

.conteudo {
  position: absolute;
  text-align: justify;
  height: 100%;
  top: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  width: 100vh;
  background-color: #ededed;
  opacity: 0;
  transition: opacity 0.1s, right 0.1s;
  border-radius: 20px;
  white-space: wrap;
  transform-style: preserve-3d;
  font-size: 24px;
  color: black;
  overflow: hidden;
  overflow-y: auto;
  display: none;
}
.conteudo h2{
  text-align: center;
  font-size: 3vh;
  margin-top: -10px;
  opacity: 1;
}
.conteudo p{
  font-size: 2vh;
  opacity: 1;
}
.conteudo.ativo {
  right: 0; /* Mostra a caixa de texto quando ativada */
  opacity: 0.9;
  width: 100%;
  transition: opacity 0.1s, right 0.1s;
  display: block;
}
.lista-lentes{
  font-size: 2vh;
}
.nivel {
  font-size: 24px;
  color: #000;
}
.tecnologias{
  display: inline-table;
  padding: 10px;
}
.icone-tecnologia{
  padding: 5px;
}
/*Menu das páginas*/
#menu {
  z-index: 5;
  position: fixed;
}

#menu-bar {
  width: 45px;
  height: 40px;
  margin: 5vh 0 2vh 3vh;
  cursor: pointer;
  position: fixed;
  z-index: 5;
}

.bar {
  height: 5px;
  width: 100%;
  background-color: black;
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}

#bar1 {
  transform: translateY(-4px);
}

#bar3 {
  transform: translateY(4px);
}

.nav {
  transition: 0.3s ease;
  display: none;
  position: fixed;
}

.nav ul {
  padding: 0 22px;
}

.nav li {
  list-style: none;
  padding: 12px 0;
}

#submenu a{
  text-decoration: none;
  color: black;
  font-size: 20px;
}
#submenu a:hover{
  font-weight: bold;
}

.nav li a {
  color: black;
  font-size: 20px;
  text-decoration: none;
}

.nav li a:hover {
  font-weight: bold;
}

.menu-bg, #menu {
  top: 0;
  left: 0;
  position: absolute;
}

.menu-bg {
  z-index: 4;
  width: 0;
  height: 0;
  margin: 50px 0 20px 20px;
  background: radial-gradient(circle, #F0F8FF, #F8F8FF);
  border-radius: 50%;
  transition: 0.3s ease;
  position: fixed;
}

.change {
  display: block;
}
.change ul:nth-child(1){
  margin-top: 45%;
}
.change .bar {
  background-color: black;
}

.change #bar1 {
  transform: translateY(4px) rotateZ(-45deg);
}

.change #bar2 {
  opacity: 0;
}

.change #bar3 {
  transform: translateY(-6px) rotateZ(45deg);
}

.change-bg {
  width: 45em;
  height: 60rem;
  transform: translate(-60%,-30%);
}

.form {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  width: 400px;
  background-color: rgb(252, 252, 252);
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(45, 35, 66, 0.2) 0 2px 4px,rgba(45, 35, 66, 0.15) 0 7px 13px -3px,#fdfdff 0 -3px 0 inset;
  position: fixed;
  bottom: 10%;
  right: 13%;
}

.form .title {
  color: royalblue;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form input {
  outline: 0;
  border: 1px solid rgb(219, 213, 213);
  padding: 8px 14px;
  border-radius: 8px;
  width: 80%;
  height: 50px;
}

.form textarea {
  border-radius: 8px;
  height: 80px;
  width: 80%;
  resize: none;
  outline: 0;
  padding: 8px 14px;
  border: 1px solid rgb(219, 213, 213);
}

.form button {
  align-self: flex-end;
  padding: 8px;
  outline: 0;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background-color: royalblue;
  color: #fff;
  cursor: pointer;
}

#Duvidas{
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.2) 0 2px 4px,rgba(45, 35, 66, 0.15) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #7C55A5;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

#Duvidas:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
 }
 
 #Duvidas:hover {
  box-shadow: rgba(45, 35, 66, 0.3) 0 4px 8px, rgba(45, 35, 66, 0.2) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
 }
 
 #Duvidas:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
 }

@media (max-width: 1282px){
  .icone-container{
    justify-content: center;
  }
}
@media (max-width: 768px) {

  #menu-bar{
    width: 30px;
  }
  .icone-container {
    flex-direction: column;
    align-items: center;
  }
  .titulo-principal{
    font-size: 32px;
  }
  .icone {
    width: 80%;
    margin: 10px 0;
  }

  body-principal{
    overflow: scroll;
  }

  .form {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 250px;
    background-color: rgb(252, 252, 252);
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(45, 35, 66, 0.2) 0 2px 4px,rgba(45, 35, 66, 0.15) 0 7px 13px -3px,#fdfdff 0 -3px 0 inset;
    position: fixed;
    bottom: 10%;
    right: 5%;
  }
  
}

@media screen and (max-width: 480px){ 

#menu-bar{
  width: 30px;
}
body{
  height: 100vh;
}
.icone-container {
  padding: 20px;
  flex-direction: column;
  align-items: center;
}
.titulo-principal {
  font-size: 32px;
  padding-top: 40px;
}

.icone {
  width: 100%;
}
}
.titulo {
  margin-bottom: 5vh;
}
.imagem-container{
  margin-right: auto;
  margin-left: auto;
}
.logoessilor {
width: 50%;
height: auto;
margin-top: 3vh;
margin-bottom: 3vh;
}
.lista-legendas{
  flex-wrap: wrap;
}
.descricao{
  font-size: 18px;
}
.conteudo h2{
  font-size: 24px;
}
.conteudo p{
  font-size: 18px;
}
.nivel{
  font-size: 18px;
}

