body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 800px;
    height: 700px;
    margin: 30px auto 0; 
    transition: opacity 0.5s ease;
    opacity: 0;
    background-color: #D8AE7E;
}

body.fade-in {
    opacity: 1; 
}

body.fade-out {
    opacity: 0;
}

header, footer {
    width: 100%;
    height: 80px;
/*    background-color: lightpink; */
/*    opacity: 0.5;*/
    text-align: center;
    line-height: 80px;
}

header {
    margin-top: 0;
}

footer {
    margin-bottom: 0;
}

.container {
    display: flex;
    justify-content: center;
    height: 540px;
}

.left, .right {
    width: 100px;
    height: 100%;
/*    background-color: #f6f9d4; */
    opacity: 0.5;
}

.main {
    width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

#cookierun_title {
    width: 300px;
    margin-bottom: 210px;
}

#page-wrapper {
    width: 100%;
    height: 100%;
    background-image: url('main_background.png'); 
    background-size: cover; 
    position: relative; 
}

.start-button {
    margin: 10px;
    padding: 15px 0; 
    width: 164px; 
    height: 70px;
    border: none;
    background-image: url('gameStart_button.png'); 
    background-size: cover; 
    background-color: transparent;
    transition: transform 0.2s ease;
}

.rules-button {
    margin: 10px;
    padding: 15px 0; 
    width: 164px;
    height: 70px;
    border: none;
    background-image: url('gameRules_button.png'); 
    background-size: cover; 
    background-color: transparent;
    transition: transform 0.2s ease;
}

.start-button:hover, .rules-button:hover {
    transform: scale(1.1);
}
/* 추가  */
#skip-button {
    position: absolute;
    top: 115px;
    right: 4px;
    background: none;
    border: none;
}
#intro-wrapper {
    position: relative;
}

video {
    border: 5px solid white;
    margin: 100px auto 0; 
    display: block;
    position: relative; 
}