*, *::before, *::after {
  box-sizing: border-box;
}

  .body-mainPage {
  position: relative; 
  background-color: #272829;
  width: 100%;
  height: 750px;
  overflow: hidden;
  border-radius: 15px;
}

  .projects-body{
    background-color:#f5f9ff;
    }

  body{
    overflow-x: hidden;
  }


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #A0BFE0;
  flex-wrap: wrap;
  position:relative;
  z-index:10;
}

.menu{
  font-size:20px;
  align-self: center; 
  font-family: 'Montserrat', sans-serif;    
  }

.menu-left {
  display: flex;
  align-items: center;
}

.menu-right {
  display: flex;
  gap: 15px;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  padding:15px;
}

.btn-download {
  padding: 8px 16px;
  background-color: #f5f9ff;
  color: #272829;
  font-family: 'Playpen Sans', cursive;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: transparent;
  border: 2px solid #FFDFDF;
  color: #FFDFDF;
}

  .list{
  padding:10px;
  }

.letters{
  display:flex;
  justify-content: center;  
}

.heading{
    margin-left:70px;
    margin-top:250px;
    font-size:35px;
    color:white;
}

.aboutMe h2 {
  text-align: center;
  width: 100%;
}

.contact{
  background-color:#A0BFE0;
  padding:20px;
}

.it{
  margin-left:20px;
}

.about-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 760px;
  text-align: left;
}

.about-text p {
  margin-bottom: 55px;
}

.section-title {
 font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  color: #272829;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  letter-spacing: 1.2px;
  font-weight: 700px;
}

/* About me */

.aboutMe{
display:flex;
justify-content:center;
background-color: white;
padding: 30px 0;
text-align: center;
}

 #me {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  background-color: #f5f9ff; 
  padding: 30px 20px;  
  gap: 80px; 
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  max-width: 2200px; 
  width: 100%; 
  margin: 0 auto 0px auto; 
  flex-wrap: wrap;
} 

.picture {
  border-radius: 20px;
  max-width: 350px;
  margin-top:25px;
  height: auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.about-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #272829;
  max-width: 500px;
  text-align: left;
}

.about-text p {
  margin-bottom: 16px;
}

.text{
  padding:5px;
  align-self:center;
  font-family: 'Montserrat', sans-serif;
  font-size:20px;  
}

h2{
  font-family: 'Montserrat', sans-serif;
}

.picture{
    border-radius:40px;    
}

a{
  text-decoration: none;
  color:black;
  }

  .btn{
    padding:10px;
    border-radius:40px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    width:150px;
    font-size:15px;
    margin-left:70px;
    background-color:#FFDFDF;
  }

  /* My certificates */

  #certificate .certificate-content {
  background-color: #f5f9ff; 
  padding: 30px 20px;
  border-radius: 15px;
  width:100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  gap: 80px;  
}

  .tech-icons {
  font-size: 40px;
  color: #272829;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.tech-icons i:hover {
  color: #A0BFE0;
  transition: 0.3s;
}

section {
  margin: 0 auto 10px auto; 
  width:100%;  
}

.cert-tech-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 30px 0 40px 0;
  flex-wrap: wrap;
}

.cert-tech-icons .cert-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: default;
}

.cert-tech-icons .cert-icon:hover {
  transform: scale(1.2);
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 100px;
  justify-content: center;
  padding-bottom: 40px;
  max-width: 700px; 
  margin: 0 auto;
  margin-top:50px; 
}

.certificate-gallery .certificate-item {
  width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.certificate-item-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center center; 
  z-index: 1; 
}

.certificate-item-wrapper:hover {
  transform: scale(1.8); 
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  z-index: 10; 
}

.certificate-caption {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #272829;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.certificate-item-wrapper:hover .certificate-caption {
  opacity: 1;
}

.certificate-gallery .certificate-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.contact{
    display:flex;
    justify-content: center;
    padding:5px;
    }

  .footer{
    color:black;
    font-size:20px;
    font-family: 'Montserrat', sans-serif;
    margin-top:20px;
    padding:20px;
  }

  .imageOne, .imageTwo{
    display:flex;
    justify-content: center;
  }
  
  #particles-js {
  position: absolute;
  top: 0;     
  left: 0;    
  width: 100%;
  height: 100%;
  background-size: cover; 
  z-index:1;
}
    
  .count-particles{
    position: absolute; 
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
  }
  
  .js-count-particles{
    font-size: 1.1em;
  }
  
  #stats, .count-particles{
    -webkit-user-select: none; 
  }
  
  #stats{
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }
  
  .count-particles{
    border-radius: 0 0 3px 3px;
  }


  /* My Projects */

 #myProjects {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9; 
}

#myProjects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  color: #333;
  margin-bottom: 40px;
}

.section-title{
  font-size: 25px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px; 
  justify-content: center;
}

.project-links .btn-minimal:hover {
  background-color: #555;
}

.project-details {
  text-align: left;
  flex: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-details h3,
.project-details p,
.project-details ul,
.project-details .project-links {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.project-details p {
  margin-top: 10;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  color: black;
}

.project-links {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px; 
  margin-top: 20px;
}

.projects-content {
  background-color: #f5f9ff;
  padding: 40px 20px 60px 20px;
  border-radius: 15px;
  max-width: 100%; 
  margin: 0 auto 60px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #222;
} 

.btn-minimal {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #272829;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  color: #272829;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
} 

.project-buttons .btn-minimal {
  padding: 6px 10px;
  font-size: 12px;
  flex: 1 1 auto;
  text-align: center;
}

#myProjects .projects-content #certificate{
  background-color: #f5f9ff;
  padding: 40px 20px 60px 20px;
  border-radius: 15px;
  margin: 0 auto 60px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tech {
  font-style: italic;
  margin-bottom: 10px;
  font-size:25px;
}

.project-details .tech {
  color: #000 !important;
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 40px;
  justify-content: center;
  }

/* Contact */
  
#contactFormSection {
  background-color: #f5f7fa; 
  max-width: 480px;
  margin: 50px auto;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

#contactFormSection h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  color: #272829;
}

#contactFormSection label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #4a4a4a;
  font-size: 1rem;
}

#contactFormSection input[type="text"],
#contactFormSection input[type="email"],
#contactFormSection textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.8px solid #A0BFE0;
  background-color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  color: #272829;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  resize: vertical;
}

#contactFormSection input[type="text"]::placeholder,
#contactFormSection input[type="email"]::placeholder,
#contactFormSection textarea::placeholder {
  color: #a0bfe0;
}

#contactFormSection input[type="text"]:focus,
#contactFormSection input[type="email"]:focus,
#contactFormSection textarea:focus {
  border-color: #FFDFDF;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 223, 223, 0.7);
}


#contactFormSection button {
  width: 100%;
  padding: 16px 0;
  border-radius: 25px;
  border: none;
  background-color: #A0BFE0;
  color: #272829;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Playpen Sans', cursive;
  box-shadow: 0 6px 12px rgba(160, 191, 224, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#contactFormSection button:hover {
  background-color: #FFDFDF;
  box-shadow: 0 8px 20px rgba(255, 223, 223, 0.8);
  color: #272829;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border: 1.5px solid #A0BFE0;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #FFDFDF;
}

.contact-form button {
  padding: 12px 20px;
  background-color: #FFDFDF;
  border: none;
  border-radius: 25px;
  font-family: 'Playpen Sans', cursive;
  font-size: 18px;
  color: #272829;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #A0BFE0;
  color: white;
}

.projects-button {
  padding: 12px 20px;
  background-color: #FFDFDF;
  border: none;
  border-radius: 25px;
  font-family: 'Playpen Sans', cursive;
  font-size: 18px;
  color: #272829;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  width: 400px;
  }

.projects-button:hover {
  background-color: #A0BFE0;
  color: white;
}

.contact-info {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #272829;
  display: flex;
  flex-direction: column; 
  align-items: center;     
  gap: 10px;
  margin-top: 30px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.contact-info i {
  color: #A0BFE0;
  font-size: 22px;
}


/* Footer */

.footer {
  background-color: #A0BFE0; 
  color: #272829;
  text-align: center;
  padding: 15px 20px;
  font-family: 'Playpen Sans', cursive;
  font-size: 16px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  margin-top: 40px;
}

.footer p {
  margin: 0 0 8px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #272829;
  font-size: 28px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #FFDFDF; 
}
 
.btn-minimal {
    background: transparent;
    color:#437057;
    border: 2px solid #437057;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    }
    
 .btn-minimal:hover {
  background: #ff5d78;
  color: #fff;
    }

.project-card.horizontal {
  display: flex;
  width:1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.project-content {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.project-image {
  flex: 1.2;
  min-width: 250px;
  max-height: 350px;
  overflow: hidden;
  margin-top: 50px;
  margin-left:20px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;  
}

.features-list.flat-list {
  padding-left: 18px;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.features-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: black;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.features-list i {
  margin-right: 10px;
  color: #4CAF50; 
  font-size: 18px;
}

.more-projects-btn-wrapper {
  text-align: center;
  margin-top: 50px;
}


.project-links .btn-minimal {
  display: inline-block;
  margin-right: 15px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.project-links .btn-minimal:hover {
  background-color: #555;
}

.project-links {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px; 
  margin-top: 20px;
}
.project-links .btn-minimal {
  padding: 10px 16px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.project-links .btn-minimal:hover {
  background-color: #555;
}

/* Icons */

.features-list.flat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list.flat-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.features-list.flat-list i {
  margin-right: 10px;
  margin-top: 3px;
  min-width: 20px;
  font-size: 18px;
}


.hamburger{
  display:none;
}

@media (max-width: 768px) {

    html, body {
    overflow-x: hidden;
  }
  
  .project-card.horizontal,
  .project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .project-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .project-image img {
    width: 90%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
  }

  img {
  max-width: 100%;
  height: auto;
  display: block;
}

  .project-details {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .project-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .project-details .tech {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .project-details p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .project-details,
  .features-list li,
  .certificate-gallery {
    word-break: break-word;
    overflow-wrap: break-word;
}

  .project-details h3,
  .project-details .tech {
     text-align: center;
      margin: 0 auto;
}

.project-image img {  
  margin: 0 auto;
  width: 90%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

.project-content,
.project-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-card.horizontal {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
}

 .features-list {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

  .features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;
  }

  .features-list li i {
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 1rem;
    color: #444;
  }

  .project-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .btn-minimal {
    width: 220px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    text-align: center;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-decoration: none;
    color: #333;
  }

  /* My certificates */
  .cert-tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
  }

  .cert-icon {
    max-width: 50px;
    height: auto;
  }

  .certificate-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .certificate-item-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .certificate-item {
    width: 90%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

   .certificate-item:hover {
    transform: none !important;
    transition: none !important;
  }

  .more-projects-btn-wrapper {
    text-align: center;
    margin-top: 2rem;
  }

  .projects-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background-color: #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
  }


  /* Hamburger */
 .menu-right {
    display: none;
    position: absolute;
    top: 60px; 
    background-color: #A0BFE0; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 20px;
    flex-direction: column;
    width: 180px;
    z-index: 1000;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    }

    .menu-right.active {
    display: flex;
  }

    .menu-right a.list {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    color: #333;
    text-decoration: none;
  }
    
}




