* {
  margin: 0;
  font-family: "goudy-old-style", serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #f8f5f2;
}
body {
  background-color: #5c3a21;
  color: white;
  height: 100%;
}
.page {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("img/Background-img1.1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #5c3a21;
  color: #f8f5f2;
  padding: 15px 30px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}
.nav-links a:hover {
  color: #ffd700;
  text-decoration: underline;
}
.logo {
  font-weight: 800;
  font-size: 20px;
}
.logo a {
  text-decoration: none;
}
.logo a:hover {
  color: #ffd700;
}
.links {
  list-style: none;
  justify-content: center;
  display: flex;
  gap: 150px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.links a {
  color: #f8f5f2;
  text-decoration: none;
}
.links a:hover {
  color: #ffd700;
  text-decoration: underline;
}
.listing-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 0;
  gap: 20px;
  margin: auto;
  max-width: 800px;
  justify-content: center;
}
.listing-grid a {
  text-decoration: none;
}
.listing {
  list-style: none;
  display: flex;
  padding: 0;
  margin: auto;
  max-width: 800px;
  justify-content: center;
}
.listing a {
  text-decoration: none;
}
.stats {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.detail {
  font-size: 17.5px;
  text-decoration: underline;
}
html,
body {
  height: 100%;
}
.wrapper {
  min-height: 100%;
  height: auto;
  margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */
}
.footer,
.push {
  height: 50px; /* .push must be the same height as .footer */
}
.color {
  background-color: saddlebrown;
}
.skill {
  width: 350px;
}
.icon {
  height: 100px;
  width: 100px;
}
.progress-container {
  width: 100%;
  width: 350px;
  height: 25px;
  background: #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
}
.progress-bar {
  width: 200px;
  height: 100%;
  background: #b8860b;
  text-align: center;
  color: #f8f5f2;
  line-height: 25px;
  font-weight: bold;
  transition: width 1.5s ease;
}
a:hover {
  color: #ffd700;
  text-decoration: underline;
}
a {
  color: white;
}
h1 {
  font-size: clamp(40px, 10vw, 100px);
  text-align: center;
}
span {
  font-size: 35px;
}
h2 {
  font-size: clamp(28px, 6vw, 50px);
  text-align: center;
}
p {
  font-size: 17.5px;
}
footer {
  text-align: center;
  background-color: #5c3a21;
  padding: 20px;
}
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.subtitle {
  font-size: clamp(16px, 4vw, 24px);
  margin: 20px 0;
}
.btn {
  background: darkgoldenrod;
  color: #f8f5f2;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
}
.btn:hover {
  background: saddlebrown;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  margin: 40px auto;
}
.project-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
  padding: 15px;
}
.project-card img {
  width: 100%;
  border-radius: 10px;
}
.project-card video {
width: 100%;
height: auto;
border-radius: 10px;
display: block;
}
.contact {
  max-width: 600px;
  margin: 50px auto;
  padding: 25px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 15px;
}
.contact h2 {
  margin-bottom: 20px;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact input,
.contact textarea {
  padding: 12px;
  border: 2px solid #b8860b;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #f8f5f2;
  font-size: 16px;
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #d9d9d9;
}
.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #ffd700;
}
.contact button,
.contact .back-btn {
  background: #b8860b;
  color: #f8f5f2;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}
.contact button:hover,
.contact .back-btn:hover {
  background: #ffd700;
  color: #5c3a21;
}
.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 15px;
  }
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .links {
    gap: 30px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: clamp(40px, 8vw, 70px);
  }
  h2 {
    font-size: clamp(28px, 5vw, 45px);
  }
  .skill,
  .progress-container {
    width: 90%;
    max-width: 350px;
  }
  .contact {
    width: 90%;
    box-sizing: border-box;
  }
  .project-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }
  .listing-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }
  .page {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}
