

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;600;700;900&display=swap');

.cookies {
    width: 100%;
    padding: 17px 77px;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(2px);
    position: fixed;
    z-index: 900;
    left: 0;
    bottom: 0;
    border: 1px solid #000000;
}

.cookies__title {
	font-family: 'Montserrat', Roboto, sans-serif;
    font-size: 16px;
	line-height: 21px;
    font-weight: 600;
	color: #ffffff;
    text-align: center;
    margin: 0;
    margin-bottom: 11px;
    transition: text-align .3s;
}

.cookies--opened .cookies__title {
	text-align: left;
}

.cookies__description {
	font-family: 'Montserrat', Roboto, sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #ffffff;
    margin: 0;
    margin-bottom: 18px;
    transition: display .3s;
}

.cookies__button-container {
	display: flex;
    justify-content: center;
    transition: justify-content .3s;
}

.cookies--opened .cookies__button-container {
    justify-content: flex-start;
}

.cookies__button {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    font-family: 'Montserrat', Roboto, sans-serif;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color .3s,
        		color .3s;
}

.cookies__button--additional {
	color: #ffffff;
    border: 1px solid #ffffff;
    background-color: transparent;
    margin-right: 16px;
}

.cookies__button--additional:hover {
	color: #000000;
    background-color: #ffffff;
    text-decoration: none;
}

.cookies__button--close {
    color: #000000;
    border: 1px solid #ffffff;
    background-color: #ffffff; 
}

.cookies--opened .cookies__button--close {
	margin-right: 16px;
}

.cookies__button--close:hover {
	color: #ffffff;
    background-color: transparent;
    text-decoration: none;
}

.cookies__button--policy {
    font-weight: 500;
	color: #26cef1;
    background-color: transparent; 
}

.cookies__button--policy:hover {
    color: #26cef1;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.cookies {
        padding: 20px;
    	bottom: 0;
    }
    
    .cookies--opened .cookies__title {
		text-align: center;
	}
    
    .cookies__description {
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .cookies--opened .cookies__button-container {
    	flex-direction: column;
	}
    
    .cookies--opened .cookies__button--close {
        max-width: 120px;
        margin: 0 auto;
        order: 3;
    }
    
    .cookies--opened .cookies__button--policy {
        margin: 0 auto;
        margin-bottom: 11px;
        order: 2;
    }
}
