:root {
    --tech-main: #66FF33;
    --tech-second: #FF0066;
    --tech-main-text: #474a51;
    --tech-border: #e7ebf1;
    --tech-white: #fff;
}

.center {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    max-width: 830px;
    width: 100%;
    margin: 0 auto;
    color: var(--tech-main-text);
}

.center img {
    margin: 0;
}

.center section > h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 36px;
    color: var(--tech-tech-main)
}

.center section > h3 {
    font-size: 24px;
    color: var(--tech-main);
    margin-top: 0;
    margin-bottom: 42px;
}

.center a.c-link {
    color: var(--tech-second);
}

.center a.c-link:visited {
    color: #c70f59;
}

.center ul.c-header__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}


.center a.c-header__link {
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 24px);
    padding: 12px;
    background-color: var(--tech-second);
    color: var(--tech-white);
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all .3s ease;
}

.c-header__item:hover a.c-header__link { 
    background-color: #f10966;
}

.с-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 540px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

.с-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("http://gymn5.baranovichi.edu.by/ru/sm_full.aspx?guid=81363");
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    z-index: -1;
}

h1.с-hero__title {
    max-width: 72%;
    width: 100%;
    padding: 80px 20px;
    background-color: var(--tech-main);
    color: white;
    font-size: 32px !important;
    margin-bottom: 0 !important;
    line-height: normal;
    text-align: right;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.c-about {
    padding-top: 80px;
}

.c-about__title {
    margin-bottom: 32px;
}

.c-about__target {
    background-color: var(--tech-second);
    color: var(--tech-white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.c-about__tasks {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.c-about__tasks img {
    min-width: 200px;
    border: 1px solid var(--tech-border);
    border-radius: 16px;
    object-fit: cover;
    overflow: hidden;
}

.center ul.c-about__tasks-list {
    margin: 0;
    padding-left: 16px;
    list-style: none;
}

.center .c-about__tasks-content > p {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--tech-main);
}

.c-about__tasks-item {
    position: relative;
}

.c-about__tasks-item::before {
    position: absolute;
    content: "";
    top: 8px;
    left: -16px;
    width: 8px;
    height: 8px;
    background-color: var(--tech-main);
    border-radius: 50%;
}

.c-structure {
    margin-top: 60px;
}

.c-structure__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.c-structure__card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 360px;
    border-radius: 16px;
    box-shadow: 0px 2px 14px 4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.c-structure__card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.c-structure__card-text {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 48px 16px 16px;
    color: white;
    background: linear-gradient(149deg, rgba(255,0,102,1) 0%, rgba(102,255,51,1) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1.0) 60%, transparent 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1.0) 60%, transparent 100%);
}

.c-structure__card-title {
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: bold;
}

.c-structure__card-description {
    margin: 0;
}

.c-base {
    margin-top: 60px;
}

.c-base__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.c-base__card {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 240px;
    border-radius: 16px;
    border: 1px solid var(--tech-border);
    overflow: hidden;
}

.c-base__card:first-child {
    grid-column: span 2;
}

.center .c-base__card img {
    height: 100%;
    width: 90%;
    object-fit: cover;
    margin: 0;
}

.c-base__card-background {
    position: absolute;
    top: 0;
    right: 0;
    height: 0;
    width: 80%;
    border-bottom: 240px solid var(--tech-main);
    border-left: 260px solid transparent;
    border-right: 0px solid transparent;
}


.c-base__card-text {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    width: 50%;
    padding-right: 16px;
    font-size: 16px;
    font-weight: bold;
    color: var(--tech-white);
}

.c-base__card:first-child .c-base__card-background {
    width: 48%;
}

.c-base__card:first-child .c-base__card-text {
    width: 26%;
}

.center a.c-presentation-bnt {
    display: block;
    margin: 60px auto 0;
    max-width: 400px;
    padding: 8px 32px;
    border-radius: 16px;
    text-align: center;
    color: var(--tech-white);
    font-size: 20px;
    background-color: var(--tech-second);
    text-decoration: none;
    transition: all .3s ease;
}

.c-presentation-bnt:hover {
    background-color: #f10966;
}

.c-regulatory {
    padding-top: 80px;
}

.center .c-regulatory__list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.c-regulatory__item {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.c-regulatory__item a {
    text-decoration: none;
}

.c-regulatory__item:hover a {
    text-decoration: underline;
}

.c-regulatory__item-icon {
    min-width: 16px;
    height: 16px;
    margin-top: 3px;
    background-color: var(--tech-second); 
    -webkit-mask-image: url('http://gymn5.baranovichi.edu.by/ru/sm_full.aspx?guid=81393');
    mask-image:  url('http://gymn5.baranovichi.edu.by/ru/sm_full.aspx?guid=81393');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.c-local {
    padding-top: 80px;
}

.c-areas {
    margin-top: 80px;
    background-color: var(--tech-border);
    padding: 32px 16px;
    border-radius: 32px;
}

.c-areas__title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.c-areas__image {
    max-width: 100%;
}

.c-class {
    padding-top: 80px;
}

.c-class img {
    max-width: 100%;
}

.c-events {
    padding-top: 80px;
}