#home-content-1 { position: relative; width: 100%; margin: 0 auto; } #home-content-1 img { width: 100%; display: block; } #home-content-1 .button-on-image { position: absolute; width: 6vw; top: 60%; left: 18%; transform: translate(-50%, -50%); padding: 12px 24px; font-size: 1vw; background-color: #51e6ef; color: white; border: none; border-radius: 8px; cursor: pointer; } #home-content-text-2 { text-align: center; } #home-content-2 { padding: 40px 0px 80px 0px; } #home-content-img-2 { padding: 30px 10px 10px 10px; text-align: center; } #home-content-text-2 h2 { font-size: 3vw; color: #51e6ef; margin-bottom: 0.1em; } #home-content-text-2 p { font-size: 1.5vw; color: gray; margin-top: 0.1em; } #home-content-img-2 img { width: 20vw; padding: 5px 5px 5px 5px; } #home-content-3 { font-size: 1.4vw; position: relative; display: inline-block; /* 이미지의 실제 크기에 따라 컨테이너의 크기를 조정합니다 */ } #home-content-img-3 { display: block; /* 이미지가 인라인 요소로 동작하는 것을 방지합니다 */ width: 100%; /* 이미지가 컨테이너의 전체 너비를 차지하도록 합니다 */ height: auto; /* 이미지 비율을 유지합니다 */ } #home-content-text-3 { position: absolute; top: 65%; /* 상위 컨테이너 기준으로 상하 중앙에 위치하도록 설정합니다 */ left: 56%; /* 상위 컨테이너 기준으로 좌우 중앙에 위치하도록 설정합니다 */ transform: translate(-5%, -50%); /* 요소의 중심을 정확한 중앙에 위치하도록 조정합니다 */ color: white; /* 텍스트 색상을 설정합니다 */ /* 추가적인 스타일링 옵션 */ text-align: start; /* 텍스트를 중앙 정렬합니다 */ /* 필요에 따라 폰트 크기, 무게 등을 설정할 수 있습니다 */ } #home-content-text-3 p { color: white; opacity: 0.6; font-size: 2.4vw; font-weight: bold; } #home-content-img-4 { width: 100%; } #home-content-4 { position: relative; display: inline-block; /* 이미지의 실제 크기에 따라 컨테이너의 크기를 조정합니다 */ } .home-content-grid-4 { display: grid; grid-template-columns: 1fr 1fr; /* 2개의 열을 동일한 크기로 설정 */ grid-template-rows: auto auto auto; /* 3개의 행의 높이는 내용에 따라 자동으로 설정 */ gap: 30px; /* 그리드 아이템 사이의 간격을 10px로 설정 */ padding: 10px; position: absolute; top: 50%; /* 상위 컨테이너 기준으로 상하 중앙에 위치하도록 설정합니다 */ left: 28%; /* 상위 컨테이너 기준으로 좌우 중앙에 위치하도록 설정합니다 */ transform: translate(-50%, -50%); /* 요소의 중심을 정확한 중앙에 위치하도록 조정합니다 */ color: black; /* 텍스트 색상을 설정합니다 */ } .grid-item img { width: 3vw; } .grid-item h2 { font-size: 2.4vw; margin-top: 0.8em; margin-bottom: 0.1em; } .grid-item p { color: gray; font-size: 1.4vw; margin-top: 0.1em; } .grid-item { display: flex; flex-direction: column; /* 항목들을 세로로 정렬 */ justify-content: center; /* 중앙 정렬 */ text-align: center; align-items: center; } #home-content-5 { padding: 80px 80px 40px 80px; display: flex; flex-direction: column; /* 항목들을 세로로 정렬 */ justify-content: center; /* 중앙 정렬 */ text-align: center; align-items: center; } #home-content-video-5 { padding: 40px; width: 80%; border-radius: 100px; } #home-content-text-body-5 { line-height: 1.8; letter-spacing: 0.01em; font-size: 1vw; color: gray; } #home-content-text-body-5 span { color: #51e6ef; line-height: 2; font-size: 2.4vw; font-weight: bold; } #home-content-text-foot-5 { padding: 1rem 0 0 0; font-size: 0.9vw; color: #51e6ef; } .home-content-6 { display: grid; grid-template-rows: repeat(2, 1fr); /* 세 개의 열로 나눕니다 */ grid-template-columns: repeat(4, 1fr); /* 세 개의 열로 나눕니다 */ grid-gap: 20px; /* 그리드 간격 설정 */ padding: 10px 70px 50px 70px; } .grid-item-6 { position: relative; background: white; /* 배경색 설정 */ text-align: center; } .map { padding: 0px 0px 0px 20px; grid-column: 3 / span 2; /* 맵은 세 열을 차지합니다 */ grid-row: 1 / span 2; /* 맵은 세 열을 차지합니다 */ } .grid-item-text-6 { position: absolute; top: 60%; left: 20%; transform: translate(-10%, -50%); font-size: 2vw; /* Adjust font size as needed */ color: black; /* Text color */ } #grid-item-text-tel-6 { position: absolute; top: 60%; left: 30%; transform: translate(-10%, -50%); font-size: 2vw; /* Adjust font size as needed */ color: black; /* Text color */ } .grid-item-text-6 p { width: 100%; font-size: 1.1vw; } #home-content-7 { display: grid; width: 100%; grid-template-rows: 6vw 7vw 2vw; background-color: #fafafa; padding: 2vw 0 2vw 0; } .home-contain-7 { background-color: white; } #home-content-head-7{ display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; } #home-content-head-7 p{ color: gray; font-size: 1vw; } #home-content-head-7 b{ font-size: 1.7vw; color: black; font-weight: bold; } /*------------------------------------*/ /* Slideshow container */ .slideshow-container { width: 100%; } .testtest{ width: 100%; display: flex ; flex-direction: row; justify-content: center; } .testtest img{ width: 15vw; } /* The dots/bullets/indicators */ .dot { cursor: pointer; height: 0.7vw; width: 0.7vw; margin: 0 2px; background-color: #CAF4FA; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .active, .dot:hover { background-color: #51e6ef; } /* Fading animation */ .fade { animation-name: fade; animation-duration: 1.5s; } @keyframes fade { from { opacity: 0.1; } to { opacity: 1; } }