@import './consts.scss';

.dialog {
    bottom: 0px;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100vw;

    @media #{$mobile-devices} {
        max-height: calc(100% - 55px);
        position: absolute;
    }
}

.content {
    line-height: 1.43 !important;
    overflow-y: auto;
    padding: 28px 17px 20px;

    @media #{$mobile-devices} {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    @media #{$desktop-devices} {
        line-height: 1.57;
        padding: 30px;
    }

    p {
        font-size: 14px;
        margin: 1em 0;
    }
}

.usesCookiesText {
    color: $color-text;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;

    @media #{$desktop-devices} {
        font-size: 16px;
    }
}

.bodyParagraphsContainer {
    font-size: 11px;
    line-height: 21px;
    margin: 0 -10px;
    max-height: 383px;
    overflow-y: auto;
    padding: 0 10px;

    @media #{$mobile-devices} {
        padding-left: 0;
    }

    @media #{$desktop-devices} {
        max-height: 176px;
        padding-bottom: 0;
    }

    p:first-child {
        margin-top: 0;
    }

    p:last-child {
        margin-bottom: 0;
    }
}

.links {
    color: $color-link;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}
