html{
    box-sizing: border-box;
}
body {
    margin: 0px;
    padding:0px;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #c2c0c0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

a:hover{
    color: #ef46b5;
}

header {
  background: #720d0d;
  /* padding: 1rem 0; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  width: 200px;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #c2c0c0;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  padding: 4rem 0;
  text-align: center;
  background: #2a2a2a;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #720d0d;
  color: #c2c0c0;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.btn:hover, .about-text .btn:hover{
    color:#720d0d;
    background:#ef46b5;
}

.projects {
  padding: 3rem 0;
}

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

.project-card {
  background: #1e1e1e;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.project-card img {
  width: 100%;
  border-radius: 6px;
}

footer {
  padding: 1rem 0;
  background: #1f1f1f;
  text-align: center;
  font-size: 0.9rem;
}

/* About */
.about-section {
  background: #1e1e1e;
  padding: 3rem 0;
}

.about-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.about-photo {
  flex: 1 1 250px;
  max-width: 250px;
  border-radius: 8px;
  /* border: 3px solid #333; */
}

.about-text {
  flex: 2 1 400px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ddd;
}

.about-text .btn {
  background: #720d0d;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  color: #c2c0c0;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width:640px) {
    .navbar{
        flex-direction: column;
    }
}

