/* CSS empa2025 */

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Circular+Std:wght@700&display=swap');

body {
   background-repeat: no-repeat;
   font-family: 'Circular Std', sans-serif;
}

.container {
   display: grid;
   grid-template-columns: 1fr;
   grid-template-rows: 0fr 0fr 0fr 0fr;
   grid-template-areas:  
       "header"
       "conteudo1"
       "conteudo2"
       "botao2"
       "footer";
   grid-gap: 5px;
}

.header #header-container {
   grid-area: header;
   width: 100%;
}

.conteudo1 {
   grid-area: conteudo1;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   margin-left: 25%;
   margin-right: 25%;
}

.card_img2 {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.card_img2 img {
   display: flex;
   max-width: 100%;
   align-items: center;
   border-radius: 10px;
}

.card_img {
   max-width: 99px;
   max-height: 150px;
   overflow: auto;
   margin: 10px;
   border-radius: 10px;
   overflow: hidden;
}

#conteudo2 {
   grid-area: conteudo2;
   justify-content: center;
   margin-left: 25%;
   margin-right: 25%;
}

.gallery {
   margin-left: 10%;
   margin-right: 10%;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
}

.gallery img {
   height: 100%;
}

.card_img {
   max-width: 99px;
   max-height: 150px;
   overflow: auto;
   margin: 10px;
   border-radius: 10px;
   overflow: hidden;
}

.gallery img {
   height: 100%;
}

.gallery img:hover {
   opacity: 0.7;
}

.lightbox {
   display: none;
   position: fixed;
   z-index: 2;
   padding-top: 0%;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   overflow: auto;
   background-color: rgba(0,0,0,0.9);
}

.lightbox img {
   margin: auto;
   display: block;
   margin-top: 10px;
   max-height: 100%;
   border-radius: 15px;
   border-style: outset;
   border-color: antiquewhite;
}

.close {
   position: absolute;
   top: 15px;
   right: 35px;
   color: #f1f1f1;
   font-size: 40px;
   font-weight: bold;
   transition: 0.3s;
}

.close:hover, .close:focus {
   color: #bbb;
   text-decoration: none;
   cursor: pointer;
}

.prev, .next {
   cursor: pointer;
   position: absolute;
   top: 50%;
   width: auto;
   padding: 16px;
   margin-top: -50px;
   color: white;
   font-weight: bold;
   font-size: 20px;
   transition: 0.6s ease;
   border-radius: 0 3px 3px 0;
   user-select: none;
}

.next {
   right: 0;
   border-radius: 3px 0 0 3px;
}

.prev {
   left: 0;
   border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
   background-color: rgba(0,0,0,0.8);
}

#botao2 {
   grid-area: botao2;
   text-align: center; 
}

.footer #footer-container {
   grid-area: footer;
   background-color: rgb(34, 34, 34);
}

h1 {
   font-family: 'Circular Std', sans-serif;
   display: flex;
   color: #585858;
   font-size: 30px;
   text-decoration: none;
   text-align: center;
   margin-top: 20px;
}

h2 {
   font-family: 'Circular Std', sans-serif;
   display: flex;
   color: #585858;
   font-size: 12px;
   text-decoration: none;
}

p {
   font-family: 'Circular Std', sans-serif;
   font-size: 20px;
   color: #000; 
   margin-bottom: 10px;
   text-align: start;
}

.row {
   margin-left: 10%;
   margin-right: 10%;
}


@media only screen and (max-width: 1000px) {
   .container {
       display: flex;
       flex-direction: column;
   }
                
   #nav img {
       width: 100px;
   }

   .conteudo1 {
       display: flex;
       justify-content: row;
       align-items: start;
       flex-direction: column;
       margin-left: 2%;
       margin-right: 2%;
   }   

   #conteudo2 {
      display: flex;
      margin-left: 20px;
      margin-right: 20px;
   } 

   .gallery {
      margin-left: 2%;
      margin-right: 2%;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
   }

   .lightbox img {
      margin: auto;
      display: block;
      margin-top: 35%;
      width: 90%;
      border-radius: 15px;
      border-style: outset;
      border-color: antiquewhite;
   }  

   .row {
      margin-left: 0%;
      margin-right: 0%;
   }

   .modal {
      display: flex;
      justify-content: center;
      width: 100%;
      height: 100%;
      background-color: #000;
   }

   .modal-content {
      margin: 20px; 
      max-width: 90%;
   }

   .close {
      top: 5px;
      right: 5px; 
      font-size: 50px;
   }

   .footer #footer-container {
       background-color: rgb(34, 34, 34); 
   }

   h1 {
       margin-bottom: 5px;
       color: #585858;
       font-size: 25px;
       text-decoration: none;
   }    

   h2 {
       font-weight: 1;
       margin: 0rem;
       font-size: 10px;
       color: rgb(0, 0, 0);
   }    
}
