

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

header nav ul li {
  margin-right: 20px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #ccc;
}

/* Intro Styles */
.intro {
  background-image: linear-gradient(to bottom, #333, #555);
  background-size: 100% 300px;
  background-position: 0% 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.intro-text {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.intro-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.intro-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.intro-image {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Styles */
.about {
  padding: 20px;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.about p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Skills Styles */
.skills {
  padding: 20px;
}

.skills h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.skill {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.skill h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.skill ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill li {
  margin-bottom: 10px;
}

/* Projects Styles */
.projects {
  padding: 20px;
}

.projects h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.project {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.project h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Contact Styles */
.contact {
  padding: 20px;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact li {
  margin-bottom: 10px;
}

.contact a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

.contact a:hover {
  color: #555;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  clear: both;
}

footer p {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Button Styles */
.btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
