@font-face {
  font-family: 'Shilla_CultureB-Bold';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/Shilla_CultureB-Bold.woff2')
    format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff')
    format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'ghanachoco';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ghanachoco.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Ownglyph_ParkDaHyun';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2')
    format('woff2');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  /* height: 100%; */
  /* margin: 0;
  padding: 0; */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  /* background-color: black; */

  background: linear-gradient(to right bottom, black, white);
  background-repeat: no-repeat;

  margin: 0;
  padding: 0;
}

header {
  background-color: pink;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='199' viewBox='0 0 100 199'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath d='M0 199V0h1v1.99L100 199h-1.12L1 4.22V199H0zM100 2h-.12l-1-2H100v2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  color: white;
  padding-top: 30px;
  min-height: 70px;
  border-bottom: 3px solid black;
}

header a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header li {
  display: inline;
  padding: 0 10px;
}

header #branding {
  float: left;
}

header #branding h1 {
  margin: 0;
  margin-left: 10px;
  /* font-family: 'ganachoco', sans-serif; */
}

header nav {
  float: right;
  margin-top: 10px;
}

header .highlight {
  color: black;
  font-family: 'ghanachoco';
}
header .highlight2 {
  font-family: 'ghanachoco';
}
header .current {
  color: black;
  margin-top: 10px;
}
header nav ul li a {
  font-family: 'ghanachoco';
  font-size: 18px;
  font-weight: bold;
  color: chocolate;
}

header a:hover {
  border-bottom: 2px black solid;
}
/*footer*/
footer {
  padding-top: 10px;
  margin-top: 10px;
  font-size: large;
  color: white;
  background-color: gray;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer div {
  margin-left: 20px;
  margin-right: 20px;
}

footer a {
  margin-left: 10px;
}

footer img {
  width: 40px;
  height: 40px;
}
/* */

/* .main .container {
  display: flex;
  justify-content: center;
  padding-top: 80px;
  height: 100%;
}
#mainimg {
  border-radius: 2%;
}
.main .discription {
  background-color: transparent;
  display: flex;
  padding-left: 100px;
  flex-direction: column;
  margin-top: 20px;
  gap: 40px;
  width: 600px;
  background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb2cb3060-e4e1-43fe-9980-0591c94ec8e8%2FLearn.gif&blockId=2a73376e-aac2-4b39-9568-441bbf3eed9a');
  background-size: cover;
  background-repeat: no-repeat;
} */

/*index.css*/
.main {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  gap: 30px; /* 이미지와 설명 사이 간격 */
  padding: 40px 20px; /* 상하 좌우 여백 */
}

.container {
  /* 이미지 컨테이너 스타일 */
  width: fit-content;
  /* height: auto; */
  /* display: flex; */
  flex-shrink: 0; /* 이미지 크기 유지 */
}

#mainimg {
  width: 90%; /* 이미지 너비를 화면에 맞게 조정 */
  height: auto;
}

.right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-text {
  font-size: 50px;
  margin-bottom: 200px;
  font-family: 'Shilla_CultureB-Bold', sans-serif;
  font-weight: bold;
}
.check-text {
  font-size: 20px;
  font-family: 'Pretendard-Regular';
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

#mainimg {
  width: 400px;
  height: auto;
  border-radius: 2%; /* 이미지 모서리 둥글게 */
  max-width: 100%; /* 이미지가 컨테이너를 넘지 않도록 */
  display: block; /* 이미지 하단 간격 제거 */
}

.flex-container {
  display: flex;
  /* background-color: ; */
  margin: 0 auto;
  gap: 30px; /* 박스 간격 */
}
.flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 30px;
}
/* */

/*portfolio.css*/
.sidebar-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  font-family: 'Shilla_CultureB-Bold', sans-serif;
  padding: 20px;
  border-right: 2px solid #eee;
}

.sidebar-left {
  padding: 20px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-title {
  font-size: 30px;
  font-weight: bold;
  margin: 20px 0 10px;
  color: black;
  border-left: 4px solid #ffb347;
  padding-left: 10px;
}
.portfolio-title {
  font-size: larger;
  font-weight: bold;
}

.sidebar-nav li {
  margin: 10px 0;
}

.sidebar-nav a {
  text-decoration: none;
  color: #333;
  background-color: #f8f8f8;
  padding: 8px 12px;
  display: inline-block;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 20px;
}

.sidebar-nav a:hover {
  background-color: #ffe4b3;
  color: #000;
  transform: translateX(5px);
}

details summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
  color: #444;
}

details[open] summary {
  color: #ff8800;
}

summary {
  list-style: none; /* 기본 삼각형 제거 */
  cursor: pointer;
}

object {
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-right {
  position: absolute; /*위치 맘대로 지정*/
  top: 120px;
  right: 0;
  margin: 20px;
  
}

.sidebar-right form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.friend-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fdfce5; /* 연한 노랑 배경 */
  border-radius: 8px;
  margin-top: 10px;
}

.friend-form input[type='email'] {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
}

.button-friend {
  padding: 8px 12px;
  background-color: #ffcc66;
  color: black;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.button-friend:hover {
  background-color: #ffbb33;
}
/* */

/*secon.css*/
#secon {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

#secon_introduce {
  display: flex;
  gap: 30px; /* 두 박스 사이 간격 */
  align-items: flex-start;
  justify-content: center; /* 중앙 정렬 */
  margin-top: 50px;
  margin-bottom: 200px;
}

iframe { /*youtube*/
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.text-box {
  width: 400px;
  padding: 20px;
  border: 2px solid black;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-size: 16px;
  color: black;
  font-size: 20px;
  font-family: 'Pretendard-Regular', sans-serif;
  font-weight: bold;
  line-height: 1.5;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.report_textbox {
  width: 1000px;
  padding: 20px;
  border: 2px solid black;
  border-radius: 10px;
  background-color: #fffde7;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.6'%3E%3Crect y='39' width='40' height='1'/%3E%3C/g%3E%3C/svg%3E");
  font-size: 20px;
  font-family: 'Pretendard-Regular', sans-serif;
  font-weight: bold;
  line-height: 1.5;
  color: black;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  margin: 0 auto;
  margin-top: 50px;
}

#est {
  display: block;
  margin: 0 auto;
}
#cloud {
  display: block;
  margin: 0 auto;
}

.center-title {
  text-align: center;
  margin-bottom: 0;
}
/* */

/*team.css*/
.team-image {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 50px;
}

.team-image img {
  width: 250px;
  height: auto;
  background-color: white;
}

.member img:hover {
  transform: scale(1.1); /* 10% 확대 */
}
.team-image {
  font-weight: bold;
  font-family: 'Shilla_CultureB-Bold', sans-serif;
  font-size: 25px;
}
.team-image .member-name {
  border-bottom: solid black 2px;
}
.team-image .member-number {
  border-bottom: solid black 2px;
}
.team-image .member-club {
  border-bottom: solid black 2px;
}

.team-table {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: 'Ownglyph_ParkDaHyun', sans-serif;
  font-size: 23px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.team-table thead {
  background-color: orange;
}

.team-table th,
.team-table td {
  padding: 12px 15px;
  border: 2px solid #062a38;
}

.team-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* .team-table a {
  color: #3366cc;
  text-decoration: none;
  font-weight: bold;
}

.team-table a:hover {
  text-decoration: underline;
} */

/*#########################################################*/


/* 
   모바일크기가 다양해져서 600정도로 넉넉하게 설정
*/
@media screen and (max-width: 600px) {
  header {
    padding: 15px 10px; /* 패딩 줄여서 공간 확보 */
    min-height: 50px; /* 헤더 높이 축소 */
    text-align: center; /* 중앙 정렬 */
  }

  header #branding {
    float: none; /* 로고를 중앙*/
    margin-bottom: 10px;
  }

  header nav {
    float: none; /* 내비게이션도 중앙 */
    margin-top: 0;
  }

  header nav ul {
    padding: 0;
  }

  header li {
    display: block; /* 메뉴 항목을 세로로 쌓음 */
    padding: 5px 0;
  }

  header a {
    font-size: 14px; /* 글씨 크기 축소 */
  }

  header .highlight,
  header .highlight2,
  header .current,
  header nav ul li a {
    font-size: 14px; /* 메뉴 글씨 크기 통일 */
  }

  /* index */
  .main {
    flex-direction: column; /* 이미지와 텍스트를 세로로 쌓음 */
    align-items: center; /* 중앙 정렬 */
    padding: 20px 10px; /* 여백 축소 */
    gap: 15px;
  }

  .main-text {
    font-size: 28px; /* 타이틀 글씨 크기 줄이기 */
    text-align: center;
    margin-bottom: 50px; /* 여백 조정 */
  }

  .check-text {
    font-size: 16px; /* 설명 텍스트 크기 축소 */
    text-align: center;
  }

  #mainimg {
    width: 100%; /* 이미지가 화면 너비에 맞게 조정 */
    max-width: 300px; /* 최대 너비 제한 */
  }

  /* footer */
  footer {
    flex-direction: column; /* 푸터 요소 세로로 쌓음 */
    padding: 10px;
    font-size: medium;
  }

  footer div {
    margin: 5px 0; /* 마진 조정 */
  }

  footer img {
    width: 30px; /* 아이콘 크기 축소 */
    height: 30px;
  }

  /* portfolio */
  .sidebar-grid {
    padding: 10px; /* 패딩 축소 */
    border-right: none; /* 작은 화면에서는 구분선 제거 */
  }

  .portfolio-title {
    font-size: 24px; /* 타이틀 크기 축소 */
  }

  .sidebar-nav a {
    font-size: 16px; /* 링크 글씨 크기 축소 */
    padding: 6px 10px;
  }

  .sidebar-right {
    position: static; /* 고정 위치 해제 */
    margin: 10px auto;
    width: 90%; /* 화면에 맞게 너비 조정 */
    text-align: center;
  }

  .friend-form {
    flex-direction: column; /* 폼 요소 세로로 쌓음 */
    gap: 8px;
  }

  .friend-form input[type='email'] {
    width: 100%; /* 입력창 너비 전체로 */
    font-size: 12px;
  }

  .button-friend {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* secon  */
  #secon_introduce {
    flex-direction: column; /* 박스 세로로 쌓음 */
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
  }

  .text-box {
    width: 90%; /* 화면에 맞게 너비 조정 */
    font-size: 14px;
    padding: 15px;
  }

  .report_textbox {
    width: 90%; /* 화면에 맞게 너비 조정 */
    font-size: 14px;
    padding: 15px;
  }

  /* team */
  .team-image {
    flex-direction: column; /* 이미지 세로로 쌓음 */
    align-items: center;
    gap: 20px;
  }

  .team-image img {
    width: 200px; /* 이미지 크기 축소 */
  }

  .team-image {
    font-size: 20px; /* 글씨 크기 축소 */
  }

  .team-table {
    width: 95%; /* 표 너비 조정 */
    font-size: 16px; /* 글씨 크기 축소 */
  }

  .team-table th,
  .team-table td {
    padding: 8px 10px; /* 패딩 축소 */
  }
}

/*
  태블릿 사이즈
*/
@media screen and (max-width: 900px) {
  /* 헤더 */
  header {
    padding: 20px 15px;
    min-height: 60px;
  }

  header a {
    font-size: 16px;
  }

  header .highlight,
  header .highlight2,
  header .current,
  header nav ul li a {
    font-size: 16px;
  }

  /* index */
  .main {
    flex-direction: column; /* 세로 레이아웃 유지 */
    padding: 30px 15px;
    gap: 20px;
  }

  .main-text {
    font-size: 36px; /* 타이틀 크기 조정 */
    text-align: center;
    margin-bottom: 80px;
  }

  .check-text {
    font-size: 18px;
    text-align: center;
  }

  #mainimg {
    width: 100%;
    max-width: 350px; /* 이미지 크기 제한 */
  }

  /* footer */
  footer {
    padding: 15px;
    font-size: large;
  }

  /* portfolio */
  .sidebar-grid {
    padding: 15px;
  }

  .portfolio-title {
    font-size: 28px;
  }

  .sidebar-nav a {
    font-size: 18px;
  }

  .sidebar-right {
    position: static;
    margin: 15px auto;
    width: 80%;
  }

  /* secon  */
  #secon_introduce {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 100px;
  }

  .text-box {
    width: 80%;
    font-size: 16px;
  }

  .report_textbox {
    width: 80%;
    font-size: 16px;
  }

  /* team */
  .team-image {
    flex-wrap: wrap; /* 이미지가 화면에 맞게 줄 바꿈 */
    gap: 30px;
  }

  .team-image img {
    width: 220px;
  }

  .team-table {
    font-size: 18px;
  }
}

  