/*SIDEBAR*/

.sidebar {
    display: inline-block;
    margin: auto;
    margin-right: 2%;
    width: 17.5%;
    max-width: 250px;
    overflow: hidden;
}

.sidebar a {
    display: block;
    padding: 10px;
    margin: -3px 20px -3px 20px;
    background-color: #E0D5BD;
    font-size: 20px;
    font-weight: 500;
    color: #655D49;
    border-style: solid;
    border-color:  #b8ae95;
    text-decoration: none;
}

.sidebar a:first-child {
    border-radius: 15px 15px 0 0;
}

.sidebar a:last-child {
    border-radius: 0 0 15px 15px;
}

.sidebar a:hover {
    background-color: #97907a;
    border-color: #97907a;
    color: white;
    opacity: 90%;
}

.sidebar a.active-page {
    background-color: #97907a;
    border-color: #97907a;
    color: white;
}

/**/
/******************** RESPONSIVE RULES ********************/
/**/

@media screen and (max-width: 1230px) {
    .sidebar {
        width: 20%;
    }
}

@media screen and (max-width: 1050px) {
    .sidebar {
        width: 22.5%;
    }
}

@media screen and (max-width: 920px) {
    .sidebar {
        width: 25%;
    }
}

@media screen and (max-width: 850px) {
    .sidebar {
        display: none;
    }
}