*{margin: 0px; padding: 0px;}
ul{list-style: none;} 
a{text-decoration: none;} 
 
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%; 
    height: 100px;
    background-color: #000000;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

#title {
    text-align: left;
    padding: 40px;
    margin: 0; 
    color: white;
    font-size: 43px;
    font-weight: 200;
    font-family: Baskerville;
    position: relative; 
    flex-grow: 1; 
}

#logo {
    position: absolute;
    top: 15px;
    left: 50%; 
    transform: translateX(-50%); 
}


#top_menu a{color: white;}
 
nav{
    position: absolute;
    bottom: 30px;
    right: 50px;
    font-family: pretendard; font-size: 25px; font-weight: 300;
    margin-top: 70px;
    margin-right: 30px;
}

nav li{
    display: inline;
    margin-left: 60px;
}
 
nav li a{color: white;}

nav li a:hover{
    color: #98FF9D; 
}
 
.inner-menu {
    /* 하위 메뉴 스타일 */
    display: none;
    position: absolute;
    left: 15px;
    background-color: black;
    box-shadow: 0px 10px 15px rgba(133, 255, 102, 0.1);
    padding: 0;
    margin: 0;
}

.inner-menu-item > a {
    /* hover 전 기본 상태 */
    display: block;
    padding: 5px 40px;
    margin-bottom: 15px;
    font-size: 20px;
    color: white;
    text-align: center;
    text-decoration: none;
}
 
.inner-menu-item a:hover {
    background-color: black;
    color: #98FF9D;
}
 
ul {
    list-style-position: inside;
    padding-top: 0;
  }
  
nav ul li:hover .inner-menu {
    display: block;
}


content{    
    background-color:black;
    height: calc(100vh - 100px - 110px);
    display:flex;
    align-items: center;
    justify-content: center;
}

#content li{
    display: inline;
    margin-left: 50px;
}

@keyframes appear {
    0% {
        opacity: 0; /* 투명 */
    }
    100% {
        opacity: 1; /* 불투명 */
    }
}

.img1 {
    position: relative;
    top: 30px;
    width: 650px;
    transform: rotate(3deg);
    opacity: 0; /* 초기 상태: 투명 */
    animation: appear 0s steps(1) forwards infinite;
    animation-delay: 1s; /* 1초 후 바로 등장 */
}

.img2 {
    position: absolute;
    width: 450px;
    top: 55%; 
    left: 45%; 
    transform: translate(-50%, -50%) rotate(3deg); 
    z-index: 1;
    opacity: 0; 
    animation: appear 0s steps(1) forwards infinite;
    animation-delay: 2s;
}

.img3 {
    position: absolute;
    width: 300px;
    top: 55%; 
    left: 40%; 
    transform: translate(-50%, -50%) rotate(-3deg); 
    z-index: 1;
    opacity: 0; 
    animation: appear 0s steps(1) forwards infinite;
    animation-delay: 3s;
}

.img4 {
    position: absolute;
    width: 140px;
    top: 36%; 
    left: 28%; 
    transform: rotate(15deg); 
    z-index: 2;
    opacity: 0; 
    animation: appear 0s steps(1) forwards infinite;
    animation-delay: 4s;
}

.img5 {
    position: absolute;
    width: 140px;
    top: 48%; 
    left: 28%; 
    transform: rotate(30deg);
    z-index: 2;
    opacity: 0; 
    animation: appear 0s steps(1) forwards infinite;
    animation-delay: 5s;
}


footer{
    width: 100%; /*헤더와 같은 사이즈*/
    height: 110px;
    text-align: center;
    background-color: black;
}
   
/* 전체 페이지가 가운데로 오도록 */
#page{
    width: 100%; height: 100%; 
    margin: 0px auto;
    display: flex;
    flex-direction: column;
}