.header {
    box-shadow: 0px 4px 4px 0px #2C2A2A05;
    border: 1px solid #E6E4E4;
    font-family: 'Factor A', sans-serif;
    margin-bottom: 4px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 1245px;
    padding-top: 14px;
    padding-bottom: 9px;
}

.nav-list {
    display: flex;
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    height: 100%;
    align-items: center; 
}

.burger__menu {
    display: none;
}

.nav-list__item {
    height: 100%;
}

.nav-list__item:not(:last-child){
    margin-right: 75px;
}

.nav-list__link {
    text-decoration: none;
    color: #222222;
    height: 100%; 
    display: flex; 
    align-items: center;
    position: relative; 
    padding: 0 5px; 
    box-sizing: border-box; 
}

.nav-list__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -27px;
    width: 100%;
    height: 2px;
    background-color: #15C678;
    transform: scaleX(0);
} 

.nav-list__link:hover::after {
    transform: scaleX(1);
}

.burger-menu {
    display: none;
}

.children-section__container {
    font-family: 'Halvar', sans-serif;
    background: url(../images/children_images/main-background.png) center center;
    margin-bottom: 73px;
}

.kidburg-section__container {
    font-family: 'Halvar', sans-serif;
    background: url(../images/kidburg.jpg) center center;
    margin-bottom: 73px;
}

.children-label p{
    margin: 0;
    color: #FFFFFF;
    font-size: 130px;
    font-weight: 800;
    letter-spacing: 4px;
}

.children-label {
    padding-bottom: 40px;
}

.children-section {
    margin-left: auto;
    margin-right: auto;
    max-width: 1245px;
    padding-top: 33px;
}

.children-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.children__mobile-images {
    display: none;
}

.outer__container {
    font-family: 'Halvar', sans-serif;
    background: linear-gradient(90deg, #15C678 0%, #44E0AF 100%);
    margin-bottom: 35px;
}

.inner-container {
    background: url(../images/children_images/numbers1.png) left top no-repeat;
}

.inner-two-container {
    background: url(../images/children_images/numbers2.png) right top no-repeat;
}

.cyber-centers {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-width: 1245px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 67px;
    padding-bottom: 66px;
}

.cyber-centers__title {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: 800;
    margin: 0;
}

.cyber-centers--green {
    color: #05544B;
}

.cyber-centers__graphic {
    position: absolute;
    right: -36px;
    top: 37px;
}

.cyber-centers__network-img__mobile {
    display: none;
}

.cyber-promo-text__container {
    margin-bottom: 62px;
}

.cyber-security-promo {
    max-width: 1245px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 112px;
}

.cyber-promo-text {
    font-family: 'Factor A', sans-serif;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-left: 58px;
    color: #343434;
    max-width: 983px;
    line-height: 1.25;
}

.cyber-promo-text p {
    margin: 0;
}

.cyber-promo-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    bottom: -15px;
    width: 10px; 
    background-color: #1DCA81; 
}

.game-cards {
    font-family: 'Halvar', sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.game-card__content {
    position: relative;
}

.game-card__text {
    position: absolute;
    bottom: 20px;
    left: 13px;
    background: linear-gradient(80.44deg, #D2007F 5.39%, #6D13E0 89.89%);
    border-radius: 20px;
}

.game-card__title__container {
    /* background: url(/images/children_images/card-background.png) center  no-repeat; */
    background-size: contain; 
}

.game-card__link:hover {
    box-shadow: 9px 9px 0px #F51691;
    border: #E6E4E4;
    transform: scale(1.02);
    max-height: 490px;
}

.game-card__title {
    color: #FFFFFF;
    font-size: 60px;
    font-weight: 800;
    margin: 0;
    padding-left: 34px;
    line-height: 1.03;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-right: 30px;
}

.articles-comics {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-width: 1245px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 67px;
    padding-bottom: 66px;
}

.articles-comics__title {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: 800;
    margin: 0;
}

.articles-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1245px;
    margin-top: 58px;
    margin-bottom: 56px;
}

.articles-grid {
    font-family: 'Factor A', sans-serif;
    display: grid;
    grid-template-columns: 602px 602px;
    gap: 21px 33px;
}

.article-card {
    display: flex;
    border: 2px solid #2DD494;
    border-radius: 5px;
    max-height: 280px;
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-img__mobile {
    display: none;
}

.article-title {
    position: relative; 
    font-size: 29px;
    padding: 26px 53px 17px 19px;
    height: -webkit-fill-available;
    z-index: 1; 
}

.article-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/children_images/articles-background.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.article-title h5 {
    font-weight: 700;
    color: #343434;
}

.article-type {
    background: #08B684;
    text-align: center;
    padding: 20px 0 23px 0;
}

.article-format {
    background: #AB3DF4;
    text-align: center;
    padding: 20px 0 23px 0;

}

.article__link {
    color: #FFFFFF;
    font-size: 22px;
}

.article-image img {
    width: 280px;
    height: 280px;
}

@media (max-width: 1371px) {
    .header__container {
        padding-left: 20px;
        padding-right: 20px; 
        max-width: -webkit-fill-available;
        width: 100%;
    }
}

@media (max-width: 1320px) {
    .cyber-centers__graphic {
        right: 40px;
    }
}

@media (max-width: 1275px) {
    .children-header {
        padding-left: 20px;
        padding-right: 20px;
    }
    .cyber-centers {
        padding-left: 20px;
        padding-right: 20px;
    }
    .cyber-security-promo {
        padding-left: 20px;
        padding-right: 20px;
    }
    .game-cards {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .articles-comics {
        padding-left: 20px;
        padding-right: 20px;
    }
    .articles-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .article-card {
        max-width: 602px;
    }
}

@media (max-width: 1208px) {
    .cyber-centers__network-img {
        display: none;
    }
    .cyber-centers__network-img__mobile {
        display: block;
    }
    .cyber-centers__graphic {
        top: 62px;
    }
}

@media (max-width: 968px) {
    .nav-list {
        font-size: 15px;
    }
}

@media (max-width: 868px) {
    .header__nav {
        display: none;
    }
    .burger-menu {
        display: inline-block;
        cursor: pointer;
        background-color: #000000;
        border: 2px solid #32D69A;
        border-radius: 5px;
    }
    .burger-menu__button {
        position: relative;
        width: 43px;
        height: 41px;
    }
    .burger-menu__lines,
    .burger-menu__lines::before,
    .burger-menu__lines::after {
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: #FFFFFF;
        transition: all 0.3s ease;
        border-radius: 5px;
    }
    .burger-menu__lines {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .burger-menu__lines::before {
        content: '';
        top: -8px;
    }
    .burger-menu__lines::after {
        content: '';
        top: 8px;
    }
    .header {
        margin-bottom: 0;
    }
    .header__container {
        padding-bottom: 37px;
    }
}

@media (max-width: 768px) {
    .children-label p {
        font-size: 100px;
    }
    .cyber-promo-text::before {
        content: none;
    }
    .children-image {
        display: none;
    }
    .children__mobile-images {
        display: block;
    }
    .cyber-centers__title {
        font-size: 40px;
    }
    .cyber-centers__graphic {
        top: 42px;
    }
    .cyber-promo-text {
        font-size: 18px;
    }
    .articles-comics__title {
        font-size: 40px;
    }
    .cyber-promo-text {
        padding-left: 0;
    }
}

@media (max-width: 645px) {
    .children-section {
        padding-top: 8px;
    }
    .children-section__container {
        margin-bottom: 25px;
    }
    .children-label p {
        font-size: 40px;
    }
    .children-section__container {
        background: url(../images/children_images/main-background__mobile.png) center center;
    }
    .inner-container {
        background: url(../images/children_images/numbers1__mobile.png) left top no-repeat;
    }
    .inner-two-container {
        background: url(../images/children_images/numbers2__mobile.png) right top no-repeat;
    }
    .cyber-centers__title {
        font-size: 28px;
        max-width: 300px;
    }
    .cyber-centers {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    .cyber-centers__graphic {
        top: 4px;
    }
    .cyber-promo-text {
        font-size: 14px;
    }
    .outer__container {
        margin-bottom: 38px;
    }
    .cyber-promo-text__container {
        margin-bottom: 66px;
    }
    .articles-comics {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    .articles-comics__title {
        font-size: 28px;
    }
    .article-card {
        flex-direction: column;
        min-height: 0;
        max-height: none;
        max-width: 388px;
    }
    .game-card__img {
        width: 388px;
    }
    .game-card__title {
        font-size: 35px;
    }
    .article-img {
        display: none;
    }
    .article-img__mobile {
        display: block;
    }
    .article-image img {
        width: auto;
        height: auto;
    }
    .cyber-security-promo {
        margin-bottom: 40px;
    }
    .articles-container {
        margin-top: 0;
    }
    .article-format {
        background: #3783E7;
    }
}