.footer-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;

}

.footer-container {
    width: 100%;
    height: 728px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.footer-top {
    background-color: rgb(var(--color-white));
    width: 100%;
    height: 47px;
}

.footer__main {
    background-color: rgb(var(--color-blue));
    width: 100%;
    height: 639px;

}

.main__watch-buttton {
    position: absolute;
    max-width: 230px;
    height: 60px;
    background: rgb(var(--color-blue));
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -30px;

}

.footer__block-padding {
    padding-left: var(--padding-left-default);
    padding-right: var(--padding-right-default);
}


.main__button-content {
    width: 83px;
    height: 55px;
    padding: 0px 73px 5px 73px;

}

.footer__main h2 {

    width: 751px;
    height: 61px;
    margin-top: 158px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 2px;
    color: rgb(var(--color-white));
}

.footer-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(126, 191, 132, 1);
    border-top: 1px solid rgba(126, 191, 132, 1);
    margin-top: 80px;
}

.footer-grid> :nth-child(1),
.footer-grid> :nth-child(2),
.footer-grid> :nth-child(3) {
    border-right: 1px solid rgba(126, 191, 132, 1);
}

.grid-container {
    width: 100%;
    height: 63px;

}

.footer-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-icons {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 14px;
    letter-spacing: 0px;
}

.footer__content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: none;
    margin-top: 80px;

}

.footer__content-container {
    width: 100%;
    height: 117px;
}

.footer__content-grid div {
    color: rgb(var(--color-white));
    flex-direction: column;
}

.footer__content-grid h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 22px;
}

.footer__content-grid a {
    color: rgb(var(--color-white));
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
}

.footer__bottom-container {
    background-color: rgb(var(--color-light-beige));
    width: 100%;
    height: 42px;

}

.footer__back-container {
    width: 99px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 9px;
    margin-bottom: 9px;
    margin-right: 156px;
    margin-left: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer__back-container:hover {
    opacity: 0.8;
}

.footer__content {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(74, 74, 74, 1);


}

.footer__icon {
    width: 14px;
    height: 13px;
    color: rgb(var(--color-white));

}


@media only screen and (max-width:1024px) {


    .footer-container {
        height: 720px;

    }

    .footer__block-padding {
        padding-left: 46px;
        padding-right: 42px;
    }


    .footer__main h2 {
        width: 100%;
        height: 64px;
        font-size: 36px;
        margin-top: 156px;
    }

    .footer__content-grid h3 {
        font-size: 18px;
        line-height: 100%;

    }

    .footer__content-grid a {
        font-size: 16px;

    }

    .footer__back-container {
        margin-right: 15px;
    }
}


@media only screen and (max-width:768px) {
    .footer__main h2 {
        flex-wrap: wrap;
        font-size: 32px;
        margin-top: 114px;
    }

    .grid-container {
        height: 70px;
        margin-top: 40px;
    }

    .footer__content-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 70px;
        gap: 30px 0;


    }
}

@media only screen and (max-width:640px) {
    .footer-container {
        height: 641px;
    }

    .footer__block-padding {
        padding-left: 35px;
        padding-right: 35px;
    }

    .footer__main {
        height: 632px;
    }

    .footer__main h2 {
        width: 547px;
        height: 64px;
        font-size: 24px;
        margin-top: 84px;

    }

    .grid-container {
        height: 56px;
    }

    .footer__content-grid {
        margin-top: 40px;
        gap: 28px 0;
    }
}

@media only screen and (max-width:639px) {
    .footer-container {
        height: 1141px;
        display: flex;
        text-align: center;
        align-items: center;

    }

    .footer__block-padding {
        padding-left: 17px;
        padding-right: 17px
    }

    .footer__main {
        height: 954px;

    }

    .footer__main h2 {
        margin: 0 auto;
        width: 274px;
        height: 84px;
        font-size: 20px;
        margin-top: 84px;
    }

    .grid-container {
        height: 100px;

    }

    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        border: none;
    }

    .footer-grid> :nth-child(1),
    .footer-grid> :nth-child(2),
    .footer-grid> :nth-child(3) {
        border-right: none;
    }

    .footer__content-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 30px;

    }

    .footer__content-container {
        height: 60px;
    }

    .footer__bottom-container {
        height: 142px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

    }

    .footer__back-container {
        width: 50px;
        height: 66px;
        margin: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer__icon {
        width: 16px;
        height: 15px;

    }

}