@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.cookie-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 50%;
    z-index: 1300;
    width: 300px;
    height: auto;
    background-color: #ffffff;
    border: 1px solid #8001bd;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 23px 30px;
    transition: all .2s ease-out;
    opacity: 0;
    transform: translate(-50%, 150%);
}

.cookie-policy.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

@media (min-width: 375px) {
    .cookie-policy {
        width: 320px;
    }
}

@media (min-width: 768px) {
    .cookie-policy {
        width: 696px;
    }
}

@media (min-width: 1200px) {
    .cookie-policy {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 1170px;
        bottom: 45px;
    }
}

.cookie-policy__close {
    display: block;
    position: absolute;
    width: 27px;
    height: 27px;
    right: 10px;
    top: 10px;
    cursor: pointer;
    transition: all .2s linear;
}

.cookie-policy__close:hover {
    opacity: 0.7;
}

.cookie-policy__close::before,
.cookie-policy__close::after {
    content: '';
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: #000000;
    border-radius: 999px;
}

.cookie-policy__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.cookie-policy__close::after {
    transform: translate(-50%, calc(-50% + -2px)) rotate(-45deg);
}

.cookie-policy__content {
    display: block;
    position: relative;
    margin: 0 0 24px;
    padding: 0 10px 0 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #363636;
}

@media (min-width: 1200px) {
    .cookie-policy__content {
        margin-bottom: 0;
        padding-right: 0;
    }
}

.cookie-policy__content a {
    display: inline-block;
    position: relative;
    text-decoration: none !important;
    color: #1c32f9 !important;
}

.cookie-policy__content a::before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 1px;
    top: auto;
    bottom: 0;
    left: 0;
    background-color: #1C32F9;
    opacity: 0;
    transition: all .2s linear;
}

.cookie-policy__content a:hover::before {
    width: 100%;
    opacity: 1;
}

.cookie-policy__button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 137px;
    height: 43px;
    border: none;
    outline: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(90, 1, 146, 1);
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #ffffff;
    z-index: 1;
    transition: all .2s linear;
}

.cookie-policy__button:hover {
    background-color: rgba(90, 1, 146, 0.9);
}

@media (min-width: 1200px) {
    .cookie-policy__button {
        margin-right: 50px;
    }
}