main{
    padding: 120px 0 0 0;
}

h2{
    font: 700 52px Montserrat;
    color: var(--gray);
    line-height: 64px;
}


/*Members*/
.council__members{
    padding-bottom: 80px;
    margin-bottom: 85px;
    border-bottom: 1px solid #2e2d2c40;
}
.council__members > h3{
    font: 700 24px Montserrat;
    line-height: 34px;
    color: var(--gray);
    margin: 120px 0 60px 0;
}

.members > article{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 35px;
    margin: 0 0 70px 0;
    width: max-content;
}
.members article{
    padding: 10px;
    transition: all .3s ease-in-out;
    border-radius: 4px;

}
.members article:hover{
}
.members img{
    max-width: 260px;
    width: 100%;
    height: 100%;
    max-height: 352px;
    object-fit: cover;

}
.members a{
    display: block;
    font: 700 18px Montserrat;
    color: #000;
}
.members p a{
    font: 16px Montserrat;
    line-height: 25px;
    color: #000;
    margin: 10px 0 0 0;
}

.other__members{
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.other__members article{
  width: calc(25% - 20px);

}
.other__members h4{
    margin: 25px 0 0 0;
}

.dep__members .prav_members{
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
  /*  justify-content: space-between;*/
	justify-content: space-around;
    align-items: stretch;
}
.dep__members .orgaz_members{
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.dep__members article{
 /*  width: calc(50% - 20px);*/
    width: calc(50% - 35px);
 
}
.dep__members h4{
    margin: 25px 0 0 0;
display: block;
    font: 700 18px Montserrat;
    color: #000;
}

.dep__members p {
font: 16px Montserrat;
    line-height: 25px;
    color: #000;
    margin: 10px 0 0 0;
}


.dep__members h3 {
text-align:center;
margin-top:50px;
font:700 20px Montserrat;
margin-bottom:60px;
}



/*about__quantity*/

.about__quantity h3{
    font: 300 18px Montserrat ;
    color: var(--gray);
    width: 50%;
}

.structure__items{
    margin: 70px 0 55px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}
.structure__items li{
    display: flex;
    padding: 25px 15px;
    background-color: #f3f3f3;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px #0000001a;
    flex-basis: calc(20% - 25px);
    font: 18px Montserrat;
    line-height: 28px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/*core__competenc*/

.core__competenc, .council__staf{
    background-color: #f3f3f3;
    padding: 80px 0 ;
}

.core__competenc h3, .council__staf h3{
    font: 700 24px Montserrat;
    line-height: 30px;
    color: var(--gray);
}
.core__competenc ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px 30px;
    margin-top: 90px;
    justify-content: space-between;
}
.core__competenc li{
    flex-basis: calc(50% - 30px);
}
.core__competenc p{
    display: flex;
    align-items: center;
    gap: 20px;
    font: 20px Montserrat;
    line-height: 27px;
    color: #2e2d2c;
}

/*first__convosation*/

.first__convosation{
    background-color: #fff;
}

/*council__staf*/
.council__staf p{
    font: 300 20px  Montserrat;
    line-height: 31px;
    margin: 35px auto 55px auto;
}
.council__staf p a{
    text-decoration: underline;
    font-weight: 700;
    color: var(--gray);
}
.council__staf__persons{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}
.council__staf__persons article{
    /*flex-basis: calc(50% - 30px);
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-left: auto;
    margin-right: auto;*/  
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
}
.council__staf__persons h4{
    font: 700 18px Montserrat;
}
.council__staf__persons p{
    font: 400 16px Montserrat;
    line-height: 25px;
    margin: 10px 0 0 0;

}
.council__staf__persons img{
    max-width: 260px;
}

.dep__members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
    justify-content: space-between;
    align-items: stretch;
}

.prav_members {
}

.orgaz_members {
}

/*all__docs*/
.all__docs{
    margin: 60px auto 90px auto;
}
.all__docs img{
    width: 40px;
    transition: all .3s ease-in-out;
}
.all__docs a{
    display: flex;
    align-items: center;
    font: 700 24px Montserrat;
    color: var(--gray);
    gap: 10px;
    width: max-content;
}
.all__docs a:hover {
    text-decoration: underline;
}
.all__docs a:hover img{
    transform: scale(1.1);
}



/*Media*/
@media only screen and (max-width:1000px){
    .council__staf__persons article{
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (max-width:780px) {
.dep__members {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 80%;
}
    .other__members article{
        width: calc(50% - 50px);
    }
    .council__staf__persons, .core__competenc ul{
        flex-direction: column;
    }
    .council__staf__persons article{
        justify-content: center;
    }
    .person__desc{
        max-width: 220px;
    }
     .all__docs , .council__staf h3, .council__staf p, .core__competenc ul, .core__competenc h3, .about__quantity, .council__members  {
        width: 80%;
    }
    .structure__items li{
        flex-basis: calc(50% - 13px);
    }
    .about__quantity h3{
        width: 100%;
    }
    .members > article{
        flex-direction: column;
        margin: auto;
    }
   
    .council__staf__persons article{
        flex-direction: row;
        align-items: end;
    }
}

@media only screen and (max-width:480px){
    main{
        padding: 90px 0 0 0;
    }
    .all__docs , .council__staf h3, .council__staf p, .core__competenc ul, .core__competenc h3, .about__quantity, .council__members  {
        width: 100%;
    }
    .members > article{
        flex-direction: column;
        align-items: start;
        width: max-content;
        margin: auto;
        gap: 15px;
    }
    .other__members{
        gap: 15px 20px;
    }
    .other__members article{
        width: calc(50% - 20px);
    }
    .other__members h4{
        margin: 15px 0 0 0 ;
    }
    .council__members {
        width: 95%;
    }
    .structure__items{
        align-items: center;
        flex-direction: column;
    }
    .structure__items li{
        width: 80%;
        font-size: 16px;
    }
    .council__staf__persons h4{
        font-size: 14px;
        line-height: 20px;
    }
    .council__staf__persons p{
        font-size: 11px;
        line-height: 16px;
    }
    .council__staf__persons article{
        width: 70%;
        flex-basis: 100%;
        margin: auto;
    }
    .council__staf__persons img{
        max-width: 180px;
    }
   
    h2{
        font-size: 30px;
        line-height: 37px;
    }
    .council__members > h3{
        margin: 50px 0 40px 0;
    }
    .other__members article > a{
        text-align: center;
    }
}

@media only screen and (max-width:400px){
    .other__members{
        align-items: stretch;
    }
    .members a{
        font-size: 14px;
    }
    .other__members article {
        width: calc(50% - 12px);
    }
    .members p a{
        font-size: 12px;
        line-height: 20px;
    }
    .council__members {
        width: 100%;
    }
}



/*feedback form*/
.feedback__form{
    background-color: #f3f3f3;
    padding: 80px 0 ;
}
.feedback{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    flex-direction: row;
}
.feedback h5{
    font: 700 42px Montserrat;
    color: #000;
    line-height: 50px;
}
.form__desc{
    flex-basis: 40%;
}
.form__desc p{
    margin: 50px 0 0 0;
    font: 300 18px Montserrat;
    color: #000;
}
.feedback form{
    flex: 1;
    margin: 10px 0 0 0;
}
.feedback input, textarea{
    display: block;
    width: 100%;
    margin: 0 0 25px 0;
    padding: 15px 20px ;
    font: 16px Montserrat;
    border: 1px solid #cfcfcf;
    outline: 0;
    border-radius: 5px;
    transition: all .3s ease-in-out;
    resize: vertical;
}
.feedback input:focus-visible, textarea:focus-visible{
    box-shadow: 0 0 10px #cfcfcf;
    transform: translateY(-2px);
}

form button {
    color: #fff;
    background: var(--green);
    padding: 15px 40px;
    font: 600 16px Montserrat;
    display: table;
    border-radius: 10px;
    transition: all .3s ease-in-out;
    border: 0;
    cursor: pointer;
}
form button:hover,form button:focus-visible {
    box-shadow: 0 0 10px #0000002e;
    transform: translateY(-3px);
    outline: 0;
}
form p{
    font: 300 14px Montserrat;
    margin: 20px  0 0 0;
    opacity: .55;
}
form label{
    position: relative;
}
label span{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font: 16px Montserrat;
    opacity: .55;
    left: 20px;
    background-color: #fff;
    transition: all .3s ease-in-out;
    cursor: text;
}
label:last-of-type span{
    top: 25px;
}
label span.has__value{
    top: 0;
    left: 15px;
    font-size: 14px;
}

@media only screen and (max-width:780px) {
  
    .feedback {
        width: 80%;
        flex-direction: column;
    }
   
}


@media only screen and (max-width:480px){
    main{
        padding: 90px 0 0 0;
    }
    .feedback {
        width: 100%;
    }
   
    .feedback h5{
        font-size: 30px;
    }
    .feedback {
        width: 80%;
    }
   
}