body {
  background-color: #2f3437;
  color: #c47a3a;
  font-family: Arial, sans-serif;
}
h2 {
  text-align: center;
}

h1 {
  text-align: right;
}
.about {
  max-width: 100vw;
  margin: auto;
  padding: 20px;
}

.about img {
  float: left;
  width: 200px;
  height: auto;
  margin: 0 20px 15px 0;
  border-radius: 8px;
  object-fit: cover;
}

.about p {
  margin-bottom: 1em;
}

.about a {
  text-decoration: underline;
  color: #c47a3a;
  cursor: pointer;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.social-links a {
  color: #c47a3a;
  text-decoration: none;
}

.tech {
  text-align: center;
}
.icon {
  font-size: 40px;
}
#projects {
  padding: 60px 20px;

  text-align: center;
}

#projects h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: #e8d8c2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  width: 500px;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background-color: #e8d8c2;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #e8d8c2;
}

.project-card h3 {
  margin: 15px 0 10px;
  font-size: 1.4rem;
  color: #222;
  background-color: #e8d8c2;
}

.project-card p {
  padding: 0 15px;
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
  background-color: #e8d8c2;
}

.badges {
  padding: 10px 15px;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.badge.html {
  background: #e44d26;
}
.badge.css {
  background: #264de4;
}
.badge.js {
  background: #f0db4f;
  color: #222;
}
.badge.react {
  background: #61dafb;
  color: #222;
}
.badge.node {
  background: #68a063;
}
.badge.mongo {
  background: #4db33d;
}

.links {
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.links a {
  padding: 8px 14px;
  background: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
footer {
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
}
#contact {
  text-align: center;
}
#contact a {
  text-decoration: none;
  color: #c47a3a;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.slider {
  display: flex;
  transition: all 1s ease;
}

.top {
  display: flex;
  align-items: center;
  gap: 50px;
}

.arrow {
  height: 150px;
  cursor: pointer;
}

.left {
  transform: rotate(180deg);
}

.frame {
  width: 500px;
  height: 800px;
  overflow: hidden;
}
.images {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottom {
  display: flex;
  gap: 30px;
}

.button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
}

.uses {
  text-align: center;
}

.hardware a {
  color: #c47a3a;
}
