* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: royalblue;
    color: white;
    z-index: 1000;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

content {
    display: flex;
    flex: 1;
    margin-top: 60px; /* Adjust this value based on the height of your header */
}

aside {
    position: fixed;
    top: 60px; /* Adjust this value based on the height of your header */
    left: 0;
    width: 200px; /* Adjust width as needed */
    height: calc(100vh - 60px); /* Full height minus the header height */
    background-color: skyblue;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

aside a {
    text-decoration: none;
    color: inherit; /* 링크의 색상을 상속받게 합니다 */
}

aside p {
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: dodgerblue;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

aside p:hover {
    background-color: deepskyblue;
}

main {
    background-color: lightblue;
    margin-left: 200px; /* Same as the width of the aside */
    padding: 20px;
    width: calc(100% - 200px); /* Full width minus the aside width */
    overflow-y: auto;
    height: calc(100vh - 60px); /* Full height minus the header height */
    box-sizing: border-box;
}
