@import "../reset.css";

.flex {
    display: flex;
}
.flex-center {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.container {
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    // composes: flex;
    overflow: hidden;
}

.wrapperContainer {
    padding: 2rem 3rem;
    color:#333;
    font-size: 1rem;
    width: auto;
    height: 100%;
}

.mainContainer {
    width: 100%;
    height: 100%;
    padding-bottom: 4rem;
}

.scrollContainer {
    position: relative;
    margin-left: 24rem;
    width: auto;
    height: 100%;

    &.chatOpen {
        margin-right: 340px;
    }

    &:last-child  {
        transition: none;
    }
}


@media screen and (max-width: 768px) {
    .scrollContainer {
        margin-left: 0;
    }
}


:global(.ScrollContainer) {
    margin: 0 -1rem;
    
    & > div:first-child {
        display:flex; 
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    :global(.ScrollContainer) {
        margin-left: 0;
    }
}