/* -------------------- Основной контент главной страницы -------------------- */

#Page {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.Contents {
    width: 100%;
    max-width: 67vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    width: 100vw;
    height: 65vh;
    overflow: hidden;
    margin-top: -20px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -webkit-mask-image: url("/static/main/img/banner.ecb388f153c7.png");
    mask-image: url("/static/main/img/banner.ecb388f153c7.png");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.logo-container {
    position: absolute;
    width: 40vw;
    /*background-color: #00244E;*/
    align-items: center;
    top: 52vh;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    padding: 10px;

}
.logo-container p {
    color: #0095DA;
    font-weight: bold;
    font-size: calc(15px + 1.8vw);
    margin: 0;
    white-space: nowrap;
}
.sub-title {
	display: flex;
	margin-top: 5px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: calc(14px + .2vw);
	white-space: nowrap;
	text-align: center;
	color: #00244E;
	font-weight: 300;
}
.sub-title2 {
	display: flex;
	margin-top: 5px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: calc(11px + .2vw);
	white-space: nowrap;
	text-align: center;
	color: #00244E;
    font-weight: 300;

}
.Block {
    margin-top: 100px;
    width: 60vw;
}
.Block {
    margin-top: 100px;
    width: 60vw;
}
.Block2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60vw;
}
.Block3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.Block3 h1{
text-align: center;
    margin-bottom: 20px;
}

.Block4 {
    margin-bottom: 200px;
    width: 60vw;
}

.img-block{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.img-block img{
    width: 120px;
    height: 320px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 28px;
}

h1 {
    color: #00244E;
    text-align: start;
    text-transform: uppercase;
    font-size:2.4vw;
    font-weight: bold;
    text-wrap: pretty;
    margin: 0;
}

h2 {
    color: #00244E;
    text-align: center;
    margin-left: 10px;
    text-transform: uppercase;
    font-size:2.4vw;
    text-wrap: pretty;
}
p {
    text-wrap: pretty;
    word-break: break-word;
}
.Text {
    text-wrap: pretty;
    word-break: break-word;
    font-size: calc(1px + 0.9vw);
    width: 45vw;
}
.beauty-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}
.hr {
    display: flex;
    border-bottom: 2px solid #0095DA;
    width: 20vw;
}
.Text2 {
    display: flex;
    flex-direction: row;
    justify-content: center;

    font-size: calc(1px + 0.9vw);
    gap: 40px;
    margin-top: 50px;
}
.Text2 p {
    width: 45vw;
    text-align: center;
}
.right-text-of-picture {
    height: 25vh;
    border-right: 2px solid #0095DA;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 20px;
}.right-text-of-picture p {
   text-align: start;
}
.left-text-of-picture {
    height: 25vh;
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    border-right: 28px;
}
.left-text-of-picture img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    align-self: end;
}
.Icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
}
.fab {
    stroke: #0095DA;
}


/* Основные стили контейнера */
.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Контейнер для рядов участников */
.members-row-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px; /* Отступ между элементами */
    max-width: 1200px; /* Ограничение ширины */
    margin: 0 auto;
}
.members-row-container p {
    text-align: center;
}

/* Стили для директора */
.director-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

/* Стили для обычных участников */
.member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px; /* Фиксированная ширина элемента */
    margin: 10px;
}

/* Общие стили */
.full-name {
    font-size: 20pt;
    color: #222;
    font-weight: 550;
    text-wrap: pretty;
    margin: -6px;
    text-align: center;
    white-space: normal;
}

.role, .position {
    font-size: 12pt;
    text-wrap: pretty;
    color: #555;
    text-align: center;
    margin: 5px 0;
}

/* Аватарки */
.frame-small {
    border: 1px solid #00244E;
    border-radius: 50%;
    width: 170px;
    height: 170px;
    padding: 10px;
}
.frame-large {
    border: 2px solid #0095DA;
    border-radius: 50%;
    width: 218px;
    height: 218px;
    padding: 10px;
}
.avatar-large {
    width: 218px;
    height: 218px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-small {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-large img, .avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.button-container {
    margin-top: 20px;
}

.btnplp {
    display: inline-block;
    background-color: transparent;
    color: #0095DA;
    text-decoration: none;
    font-weight: normal;
    padding: 12px 28px;
    font-size:19px ;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out;
}

.btnplp:hover, .btnplp:focus {
    background-color: transparent;
    color: #00244E;
    outline: none;
}

/*-----------------------------Гигантский чиж---------------------*/
.gradient-chizh {
    position: absolute;
    background: linear-gradient(0deg, rgb(255, 255, 255) 10%, rgba(255,255,255,.0) 70%);
    height: 40vw;
    width: 100%;
    top: 270vh;
    left: 80vw;
    z-index: 2;
    overflow: hidden;

}

.picch{
    position: absolute;
    height: 40vw;
    width: auto;
    transform: scaleX(-1);
    top: 270vh;
    left: 80vw;
    z-index: 1;

}
/*-----------------------------Закс лого---------------------*/
.Block5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}
.Block5 p {
    font-size: 18px;
    font-weight: 300;
    color: #00244E;
    text-align: center;
    white-space: nowrap;
}

.zaks-logo {
    width:80%;
    height: auto;
}



/* Responsive Styles */
@media (max-width: 768px) {

body {
    overflow-x: hidden;
}
    .Contents {
        max-width: 100vw;
    }
.logo-container {
    position: absolute;
    width: 70vw;
    background-color: #ffffff;
    align-items: center;
    top: 40vh;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    padding: 10px;

}
.logo-container p {
    color: #0095DA;
    font-weight: bold;
    font-size: calc(15px + 1.8vw);
    margin: 0;
    white-space: nowrap;
}
.sub-title {
	display: flex;
	margin-top: 5px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: calc(10px + .2vw);
	white-space: nowrap;
	text-align: center;
	color: #00244E;
	font-weight: 300;
}
.sub-title2 {
	display: flex;
	margin-top: 5px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: calc(8px + .2vw);
	white-space: nowrap;
	text-align: center;
	color: #00244E;
    font-weight: 300;
}
.banner-slider {
    position: relative;
    width: 100vw;
    height: 55vh;
    overflow: hidden;
    margin-top: -150px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    margin-top: 50px;
}
.Block {
    margin-top: 20px;
    width: 80%;
}

h1 {
    color: #00244E;
    text-align: center;
    text-transform: uppercase;
    font-size:10vw;
    font-weight: bold;
    text-wrap: pretty;
    margin: 0;
}

h2 {
    color: #00244E;
    text-align: center;
    margin-left: 10px;
    text-transform: uppercase;
    font-size:10vw;
    text-wrap: pretty;
}
p {
    text-wrap: pretty;
    word-break: break-word;
}
.Text {
    text-wrap: pretty;
    word-break: break-word;
    font-size: calc(10px + 0.9vw);
    width: 100%;

}
.beauty-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}
.Text2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: calc(10px + 0.9vw);
    gap: 40px;
    padding: 70px 0 70px 0;

}
.hr {
    display: flex;
    border-bottom: 2px solid #0095DA;
    width: 80vw;
    margin-top: 20px;
}
.img-block{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.img-block img{
    width: 15vh;
    height: 30vh;
    overflow: hidden;
    object-fit: cover;
    border-radius: 28px;
}
.right-text-of-picture {
    height: 25vh;
    border-right: 2px solid #0095DA;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 20px;
    width: 90%;

}
.right-text-of-picture p {
    width: 100%;

}
.left-text-of-picture {
    height: 25vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    border-right: 28px;
}
.left-text-of-picture img {
    height: 200px;
    width: 60vw;
    object-fit: cover;
    overflow: hidden;
}
/*-----------------------------Гигантский чиж---------------------*/
.gradient-chizh {
    position: absolute;
    background: linear-gradient(0deg, rgb(255, 255, 255) 10%, rgba(255,255,255,.0) 70%);
    height: 40vw;
    width: 100%;
    top: 410vh;
    left: 80vw;
    z-index: 2;
    overflow: hidden;

}

.picch{
    position: absolute;
    height: 40vw;
    width: auto;
    transform: scaleX(-1);
    top: 410vh;
    left: 80vw;
    z-index: 1;

}

/*-----------------------------Закс лого---------------------*/
.Block5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
    margin-bottom: 80px;
}
.Block5 p {
    font-size: 12px;
    font-weight: 300;
    color: #00244E;

}

.zaks-logo {
    width:80%;
    height: auto;
}

}
