/* === style.css === */
html {
    overflow-x: hidden;
}

#pm-toggle {
    position: relative;
    margin-top: 18px;
    margin-left: 16px;
    float: left;
    z-index: 100;
    background: #dd3333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 10px 15px 10px;
    cursor: pointer;
}

#pm-toggle span {
    font-weight: 600;
}

@media only screen and (max-width:768px) {
    #pm-toggle span {
        display: none;
    }
}

#pm-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background: #dd3333;
    transform: translateX(-100%);
    width: 300px; /* fallback */
    transition: transform 0.35s ease-in-out;
    z-index: 99;
    padding-top: 60px;
}

#pm-menu ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 10px 0 10px;
}

#pm-menu ul li {
    padding: 10px 15px 10px;
    transition: all ease 0.3s;
}

#pm-menu ul li:not(:last-child) {
    border-bottom: 2px solid #fff;
}

#pm-menu ul li:hover {
    background: #fff;
    color: #dd3333;
}

#pm-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

#pm-menu ul li:hover a {
    color: #dd3333;
    display: block;
    width: 100%;
    height: 100%;
}

#pm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 99;
}

#pm-wrapper {
    transition: transform 0.35s ease-in-out;
}

.pm-open #pm-menu {
    transform: translateX(0);
}

.pm-open #pm-wrapper {
    transform: translateX(300px);
}

.pm-open #pm-overlay {
    opacity: 1;
    visibility: visible;
}
