@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-variation-settings:
  "wdth" 100;
  background-color: #fff4f7;
  color: #7c5f6a;
  line-height: 1.6;
  padding: 20px;
}


#container {
  max-width: 960px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

 h2, h3, h4 {
  font-family: "Pixelify Sans", sans-serif;
  font-size: 2rem;
  color: #7c5f6a;
}

header {
  border-bottom: 1px solid #b4c99c;
}

#images {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.image {
  width: 30%; 
  aspect-ratio: 3 / 3;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

header h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

header h1 span {
  color: #fa98b9;
  font-family: "Pixelify Sans", sans-serif;
}

nav ul {
  display: flex;
  justify-content: right;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #A4C2A5;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #7c5f6a;
}


section {
  margin-bottom: 40px;
  padding-top: 15px;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
  list-style: none;
}

ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

ul li a:hover {
  color: #A4C2A5;
}

footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

footer h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

footer a {
  color: #A4C2A5;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

#projects .card-grid {
  text-align: center;
}

.card {
  background-color: #fdc3d7;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card a {
  text-decoration: none;
  color: #fffff8;
  font-weight: bold;
  display: block;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.card:hover a{
  color: #f769a2;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fdf6f9;
}

.project-card {
  background-color: #f98daf;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image {
    width: 80%;
  }

  nav ul {
    justify-content: center;
  }

} 