* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
  max-width: 100vw;   
}

 body,
   h1,
   h2,
   h3,
   h4,
   h5,
   h6 {
       font-family: "Lato", sans-serif;
   }

   body,
   html {
       height: 100%;
       color: #777;
       line-height: 1.8;
       margin: 0;
       padding: 0;
   }

   .navbar {
       display: flex;
       justify-content: space-between;
       background-color: whitesmoke;
       padding: 0.5em 1em;
       position: fixed;
       width: 98%;
       top: 0;
       z-index: 1000;
       box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }

   .navbar a {
       text-decoration: none;
       padding: 0.5em 1em;
       color: #000000;
       font-weight: bold;
       transition: background-color 0.3s;
       
   }


   .navbar a:hover {
       background-color: rgb(71, 71, 73);
       color: rgb(25, 25, 25);
   }


   .centered {
       text-align: center;
   }

   .button {
       padding: 0.5em 1.5em;
       background-color: lightgrey;
       border: none;
       border-radius: 5px;
       cursor: pointer;
       transition: background-color 0.3s;
   }

   .button:hover {
       background-color: rgb(71, 71, 73);
       color: rgb(25, 25, 25);
   }


   .wide {
       letter-spacing: 0.1em;
   }

   .padding-large {
       padding: 32px;
   }
    
  .padding-64 {
    padding: 10%;
    }

   .padding-65 {
      margin-bottom: none;
      margin-left: 10%;
      margin-right: 10%;
      margin-top: 10%;
   }

   #foto-perfil {
    max-width: 60%;
    height: auto;
   }

 .sobre-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sobre-imagem {
  text-align: center;
  flex: 1 1 300px;
}

.sobre-imagem img {
  max-width: 65%;
  height: auto;
}

.sobre-texto {
  flex: 1 1 400px;
  display: flex;
  text-align: justify;
  min-height: 100%;
}


   .image {
       max-width: 80%;
       height: auto;
       display: block;
       margin: 0 auto;
   }

   .modal {
       display: none;
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.8);
       z-index: 1000;
   }

   .modal-content {
       position: relative;
       margin: auto;
       padding: 1em;
       max-width: 90%;
       background: white;
       border-radius: 8px;
   }

   .modal-close {
       position: absolute;
       top: 10px;
       right: 10px;
       cursor: pointer;
   }
   .parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
}

.parallax-small {
    height: 70vh; 
}

.parallax-overlay {
  position: absolute;
  inset: 0; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1); 
  z-index: 1;
}

#tituloportfolio {
  font-size: 35px;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 10px;
  padding: 0 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  z-index: 2;
}
@media (max-width: 600px) {
  #tituloportfolio {
    font-size: 20px;
    letter-spacing: 2px;
  }
}

.parallax {
       background-attachment: fixed;
       background-position: center;
       background-repeat: no-repeat;
       background-size: cover;
   }

   .parallax-small {
       min-height: 60%;
 
    }
.parallax-large {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  overflow: hidden;
}

   .opacity-min {
       opacity: 0.6;
   }

   .opacity {
       opacity: 0.9;
   }


   @media screen and (max-width: 600px) {
       .navbar {
           display: none ;
       }

       .navbar a {
           display: none;
       }
   

    }

    
#tituloportfolio {
    padding: 5%;
    font-size: 35px;  
    color: white;    
    text-align: center;  
    text-transform: uppercase; 
    letter-spacing: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
}


@media (max-width: 600px) {
  #tituloportfolio {
    font-size: 24px;
    letter-spacing: 2px;
    padding: 5%;
  }
}
#titulord {
    font-size: 35px;  
    color: white;    
    text-align: center;  
    text-transform: uppercase; 
    letter-spacing: 10px;
}

#tituloinicio {
    font-size: 35px;  
    color: white;    
    text-align: center;  
    text-transform: uppercase; 
    letter-spacing: 10px;
    
}

.link1 {
    color:#000000;
    text-decoration:none;
}
.linkrd {
    color:#000000

}
.hidden-content {
    text-align: center;
    display: none;
    margin-top: 10px;
  }
  .toggle-link {
    text-align: center;
    cursor: pointer;
    color: black;
    text-decoration: underline;
  }

.texto {
  text-align: center;
  
}
#summaries {
    text-align: left;
}   

 .padding-row{
  padding-top: none;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 10%;
  }
  main {
    max-width: 700px;
    margin: auto;
}

section {
    background: rgb(241, 241, 242);
    border: 1px solid #cccccc;
    border-radius: 25px;
    padding: 15px;
    margin-bottom: 15px;
}

img {
    max-width: 100%;
}

footer {
    text-align: center;
    font-size: 0.8em;
    margin-top: 30px;
}
 