header {
  background: white;
  color: black;
  text-align: center;
  padding: 3em 1em 2em;
  font-weight: bold;
}

header h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5em;
  margin-bottom: 0.2em;
}

header p {
  font-size: 1.2em;
  margin-bottom: 1em;
  letter-spacing: 2px;
}

.navbar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 1.5em;
  justify-content: center;
}

.navbar li a {
  text-decoration: none;
  color: black;
  font-weight: normal;
  font-size: 0.95em;
  letter-spacing: 1px;
  font-family: 'Roboto', sans-serif;
}

.navbar li a:hover {
  text-decoration: underline;
}
.main-image {
  background-image: url('배경화면.jpeg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 800px;
}

body.profile-page {
  background-size: cover;
  background-position: center;
  margin: 0;
  color: white;
  text-align: center;
}

body.profile-page .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 50px 20px;
  margin: 100px auto;
  max-width: 800px;
  border-radius: 10px;
}

h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.6;
}
.assignments {
  padding: 40px 20px;
  text-align: center;
}

.assignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.assignment-card {
  background-color: goldenrod;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.assignment-card:hover {
  transform: translateY(-5px);
  background-color: white;
}

.assignment-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.assignment-card p {
  font-size: 0.95rem;
  color: #666;
}
.assignments h2 {
  color: black;
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 20px;
}
.assignment-preview-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.assignment-preview {
  flex: 1;
  max-width: 100%;
}

.assignment-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 4px solid black;
}
body.secon-page {
  background-image: url('secon.jpg');
  background-size: cover;
  background-position: center;
  margin: 0;
  color: white;
  text-align: center;
}
body.secon-page .overlay {
  background-color: black;

  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
body.h1 {
  font-size: small;
}
a:link,
a:visited {
  color: white;
  text-decoration: none;
}
/* Existing styles for h1, h2, h3, h4 */
h1.overlay.secon-page {
  width: 300px;
  height: 20px;
  margin: 0 auto;
  font-size: 35px;
}

h2.overlay.secon-page {
  width: 1300px;
  height: 110px;
  margin: 20px auto 0 auto;
  font-size: 25px;
  font-weight: lighter;
}

h3.overlay.secon-page {
  width: 500px;
  height: 20px;
  margin: 80px auto 0 auto;
  font-size: 35px;
}

h4.overlay.secon-page {
  width: 1300px;
  height: 270px;
  margin: 20px auto 0 auto;
  font-size: 25px;
  font-weight: lighter;
} /* Mobile responsiveness */
@media (max-width: 768px) {
  body.profile-page .overlay {
    padding: 30px 15px;
    margin: 50px auto;
    max-width: 90%;
  }

  h1 {
    font-size: 2em;
    margin-bottom: 15px;
  }

  p {
    font-size: 1em;
    line-height: 1.4;
  }
}
@media (max-width: 480px) {
  header h1 {
    font-size: 1.2rem;
  }

  .navbar a {
    font-size: 0.9rem;
  }

  .assignment-card {
    width: 100%;
    max-width: 100%;
  }

  .assignment-preview img {
    width: 100%;
  }
}
.team-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px;
}

.member {
  text-align: center;
}

.member img {
  width: 350px;
  height: 500px;
  object-fit: cover;

  transition: transform 0.3s ease;
  cursor: pointer;
}

.member img:hover {
  transform: scale(1.05);
}

.member-name {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1em;
}
