body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #3b3b3b;}

header {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 10px;
  background-color: #1d1d1d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
header img {
  max-width: 25%;
  height: auto;
  border: 5px solid white;
  border-radius: 50%;}
header div{
  margin-left: 20px;}
header p {
  font-size: 1.2rem;}



section {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;}
section h2 {
  text-align: center;
  margin-top: 0;}
section h3 {
  margin-bottom: 0;
  margin-top: 30px;}
section p {
  margin: 0px 0px;
  font-size: 1.2rem;
  line-height: 1.6;}



#about div {
  text-align: justify;}



#skills table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2em;}
#skills td:first-child {
  width: 35%;
  padding: 10px;
  border: 1px solid #ddd;}
#skills td:last-child {
  padding: 10px;
  border: 1px solid #ddd;}
#skills tr:nth-child(even) {
  background-color: #f9f9f9;}



.certificates img {
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  height: 565px}
.slideshow-container {
  position: relative}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 15px;
  margin-top: -25px;
  color: white;
  font-weight: bold;
  font-size: 15px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.8)}
.next {
  right: 0;
  border-radius: 3px 0 0 3px}
.numbertext {
  color: #333;
  font-size: 15px;
  padding: 10px;
  position: absolute;
  top: 0}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease}
.active, .dot:hover {
  background-color: #717171;}
.fade {
  animation-name: fade;
  animation-duration: 1s;}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }}



#hobbies div {
  text-align: center;}
#hobbies div span {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;}



#contact {
  text-align: center;}
.contact-links a {
  padding: 10px;
  display: inline-block;
  margin: 5px;
  border: 1px solid #3498db;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;}
.contact-links a:hover {
  background-color: #2980b9;
  color: white;}
.contact-links i {
  margin-right: 8px;}



footer {
  text-align: center;
  padding: 20px;
  background-color: #1d1d1d;
  color: white;
  max-width: 800px;
  margin: 0px auto;
  padding: 20px 40px;
  border-radius: 10px 10px 0px 0px;}



@media only screen and (max-width: 767px) {
  header {
    border-radius: 0px;
    margin: 0px auto 40px;}
  header h1{
    font-size: 1.1rem;
    margin-bottom: 8px;}
  header p{
    margin-top: 0;
    font-size: 0.9rem;}
  header img{
    border: 3px solid white;}


  section{
    padding: 20px;}
  section p {
    font-size: 0.9rem;}
  section h3 {
    font-size: 1rem;}
  .certificates img {
    height: 250px;}

  #skills td:first-child {
    width: 50%;
    padding: 10px;
    border: 1px solid #ddd;}

  td{
    font-size: 0.9rem;}

  footer {
    border-radius: 0px;}
}











#projects {
  padding: 2rem;
  background-color: #f9fafb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#projects h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.project-card p {
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.project-card a {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}

.profile-links {
  list-style: none;
  padding-left: 0;
}

.profile-links li {
  margin-bottom: 0.25rem;
}
