* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
	width: 100%;
	height: 110px;
	background-color: rgba(0, 0, 0, 0);
	font-size: 20px;
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	transition: background-color 0.8s;
}
header.scrolled {
    background-color: #363636; 
}
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 130px;
}
.header2 {
	width: 100%;
	height: 110px;
	font-size: 20px;
	background-color: #363636;
	display: flex;
	align-items: center;
	position: fixed;
}
.header-mobile {
    display: none;
}
.logo-mobile {
	display: none;
}

.dropbtn {
	padding: 12px;
	font-size: 16px;
	border: none;
	cursor: pointer;
}
.drop-img {
	width: 45px;
    cursor: pointer;
}
.dropdown-head {
	position: relative;
	display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 155px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	border-radius: 10px 0 10px 10px;
	right: 0;
}
.dropdown-content a {
	color: black;
	padding: 10px;
	text-decoration: none;
	display: block;
}
.dropdown-content a:hover {
	background-color: #f1f1f1;
}
.dropdown-head:hover .dropdown-content {
    display: block;
}

table td:first-child {
    min-width: 250px;
    white-space: nowrap;
    padding-right: 10px;
}

.wrapper2 {
    width: 100%;
    max-width: 1920px;
	margin: 0 20px;
}

.logo {
    width: 5%;
}
.head-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
}
.head-text {
	color: white;
	text-decoration: none;
	position: relative;
    transition: color 0.3s;
}
.head-text::after {
    content: "";
    display: block;
    height: 2px;
    background: #fff;
    width: 0;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.head-text:hover::after, .head-text.active::after {
    width: 100%;
}

.home-block {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}
.home-button {
    width: 200px;
    padding: 12px 15px;
    text-decoration: none;
    text-align: center;
    background-color: #fff;
    border: #2F2A2A 2px solid;
    border-radius: 30px;
    color: #2F2A2A;
    transition: background-color 0.4s;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    font-size: 20px;
    font-weight: bold;
}
.home-button:hover {
    background-color: #D9D9D9;
}
.home-button:active {
    background-color: #fff;
    border: #000 2px solid;
    color: #000;
}

.img-home {
    display: block;
    width: 100%;
}

.img-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
}
.img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
.overlay-content img,
.overlay-content a {
    pointer-events: auto;
}
/*.img-home {
    display: block;
    width: 100%;
}*/
.home-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.home-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.home-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
}
.home-slide-active {
    opacity: 1;
    z-index: 2;
}

/* Стили для точечек */
.home-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
    pointer-events: auto;
}
.home-dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.home-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}
.home-dot-active {
    background-color: #ffffff;
    border-color: #2F2A2A;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.img-text {
    position: absolute;
    top: 82%;
    left: 50%;
    width: 45%;
    transform: translate(-50%, -50%);
    z-index: 15;
}
.img-date {
    position: absolute;
    top: 76%;
    left: 50%;
    width: 35%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.prog-button {
    width: 250px;
    padding: 12px 15px;
    text-decoration: none;
    text-align: center;
    background-color: #2F2A2A;
    border: #fff 2px solid;
    border-radius: 30px;
    color: #fff;
	transition: background-color 0.4s;
    position: absolute;
	left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}
.prog-button:hover {
	background-color: #545354;
}
.prog-button:active {
	background-color: #fff;
    border: #000 2px solid;
	color: #000;
}

.zagolovok {
    text-align: center;
    color: #363636;
    font-size: 35px;
}
.zagolovok-mobile {
	display: none;
}

.zagolovok-none-info {
    color: #61371B;
    text-align: center;
}
.text-none-info {
    text-decoration: none;
    color: #61371B;
}
.img-none-info {
    width: 60%;
}

.info-block {
    width: 100%;
    height: 250px;
    background-image: url('../img/day_flag.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper {
    width: 70%;
    max-width: 1920px;
    margin: 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.text-home {
    width: 90%;
    font-size: 25px;
    line-height: 1.7;
    text-align: center;
    z-index: 1;
}
span {
    font-weight: bold;
}
.list-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    margin: 30px 0;
}
.list-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    font-size: 20px;
    padding: 35px 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(108, 56, 143, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.list-home.visible {
    opacity: 1;
    transform: translateY(0);
}
.list-home:hover {
    transform: translateY(-5px);
    border-color: #9162b0;
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}
.list-home:hover .img-list {
    transform: scale(1.1) rotate(5deg);
}
.img-list {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}
.list-home p {
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.video-mobile {
    display: none;
}
.vk {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shifts-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin: 30px 0;
}
.shift-card {
    flex: 1;
    max-width: 500px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 25px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}
.shift-card:nth-child(1) {
    animation-delay: 0.2s;
}
.shift-card:nth-child(2) {
    animation-delay: 0.4s;
}
.shift-card:hover {
    transform: translateY(-5px);
    border-color: #9162b0;
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
    box-shadow: 0 15px 40px rgba(108, 56, 143, 0.25);
}
.shift-title {
    text-align: center;
    color: #6c388f;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #6c388f;
    font-weight: 600;
}
.shift-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.shift-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.shift-item:hover {
    transform: translateX(5px);
}
.shift-item:hover .shift-icon {
    transform: scale(1.1) rotate(5deg);
}
.shift-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.shift-text {
    flex: 1;
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shifts-container-mobile {
    display: none;
}

.block-special {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
}
.block-special-mobile {
    display: none;    
}
.block-special2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.img-special {
    width: 130px;
}
.text-special {
    text-align: center;
}

.line {
	width: 100%;
	height: 3px;
	background-color: #646363;
}

.section-map {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    margin: 30px 0;
}
.section-map-mobile {
    display: none;
}
.block-map {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.block-map2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    font-size: 18px;
}
.zagolovok-map {
    margin-bottom: -20px;
}
.transport-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 150px;
}
.transport-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.transport-icon:hover {
    transform: translateX(5px);
    border-color: #9162b0;
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}
.transport-icon.active {
    background: #6c388f;
    border-color: #6c388f;
}
.transport-icon.active img {
    filter: brightness(0) invert(1);
}
.transport-icon.active span {
    color: white;
}
.transport-icon img {
    width: 50px;
    height: 50px;
    transition: filter 0.3s ease;
}
.transport-icon span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}
.transport-info {
    flex: 1;
    min-width: 300px;
}
.transport-info-content {
    display: none;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(108, 56, 143, 0.15);
}
.transport-info-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.transport-info-content h3 {
    color: #6c388f;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}
.transport-info-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.block-condition {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.block-condition-mobile {
    display: none;
}
.block-condition2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}
.condition {
    height: 160px;
    background-color: #6c388f;
    color: #fff;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.section-history {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.block-history-mobile {
    display: none;
}
.history {
    text-align: center;
}
.block-history-years {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.history-button {
    text-decoration: none;
    background-color: #6c388f;
    border-radius: 10px;
    color: white;
    padding: 15px 0;
    text-align: center;
    width: 60%;
    transition: background-color 0.4s;
}
.history-button:hover {
    background-color: #9162b0;
}
.history-button:active {
    background-color: #ffffff;
    border: #6c388f;
    color: #6c388f;
}
.button-pdf {
    width: 270px;
    padding: 12px 15px;
    text-decoration: none;
    text-align: center;
    background-color: #6c388f;
    border: #fff 2px solid;
    border-radius: 30px;
    color: #fff;
    transition: background-color 0.4s;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}
.button-pdf:hover {
    background-color: #9160b2;
}
.button-pdf:active {
    background-color: #363636;
    color: #fff;
}
.slider {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-container {
  width: 100%;
  max-width: 1920px;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.nav-arrow {
  background: none;
  border: none;
  font-size: 47px;
  cursor: pointer;
  color: #363636;
  user-select: none;
  padding: 0 10px;
  transition: color 0.3s;
}
.nav-arrow:hover {
  color: #727272;
}
.nav-arrow.prev {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-arrow.next {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}


/* программа */
.programma {
    margin-top: 130px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.programma2 {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
table {
  width: 80%;
  border-collapse: collapse;
  background-color: #f5f5f5;
  color: #222;
}
th, td {
  border: 2px solid #8d63b1;
  padding: 10px 10px;
  text-align: left;
  vertical-align: middle;
}
thead th {
  text-align: center;
}
.center {
    text-align: center;
}
.bold {
  font-weight: bold;
  text-align: center;
  background-color: #af90ce;
  color: #000;
}
.color {
  text-align: center;
  background-color: #9975bd;
  color: #000;
}
.time-cell {
  width: 110px;
  white-space: nowrap;
  text-align: center;
}


/* организаторы */
.org {
    margin-top: 140px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.org-director {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 150px;
}
.org-director-desktop {
    display: block;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 150px;
}
.org-director-mobile {
    display: none;
}
.org-img {
    width: 20%;
    border-radius: 50%;
}
.org-name-block {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
.org-name {
    font-size: 35px;
}
.org-post {
    font-size: 28px;
    margin-top: -15px;
}

.list-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.list-org-mobile {
    display: none;
}
.block-list-org {
    max-width: 60%;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
}
.block-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.list-org-img {
    width: 70%;
    border-radius: 50%;
}
.list-org-img-2 {
    width: 50%;
    border-radius: 50%;
}
.list-org-name {
    font-size: 25px;
}
.list-org-post {
    margin-top: -20px;
    font-size: 20px;
}

/* партнеры */
.partners {
    margin-top: 140px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.partner-list {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px
}
.partner-list-desktop {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px
}
.partner-list-mobile {
    display: none;
}
.partner-list-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 120px;
    margin-top: 30px;
}
.partner-list-block-off {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 110px;
    margin-top: 40px;
}
.partner-img {
    width: 15%;
}
.partner-img-off {
    width: 40%;
}
.partner-img-drr {
    width: 22%;
}
.partner-img-min {
    width: 10%;
}
.zagolovok-partners {
    text-align: center;
    color: #363636;
    font-size: 30px;
    margin-bottom: -10px;
}
.zagolovok-gap {
    margin-bottom: 10px;
}

.speackers {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*РАСПИСАНИЕ*/
.schedule-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.schedule-tab {
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 15px;
    color: #6c388f;
    cursor: pointer;
    transition: all 0.3s ease;
}
.schedule-tab span {
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}
.schedule-tab:hover {
    transform: translateY(-3px);
    border-color: #9162b0;
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}
.schedule-tab.active {
    background: #6c388f;
    color: white;
    border-color: #6c388f;
}
.schedule-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.schedule-content.active {
    display: block;
}

/* Сетка расписания для 1 смены */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.schedule-day {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 56, 143, 0.2);
}
.day-header {
    background: #6c388f;
    color: white;
    padding: 15px;
    text-align: center;
}
.day-number {
    display: block;
    font-size: 18px;
    font-weight: 600;
}
.day-date {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}
.day-events {
    padding: 15px;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.event-item:last-child {
    border-bottom: none;
}
.event-time {
    font-weight: 600;
    color: #6c388f;
    min-width: 100px;
}
.event-name {
    color: #333;
}
.event-name.full-width {
    width: 100%;
    text-align: center;
}

/* Аккордеон для 2 смены */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #6c388f;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    transition: all 0.3s ease;
}
.accordion-header:hover {
    background: linear-gradient(145deg, #f8f8f8 0%, #f0f0f0 100%);
}
.accordion-date {
    font-size: 18px;
    font-weight: 600;
    color: #6c388f;
}
.accordion-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}
.accordion-icon {
    font-size: 20px;
    color: #6c388f;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    display: none;
    padding: 20px 25px;
    border-top: 1px solid #6c388f;
    background: #fefefe;
}
.accordion-item.active .accordion-content {
    display: block;
    animation: slideDown 0.3s ease;
}
.week-schedule {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.week-schedule .schedule-day {
    border: none;
    border-left: 3px solid #6c388f;
    border-radius: 0 10px 10px 0;
    background: transparent;
}
.week-schedule .schedule-day:hover {
    transform: translateX(5px);
    box-shadow: none;
}
.week-schedule .day-header {
    background: transparent;
    color: #6c388f;
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
}
.week-schedule .day-events {
    padding: 5px 15px 15px;
}
.week-schedule .event-item {
    padding: 8px 10px;
}
.prog-button {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background-color: #6c388f;
    border: 2px solid #6c388f;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.prog-button:hover {
    background-color: #9162b0;
    border-color: #9162b0;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
	width: 100%;
	height: 230px;
	background-color: #363636;
	display: flex;
	align-items: center;
	margin-top: auto;
}
.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.block_footer {
	display: flex;
    flex-direction: column;
	align-items: center;
	gap: 10px;
}
.footer-text {
	color: white;
	text-decoration: none;
}
.block-footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}
.footer-icon {
    width: 45px;
}
.logo_footer {
	width: 8%;
}
.footer-bottom {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	color: white;
	text-decoration: none;
	font-size: 18px;
    margin-bottom: -30px;
}


@media screen and (max-width: 768px) {
    .wrapper {
        width: 90%;
        margin: 0 auto;
    }
    .header {
        gap: 60px;
    }
    .head-block {
        gap: 40px;
    }
    .logo {
        width: 10%;
    }

    .img-text {
        top: 81%;
        width: 50%;
    }
    .img-date {
        top: 76%;
        width: 40%;
    }
    .home-button {
        top: 89%;
    }

    .list-block {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .list-home {
        padding: 25px 20px;
        font-size: 18px;
    }
    .img-list {
        width: 60px;
        height: 60px;
    }

    .info-block {
        height: 240px;
    }
    .text-home {
        width: 90%;
        font-size: 22px;
        line-height: 1.4;
    }

    .shifts-container {
        gap: 25px;
    }
    .shift-card {
        padding: 25px 20px;
    }
    .shift-title {
        font-size: 28px;
    }
    .shift-item {
        gap: 15px;
    }
    .shift-icon {
        width: 50px;
        height: 50px;
    }
    .shift-text {
        font-size: 16px;
    }

    .section-map {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
    }
    .transport-icons {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .transport-icon {
        flex: 0 1 auto;
        min-width: 120px;
        padding: 15px;
    }
    .transport-info {
        width: 100%;
    }
    .transport-info-content {
        padding: 20px;
    }
    .transport-info-content p {
        font-size: 15px;
    }

    .block-condition2 {
        gap: 15px;
    }
    .condition {
        height: 140px;
        padding: 12px;
        font-size: 16px;
    }

    .slide-container {
        height: 350px;
    }
    .history {
        font-size: 16px;
    }
    .history-button {
        padding: 10px 0;
        font-size: 17px;
    }

    .schedule-container {
        padding: 15px;
    }
    .schedule-tabs {
        gap: 15px;
    }
    .schedule-tab {
        padding: 12px 20px;
        font-size: 16px;
    }
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .accordion-header {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .accordion-date, .accordion-title {
        font-size: 16px;
    }

    footer {
        width: 100%;
        height: 250px;
    }
    .footer {
        display: flex;
        width: 100%;
        font-size: 16px;
    }
    .block_footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .block-footer-icons {
        gap: 20px;
        margin-top: 20px;
    }
    .footer-icon {
        width: 35px;
    }
    .logo_footer {
        width: 15%;
    }
    .footer-bottom {
        font-size: 14px;
        margin-bottom: -85px;
    }
}

/*@media screen and (min-width: 491px) and (max-width: 768px) {
    .wrapper {
        width: 90%;
        margin: 0 auto;
    }

    .header {
        gap: 40px;
    }

    .head-block {
        gap: 25px;
        font-size: 16px;
    }

    .img-text {
        top: 78%;
        width: 55%;
    }
    .img-date {
        top: 70%;
        width: 45%;
    }
    .home-button {
        top: 86%;
        width: 180px;
        padding: 10px;
        font-size: 18px;
    }

    .list-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .list-home {
        padding: 25px 20px;
        font-size: 17px;
        flex-direction: row;
        text-align: left;
    }
    .list-home p {
        font-size: 16px;
    }
    .img-list {
        width: 55px;
        height: 55px;
    }

    /* Блок смен */
    /*.shifts-container {
        flex-direction: column;
        gap: 20px;
    }
    .shift-card {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }
    .shift-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .shift-item {
        gap: 15px;
    }
    .shift-icon {
        width: 50px;
        height: 50px;
    }
    .shift-text {
        font-size: 16px;
    }

    .section-map {
        flex-direction: column;
        gap: 25px;
    }
    .transport-icons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .transport-icon {
        flex: 0 1 auto;
        min-width: 100px;
        padding: 12px 10px;
    }
    .transport-icon img {
        width: 40px;
        height: 40px;
    }
    .transport-icon span {
        font-size: 14px;
    }
    .transport-info {
        width: 100%;
    }
    .transport-info-content {
        padding: 20px;
    }
    .transport-info-content h3 {
        font-size: 22px;
    }
    .transport-info-content p {
        font-size: 15px;
    }
    .section-map script {
        width: 100% !important;
    }
    .section-map iframe,
    .section-map ymaps {
        width: 100% !important;
    }

    .block-condition2 {
        flex-wrap: wrap;
        gap: 15px;
    }
    .condition {
        height: auto;
        min-height: 130px;
        padding: 15px;
        font-size: 15px;
        flex: 1 1 calc(50% - 15px);
    }

    .section-history {
        flex-direction: column;
    }
    .slide-container {
        height: 300px;
        margin-bottom: 20px;
    }
    .history {
        font-size: 15px;
        margin: 15px 0;
    }
    .history-button {
        padding: 12px 0;
        font-size: 15px;
        width: 80%;
    }

    .footer {
        gap: 20px;
    }
    .block-footer {
        width: 100%;
        text-align: center;
    }
    .footer-icon {
        width: 35px;
    }
    .logo_footer {
        width: 15%;
    }
    .footer-bottom {
        font-size: 14px;
        margin-top: 10px;
    }*/
/*}*/

@media screen and (max-width: 490px) {
    body {
        margin: 0;
        font-size: 16px;
    }

    .wrapper2 {
        flex: 1;
        max-width: 490px;
        width: 90%;
        margin: 0 auto;
    }
    header {
        max-width: 490px;
        width: 100%;
		height: 70px;
        padding: 0 20px;
	}
    .header {
        display: none;
    }
    .header2 {
        height: 70px;
    }
    .head-block {
        display: none;
    }
    .logo {
		display: none;
	}
    .logo-mobile {
        display: block;
        width: 12%;
    }
    .header-mobile {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
        width: 100%;
	}
    .dropbtn {
        padding: 0;
        font-size: 14px;
        border: none;
		cursor: pointer;
	}
	.drop-img {
		width: 35px;
	}
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 155px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 10px 0 10px 10px;
        right: 0;
    }

    .home-button {
        padding: 8px 12px;
        border-radius: 20px;
        top: 90%;
        font-size: 20px;
        width: 200px;
    }
    .button-pdf {
        padding: 9px;
        border-radius: 25px;
        font-size: 17px;
    }
    .prog-button {
        padding: 9px;
        border-radius: 25px;
        font-size: 17px;
    }
    .img-text {
        top: 82%;
        width: 85%;
    }
    .img-date {
        top: 77%;
        width: 73%;
    }

    .home-slider-dots {
        bottom: 15px;
        gap: 10px;
    }
    .home-dot {
        width: 10px;
        height: 10px;
    }

    .img-container {
        max-width: 490px;
    }

    .zagolovok {
        font-size: 24px;
        margin: 15px 0;
    }
    .zagolovok-none-info {
        font-size: 27px;
    }
    .text-none-info {
        font-size: 27px;
    }
    .img-none-info {
        width: 50%;
    }

    .info-block {
        height: 180px;
        background-image: url('../img/day_flag.png');
    }

    .wrapper {
        width: 90%;
        max-width: 490px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .text-home {
        font-size: 16px;
        line-height: 1.4;
        width: 95%;
    }

    .list-block {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    .list-home {
        padding: 20px 15px;
        font-size: 16px;
        gap: 10px;
        flex-direction: row;
        text-align: left;
        width: 100%;
    }
    .list-home p {
        font-size: 14px;
        line-height: 1.4;
        flex: 1;
    }
    .img-list {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .vk {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .vk-video-wrapper {
        display: none;
    }
    .video-mobile {
        display: block;
    }

    .shifts-container {
        display: none;
    }
    .shifts-container-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .shift-card {
        padding: 18px 15px;
        border-radius: 18px;
    }
    .shift-title {
        font-size: 22px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .shift-title i {
        font-size: 16px;
    }
    .shift-item {
        gap: 10px;
        padding: 5px;
    }
    .shift-icon {
        width: 40px;
        height: 40px;
    }
    .shift-text {
        font-size: 13px;
        line-height: 1.4;
    }

    .block-special {
        display: none;
    }
    .block-special-mobile {
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .block-special3 {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }
    .block-special2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .img-special {
        width: 100px;
    }

    .line {
        height: 2px;
    }

    .section-map {
        display: none;
    }
    .section-map-mobile {
        display: block;
        width: 100%;
    }

    .transport-icons-mobile {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 15px 0;
    }
    .transport-icon-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px;
        background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
        border: 2px solid #6c388f;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 85px;
        height: 85px;
    }
    .transport-icon-mobile img {
        width: 55px;
        height: 55px;
        transition: filter 0.3s ease;
    }
    .transport-icon-mobile.active {
        background: #6c388f;
        border-color: #6c388f;
    }
    .transport-icon-mobile.active img {
        filter: brightness(0) invert(1);
    }
    .transport-icon-mobile:hover {
        transform: translateY(-2px);
        border-color: #9162b0;
    }
    .transport-info-mobile {
        width: 100%;
        margin: 15px 0;
    }
    .transport-info-content-mobile {
        display: none;
        padding: 20px;
        background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
        border: 2px solid #6c388f;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(108, 56, 143, 0.15);
        margin-top: 10px;
    }
    .transport-info-content-mobile.active {
        display: block;
        animation: fadeInMobile 0.5s ease;
    }
    .transport-info-content-mobile h3 {
        color: #6c388f;
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 20px;
        font-weight: 600;
    }
    .transport-info-content-mobile p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
    }
    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .block-map {
        width: 90%;
    }
    .block-map2 {
        gap: 5px;
        font-size: 17px;
    }
    .block-condition {
        display: none;
    }
    .block-condition-mobile {
        display: block;
        display: flex;
        flex-direction: column;
        gap: 9px;
        width: 100%;
    }
    .condition {
        width: 100%;
        height: auto;
        min-height: 100px;
        padding: 12px;
        font-size: 16px;
        border-radius: 20px;
        margin: 0;
    }

    .section-map-mobile script {
        width: 100% !important;
    }
    .section-map-mobile iframe,
    .section-map-mobile ymaps {
        width: 100% !important;
        height: 250px !important;
    }

    .block-history {
        display: none;
    }
    .block-history-mobile {
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .block-history-years {
        gap: 5px;
    }
    .history {
        text-align: center;
        width: 115%;
        font-size: 15px;
        line-height: 1.4;
        margin: 0 0 10px 0;
    }
    .history-button {
        padding: 10px 0;
        font-size: 15px;
        width: 160%;
    }
    .section-history {
        max-width: 1920px;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .slide-container {
        width: 100%;
        height: 200px;
        position: relative;
        border-radius: 15px;
        overflow: hidden;
    }
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        pointer-events: none;
        border-radius: 10px;
    }
    .slide.active {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-arrow {
        font-size: 35px;
        position: static;
        color: #363636;
        padding: 5px 10px;
        user-select: none;
        cursor: pointer;
        transition: color 0.3s;
        margin: 0 10px;
    }
    .nav-arrow.prev {
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
    }
    .nav-arrow.next {
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
    }
    .slider {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* программа */
    .container {
        text-align: center;
    }

    .tale-time {
        max-width: 490px;
        width: 90%;
        font-size: 15px;
    }
    .programma {
        max-width: 480px;
        width: 90%;
        margin-top: 80px;
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .programma2 {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 16px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        background-color: #f5f5f5;
        color: #222;
        overflow-x: auto
    }
    th, td {
        border: 2px solid #8d63b1;
        padding: 10px 10px;
        text-align: left;
        vertical-align: middle;
    }
    thead th {
        text-align: center;
    }
    .center {
        text-align: center;
    }
    .bold {
        font-weight: bold;
        text-align: center;
        background-color: #af90ce;
        color: #000;
    }
    .time-cell {
        width: 80px;
        white-space: nowrap;
        text-align: center;
    }

    /* организаторы */
    .org {
        margin-top: 100px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .org-director {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .org-director-desktop {
        display: none;
    }
    .org-director-mobile {
        display: block;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .org-img {
        width: 50%;
        border-radius: 50%;
    }
    .org-name-block {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        align-items: center;
    }
    .org-name {
        font-size: 35px;
    }
    .org-post {
        font-size: 28px;
        margin-top: -20px;
    }

    .list-org {
        display: none;
    }
    .list-org-mobile {
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .block-list-org {
        max-width: 90%;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }
    .block-org {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .list-org-img {
        width: 75%;
        border-radius: 50%;
    }
    .list-org-name {
        font-size: 18px;
    }
    .list-org-post {
        font-size: 16px;
        margin-top: -15px;
    }
    
    /* партнеры */
    .partners {
        margin-top: 80px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .partner-list {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px
    }
    .partner-list-desktop {
        display: none;
    }
    .partner-list-mobile {
        display: block;
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px
    }
    .partner-list-block {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 80px;
    }
    .partner-list-block-off {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    .partner-img {
        width: 35%;
    }
    .partner-img-off {
        width: 87%;
    }
    .partner-img-drr {
        width: 45%;
    }
    .partner-img-min {
        width: 22%;
    }
    .zagolovok-partners {
        text-align: center;
        color: #363636;
        font-size: 27px;
        margin-bottom: -5w0px;
    }
    .zagolovok-gap {
        margin-bottom: -60px;
    }

    footer {
        height: 200px;
    }
    .footer {
        font-size: 16px;
        justify-content: space-between;
        padding: 0 20px;
    }
    .block_footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .block-footer-icons {
        gap: 20px;
        margin-top: 20px;
    }
    .footer-icon {
        width: 30px;
    }
    .logo_footer {
        width: 20%;
    }
    .footer-bottom {
        font-size: 12px;
        margin-bottom: -50px;
    }
}