/* start base */
:root {
	/* colors */
	--none-color: transparent;
	--white-color: #fff;
	--text-color: #303432;
	--bg-color: #fff;
	--primary-color: #bfa360;
}

.text-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
/* end base */

.copyright__container {
    width: 1280px;
    margin: 0 auto;
}

.checkbox a {
    color: var(--white-color);
}

/* start form */
.form-item label.custom-checkbox {
    position: relative;
    top: auto;
    left: auto;
    z-index: 0;
    display: flex;
    padding: 0;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    pointer-events: auto;
}

.form-item .custom-checkbox input {
    padding: 0;
    width: 0;
    height: 0;
    background-color: transparent;
    border: none;
    font-weight: 700;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.custom-checkbox {
	display: flex;
	flex-direction: column;
	user-select: none;
	cursor: pointer;
}

.custom-checkbox__input {
    position: absolute;
	appearance: none;
}

.custom-checkbox__input:checked + .custom-checkbox__text::after {
    opacity: 1;
}

.custom-checkbox__text {
	position: relative;
	font-size: 14px;
	padding-left: 24px;
	color: var(--text-color);
	transition: color .2s linear;
}

.custom-checkbox__text::before {
	content: '';
	position: absolute;
	top: 7px;
	left: 0;
	border: 1px solid #3aae9e;
	width: 16px;
	height: 16px;
}

.custom-checkbox__text::after {
	content: '';
	position: absolute;
    top: 11px;
    left: 4px;
	width: 10px;
	height: 10px;
	opacity: 0;
	background-color: #3aae9e;;
	transition: opacity .2s linear;
}

.custom-checkbox__link {
	display: inline;
	border-bottom: 1px solid #3aae9e;
	color: #3aae9e;;
	text-decoration: none;
	transition: border-color .2s linear, color .2s linear;
}
/* end form */

/* start cookies */
.cookies {
    position: fixed;
    z-index: 10000;
    right: 0;
    bottom: 15px;
    display: flex;
    justify-content: flex-end;
    padding: 0px 25px;
    max-width: max-content;
}

.cookies__content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 512px;
    width: 100%;
    color: var(--text-color);
    font-size: 16px;
    background-color: var(--white-color)
}

.cookies__text {
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.cookies__text-link {
    display: inline;
    text-decoration: underline;
    color: var(--text-color);
}

.cookies__btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.cookies__btn {
    max-width: 48%;
    min-width: auto;
    width: 100%;
}
/* end cookies */
/* start nav-list */
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    padding-bottom: 30px;
    list-style: none;
}

.nav-list__list-item {
    text-align: center;
}

.nav-list__list-item.active .nav-list__list-item-link {
    font-weight: 700;
}

.nav-list__list-item-link {
    font-size: 14px;
    color: var(--text-color);
    transition: color .2s linear;
}
/* end nav-list */

/* start hover */
@media(hover: hover) {
    .nav-list__list-item-link:hover {
        text-decoration: none;
    }
    
    .cookies__text-link:hover {
        text-decoration: none;
    }
    
    .checkbox a:hover {
        text-decoration: none;
    }
    
    .custom-checkbox__link:hover {
		border-color: var(--none-color);
		color: var(--text-color);
    }
}
/* end hover */

@media (max-width: 1299px) {
    .copyright__container {
        width: 970px;
    }
}

@media (max-width: 991px) {
    .copyright__container {
        width: 750px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* start phone */
@media(max-width: 767px) {
    .copyright__container {
        width: 100%;
    }
    /* start cookies */
    .cookies {
        padding: 0px 10px;
    }
    
    .cookies__content-wrap {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 10px;
      font-size: 14px;
    }
    
    .cookies__btn {
        max-width: 100%;
        width: 100%;
    }
    /* end cookies */
    
    /* start nav-list */
    .nav-list {
        justify-content: center;
        flex-direction: column;
    }
    /* end nav-list */
}
/* end phone */