:root {
    --primary-color: #0096D2;
}

*, *:after, *:before {
    margin: 0;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #F4F4F8;
}

.container {
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}


.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
}
.header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2;
}
.header__body {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
}
/* .header__menu {
    position: relative;
    z-index: 2;
} */
.header__list {
    display: flex;
    position: relative;
    z-index: 3;
    padding: 0;
}
.header__list li{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-right: 20px;
    text-transform: uppercase;
    font-size: 18px;
}
.menu__link {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease-in-out;
}
.menu__link::after {
    content: '';
    width: 0;
    height: 2px;
    transition: .2s ease-in-out;
}
.menu__link:hover::after {
    content: '';
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}
.menu__link:hover {
    opacity: .8;
}
.header__logo {
    flex: 0 0 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 3;
}
.header__logo img{
    max-width: 100%;
    display: block;
}
.header__icons {
    display: flex;
}
.header__nav-icon {
    display: none;
}

.content { 
    padding: 150px 0px 100px 0px;
}

.background-image__wrapper {
    background-image: url("./русский язык.svg");
    background-size: auto;
    background-position-y: bottom;
    background-position-x: right;
    background-repeat: no-repeat;
}

.title-section {
    display: grid;
    gap: 32px;
}

.title-big {
    display: block;
    width: 100%;
    color: var(--primary-color);
    font-size: 58px;
    font-weight: 600;
}

.title-image {
    display: block;
    width: 100%;
    max-width: 500px;
}
.title-image__background {
    z-index: -1;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    max-width: 650px;

}

.title-medium {
    display: block;
    width: 100%;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 400;
}

.subjects-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
	margin-left:20px;
}

.subject {
    color: var(--primary-color);
    width: fit-content;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 16px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 100px;
    background-color: white;
}

.stages-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}

.stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stage .dates {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.stage .name {
    color: black;
    font-size: 18px;
    font-weight: 400;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 32px 0px;
    color: rgba(0, 0, 0, .7);
    border-top: solid rgba(0, 0, 0, .1) 1px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-group {
    width: auto;
    font-size: 18px;
    line-height: 22px;
}

.footer-group a {
    text-decoration: none;
    cursor: pointer;
}

.footer-group a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* @media (max-width: 1010px) {

} */
@media (max-width: 767px) {
    body.disable-scroll {
        overflow: hidden;
    }
    .header__body {
        height: 60px;
    }
    .header__logo {
        flex: 0 0 40px;
    }
    .content {
        padding-top: 80px;
    }
    .header__nav-icon {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        z-index: 3;
        margin-left: 20px;
        cursor: pointer;
    }
    .header__nav-icon:before,
    .header__nav-icon:after {
        content: '';
        background-color: black;
        position: absolute;
        width: 100%;
        height: 4px;
        border-radius: 2px;
        transition: .2s ease-in-out;
    }
    .header__nav-icon:before {
        top: 4px;
    }
    .header__nav-icon span {
        background-color: black;
        position: absolute;
        width: 100%;
        height: 4px;
        left: 0;
        top: 14px;
        border-radius: 2px;
        transition: .2s ease-in-out;
    }
    .header__nav-icon:after {
        top: 24px;
    }
    .header__nav-icon.active:before {
        transform: rotate(45deg);
        top: 50%;
    }
    .header__nav-icon.active:after {
        transform: rotate(-45deg);
        top: 50%;
    }
    .header__nav-icon.active span {
        left: 50%;
        width: 0%;
    }
    .header__menu {
        padding: 80px 0px 0px 0px;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: white;
        transition: 0.3s ease-in-out;
    }
    .header__menu.active {
        left: 0;
    }
    .menu__link {
        color: var(--primary-color);
        text-decoration: none;
    }
    .menu__link::after {
        display: none;
    }
    .menu__link:hover::after {
        display: none;
    }
    .header__list {
        margin-top: 30%;
        display: block;
        padding-left: 50px;
    }
    .header__list li{
        display: flex;
        flex-direction: row;
        list-style: none;
        margin-bottom: 20px;
        text-transform: uppercase;
        font-size: 24px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 64px;
        text-align: center;
    }
    .title-medium {
        font-size: 4vw;    
    }
    
}