.agreements-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh - 100px);
}

.agreements-item-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 24px;
    zoom: 1;
    z-index: 20;
    top: 60px;
    bottom: 0;
    right: 0;
    left: 0;
}

.agreements-item-wrapper > * {
    max-width: 25vw;
    overflow: auto;
    -webkit-transform: translateZ(0px);
}

.agreements-item {
    padding: 64px;
    background-color: #fff;
    width: 75vw;
    max-width: 832px;
    border-radius: 10px;
    box-shadow: 2px 2px 3px 0 rgb(0 0 0 / 16%),
                0 3px 4px 0 rgb(0 0 0 / 16%),
                0 1px 5px 0 rgb(0 0 0 / 16%);
}

.agreements-menu-wrapper {
    width: 25%;
    padding: 0 24px;
}

.agreements-nav-menu {
    display: flex;
    -webkit-flex-direction: column;
    align-items: start;
    justify-content: center;
    color: rgba(0, 0, 0, 0.56);
}

.agreements-nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 40px;
    list-style-type: none;
    border-radius: 4px;
}

.agreements-nav-menu-btn:before,
.agreements-nav-menu-btn:focus {
    background-color: rgba(236, 240, 241, .3);
}

.agreements-nav-menu-btn:hover {
    padding-left:  4px;*/
    color: rgb(64, 112, 244);
    transition: all 0.4s;
    cursor: pointer;
}

/*Adaptive*/
@media(min-width: 240px) and (max-width: 480px) {
    .agreements-container {
        min-height: calc(100vh - 130px);
    }
    
    .agreements-item-wrapper > * {
        max-width: 100%;
    }
    
    .agreements-item-wrapper {
        padding: 0;
        flex-direction: column-reverse;
        width: auto;
    }
    
    .agreements-item {
        width: calc(100vw - 32px);
        padding: 8px;
        margin: 0;
    }
    
    .agreements-menu-wrapper {
        width: auto;
        padding: 0;
    }
    .agreements-nav-menu {
        align-items: center;
        -webkit-flex-direction: row;
        justify-content: flex-start;
        margin: 16px 8px 24px;
    }
}

@media (min-width: 240px) and (max-width: 600px) {
    .agreements-item {
        box-shadow: none;
    }
}

@media(min-width: 481px) and (max-width: 945px) {
    .agreements-container {
        min-height: calc(100vh - 130px);
    }
    
    .agreements-item-wrapper > * {
        max-width: 100%;
    }
    
    .agreements-item-wrapper {
        padding: 0;
        flex-direction: column-reverse;
        width: auto;
    }
    
    .agreements-item {
        width: calc(100vw - 32px);
    }
    
    .agreements-menu-wrapper {
        width: auto;
        padding-left: 0;
    }
    
    .agreements-nav-menu {
        align-items: center;
        -webkit-flex-direction: row;
        justify-content: flex-start;
        margin: 16px 16px 0 16px;
    }
}
