.page-wrapper-download {
    padding-top: 78px;
}

.download-platforms-section,
.download-provider-section,
.download-benefits-section,
.download-installation-section,
.download-features-section,
.download-comparison-section,
.download-faq-section {
    padding-top: 180px;
}

.download-section__row {
    justify-content: space-between;
	gap: 134px;
}

.download-section__header {
    width: 582px;
}

.download-section__info {
    width: 480px;
}

.download-section__buttons-block {
    padding-top: 16px;
}

.download-section__button_with-icon {
    position: relative;
    padding-left: 64px;
}

.download-section__button_with-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 31px;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.download-section__button[data-os="win"] .button__text::before,
.download-section__button[data-os="Windows"] .button__text::before {
    background-image: url(../img/win-button-icon.svg);
}

.download-section__button[data-os="mac"] .button__text::before {
    background-image: url(../img/mac-button-icon.svg);
}

.download-section__button[data-os="lin"] .button__text::before,
.download-section__button[data-os="Linux"] .button__text::before {
    background-image: url(../img/lin-button-icon.svg);
}

.download-section__button[data-os="Android"] .button__text::before {
    background-image: url(../img/android-button-icon.svg);
}

.download-section__button[data-os="Raspbian"] .button__text::before {
    background-image: url(../img/raspberry-icon.svg);
    background-size: contain;
}

.download-section__button[data-os="macOS"] .button__text::before,
.download-section__button[data-os="iOS"] .button__text::before {
    background-image: url(../img/ios-button-icon.svg);
}

.download-section__col_btns {
    gap: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
}

.download-section__button {
    padding: 18px 31px;
    border: none;
}

.download-section__img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.download-section__img-cube {
    position: absolute;
    top: 25px;
    z-index: 1;
    animation: cube-move 1600ms linear infinite;
}

.download-section__img-platform-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    top: 127px;
}

.download-section__img-square {
    position: absolute;
    top: 155px;
    left: 47.5%;
    z-index: 1;
}

.download-section__img-platform {
    position: absolute;
}

@keyframes cube-move {
    0% {
      transform: translateY(0); 
    }
    50% {
      transform: translateY(-10px); 
    }
    100% {
      transform: translateY(0); 
    }
}

@keyframes change-light-color {
    0% {
        fill: var(--accent-color-main);
    }
    50% {
        fill: var(--accent-color-main-extra); 
    }
    100% {
        fill: var(--accent-color-main);
    }
}

.platform-light {
    animation: change-light-color 1600ms linear infinite;
}


.button__text {
    margin-left: 0;
}

.button__text_lin {
    margin-left: 28px;
}

.button__text-download {
    margin-left: 32px;
}

.modal__header_download {
    margin-bottom: 0;
}

.modal__os-options {
    margin-top: 6px;
}

.modal__header_download--linux {
    display: none;
}

.modal__list-item_download {
    margin-top: 5px;
}

.modal__list-item_download-linux {
    padding-bottom: 18px;
}

.modal__list-item_download-text-link {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}
.modal__list-item_download-text-link:hover {
    color: var(--accent-color-main-hover);
}

.modal__list-item_download-text-link::after {
    content: "";
    position: relative;
    display: flex;
    width: 24px;
    height: 24px;
    left: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/link-icon.svg);
}

.modal__list-item_download-bock {
    border-top: 1px solid var(--font-color-secondary);
    border-bottom: 1px solid var(--font-color-secondary);
    text-align: center;
    padding: 20px 0 18px 0;
}

.modal__list-item_download-images-title  {
    padding-top: 8px;
}

.modal__list-item_download-wiki {
    margin-top: -8px;
}

.modal__list-item_download-bock-title {
    margin-bottom: 12px;
}

.download-platforms-section__row-content {
    width: 100%;
    background-color: var(--color-gray);  
    border-radius: 24px;
    margin: 0 16px;
    padding: 56px 40px 50px 40px;
}

.download-platforms-section__column_text {
    flex-direction: column;
    align-items: center;
}

.download-platforms-section__header {
    max-width: 786px;
    text-align: center;
}

.download-platforms-section__description {
    max-width: 786px;
    text-align: center;
    padding-top: 24px;
}

.download-platforms-section_btn-block {
    width: 100%;
    padding-top: 39px;
}

.download-platforms-section_btn-list {
    gap: 16px;
}
.download-platforms-section_btn-list-item {
    max-width: 202px;
}

.download-platforms-section__button {
    padding: 18px 35px;
}

.download-platforms-section__button-text {
    margin-left: 26px;
}


.download-provider-section__row-content {
    background-color: var(--font-color-main);  
    border-radius: 24px;
    margin: 0 16px;
    padding: 56px 40px;
}
  
.download-provider-section__header{
    color: var(--bg-color-secondary);
}
  
.download-provider-section__description {
    color: var(--font-color-secondary);
    padding-top: 24px;
}

.download-benefits-section_title{
    max-width: 992px;
}

.download-benefits-section__content {
    flex-direction: column;
    align-items: center;
    padding-bottom: 8px;
}

.download-benefits-section__description {
    max-width: 786px;
    text-align: center;
    padding-top: 24px;
}

.download-benefits-section__row {
    padding-top: 32px;
}
  
.download-benefits-section__column_text-wrapper {
    border-radius: 24px;
    background-color: var(--color-gray);
    padding: 32px;
    height: 100%;
}
  
.download-benefits-section__header-wrapper {
    padding-top: 32px;
}

.download-benefits-section__header-description {
    padding-top: 16px;
}

.download-installation-section-title {
    margin: 0 auto;
    max-width: 992px;
}

.download-installation-section__title-description {
    padding-top: 24px;
    margin: 0 auto;
    max-width: 992px;
    text-align: center;
}
  
  .download-installation-section__row {
    padding-top: 40px;
}
  
  .download-installation-section__column_text-wrapper {
    background-color: var(--color-gray);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
}
  
.download-installation-section__header-wrapper,
.about-section__description  {
    padding-top: 24px;
}
.download-installation-section__description {
   padding-top: 16px;
}
 
.download-features-section__content {
    padding-bottom: 8px;
}

.download-features-section__column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.download-features-section__column_text-wrapper {
    border-radius: 24px;
    background-color: var(--color-gray);
    padding: 32px;
}
  
.download-features-section__annotations {
    padding-top: 16px;
}
 
.download-comparison-section__header {
    max-width: 480px;
}

.download-comparison-section__wrapper-image {
    padding-top: 30px;
}

.download-comparison-section__info  {
    padding-top: 24px;
}

.download-comparison-section__col-table {
    padding-top: 40px;
}

.download-comparison-section__table {
    width: 100%;
    border-spacing: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color-main);
}
  
.download-comparison-section__table-header-cell,
.download-comparison-section__table-cell {
    border: none;
    padding: 22px 24px;
    text-align: start;
}

.download-comparison-section__table-header-cell:not(:last-child),
.download-comparison-section__table-cell:not(:last-child) {
    border-bottom: 1px solid var(--border-color-main);
}

.download-comparison-section__table-row:last-child .download-comparison-section__table-cell {
    border-bottom: none; 
}

.download-comparison-section__table-header-cell--top-left {
    border-top-left-radius: 24px;
}
  
.download-comparison-section__table-header-cell--top-right {
    border-top-right-radius: 24px;
}
  
.download-comparison-section__table-cell--bottom-left {
    border-bottom-left-radius: 24px;
}
  
.download-comparison-section__table-cell--bottom-right {
    border-bottom-right-radius: 24px;
}

.download-comparison-section__table-header-cell:nth-child(1),
.download-comparison-section__table-header-cell:nth-child(3),
.download-comparison-section__table-cell:nth-child(1),
.download-comparison-section__table-cell:nth-child(3)  {
  background: var( --color-gray);
  border-bottom: 1px solid var(--border-color-main);
}

.download-comparison-section__table-header-cell:nth-child(1),
.download-comparison-section__table-cell:nth-child(1) {
  width: 282px;
}

.download-comparison-section__table-header-cell:nth-child(2),
.download-comparison-section__table-header-cell:nth-child(3),
.download-comparison-section__table-cell:nth-child(2),
.download-comparison-section__table-cell:nth-child(3) {
  width: 457px;
}

.download-comparison-section__table-header-cell {
    height: 72px; 
}

.download-comparison-section__table-row:nth-child(1) .download-comparison-section__table-cell {
    max-height: 128px; 
}

.download-comparison-section__table-row:nth-child(2) .download-comparison-section__table-cell {
    height: 100px; 
}

.download-comparison-section__table-row:nth-child(3) .download-comparison-section__table-cell {
    height: 72px; 
}

.download-comparison-section__table-row:nth-child(4) .download-comparison-section__table-cell {
    height: 100px; 
}

.download-comparison-section__table {
    position: relative;
}

.download-comparison-section__table-header-cell_accent {
    display: flex;
    align-items: center;
    background-color: var(--accent-color-main);
    color: var(--bg-color-secondary);
    width: 100%;
}

.download-comparison-section__table-shadow {
    position: relative;
}

.download-comparison-section__table-shadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: -4px 0 8px -4px #00000014, 4px 0 8px -4px #00000014; 
    pointer-events: none; 
}

.download-comparison-section__table-header-cell_promotion {
    background-color: var(--font-color-promotion);
    color: var(--bg-color-secondary);
}

.download-comparison-section__row--paid-vs-free-vpn {
    padding-top: 180px;
}

.download-comparison-section__table-header-img {
    margin-right: 4px;
}

.download-comparison-section__table-row {
    vertical-align: top
}

.download-comparison-section__info--paid-vs-free-vpn {
    padding-top: 0;
}

.download-comparison-section__hidden-cell_mobile {
    display: none;
}

.download-comparison-section__table-row_mobile {
    background: var(--color-gray);
}

.download-faq-section__row_header {
    margin-bottom: 40px;
}
  
.download-faq-section__item {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    max-height: 137px;
    margin-bottom: 15px;
    padding: 25px 32px 24px 32px;
    overflow: hidden;
    transition: var(--transition-all-main);
    cursor: pointer;
    background-color: var(--color-gray);
    border-radius: 24px;
}

.download-faq-section__item:last-child {
    margin-bottom: 0;
}
  
  
.download-faq-section__item.download-faq-section__item_active {
    max-height: 750px;
}

.download-faq-section__item-button {
    width: 48px;
    height: 48px;
    background-color: transparent;
    background-image: url(../img/plus-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    border: 1px solid var(--font-color-secondary);
    border-radius: 50%;
    transition: var(--transition-all-main);
}

.download-faq-section__item_active .download-faq-section__item-button {
    transform: rotate(45deg);
}

.download-faq-section__item-desc {
    width: 100%;
    opacity: 0;
    transition: var(--transition-all-main);
    max-height: 0;
}
  
.download-faq-section__item_active .download-faq-section__item-desc {
    margin-top: 16px;
    opacity: 1;
    max-height: unset;
}

.download-faq-section__row_answers {
    overflow: hidden;
    flex-flow: row nowrap;
    justify-content: flex-start;
}
  
@media (hover: hover) {
  .download-faq-section__item-button:hover {
    background-color: var(--accent-color-main);
    background-image: url(../img/plus-hover-icon.svg);
  }
  
  .download-faq-section__item:hover  .download-faq-section__item-button{
    background-color: var(--accent-color-main);
    background-image: url(../img/plus-hover-icon.svg);
  }
}
  
@media (hover: none) {
  .download-faq-section__item-button:hover {
    background-image: url(../img/plus-icon.svg);
  }
  
  .download-faq-section__item:hover  .download-faq-section__item-button{
    background-image: url(../img/plus-icon.svg);
  }
}

.download-faq-section__row_buttons-block {
    padding-top: 40px;
}  

.download-faq-section__buttons-block {
    padding-top: 0;
} 

@media(max-width: 1199px) {
    .download-platforms-section,
    .download-provider-section,
    .download-benefits-section,
    .download-installation-section,
    .download-features-section,
    .download-comparison-section,
    .download-faq-section,
    .download-comparison-section__row--paid-vs-free-vpn {
       padding-top: 120px;
    }

    .download-section__col_img,
    .download-section__col_btns {
        width: calc(100% / 12* 6);
        padding-top: 0;
    }

    .download-section__row {
        gap: 0;
    }

    .download-section__header,
    .download-section__info {
        width: 450px;
    }

    .download-section__img-cube {
        width: 210px;
        height: 210px;
        top: 31px;
    }

    .download-section__img-square {
        top: 145px;
    }
    
    .download-section__img-platform {
        width: 449px;
        height: 393px;
    }

    .download-platforms-section__row-content {
        padding: 56px 40px;
    }

    .download-platforms-section__header,
    .download-platforms-section__description {
        max-width: 609px;
        text-align: center;
    }

    .download-platforms-section_btn-block {
        padding-top: 40px;
    }

    .download-platforms-section_btn-list {
        flex-wrap: wrap;
    }

    .download-platforms-section_btn-list-item {
        max-height: 64px;
    }

    .download-benefits-section_title,
    .download-installation-section-title,
    .download-installation-section__title-description {
        max-width: 770px;
    }

    .download-benefits-section__description {
        max-width: 610px;
    }

    .download-features-section__content {
        padding-bottom: 10px;
    }

    .download-features-section__row {
        padding-top: 30px;
    }

    .download-comparison-section__col_img {
        width: calc(100% / 3);
        display: flex;
        align-items: end;
        justify-content: flex-end;
    }

    .download-comparison-section__table-header-cell:nth-child(2), 
    .download-comparison-section__table-header-cell:nth-child(3), 
    .download-comparison-section__table-cell:nth-child(2), 
    .download-comparison-section__table-cell:nth-child(3) {
        width: 324px;
    }

    .download-comparison-section__table-header-cell.download-comparison-section__table-header-cell_accent {
        width: 100%;
    }
    

    .download-comparison-section__table-row:nth-child(1) 
    .download-comparison-section__table-cell {
        height: 212px;
    }

    .download-comparison-section__table-row:nth-child(2) 
    .download-comparison-section__table-cell {
        height: 156px;
    }

    .download-comparison-section__col--paid-vs-free-vpn {
        width: calc(100% / 12 * 6);
    }


    .download-comparison-section__table-row_paid:nth-child(1) 
    .download-comparison-section__table-cell_paid {
        height: 156px;
    }

    .download-comparison-section__table-row_paid:nth-child(3) 
    .download-comparison-section__table-cell_paid {
        height: 156px;
    }

    .download-faq-section__item-name {
        max-width: 93%;
    }

}

@media(max-width: 1086px) {
    .download-provider-section__column-img_padding {
        padding-top: 62px;
    }
}

@media(max-width: 991px) {
    .download-features-section__row {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .download-features-section__column {
        width: 100%;
        gap: 24px;
    }

}


@media(max-width: 930px) {
    .download-section__img-cube {
        width: 145px;
        height: 145px;
        top: 61px;
    }

    .download-section__img-square {
        top: 101px;
        left: 48.3%;
        width: 25px;
        height: 11px;
    }
    
    .download-section__img-platform {
        width: 311px;
        height: 273px;
    }

    .download-section__info {
        width: 420px;
    }

}

@media(max-width: 812px) {
    .download-faq-section__item-name {
        max-width: 90%;
    }
}

@media(max-width: 830px) {
    .download-installation-section__row {
      padding-top: 24px;
      flex-direction: column;
      gap: 24px;
    }
  
    .download-installation-section__column_text {
      width: 100%;
    }

    .download-benefits-section__header {
        word-break: break-word;
    }
}

@media(max-width: 767px) {
    .page-wrapper-download {
        padding-top: 25px;
    }
    .download-platforms-section,
    .download-provider-section,
    .download-benefits-section,
    .download-installation-section,
    .download-features-section,
    .download-comparison-section,
    .download-faq-section {
        padding-top: 80px;
    }

    .download-section__row {
        flex-direction: column;
        align-items: center;
    }

    .download-section__header, 
    .download-section__info {
        width: 100%;
    }

    .download-section__img-wrapper {
        text-align: center;
    }

    .download-section__img-cube {
        top: 31px;
    }

    .download-section__img-platform-wrapper {
        top: 97px;
    }

    .download-section__img-square {
        left: 49%;
    }

    .download-section__col_img {
        order: 1;
        width: 100%;
        height: 356px;
    }

    .download-section__col_btns {
        order: 2;
        width: 100%;
        padding-top: 39px;
        gap: 10px;
    }

    .download-section__buttons-block {
        flex-direction: column;
        gap: 12px;
    }

    .download-section__button_os {
        width: 100%;
        text-align: center;
    }

    .buttons-block__btn_last {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .download-provider-section__row-content {
        flex-direction: column;
        padding: 0 12px 25px 12px;
    }

    .download-provider-section__column_text {
        order: 2;
        width: 100%;
        padding-top: 32px;
    }

    .download-provider-section__column-img {
        order: 1;
        width: 100%;
        padding-top: 24px;
    }

    .download-provider-section__description {
        padding-top: 12px;
    }

    .download-provider-section_img-wrapper {
        justify-content: center;
    }
    
    .download-provider-section__img {
        width: 264px;
        height: 320px;
    }

    .download-benefits-section__row {
        padding-top: 24px;
        flex-direction: column;
        gap: 24px;
    }

    .download-benefits-section__column_text-wrapper,
    .download-features-section__column_text-wrapper {
        padding: 24px;
    }

    .download-benefits-section__header-wrapper {
        padding-top: 16px;
    }

    .download-benefits-section__header-description {
        padding-top: 8px;
    }

    .download-benefits-section__column_text {
        width: 100%;
    }

    .download-benefits-section__description {
        padding-top: 12px;
    }

    .download-benefits-section__content {
        padding-bottom: 0;
    }

    .download-installation-section__column_text-wrapper {
        padding: 24px;
    }

    .download-installation-section__header-wrapper {
        padding-top: 16px;
    }

    .download-installation-section__description {
        padding-top: 8px;
    }

    .download-features-section__column {
        width: 100%;
    }

    .download-features-section_title {
        text-align: start;
    }

    .download-features-section__content {
        padding-bottom: 0;
    }
    
    .download-features-section__annotations {
        padding-top: 8px;
    }

    .download-comparison-section__row--kelvpn-vs-vpn {
        flex-direction: column;
    }

    .download-comparison-section__col_title {
        order: 2;
        width: 100%;
        padding-top: 24px;
    }

    .download-comparison-section__col_img {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .download-comparison-section__col-table {
        padding-top: 12px;
    }

    .download-comparison-section__col-table_first {
        order: 3;
        padding-top: 24px;
    }

    .download-comparison-section__table-shadow::before {
        width: 0;
    }

    .download-comparison-section__table-header-cell:nth-child(2) {
        width: 100%;
    }

    .download-comparison-section__hidden-cell {
        display: none;
    }

    .download-comparison-section__hidden-cell_mobile {
        display: block;
        padding-bottom: 4px;
    }

    .download-comparison-section__table::before {
        width: 0;
    }

    .download-comparison-section__table-header-cell:nth-child(1), 
    .download-comparison-section__table-cell:nth-child(1) {
        width: 767px;
    }

    .download-comparison-section__row--paid-vs-free-vpn {
        flex-direction: column;
        gap: 0;
    }
    
    .download-comparison-section__col-table_second {
        padding-top: 24px;
    }

    .download-comparison-section__col--paid-vs-free-vpn {
        width: 100%;
    }

    .download-comparison-section__table-cell {
        padding: 15px 24px 16px 24px;
        line-height: 28px;
    }

    .download-comparison-section__table-cell--bottom-right_last {
        padding-bottom: 14px;
    }

    .download-comparison-section__table-hidden-cell {
        height: 72px;
        padding-top: 23px;
    }

    .download-comparison-section__table-row_paid:nth-child(1) 
    .download-comparison-section__table-cell_paid {
        height: 120px;
    }

    .download-comparison-section__table-row:nth-child(4) 
    .download-comparison-section__table-cell {
        height: auto; 
    }

    .download-comparison-section__table-row_paid:nth-child(1) 
    .download-comparison-section__table-cell_paid {
        height: auto;
    }

    .download-comparison-section__table-row:nth-child(2) 
    .download-comparison-section__table-cell {
        height: auto;
    }

    .download-comparison-section__table-row_paid:nth-child(3) 
    .download-comparison-section__table-cell_paid {
        height: auto;
    }

    .download-faq-section__row_buttons-block {
        padding-top: 24px;
    }

    .download-faq-section__item-name {
        max-width: 85%;
    }

    .download-platforms-section__description {
        max-width: 264px;
        padding-top: 10px;
    }
    
    .download-platforms-section__row-content {
        padding: 24px 12px;
    }

    .download-platforms-section_btn-block {
        padding-top: 24px;
    }

    .download-platforms-section__button {
        width: 100%;
    }

    .download-platforms-section__row {
        margin: 0 -16px;
    }

    .download-platforms-section_btn-list {
        gap: 12px;
    }

    .download-comparison-section__info {
        padding-top: 12px;
    }

    .download-faq-section__row_header {
        margin-bottom: 21px;
    }

    .download-comparison-section__wrapper-image {
        padding-top: 0;
    }

    .download-comparison-section__table-cell_mobile-header {
        padding-top: 7px;
    }

    .download-comparison-section__table-row:last-child .download-comparison-section__table-cell {
        padding: 13px 24px 14px 24px;
    }

    .download-platforms-section__button-text {
        margin-left: 31px;
    }

    .modal__content_download {
        margin-top: 0;
    }

    .modal__header_download--linux {
        margin-bottom: 0;
    }

    .modal__list--linux-options {
        padding-top: 0;
        margin-top: 0;
    }

    .modal__background_download {
        padding: 24px;
    }

    .download-section__button {
        padding: 18px 31px;
        border: none;
    }

    .modal__list-item_download-linux {
        padding-bottom: 12px;
    }

    .modal__list-item_download-bock {
        padding: 17px 0 8px 0;
    }

    .modal__list-item_download {
        margin-top: 4px;
    }

    .modal__list-item_download-images {
        margin-top: 8px;
    }

    .download-platforms-section_btn-list-item {
        width: 100%;
        max-width: 100%;
    }

    .download-platforms-section__button {
        width: 100%;
    }
}

@media(max-width: 555px) {
    
    .download-section__img-square {
        left: 48.3%;
    }
}

@media (max-width: 432px) {
    .download-faq-section__item-name {
        max-width: 80%;
    }

    .download-faq-section__item {
        max-height: 177px;
        margin-bottom: 12px;
        padding: 24px;
    }

    .download-faq-section__item-button {
        width: 40px;
        height: 40px;
    }
    
    .modal__list-item_download-text-link::after {
        left: 0;
    }

    .button__text-linux::before {
        right: calc(100% - 6px);
    }

    .button__text-linux {
        margin-left: 33px;
    }

}

@media (max-width: 360px) {
    .download-comparison-section__col_img {
        justify-content: flex-start;
    }

    .download-section__img-square {
        left: 47.5%;
    }

}