@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Share+Tech+Mono&display=swap');
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: radial-gradient(#0d0d1a 65%, #00004e);
  color: white;
}

hr {
  border: none;
  height: 2px;
  background-color: #ffffff85;
  margin: 1.5rem 2rem;
}

/* TELA DE CARREGAMENTO */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(#0d0d1a 65%, #00004e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;  
  font-size: 1.8rem;
  color: #ffffff;
}

/* Estilo dos pontos */
.dot {
  opacity: 0;
  animation: aparecer 1s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.5s;
}

.dot:nth-child(4) {
  animation-delay: 0.8s;
}

/* Animação */
@keyframes aparecer {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}




.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 5%;
  
}

.text-section {
  display: flex;
  margin: 0 0 .9rem 0;
  align-items: center;
  
}

.text-section h1 {
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 5px 5px 2px #1c1c5e;
}

.text-section span {
  font-weight: bold;
  color: white;
  font-size: 3rem;
}
.image-section {
  border-radius: 50%;
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 27, 0.918));
}

.carrossel {
  width: 100%;
  max-width: 950px;
  height: auto;
  margin-bottom: 18rem;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;  
}

.propaganda {  
  color: #ffffff;
  text-align: center;
  padding: .6rem .5rem;
  margin: 2rem 0 .8rem 0;
  max-width: 950px;
}
.propaganda h3 {
  font-size: 2rem;
  margin: .6rem 0 0 0;
  text-align: justify;
}
.propaganda p {
  font-size: 1.6rem;
  margin: 1rem 0 0 0;
  line-height: 1.2;
  font-weight: 400;
  text-align: justify;
}

/* IMAGEM DE PROPAGANDA */
.propaganda-web {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
  border-radius: 10px;
  border: 2px solid #ffffffea;   
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 27, 0.733));
  transition: opacity 1.2s ease-in-out;
}

.propaganda-web.ativo {
  opacity: 1;
  z-index: 1;
}


.button button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 2.2rem 0 1rem 0;
  font-size: 1.6rem;
  border: 2px solid white;
  background: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-family: "Share Tech Mono", monospace;
  text-shadow: 5px 5px 2px #1c1c5e;
  transition: all 0.2s ease-in-out;  
}
.button button:hover {
  transform: scale(1.02);
}

.links {
  display: flex;
  gap: 2.3rem;
  margin-bottom: 3rem;
}

.links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 5px 5px 2px #1c1c5e;
  transition: transform 0.3s ease-in-out;
}
.links a:hover {
  transform: scale(1.1);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.popup-content {
  background: linear-gradient(#0d0d1ae1 50%, #00004ee1);
  color: #ffffff;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px #ffffff solid;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-content h2 {  
  justify-content: center;
  text-align: center;
  margin: 2rem 0;
  font-size: 2rem;
}

.popup-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.4rem;
  color: #ffffff;
}

.popup-content h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  margin: 2rem 0 0.5rem 0;
  font-size: 1.4rem;
  color: #ffffff;
}

.popup-content p {
 text-align: justify;
 text-indent: 20px;
 margin: 20px 100px;
 line-height: 1.5;
 font-size: 1.3rem;
 font-weight: 500;
 justify-content: center;
}

.popup-content ul {
  text-align: left;
  margin: 15px 40px;
  line-height: 1.5;
  font-size: 1.1rem;
}

.popup-content li {
  margin: 0.5rem 0;
}

.popup-content a {
  color: #ffffff;
  font-size: 5rem;
  margin: 0 1rem;
  text-decoration: none;
}
.popup-content a:hover {
  color: #ffffffda;
}

.popup-content .close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 3.5rem;
  z-index: 999;  
  background: #000036;
  border: 1px solid #ffffff;
  border-radius: 0 0 0 10px;
  padding: 8px;    
  overflow: hidden;
}
.popup-content .close:hover {
  background: #ffffff;
  color: #000036;
}

.hidden {
  display: none;
}

.project-image {
  border-radius: 8px;
  border: 1px solid #ffffff;
  width: 85%;
  margin: 10px 2px;
  max-width: 650px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.service-card {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.432);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-card p {
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  text-indent: 0;
  margin: 0;
}

canvas#spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#footer {   
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;  
}
.text-footer {
  justify-content: center;
  text-align: center;
  line-height: .8;
  font-size: 13px;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 27, 0.918));
  animation: aparecerFooter 10s ease-out;
}

@keyframes aparecerFooter {
  0% {
    opacity: 0;
  }
  50%{
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}

/* RESPONSIVIDADE */

/* Responsividade para telas menores que 1200px (tablets grandes e notebooks pequenos) */
@media (max-width: 1300px) {
.text-section {
    margin: .8rem 0 0 0;
  }

  .text-section h1 {
    font-size: 1.3rem;
  }
  .text-section span {
    font-size: 2.3rem;
  }
  .image-section {
    max-width: 140px;
  }
  .propaganda {
    margin: 0;
    padding: 0.6rem .2rem;
  }
  .propaganda h3 {
    font-size: 1.6rem;
    margin: .2rem 0 .3rem 0;
    text-align: justify;
  }
  .propaganda p {
    font-size: 1.4rem;
    margin: 0;
    text-align: justify;
  }  

  .button button {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    margin: 1.2rem 0 1.2rem 0;
  }

  .links {
    gap: 1.5rem;
  }

  .links a {
    font-size: 1.2rem;    
  }

  .popup-content {
    padding: 1rem;
    font-size: 0.8rem;
    max-width: 90%;
    max-height: 90vh;
  }
  .popup-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1.2rem 0;
  }
  .popup-content h3 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content h4 {
    font-size: 1rem;
  }
  .popup-content p {
    font-size: 1rem;
    margin: .5rem 0;
  }
  .popup-content a {
    font-size: 3rem;
  }

  .popup-content .close {
    font-size: 2.5rem;
    padding: 10px;
  }
  .service-card {
    padding: 0;
  }
  .service-card p {
    font-size: .9rem;
    margin: .2rem 0;
  }
  .service-card h4 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content ul {
    font-size: .9rem;
    margin: .2rem 0;    
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .7rem;
    margin: .5rem 0;
  }
  .text-footer {
    font-size: .7rem;
  }
}

/* Responsividade para tablets médios */
@media (max-width: 992px) {
  #loader {
    font-size: 2rem;
  }
  .text-section {
    margin: .9rem 0 1.3rem 0;
  }

  .text-section h1 {
    font-size: 1.8rem;
  }
  .text-section span {
    font-size: 2.5rem;
  }
  .image-section {
    max-width: 165px;
  }
  .propaganda h3 {
    font-size: 2rem;
    margin: 2rem 0 0 0;
    text-align: justify;
  }
  .propaganda p {
    font-size: 1.5rem;
    margin: .8rem 0 1.5rem 0;
    text-align: justify;
  }
  .carrossel {
    margin-bottom: 15rem;
  }  

  .button button {
    font-size: 2rem;
    padding: 0.5rem 1rem;
    margin: 2.5rem 0 1.5rem 0;
  }

  .links {
    gap: 1.5rem;
  }

  .links a {
    font-size: 1.4rem;    
  }

  .popup-content {
    padding: 1rem;
    font-size: 0.8rem;
    max-width: 90%;
    max-height: 90vh;
  }
  .popup-content h2 {
    font-size: 1.2rem;
    margin: 4rem 0 1rem 0;
  }
  .popup-content h3 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content h4 {
    font-size: 1rem;
  }
  .popup-content p {
    font-size: 1rem;
    margin: .5rem 0;
  }
  .popup-content a {
    font-size: 2.5rem;
  }

  .popup-content .close {
    font-size: 2.5rem;
    padding: 10px;
  }
  .service-card {
    padding: 0;
  }
  .service-card p {
    font-size: .9rem;
    margin: .2rem 0;
  }
  .service-card h4 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content ul {
    font-size: .9rem;
    margin: .2rem 0;    
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .7rem;
    margin: .5rem 0;
  }
  .text-footer {
    font-size: 1rem;
  }
}

/* Responsividade para celulares grandes */
@media (max-width: 769px) {
  #loader {
    font-size: 1.4rem;
  }
  .text-section {
    margin: .4rem 0 .8rem 0;
  }

  .text-section h1 {
    font-size: 1.6rem;
  }
  .text-section span {
    font-size: 2.5rem;
  }
  .image-section {
    max-width: 150px;
  }
  .propaganda h3 {
    font-size: 1.8rem;
    margin: 2rem 0 0 0;
    text-align: justify;
  }
  .propaganda p {
    font-size: 1.5rem;
    margin: .8rem 0 1rem 0;
    text-align: justify;
  }
  .carrossel {
    margin-bottom: 14rem;
  }  

  .button button {
    font-size: 2rem;
    padding: 0.5rem 1rem;
    margin: 2.5rem 0 1.5rem 0;
  }

  .links {
    gap: 1.4rem;
  }

  .links a {
    font-size: 1.4rem;    
  }

  .popup-content {
    padding: 1rem;
    font-size: 0.8rem;
    max-width: 90%;
    max-height: 90vh;
  }
  .popup-content h2 {
    font-size: 1.2rem;
    margin: 4rem 0 1rem 0;
  }
  .popup-content h3 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content h4 {
    font-size: 1rem;
  }
  .popup-content p {
    font-size: 1rem;
    margin: .5rem 0;
  }
  .popup-content a {
    font-size: 4rem;
  }

  .popup-content .close {
    font-size: 2.5rem;
    padding: 10px;
  }
  .service-card {
    padding: 0;
  }
  .service-card p {
    font-size: .9rem;
    margin: .2rem 0;
  }
  .service-card h4 {
    font-size: 1rem;
    margin: .2rem 0;
  }
  .popup-content ul {
    font-size: .9rem;
    margin: .2rem 0;    
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .7rem;
    margin: .5rem 0;
  }
  .text-footer {
    font-size: .9rem;
  }
}

/* Responsividade para celulares pequenos */
@media (max-width: 520px) {
  #loader {
    font-size: 1.2rem;
  }
  .text-section {
    margin: .3rem 0 1.2rem 0;
  }

  .text-section h1 {
    font-size: 1rem;
  }
  .text-section span {
    font-size: 1.4rem;
  }
  .image-section {
    max-width: 90px;
  }
  .propaganda {
    margin: 1rem 0;
    padding: .2rem .6rem;
  }
  .propaganda h3 {
    font-size: 1rem;
    margin: 1.3rem 0 .4rem 0;
    text-align: justify;
  }
  .propaganda p {
    font-size: .9rem;
    margin: 0 0 .2rem 0;
    text-align: justify;
  } 
  .carrossel {
    margin-bottom: 8rem;
  }
  .button button {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    margin: 1rem 0 1rem 0;
  }

  .links {
    gap: 1.3rem;
  }

  .links a {
    font-size: .8rem;    
  }

  .popup-content {
    padding: 1rem;
    font-size: 0.8rem;
    max-width: 90%;
    max-height: 90vh;
    justify-content: center;
  }
  .popup-content h2 {
    font-size: .9rem;
    margin: 4rem 0 1rem 0;
  }
  .popup-content h3 {
    font-size: .8rem;
    margin: .2rem 0;
  }
  .popup-content h4 {
    font-size: .7rem;
  }
  .popup-content p {
    font-size: .7rem;
    margin: .5rem 0;
  }
  .popup-content a {
    font-size: 2.5rem;
  }

  .popup-content .close {
    font-size: 1.8rem;
    padding: 7px;
  }
  .service-card {
    padding: 0;
  }
  .service-card p {
    margin: .2rem 0;
    font-size: .7rem;
  }
  .service-card h4 {
    margin: .2rem 0;
  }
  .popup-content ul {
    font-size: .7rem;
    margin: .2rem 0;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .7rem;
    margin: .5rem 0;
  }
  .text-footer {
    font-size: 0.46rem;
  }
}

/* Menor ainda */
@media (max-width: 321px) {
  .text-section {
    margin: .5rem 0 0 0;
  }
  .text-section h1 {
    font-size: .8rem;
  }
  .text-section span {
    font-size: 1rem;
  }
  .image-section {
    max-width: 80px;
  }
  .propaganda h3 {
    font-size: .7rem;
    margin: 1rem 0 0 0;
  }
  .propaganda p {
    font-size: .6rem;
    margin: .6rem 0 0 0;
  }
  .propaganda h5 {
    font-size: .4rem;
    margin: .8rem 0 0 0;
  } 

  .button button {
    font-size: .7rem;
    padding: 0.5rem 1rem;
    margin: 1rem 0 1.1rem 0;
  }

  .links {
    gap: 1.3rem;
  }

  .links a {
    font-size: .6rem;    
  }

  .popup-content {
    padding: 1rem;
    font-size: 0.8rem;
    max-width: 90%;
    max-height: 90vh;
  }
  .popup-content h2 {
    font-size: .7rem;
    margin: 4rem 0 1rem 0;
  }
  .popup-content h3 {
    font-size: .5rem;
    margin: .2rem 0;
  }
  .popup-content h4 {
    font-size: .5rem;
  }
  .popup-content p {
    font-size: .6rem;
    margin: .3rem 0;
  }
  .popup-content a {
    font-size: 2rem;
  }

  .popup-content .close {
    font-size: 2rem;
    padding: 10px;
  }
  .service-card {
    padding: 0;
  }
  .service-card p {
    margin: .2rem 0;
    font-size: .5rem;
  }
  .service-card h4 {
    margin: .4rem 0;
  }
  .popup-content ul {
    font-size: .5rem;
    margin: .2rem 0;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .7rem;
    margin: .5rem 0;
  }
  .text-footer {
    font-size: 0.4rem;
  }
}


