header {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  width: 100%;
  padding-top: 1rem;
}

header img {
  max-width: 350px;
  transform: scaleX(1);
}


header nav ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  margin: 0;
}

header nav ul li a {
  position: relative;
  font-weight: 700;
  display: block;
  margin: 1rem;
  /* padding: 1rem; */
  color: #ffffff;
  text-decoration: none;
}

header a::before {
  content: "";
  position: absolute;
  top: 140%;
  /* top: 90%; */
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: 0.3s;
}

header a:hover::before {
  width: 100%;
  
}body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ACAAF0;
  }
  
  h1 {
    font-family: "Chewy", system-ui;
    color: #ffffff;
    text-align: left;
  }

  h2 {
    font-family: "Chewy", system-ui;
    color: #ffffff;
    text-align: left;
  }
    h3 {
    font-family: "Chewy", system-ui;
    color: #4a3da8;
    text-align: left;
  }
  
  p {
    line-height: 1.5;
    color: #ffffff;
  }
  
  /* Case Study Section */
  .case-study-container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
  }
  
  .case-study {
    background-color: #5b4fbf;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .case-study h1 {
    font-size: 32px;
  }
  
  .case-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .case-description {
    flex: 2;
    padding-right: 20px;
  }
  
  .project-details {
    flex: 1;
    background-color: #b9abf1;
    border-radius: 8px;
    padding: 15px;
  }
  
  .project-details h2 {
    margin-top: 0;
    font-size: 18px;
    color: #3a2b8c;
  }
  
  .project-details ul {
    list-style-type: none;
    padding: 0;
  }
  
  .project-details ul li {
    padding: 5px 0;
  }
  
/* Challenge Container */
.challenge-container {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}

/* Challenge Box */
.challenge-box {
  background-color: #5b4fbf;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 5px solid #ffffff
}

.challenge-box h2 {
  background-color: #CABFF5;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 20px;
  color: white;
  display: inline-block;
  margin: 0;
}

.challenge-box p {
  margin-top: 15px;
  text-align: justify;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .challenge-box {
    padding: 15px;
  }

  .challenge-box h2 {
    font-size: 18px;
  }

  .challenge-box p {
    font-size: 14px;
  }
}

.character-sketches {
  background-color: #4A3DA8;
  border-radius: 15px;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #4A3DA8;
}

.character-sketches h2 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Sketch Container */
.sketch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.sketch-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

  /* My Parts Section */
  .my-parts {
    background-color: #5b4fbf;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .my-parts h2 {
    font-size: 28px;
  }
  
  .my-parts p {
    font-size: 22px;
    color: #ffffff;
  }
  
  .model-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .model {
    flex: 1 1 calc(50% - 20px);
    background-color: #cabff5;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .model h3 {
    font-size: 25px;
    color: #4a3da8;
  }
  
  .model .images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  
  .model .images img {
    width: 100%;
    max-width: calc(50% - 5px);
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .case-content {
      flex-direction: column;
    }
  
    .case-description, .project-details {
      flex: 1;
      padding: 0;
    }

    .model .images {
      display: block;
    }
  
    .model-section {
      flex-direction: column;
    }
  
    .model {
      flex: 1;
    }
  
    .model .images img {
      max-width: 100%;
    }
  }

  .character-movements {
    background-color: #CABFF5;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 2000px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #4A3DA8;
  }
  
  .character-movements h2 {
    font-size: 24px;
    color: #ffffff;
    text-align: left;
    margin-bottom: 20px;
  }
  
  /* Video Container */
  .video-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Video Box Styling */
  .video-box {
    background-color: #DBD2FF;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .video-box video {
    width: 100%;
    border-radius: 10px;
    outline: none;
  }
  
  /* Responsive Design */
  @media screen and (min-width: 768px) {
    .video-container {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .video-box {
      width: 48%;
    }
  }

  .video-section {
    background-color: #CABFF5;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #4A3DA8;
  }
  
  .video-section h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
  }
  
  /* Video Container */
  .video-container2 {
    position: relative;
    overflow: hidden;
    
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Footer Section */
footer {
  background-color: #4A3DA8;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .skills {
    flex-direction: column;
    text-align: center;
  }}

  /* Footer Section */
footer {
  background-color: #4A3DA8;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .skills {
    flex-direction: column;
    text-align: center;
  }}