/* 1. 전체 배치 스타일 */
.daemon-wrapper {
text-align: center; /* 카드들을 중앙으로 모음 */
padding: 20px;
}
h1 {
color: #fff;
font-size: 80px;
font-family: 'Poiret One', sans-serif;
font-weight: 100; /* 아주 두껍게 (900까지 가능) */
}
/* 2. 카드 컨테이너: 높이를 여기서 딱 못 박는다! */
.flip-container {
perspective: 1000px;
width: 320px; /* 카드 가로 크기 */
height: 550px; /* 카드 세로 크기 (오빠 마음대로 수정) */
margin: 15px;
display: inline-block; /* 카드를 옆으로 나란히 배치 */
vertical-align: top;
}
.flipper {
transition: 1.2s;
transform-style: preserve-3d;
position: relative;
width: 100%;
height: 100%;
margin-bottom: 20px;
}
/* 마우스 호버 시 뒤집힘 */
.flip-container .flipper:hover {
transform: rotateY(180deg);
cursor: pointer;
}
/* 3. 앞면 & 뒷면 공통 스타일 */
.front, .back {
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid #333;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
/* 앞면 설정 */
.front {
z-index: 2;
transform: rotateY(0deg);
}
/* 뒷면 설정 */
.back {
transform: rotateY(180deg);
background: #111;
}
/* 4. 이미지 스타일: 박스 크기에 강제로 맞춤 */
.flip-container img {
width: 100%;
height: 100% !important; /* 부모(220px) 높이에 무조건 맞춤 */
object-fit: cover; /* 이미지가 찌그러지지 않게 알아서 컷팅 */
display: block;
}
/* 5. 내용 레이어 (이미지 위에 글자 띄우기) */
.content-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
z-index: 5;
/* background: rgba(0, 0, 0, 0.4); /* 글자 가독성을 위한 반투명 필터 */
pointer-events: none;
}
.content-overlay h2 {
margin: 0;
font-size: 40px;
color: #ffeb3b;
text-shadow: 2px 2px 4px #000;
}
.content-overlay p {
font-size: 20px;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.content-overlay span {
color:#000;
font-size:15px;
font-family: 'Noto Sans KR', sans-serif;
font-weight: 500;
text-shadow: -1px -1px 0 #eee, 1px -1px 0 #eee, -1px 1px 0 #eee, 1px 1px 0 #eee;
}
/* 하단 상태바 (선택 사항) */
.status-bar {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(0, 0, 0, 0.7);
color: #ffffff;
font-size: 18px;
padding: 10px 0;
text-align: center;
border-top: 1px solid rgba(0, 0, 0, 0.4);
}
.DaemonTable {
padding: 20px 0px 40px 0px;
}
.DaemonList {
border-bottom:1px solid #111;
color: #888;
font-size: 15px;
font-family: 'Noto Sans KR', sans-serif;
font-weight: 700;
text-align: left;
padding: 15px 10px;
}
.DaemonList i {
border-radius: 50px;
font-size: 15px;
text-align: center
margin-right: 110px;
padding:5px 15px;
}
.DaemonList:hover {
outline-color:transparent; outline-style:solid; transition: 0.7s;
border-bottom: 1px solid #00ff00;
color: #fff;
}
.DaemonList:hover i {
color: #00ff00;
padding-right: 20px;
transition: 0.7s;
}