@charset "UTF-8";

/* CSS Document */

/** google font IBM Plex Sans KR */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans KR', sans-serif;
    background-color: #f5f5f5;
}

#appBar {
    background-color: white;
    height: 50px;
    line-height: 30px;
    padding: 0 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

#appBar__title {
    float: left;
    color: cornflowerblue;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#appBar__menu {
    font-size: 20px;
    position: absolute;
    top: 50%;
    right: 30%;
    transform: translate(-10%, -40%);
    cursor: pointer;
}

#hamburger {
    width: 300px;
    height: 100%;
    padding: 20px;
    position: absolute;
    top: 50px;
    left: -100%;
    background-color: grey;
}

.hamburger__menu {
    width: 100%;
    height: 100%;
}

.hamburger__menu__item {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: left;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.slideIn {
    animation: slideIn 0.5s forwards;
}

.slideOut {
    animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
    from {
        left: -100%;
    } to {
        left: 0;
    }
}

@keyframes slideOut {
    from {
        left: 0;
    } to {
        left: -100%;
    }
}

#closeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}