ul{list-style: none;} /* 리스트 앞에 . 제거*/
li{list-style: none;}
a{text-decoration: none;} /* 링크에 밑줄 제거*/

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

.grid-container{
  display:grid;
  grid-template-rows:100px 100px;
}

header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 125px;
  background-color: #FF94A4;
  z-index: 1000;
  display: flex;
  justify-content: space-between; /* .logo와 #main-navigation 사이에 공간을 분배 */
  align-items: center; /* 수직 가운데 정렬 */
  padding: 0 20px; /* 좌우 여백 추가 */
}

.logo{
  width: 150px;
  margin-left: 30px;
}

content {
  background-color: #ffffff;
  min-height: 100vh; /* 화면 높이 기준 최소 크기 */
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start;
  padding-top:150px;
  width: 100%;
}

.bigimg-container {
    display: flex;
    justify-content: flex-end; 
    width: 100%;
    margin-top:40px;
}
  
.bigimg {
    width: 800px;
    margin: 20px;
}

footer{
  position: relative;
  height: 290px;
  background-color: #FF94A4;
}

.sns_container{
    position: absolute;
    right:80px; top:55px;
    width: 120px;
    display: flex; 
    flex-direction:row; 
    justify-content: space-between; 
    align-items: center; 
    gap: 30px;
}

.sns_container img {
    width: 26px; /* 이미지 크기 조정 */
    height: auto;
    object-fit: contain; /* 이미지 비율 유지 */
}

.logo2{
    position: absolute;
    width: 90px;
    left: 60px; top:50px;
}

.text{
    position: absolute;
    font-size: 13px; text-align: left;
    left:60px; top: 120px;
    color: white;
}

.text2{
    position: absolute;
    font-size: 14.5px; text-align: left;
    left:60px; top: 145px;
    color: white;
}

#main-navigation {
  display: flex; /* flexbox 적용 */
  justify-content: center; /* 메뉴 항목들을 수평으로 정렬 */
  align-items: center; /* 메뉴 항목들을 수직으로 정렬 */
  height: 100%;
  width: 800px;
  margin-bottom: 10px;
  margin-right:50px;
}
        
.outer-menu-item {
/* 메뉴바 우측정렬 */
  display: flex;
  width: 135px;
  height: 65px;
  align-items: center; 
  justify-content: center;
  margin-top: 15px;
  margin-right: 10px;
  float: right;  
  position: relative;
  color:white;
  font-family: 'EF_hyunydororong', Arial, sans-serif;
  font-size: 20px;
}      

.outer-menu-item:hover .inner-menu {
display: block;
}

.outer-menu-item:hover {
background: #FFB7C2;
color: white
}

.menu-title {
  display: block;
  height: 30px; line-height: 30px;
  text-align: center;
  padding: 5px 20px;
}

* {
  box-sizing: content-box; /*  설정한 width와 height 값이 곧 요소 내부의 콘텐츠 크기 */
}

ul {
  list-style-position: inside;
  padding-left: 0;
}

.inner-menu {
display: none;
position: absolute;
background: #ff4a65;
color: white;
z-index: 1200;
text-align: left;
left: 0; 
top: 100%;
width: 100%;
margin:0; padding:0;
}

/* inner-menu-item 기본 스타일 */
.inner-menu-item > a {
display: block;
width: 100%;
padding: 5px 0;
height: 40px;
line-height: 30px;
text-align: center;
align-items: center; 
justify-content: center;
background-color: #fbeec8;
color: #FF94A4;
}

/* inner-menu-item hover 시 스타일 */
.inner-menu-item > a:hover {
background:#FF94A4;
color: white;
}

/* 썸네일 10개가 들어가는 컨테이너 */
.flex-container {
  display: flex;
  justify-content: space-between; /* 가로로 아이템 간격 조절 */
  flex-wrap: wrap; /* 요소가 화면을 넘어가면 다음 줄로 배치 */
  margin-left: 30px; 
  margin-right: 30px;
  gap: 40px;
}


@media (max-width: 768px) {
content {
    flex-direction: column;
    align-items: center;
}

.content .thum {
    width: 100%;
    height: auto;
}

summary-container {
    flex-direction: column;
    align-items: center;
}

summary-container .summary-item {
    width: 100%;
}
}


h3{
  color:#252525; font-weight: 600;
  margin-top: 0;
}

h4{
  color: #505050; font-weight: 500;
  margin-top:10px; margin-bottom: 10px;
}

.t {
  width: 280px; /* thum 크기 고정 */
  height: 160px;
  background-color: gray;
  margin-bottom: 0px; /* 텍스트와의 간격 */
}

/* 썸네일의 공통 스타일 */
.thum { 
   background-size: cover;
   background-position: center;
}

/* 각 썸네일의 이미지 경로 */
.thum1 { 
   background-image: url("Thum/Thum1.png");
}
.thum2 { 
   background-image: url("Thum/Thum2.png");
}
.thum3 { 
   background-image: url("Thum/Thum3.png");
}
.thum4 { 
   background-image: url("Thum/Thum4.png");
}
.thum5 { 
   background-image: url("Thum/Thum5.png");
}
.thum6 { 
   background-image: url("Thum/Thum6.png");
}
.thum7 { 
   background-image: url("Thum/Thum7.png");
}
.thum8 { 
   background-image: url("Thum/Thum8.png");
}
.thum9 { 
   background-image: url("Thum/Thum9.png");
}
.thum10 { 
   background-image: url("Thum/Thum10.png");
}
.thum11 { 
   background-image: url("Thum/Thum11.png");
}
.thum12 { 
   background-image: url("Thum/Thum12.png");
}
.thum13 { 
   background-image: url("Thum/Thum13.png");
}
.thum14 { 
   background-image: url("Thum/Thum14.png");
}
.thum15 { 
   background-image: url("Thum/Thum15.png");
}
.thum16 { 
   background-image: url("Thum/Thum16.png");
}
.thum17 { 
   background-image: url("Thum/Thum17.png");
}
.thum18 { 
   background-image: url("Thum/Thum18.png");
}
.thum19 { 
   background-image: url("Thum/Thum19.png");
}
.thum20 { 
   background-image: url("Thum/Thum20.png");
}
.thum21 { 
   background-image: url("Thum/Thum21.png");
}
.thum22 { 
   background-image: url("Thum/Thum22.png");
}
.thum23 { 
   background-image: url("Thum/Thum23.png");
}
.thum24 { 
   background-image: url("Thum/Thum24.png");
}
.thum25 { 
   background-image: url("Thum/Thum25.png");
}
.thum26 { 
   background-image: url("Thum/Thum26.png");
}
.thum27 { 
   background-image: url("Thum/Thum27.png");
}
.thum28 { 
   background-image: url("Thum/Thum28.png");
}
.thum29 { 
   background-image: url("Thum/Thum29.png");
}
.thum30 { 
   background-image: url("Thum/Thum30.png");
}
.thum31 { 
   background-image: url("Thum/Thum31.png");
}
.thum32 { 
   background-image: url("Thum/Thum32.png");
}
.thum33 { 
   background-image: url("Thum/Thum33.png");
}
.thum34 { 
   background-image: url("Thum/Thum34.png");
}
.thum35 { 
   background-image: url("Thum/Thum35.png");
}
.thum36 { 
   background-image: url("Thum/Thum36.png");
}
.thum37 { 
   background-image: url("Thum/Thum37.png");
}
.thum38 { 
   background-image: url("Thum/Thum38.png");
}
.thum39 { 
   background-image: url("Thum/Thum39.png");
}
.thum40 { 
   background-image: url("Thum/Thum40.png");
}

details { 
   margin-left: 30px; margin-right: 30px;
   animation: fadeIn 0.5s ease-in-out;

}

details > summary {
background: #ffffff;
color: #FF94A4;
padding: 20px;
outline: 0;
cursor: pointer;
transition: background 0.5s;
font-family: pretendard;
font-size: 25px;
font-weight: 500;
text-align: left; /* 왼쪽 정렬 */
margin-left: 0;
display: flex;
align-items: center;
border-bottom: 1.5px solid #FF94A4;
margin-bottom: 5px;
width:1650px;
}

.details {
animation: fadeIn 0.5s ease-in-out;
}

/* 접을 때 아이콘 */
details summary::before {
    content: "► "; 
    margin-right: 10px;
    font-size: 20px;
}

/* 펼쳤을 때 아이콘 */
details[open] summary::before {
    content: "▼ ";
}

details > div {
    overflow: hidden;
    transition: max-height 0.5s ease;
}

details:not([open]) > div {
    max-height: 0;
    width:300px;
    border-bottom:2px solid #C8C8C8; 
}

details[open] > div {
    max-height: 1000px; 
}

details > summary::-webkit-details-marker { 
    background:#ffffff; color:#fff; background-size:contain; 
    transform:rotate3d(0, 0, 1, 90deg); transition:transform 0.3s;
}

details[open] > summary::-webkit-details-marker { transform:rotate3d(0, 0, 1, 180deg);}

details[open] > summary ~ * {
  animation: reveal 0.5s forwards;
}

details:not([open]) > summary ~ * {
    animation: none;
}

details > summary ~ * { animation:reveal 0.5s forwards;}

.tpt { 
    background:#ffffff; color:#3f3f3f; 
    height:600px;
    margin:5px 10px; padding:5px 10px; padding-top:30px; line-height:30px; border-radius:5px;
}

@keyframes reveal {
from { opacity:0; transform:translate3d(0, -30px, 0); }
to { opacity:1; transform:translate3d(0, 0, 0); }
}
