@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


/* Для ДЕТальки 2024 */

body {
    font-family: 'Roboto', sans-serif;
}

li {
    text-decoration: none;
    list-style: none;
}

.past_years {
    position: relative;

}


.hidden {
  display: none;
}

.decor1 {
    position: absolute;
    left: 0;
    top: 166px;
    transform: translate(-65%,0);
}

.decor11 {
    height: 600px;
    width: 600px;
    
}


.for2024 {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 40px; 
}







@media only screen and (min-width: 1300px) { 

}



.links-row-2024 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 32px 0 36px 0;
    flex-wrap: wrap;
}

.linksbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.link2024 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #FF5601;
    text-decoration: none;

}

.link-block-old2024{
    border: 3px solid #FF5601;
    border-radius: 10px;
    padding: 5px 10px;
    width: 350px;
    text-align: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;

}

.linksbox2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.link-old2024 a{
    color: #FF5601;
    padding: 10px 20px;
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: underline;
}


/* @media (max-width: 900px) {
    .links-row-2024 {
        flex-direction: column;
        gap: 16px;
    }
    .link-block-old a,
    .link-block-old .old_link {
        font-size: 20px;
        min-height: 56px;
        padding: 14px 0;
    }
} */




/* ДЕТалька старые стили */


@media only screen and (min-width: 992px) {



h1, h2, h3, p, ul {
    margin: 5px;
    padding: 5px;
}

h2, h3 {
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 10px;
    /* padding: 20px; */
}

.year26 {
    background-color: #ffffff;
    color: #000000;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.header h1 {
    font-size: 24px;
}

.menu {
    text-align: center;
    margin-bottom: 20px;
}

.menu a {
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
    color: #ff6f00;
}

/* .navbar {
    background-color: #ffffff;
    color: #494949;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-list {
    list-style: none;
    display: flex;
    justify-content: right;
}


.navbar-item a {
    text-decoration: none;
    color: #494949;
    font-weight: bold;
}

.navbar-item a:hover {
    color: #000000;
} */

.content {
    /*top: 150px;*/
    /* left: 250px; */
    padding: 20px;
    background-color: #ffffff;
    height: 100vh;
    /* position: fixed;
    margin-top: 130px;
    max-height: calc(100vh - 150px); */
    overflow-y: auto;
}

.content-24 {
    margin-top: 100px;
}

.form-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.form-container form {
    margin: 0;
}

.teacher-list {
    list-style: none;
    padding: 0;
}

.teacher-list li {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

.teacher-list li button {
    background-color: #ff5555;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.teacher-list li button:hover {
    background-color: #ff6f00;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-container,
.list-container {
    border: 1px solid #ccc;
    padding: 20px;
}

.age-category-toggle {
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 18px;
    color: #333;
}

.game-category-toggle {
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    color: #555;
}

.game {
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #777;
}

/* Style for student and team selects */
.student-select,
.team-select {
    width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 14px;
}

.button[type="submit"] {
    background-color: #ff6f00;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.button[type="submit"]:hover {
    background-color: #000000;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    display: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-container {
    display: flex;
    margin-top: 80px;
    overflow-y: hidden;
}

.sidebar {
    /* position: fixed;
    left: 0;
    top: 90px; */
    height: 100vh;
    width: 220px;
    background-color: #333;
    color: white;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    padding: 10px;
}

.sidebar a {
    text-decoration: none;
    color: #fff;
}

.sidebar a:hover {
    color: #FF5601;
}

.game-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

.game-table th, .game-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.game-table th {
    background-color: #f2f2f2;
}

.game-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.game-table tr:hover {
    background-color: #ddd;
}
    /*Hovering on a <td> without rowspan should highlight the entire tbody*/
    tbody:has(td[rowspan]:hover) td {
        background-color: #ddd;
    }
    /* Hovering on a <td> WITH rowspan, means its a sub-row.
    Thus, just that row should be highlighted.*/
    tr:has(td:not([rowspan]):hover) {
        background-color: #ddd;
    }
    /* Finally, the rowspan columns should be highlighted if the 
    non-rowspan colums are hovered*/
    tbody:has(td:not([rowspan]):hover) td[rowspan] {
        background-color: #ddd;
    }

.delete-button {
    font-size: 24px;
    cursor: pointer;
}

.delete-button:hover {
    color: red;
}

.invisible-table {
    width: 100%;
    border-collapse: collapse;
}

.invisible-table td {
    border: none;
    padding: 5px;
}

.mySlides {
    display: none;
}

.resultslink {
    text-decoration: none;
    padding: 5px 30px;
    border: 3px solid buttonborder;
    border-radius: 7px;
    border-color: #ff6f00;
    color: black;
    background-color: white;
    text-decoration: none;
}

.resultslink:hover{
    color: #ff6f00;
}

#registration-message {
    display: none;
    text-align: center;
    background-color: #ff6f00;
    color: #fff;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}






/* ДЕТалька новые стили !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 

/* .navbar {
    background-color: #ff8f8f;
    color: #494949;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.navbar-list {
    list-style: none;
    display: flex;
    justify-content: right;
}

.desktop_navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
    background-color: #ff8f8f;
}

.desktop_navbar_part1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop_navbar_part2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.navbar-item a {
    text-decoration: none;
    color: #494949;
    font-weight: bold;
}

.navbar-item a:hover {
    color: #000000;
} */


.content26 {
    background-color: white;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.mainpage {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 80px;
}

.mainpage_part {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.orange_square {
    background: #FF742E;
    border-radius: 0px 40px 40px 0px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    color: white;
    width: 52%;
    height: 700px;
    display: flex;
    flex-direction: row; /* Горизонтальное расположение */
    align-items: center; /* Выравнивание по вертикали */
    justify-content: flex-start; /* Прижимаем к левому краю */
    position: relative;
    z-index: 3;
    padding: 40px 0; /* Убраны боковые padding'и */
}

.orange_square_logo {
    flex-shrink: 0; /* Чтобы логотип не сжимался */
    padding-left: 50px; /* Отступ от левого края экрана */
    margin-right: 40px; /* Отступ между логотипом и текстом */
    margin-top: -80px;
}

.orange_square_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1; /* Занимает оставшееся пространство */
    padding-right: 50px; /* Отступ справа */
}

.orange_square_text {
    color: #ffffff;
    margin-bottom: 30px;
}

.logo-image {
    max-width: 400px;
    margin-top: 0; /* Убрано отрицательное margin-top */
}

.text_1 {
    text-align: left;
    font-size: 40px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 40px;
}

.text_2 {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


.btn-green {
    background-color: #FFFFFF;
    color: #FF742E;
    font-weight: 800;
    font-weight: bold;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
}

.robot-image-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.robot-image {
    height: 700px;
    max-width: 100%;
    object-fit: cover;
}

/* .btn-red {
    background-color: #6FFF2C;
    color: #494949;
    font-weight: 800;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
} */

.buttons_past {
    display: flex;
    flex-direction: row;
}

.telegram_link {
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0px;
    margin-bottom: 30px;
}

.telegram_link_text {
    font-size: 26px;
    color: #494949;
}

.telegram_link_highlight {
    color: #FF5601;
    font-weight: bold;
    font-size: 26px;
}
.links_div {
    display: flex;
    justify-content: center; /* Распределяет пространство между элементами */
    align-items: center;
    max-width: 1200px; /* Ограничиваем максимальную ширину */
    margin: 0 auto; /* Центрируем весь блок */
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.registry_link{
        margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 0;
    margin-top: 0px;
    margin-bottom: 30px;
}
.telegram_link_img {
    width: 50px;
    height: 50px;
}

.about_fest {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 120px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.description {
    text-align: center;
    padding: 60px 40px;
    font-size: 30px;
    max-width: 900px;
    margin: auto;
    color: #494949;
    margin-bottom: 50px;
}

.goal_competition {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    color: #494949;
    gap: 100px;
    align-items: center;
    margin-bottom: 100px;
    margin-top: 90px;
}

.goal-title {
    font-size: 30px;
    font-weight: bold;
    color: #494949;
    display: flex;
    width: 50%;
}

.goal-items {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.goal-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    gap: 20px;
}

.goal-item-text {
    color: #FF5601;
}

.goal-item-image {
    width: 30px;
    height: 30px;
}

.for_participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
}

.disciplines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 100px;   
}

.disciplines-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.disciplines-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 15px;
}

.disciplines-subtitle {
    font-size: 30px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 20px;
}

.buttons_schools {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.btn-school {
    background-color: transparent;
    color: #FF5601;
    border: 4px solid #FF5601;
    font-weight: 800;
    padding: 28px 28px;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    outline: none;  
    transition: background-color 0.3s, color 0.3s;
}

.btn-school:hover {
    color: white;
    background-color: #ff7a37;
    border-radius: 4px solid #ff7a37;
}

.btn-school:focus {
    color: white;
    background-color: #FF5601;
    border-radius: 4px solid #FF5601;
}

.btn-school.active {
    color: white;
    background-color: #FF5601;
    border-radius: 3px solid #FF5601;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.gray_square {
    background-color: #F2F2F2;
    padding: 20px 20px 40px;
    border-radius: 20px;
    /* box-shadow: 0px 8px 20px rgba(0,0,0,0.2); */
    color: #494949;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #494949;
    margin-bottom: 10px;
}

.category-item-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    justify-content: center;
    gap: 30px;
    
}

.category-item-subcontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 17px;
    width: 500px;
    font-family: 'Montserrat', sans-serif;
}

.category-item-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 17px;
    width: 500px;
}

.category-item-description {
    align-self: flex-start;
    color: #6e6e6e;
    font-size: 14px;
}

.category-item-participants {
    color: #6e6e6e;
    font-size: 15px;
}

.down-button {
    cursor: pointer;
    width: 30px;
}

.dop_info {
    font-size: 13px;
    color: #636363;
    text-align: center;
    margin-top: 20px;
    position: absolute;
    bottom: -40px;
    left: 34px;
}


.when_tablet {
    display: none;
}

.when_desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
}


.when-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 50px;
}

.when-content_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 180px;
    font-size: 24px;
    color: #494949;
}

.when-content_text-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 80px;
    border-left: 4px solid #d6d6d6;
}

.when-tags {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin-bottom: 40px;
}

.green_tag {
    height: 370px;
    overflow: hidden;
    transform: translate(40px, -100px);
}

.red_tag {
    overflow: hidden;
    height: 400px;
    transform: translate(43px, -20px);
}


.where {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 50px;
    gap: 100px;
}  

.where-text {
    text-align: center;
    width: 350px;
    color: #494949;
    margin-bottom: 20px;
}

.where-title {
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 700;
}

.where-address {
    font-size: 18px;
    font-weight: 400;

}

.where-map {
    border: 4px solid #FF5601;
    border-radius: 12px;
}

.where-map-icon {
    display: none;
}

.documents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.documents-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 30px;
}

.documents-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 0px;
    list-style-type: none;
}

.documents-item {
    color: #FF5601;
    padding: 10px 20px;
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: underline;
}

.arrow-icon {
    width: 15px;
    height: 15px;
    margin-left: 8px;
    vertical-align: baseline;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 100px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);   
}

.contacts-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin: 30px;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contacts-item {
    font-size: 20px;
    font-weight: 500;
    color: #494949;
    text-decoration: none;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    width: 600px;
    text-align: center;
    margin-bottom: 100px;
}

.contacts-icon_1{
    width: 180px;
    position: absolute ;
    transform: translate(-350px, -40px);
}

.contacts-icon_2{
    width: 180px;
    position: absolute;
    transform: translate(596px, -217px);
}

.links {
    color: #FF5601;
    text-decoration: none;
    /* text-decoration: underline; */
}

.organizers {
    margin-bottom: 50px;
    display: block;
    width: 100%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
}

.organizers-title {
    margin-top: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #494949;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.organizers {
    margin-bottom: 10px;
}

.photo-slider {
    width: 1200px;
    margin: 20px auto 120px;
}

.photo-slider img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;

}

.photo-slider .slick-slide {
  padding: 0 10px; /* Отступ слева и справа по 10px */
  box-sizing: border-box;
}
.photo-slider {
  margin: 0 -10px; /* Чтобы слайдер не разъехался из-за паддингов */
}

.footer-container {
    background-color: #494949;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);  
    padding: 20px 70px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    
}

.footer-text {
    font-size: 14px;
    color: #fff;
    margin: 0px;
    font-weight: 600;
}

.footer-text_2 {
    font-size: 20px;
    color: #fff;
    margin: 0px;
    font-weight: 800;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-icon {
    margin-top: 10px;
    width: 30px;
    cursor: pointer;
}

}



@media only screen and (min-width: 768px) and (max-width: 991px) {
    body, h1, h2, h3, p, ul, li {
        font-family: 'Roboto', sans-serif;
    }
    
    h1, h2, h3, p, ul {
        margin: 10px;
        padding: 5px;
    }
    
    h2, h3 {
        color: #333;
    }
    
    body {
        font-family: 'Roboto', sans-serif;
        /*position: fixed;*/
        background-color: #f8f8f8;
        /*top: 150px;*/
        /*padding-left: 300px;*/
    }
    
    .container {
        max-width: 1200px;
        margin: 10px;
        padding: 20px;
    }
    
    .header {
        background-color: #333;
        color: #fff;
        padding: 10px 0;
        text-align: center;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .menu {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .menu a {
        display: inline-block;
        margin: 0 15px;
        text-decoration: none;
        color: #ff6f00;
    }
    
    /* .navbar {
        background-color: #ff6f00;
        color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;

    }
    
    .navbar-list {
        list-style: none;
        display: flex;
        justify-content: right;
    }
    
    .navbar-item {
  
    }
    
    .navbar-item a {
        text-decoration: none;
        color: #fff;
        font-weight: bold;
    }
    
    .navbar-item a:hover {
        color: #000000;
    } */
    
    .content {
        /*top: 150px;*/
        /* left: 250px; */
        padding: 20px;
        background-color: #f8f8f8;
        /* position: fixed; */
        /* margin-top: 130px; */
        height: 100vh;
        /* max-height: calc(100vh - 150px); */
        overflow-y: auto;
    }
    
    .form-container {
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 5px;
    }
    
    .form-container form {
        margin: 0;
    }
    
    .teacher-list {
        list-style: none;
        padding: 0;
    }
    
    .teacher-list li {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        background-color: #fff;
    }
    
    .teacher-list li button {
        background-color: #ff5555;
        color: #fff;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
    }
    
    .teacher-list li button:hover {
        background-color: #ff6f00;
    }
    
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .form-container,
    .list-container {
        border: 1px solid #ccc;
        padding: 20px;
    }
    
    
    .age-category-toggle {
        cursor: pointer;
        font-weight: bold;
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 18px;
        color: #333;
    }
    
    .game-category-toggle {
        cursor: pointer;
        font-weight: bold;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 16px;
        color: #555;
    }
    
    .game {
        margin-left: 20px;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 16px;
        font-weight: bold;
        color: #777;
    }
    
    /* Style for student and team selects */
    .student-select,
    .team-select {
        width: 300px;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 5px;
        font-size: 14px;
    }
    
    .button[type="submit"] {
        background-color: #ff6f00;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        margin-top: 15px;
        transition: background-color 0.3s ease;
    }
    
    .button[type="submit"]:hover {
        background-color: #0056b3;
    }
    
    .select2-container .select2-selection--single .select2-selection__arrow {
        display: none;
    }
    
    .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-container {
        display: flex;
        margin-top: 80px;
    }
    
    .sidebar {
        height: 100vh;
        width: 220px;
        background-color: #333;
        color: white;
    }
    
    .sidebar ul {
        list-style: none;
        padding: 0;
    }
    
    .sidebar li {
        padding: 10px;
    }
    
    .sidebar a {
        text-decoration: none;
        color: #fff;
        font-size: 14px;
    }
    
    .sidebar a:hover {
        color: #ff6f00;
    }
    
    .game-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    
    .game-table th, .game-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }
    
    .game-table th {
        background-color: #f2f2f2;
    }
    
    .game-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }
    
    .game-table tr:hover {
        background-color: #ddd;
    }
    
    
    .delete-button {
        font-size: 24px;
        cursor: pointer;
    }
    
    .delete-button:hover {
        color: red;
    }
    
    .invisible-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .invisible-table td {
        border: none;
        padding: 5px;
    }
    
    
    .mySlides {
        display: none;
    }
    
    .resultslink {
        text-decoration: none;
        padding: 5px 30px;
        border: 3px solid buttonborder;
        border-radius: 7px;
        border-color: #ff6f00;
        color: black;
        background-color: white;
        text-decoration: none;
    }
    
    .resultslink:hover{
        color: #ff6f00;
    }
    
    #registration-message {
        display: none;
        text-align: center;
        background-color: #ff6f00;
        color: #fff;
        padding: 10px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

/* ДЕТалька новые стили !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 

.content26 {
    background-color: white;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.mainpage {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 60px;
}

.mainpage_part {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.orange_square {
    background: #FF742E;
    border-radius: 0px 40px 40px 0px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    color: white;
    width: 60%;
    height: 500px;
    display: flex;
    flex-direction: row; /* Горизонтальное расположение */
    align-items: center; /* Выравнивание по вертикали */
    justify-content: flex-start; /* Прижимаем к левому краю */
    position: relative;
    z-index: 3;
    padding: 30px 0; /* Убраны боковые padding'и */
}

.orange_square_logo {
    flex-shrink: 0; /* Чтобы логотип не сжимался */
    padding-left: 30px; /* Отступ от левого края экрана */
    margin-right: 25px; /* Отступ между логотипом и текстом */
    margin-top: -60px;
}

.orange_square_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1; /* Занимает оставшееся пространство */
    padding-right: 30px; /* Отступ справа */
}

.orange_square_text {
    color: #ffffff;
    margin-bottom: 30px;
}

.logo-image {
    max-width: 250px;
    margin-top: 0; /* Убрано отрицательное margin-top */
}

.text_1 {
    text-align: left;
    font-size: 32px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 32px;
}

.text_2 {
    margin-top: -10px;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


.btn-green {
    background-color: #FFFFFF;
    color: #FF742E;
    font-weight: 800;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    margin-left: -50px;
    cursor: pointer;
}

.robot-image-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.robot-image {
    height: 500px;
    max-width: 100%;
    object-fit: cover;
}

.telegram_link {
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 170px;
    margin-bottom: 30px;
}
.registry_link{
        margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 0;
    margin-top: 0px;
    margin-bottom: 30px;
}

.telegram_link_text {
    font-size: 26px;
    color: #494949;
    text-align: center;
}

.telegram_link_highlight {
    color: #FF5601;
    font-weight: bold;
    font-size: 26px;
}

.telegram_link_img {
    width: 60px;
    height: 60px;
}

.about_fest {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.description {
    text-align: center;
    padding: 60px 50px;
    font-size: 30px;
    max-width: 900px;
    margin: auto;
    color: #494949;
    margin-bottom: 50px;
}

.goal_competition {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    color: #494949;
    gap: 0px;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 90px;
    padding: 30px;
}

.goal-title {
    font-size: 30px;
    font-weight: bold;
    color: #494949;
    display: flex;
    width: 50%;
}

.goal-items {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.goal-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    gap: 20px;
}

.goal-item-text {
    color: #FF5601;
}

.goal-item-image {
    width: 30px;
    height: 30px;
}

.for_participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
}

.disciplines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 20px;   
}

.disciplines-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.disciplines-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 15px;
}

.disciplines-subtitle {
    font-size: 30px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 20px;
}

.buttons_schools {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.btn-school {
    background-color: transparent;
    color: #FF5601;
    border: 4px solid #FF5601;
    font-weight: 800;
    padding: 10px 10px;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    outline: none;  
    transition: background-color 0.3s, color 0.3s;
}

.btn-school:hover {
    color: white;
    background-color: #ff7a37;
    border-radius: 4px solid #ff7a37;
}

.btn-school:focus {
    color: white;
    background-color: #FF5601;
    border-radius: 4px solid #FF5601;
}

.btn-school.active {
    color: white;
    background-color: #FF5601;
    border-radius: 3px solid #FF5601;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.gray_square {
    background-color: #F2F2F2;
    padding: 20px 20px 40px;
    border-radius: 20px;
    /* box-shadow: 0px 8px 20px rgba(0,0,0,0.2); */
    color: #494949;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-bottom: 50px;
    max-width: 991px;
    margin-left: auto;
    margin-right: auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #494949;
    margin-bottom: 10px;
}

.category-item-content {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: 30px;
}

.category-item-subcontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 0px 20px;
    border-radius: 17px;
    width: 300px;
    font-family: 'Montserrat', sans-serif;
}

.category-item-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 17px;
    width: 300px;
}

.category-item-description {
    align-self: flex-start;
    color: #6e6e6e;
    font-size: 12px;
}

.category-item-participants {
    color: #6e6e6e;
    font-size: 13px;
}

.down-button {
    cursor: pointer;
    width: 30px;
}

.dop_info {
    font-size: 13px;
    color: #636363;
    text-align: center;
    margin-top: 20px;
    position: absolute;
    bottom: -40px;
    left: 34px;
}

.when_desktop {
    display: none;
}

.when_tablet {
    display: block;
}

.when_tablet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
}

.when-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 50px;
}

.accepting_applications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    color: #575757;
    padding: 0;
}

.holding_competitions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    color: #575757;
    padding: 0;
}

.green_tag {
    height: 370px;
    overflow: hidden;
    transform: translate(-159px, -77px);
    position: relative
}

.red_tag {
    overflow: hidden;
    height: 400px;
    transform: translate(224px, -53px);
}

.where {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 50px;
    gap: 30px;
}  

.where-map-icon {
    width: 65px;
    transform: translate(54px, -4px);
}

.where-text {
    text-align: center;
    width: 450px;
    color: #494949;
    margin-bottom: 20px;
}

.where-title {
    font-size: 25px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.where-address {
    font-size: 18px;
    font-weight: 400;

}

.where-map {
    border: 4px solid #FF5601;
    border-radius: 12px;
    width: 500px;
    height: 300px;
    margin-bottom: 30px;
}

.documents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.documents-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 30px;
}

.documents-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 0px;
    list-style-type: none;
}

.documents-item {
    color: #FF5601;
    padding: 10px 20px;
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: underline;
}

.arrow-icon {
    width: 15px;
    height: 15px;
    margin-left: 8px;
    vertical-align: baseline;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);   
}

.contacts-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #494949;
    margin: 30px;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contacts-item {
    font-size: 20px;
    font-weight: 500;
    color: #494949;
    text-decoration: none;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    width: 500px;
    text-align: center;
    margin-bottom: 70px;
}

.contacts-icon_1{
    width: 110px;
    position: absolute ;
    transform: translate(-230px, 9px);
}

.contacts-icon_2{
    width: 110px;
    position: absolute;
    transform: translate(450px, -217px);
}

.links {
    color: #FF5601;
    text-decoration: none;
    /* text-decoration: underline; */
}

.organizers {
    margin-bottom: 50px;
    display: block;
    width: 100%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
}

.organizers-title {
    margin-top: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #494949;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-slider {
    width: 991px;
    margin: 20px auto 120px;
}

.photo-slider img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;

}

.photo-slider .slick-slide {
  padding: 0 3px; /* Отступ слева и справа по 10px */
  box-sizing: border-box;
}
.photo-slider {
  margin: 0 -10px; /* Чтобы слайдер не разъехался из-за паддингов */
}

.photo-slider {
  width: 100%;
  max-width: 991px;
  margin: 20px auto 120px;
  box-sizing: border-box;
}

.photo-slider .slick-slide {
  display: flex !important;
  justify-content: center;
}

@media only screen and (max-width: 991px) {
  .photo-slider img {
    height: auto;
    max-height: 200px;
    width: 90%;
    margin: 0 auto;
  }
}


.footer-container {
    background-color: #494949;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);  
    padding: 20px 70px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    
}

.footer-text {
    font-size: 14px;
    color: #fff;
    margin: 0px;
    font-weight: 600;
}

.footer-text_2 {
    font-size: 20px;
    color: #fff;
    margin: 0px;
    font-weight: 800;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-icon {
    margin-top: 10px;
    width: 30px;
    cursor: pointer;
}

}



@media only screen and (max-width: 767px) {
    body, h1, h2, h3, p, ul, li {
        font-family: 'Roboto', sans-serif;
    }
    /* .footer_f {
        background-color: #333;
        text-align: center;
        padding: 40px;
        color: white;
        padding: 10px 0;
        width: 90%;
        height: auto;
        display: none;
    } */
    h1, h2, h3, p, ul, li {
        margin: 5px;
        padding: 5px;
    }

    h2, h3 {
        color: #333;
    }
    .msidebar {
        margin-top: 17%;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background-color: #ffffff;
    }

    .container {
        max-width: 100%;
        margin: 5px;
        padding: 10px;
    }

    .header {
        background-color: #333;
        color: #fff;
        padding: 10px 0;
        text-align: center;
    }

    .header h1 {
        font-size: 20px;
    }

    .menu {
        text-align: center;
        margin-bottom: 15px;
    }

    .menu a {
        display: inline-block;
        margin: 0 10px;
        text-decoration: none;
        color: #ff6f00;
    }

    /* .navbar {
        background-color: #ff6f00;
        color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .navbar-list {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    .navbar-item {
        margin: 0px;
    }

    .navbar-item a {
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        text-align: center;
    }

    .navbar-item a:hover {
        color: #000000;
    } */

    .content {
        left: 50;
        padding: 10px;
        background-color: #f8f8f8;
        margin-top: 80px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .form-container {
        background-color: #f9f9f9;
        padding: 15px;
        border-radius: 5px;
    }

    .teacher-list {
        list-style: none;
        padding: 0;
    }

    .teacher-list li {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        background-color: #fff;
    }

    .teacher-list li button {
        background-color: #ff5555;
        color: #fff;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
    }

    .teacher-list li button:hover {
        background-color: #ff6f00;
    }

    .grid-container {
        display: block;
    }

    .form-container,
    .list-container {
        border: 1px solid #ccc;
        padding: 15px;
    }

    .age-category-toggle {
        cursor: pointer;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 16px;
        color: #333;
    }

    .game-category-toggle {
        cursor: pointer;
        font-weight: bold;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 14px;
        color: #555;
    }

    .game {
        margin-left: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: bold;
        color: #777;
    }

    .student-select,
    .team-select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 5px;
        font-size: 14px;
    }

    .button[type="submit"] {
        background-color: #ff6f00;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }

    .button[type="submit"]:hover {
        background-color: #0056b3;
    }

    .select2-container .select2-selection--single .select2-selection__arrow {
        display: none;
    }

    .dashboard-container {
        display: block;
        margin-top: 90px;
    }

    .sidebar {
        position: static;
        width: 100%;
        background-color: #333;
        color: white;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
    }

    .sidebar li {
        padding: 10px;
    }

    .sidebar a {
        text-decoration: none;
        color: #fff;
    }

    .sidebar a:hover {
        color: #ff6f00;
    }

    .game-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .game-table th, .game-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .game-table th {
        background-color: #f2f2f2;
    }

    .game-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .game-table tr:hover {
        background-color: #ddd;
    }

    .delete-button {
        font-size: 20px;
        cursor: pointer;
    }

    .delete-button:hover {
        color: red;
    }

    .invisible-table {
        width: 100%;
        border-collapse: collapse;
    }

    .invisible-table td {
        border: none;
        padding: 5px;
    }

    .mySlides {
        display: none;
    }

    .resultslink {
        text-decoration: none;
        padding: 5px 2px;
        border: 2px solid #ff6f00;
        border-radius: 7px;
        color: #ff6f00;
        background-color: white;
    }

    .resultslink:hover {
        color: #ff6f00;
    }

.linksbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.minsvetimg{
    width: 100%;
}

    #registration-message {
        display: none;
        text-align: center;
        background-color: #ff6f00;
        color: #fff;
        padding: 10px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    /* ДЕТалька новые стили !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 

.content26 {
    background-color: white;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.mainpage {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
}

.mainpage_part {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 30px;
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.orange_square {
    background: #FF742E;
    border-radius: 0px, 0px, 20%, 20%;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    color: white;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column; /* Горизонтальное расположение */
    align-items: center; /* Выравнивание по вертикали */
    text-align: center;
    justify-content: flex-start; /* Прижимаем к левому краю */
    position: relative;
    z-index: 3;
    padding: 30px 20px; /* Убраны боковые padding'и */
}

.orange_square_logo {
    padding-left: 0;
    padding-right: 0;
    flex-shrink: 0; /* Чтобы логотип не сжимался */
    padding-left: 50px; /* Отступ от левого края экрана */
    margin-right: 40px; /* Отступ между логотипом и текстом */
    margin-top: 0;
    margin-bottom: 20px;
}

.orange_square_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Занимает оставшееся пространство */
    padding-right: 0; /* Отступ справа */
}

.orange_square_text {
    color: #ffffff;
    margin-bottom: 20px;
}

.logo-image {
    max-width: 200px;
    margin-top: 0; /* Убрано отрицательное margin-top */
}

.text_1 {
    text-align: left;
    font-size: 28px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 28px;
    text-align: center;
}

.text_2 {
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


.btn-green {
    background-color: #FFFFFF;
    color: #FF742E;
    font-weight: 800;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}

.robot-image-container {
    position: relative;
    right: 0;
    top: auto;
    transform: none;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.robot-image {
    height: 300px;
    width: 100%;
    object-fit: contain;
}


.telegram_link {
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}
.registry_link{
        margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 0;
    margin-top: 0px;
    margin-bottom: 30px;
}
.telegram_link_text {
    font-size: clamp(1rem, 2.7vw, 18px);
    font-weight: 600;
    color: #494949;
    text-align: center;
}

.telegram_link_highlight {
    color: #FF5601;
    font-weight: 600;
    font-size: clamp(1rem, 2.7vw, 18px);
}

.telegram_link_img {
    width: 50px;
    height: 50px;
}

.about_fest {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.description {
    text-align: center;
    padding: min(2em, 3%);
    font-size: clamp(0.7rem, 4vw, 20px);
    max-width: 900px;
    margin: auto;
    color: #494949;
    margin-bottom: 50px;
}

.goal_competition {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    color: #494949;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 30px;
    padding: min(1em, 3%);
}

.goal-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #494949;
    display: flex;
    /* width: 50%; */
    margin-bottom: 10px;
}

.goal-items {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.goal-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: clamp(0.7rem, 3vw, 18px);
    gap: 10px;
    text-align: start;
}

.goal-item-text {
    color: #FF5601;
}

.goal-item-image {
    width: 30px;
    height: 30px;
}

.for_participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
}

.disciplines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 0;
    margin-bottom: 20px;   
}

.disciplines-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.disciplines-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 40px);
    font-weight: bold;
    color: #494949;
    margin-bottom: 8px;
}

.disciplines-subtitle {
    font-size: clamp(1rem, 4vw, 25px);
    font-weight: bold;
    color: #494949;
    margin-bottom: 30px;
}

.buttons_schools {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-school {
    background-color: transparent;
    color: #FF5601;
    border: 4px solid #FF5601;
    font-weight: 800;
    padding: 6px 8px;
    border-radius: 12px;
    font-size: clamp(1rem, 5vw, 18px);
    width: 300px;
    cursor: pointer;
    outline: none;  
    transition: background-color 0.3s, color 0.3s;
}

.btn-school:hover {
    color: white;
    background-color: #ff7a37;
    border-radius: 4px solid #ff7a37;
}

.btn-school:focus {
    color: white;
    background-color: #FF5601;
    border-radius: 4px solid #FF5601;
}

.btn-school.active {
    color: white;
    background-color: #FF5601;
    border-radius: 3px solid #FF5601;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.gray_square {
    background-color: #F2F2F2;
    padding: 20px 20px 40px;
    border-radius: 20px;
    /* box-shadow: 0px 8px 20px rgba(0,0,0,0.2); */
    color: #494949;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-bottom: 50px;
    max-width: 767px;
    margin-left: auto;
    margin-right: auto;
}
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #494949;
    margin-bottom: 20px;
}

.category-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-item-subcontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: clamp(1rem, 5vw, 10px);
    width: clamp(200px, 70vw, 600px);
    font-family: 'Montserrat', sans-serif;
}

.category-item-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 0px 10px;
    border-radius: 17px;
    width: clamp(200px, 70vw, 600px);
}

.category-item-description {
    align-self: flex-start;
    color: #6e6e6e;
    font-size: 12px;
}

.category-item-participants {
    color: #6e6e6e;
    font-size: 13px;
}

.down-button {
    cursor: pointer;
    width: 30px;
}

.dop_info {
    font-size: 13px;
    color: #636363;
    text-align: center;
    margin-top: 20px;
    position: absolute;
    bottom: -60px;
    left: 34px;
}

.when_desktop {
    display: none;
}

.when_tablet {
    display: block;
}

.when_tablet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
}

.when-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 40px);
    font-weight: bold;
    color: #494949;
    margin-bottom: 20px;
}

.accepting_applications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 5vw, 30px);
    font-weight: 600;
    color: #575757;
    padding: 0;
}

.holding_competitions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 5vw, 30px);
    font-weight: 600;
    color: #575757;
    padding: 0;
}

.green_tag {
    height: clamp(250px, 55vw, 370px);
    overflow: hidden;
    transform: translate(-64px, -41px);
    position: relative
}

.red_tag {
    overflow: hidden;
    height: clamp(270px, 55vw, 370px);
    transform: translate(139px, -53px);
}

.where {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    padding: 30px 20px;
    margin-bottom: 30px;
    gap: 30px;
}  

.where-map-icon {
    display: none;
    /* width: clamp(14px, 55vw, 25px); */
    /* transform: translate(54px, -4px); */
}

.where-text {
    text-align: center;
    width: 80%;
    color: #494949;
    margin-bottom: 10px;
}

.where-title {
    font-size: clamp(20px, 10vw, 20px);
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
}

.where-address {
    font-size: clamp(0.7rem, 3vw, 18px);
    font-weight: 400;

}

.where-map {
    border: 4px solid #FF5601;
    border-radius: 12px;
    width: 300px;
    height: 200px;
    margin-bottom: 4px;
}

.documents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.documents-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 40px);
    font-weight: bold;
    color: #494949;
    margin-bottom: 30px;
}

.documents-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 0px;
    list-style-type: none;
}

.documents-item {
    color: #FF5601;
    padding: 10px 20px;
    width: 300px;
    font-size: clamp(14px, 6vw, 20px);
    font-weight: 500;
    text-decoration: underline;
    margin: 0;
}

.arrow-icon {
    width: 15px;
    height: 15px;
    margin-left: 8px;
    vertical-align: baseline;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 30px 30px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);   
}

.contacts-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 40px);
    font-weight: bold;
    color: #494949;
    margin: 0px;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 20px; */
}

.contacts-item {
    font-size: clamp(0.7rem, 3vw, 18px);
    font-weight: 500;
    color: #494949;
    text-decoration: none;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    /* width: 250px; */
    text-align: center;
    margin-bottom: 20px;
}

.contacts-icon_1{
    width: 40px;
    display: none;
    /* transform: translate(-230px, 9px); */
}

.contacts-icon_2{
    width: 40px;
    display: none;
    /* transform: translate(0px, -217px); */
}

.links {
    color: #FF5601;
    text-decoration: none;
    /* text-decoration: underline; */
}

.organizers {
    margin-bottom: 10px;
    display: block;
    width: 100%;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
}

.organizers-title {
    margin-top: 10px;
    font-size: clamp(0.7rem, 3vw, 18px);
    font-weight: 500;
    color: #494949;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.photo-slider {
  width: 100%;
  max-width: 767px;
  margin: 20px auto 120px;
  box-sizing: border-box;
}

.photo-slider img {
    width: auto;
    height: 250px;
    display: block;
    border-radius: 14px;
    object-fit: cover;

}

.photo-slider .slick-slide {
  display: flex !important;
  justify-content: center;
}

@media only screen and (max-width: 767px) {
  .photo-slider img {
    height: auto;
    max-height: 250px;
    width: 90%;
    margin: 0 auto;
  }
}

.photo-slider .slick-slide {
  padding: 0 10px; /* Отступ слева и справа по 10px */
  box-sizing: border-box;
}
.photo-slider {
  margin: 0 -10px; /* Чтобы слайдер не разъехался из-за паддингов */
}

.footer-container {
    background-color: #494949;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);  
    padding: 15px 10px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    
}

.footer-text {
    font-size: clamp(0.1rem, 2vw, 14px);
    color: #fff;
    margin: 0px;
    font-weight: 600;
}

.footer-text_2 {
    font-size: 12px;
    color: #fff;
    margin: 0px;
    font-weight: 800;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-icon {
    margin-top: 14px;
    width: 14px;
    cursor: pointer;
}
}



@media only screen and (min-width: 768px) {
    .dashboard-container .desktop {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .dashboard-container .desktop {
        display: none;
    }
}


/* !!!!!!!!!!!!!!!!!!!!!!!!!!     НАВБАР      !!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

.navnar_desktop, .navbar_mobile {
    display: none;
}

@media only screen and (min-width: 768px) {
    .navnar_desktop {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .navbar_mobile {
        display: block;
    }
}

.navnar_desktop {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.1);
    z-index: 100;
    width: 100%;
    background-color: #ffffff;
}

.navbar-inner {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.navbar-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.navbar-link {
    color: #494949;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0;
    padding: 0;
}

.navbar-link:hover {
    color: #FF5601;
}

.navbar-dropdown {
    position: relative;
}

.navbar-dropbtn {
    color: #494949;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;                /* выравнивание стрелки и текста */
    align-items: center;
    gap: 8px; 
    padding: 10px 5px;
}

.navbar-dropbtn:hover {
    color: #FF5601;
} 

.navbar-btn {
    border: 2px solid #FF5601;
    color: #FF5601;
    background: #fff;
    border-radius: 10px;
    padding: 6px 24px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.navbar-btn:hover {
    color: #fff;
    background: #FF5601;
}

.navbar-btn--filled {
    color: #fff;
    background: #FF5601;
}

.navbar-btn--filled:hover {
    color: #FF5601;
    background: #fff;
}

.navbar-dropdown-content {
    display: none;
}

.navbar-dropdown.open .navbar-dropdown-content {
    display: block;
}

.navbar-dropdown-content {
    position: absolute;
    top: 45px;
    left: -10px;
    min-width: 200px;
    background: #fff;
    border: 2px solid #FF5601;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    z-index: 110;
    flex-direction: column;
    padding: 16px 0;
}
.navbar-dropdown.open {
    display: flex;
    flex-direction: column;
}
.navbar-dropdown-content a {
    color: #494949;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 20px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: block;
    text-align: center;
}

.navbar-dropdown-content a:hover {
    color: #FF5601;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

.profile-content {
    display: none;
}

.navbar-dropdown.open .profile-content {
    display: block;
}

.profile-content {
    position: absolute;
    top: 45px;
    left: -6px;
    min-width: 170px;
    background: #fff;
    border: 2px solid #FF5601;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    z-index: 110;
    flex-direction: column;
    padding: 10px 0;
}

.profile-content_cor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* .profile-content a {
    color: #494949;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 20px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: block;
    text-align: center;
} */
.profile-username {
    color: #494949;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}
.profile-logout {
    color: #FF5601;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}
.profile-content a:hover {
    color: #FF5601;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

@media only screen and (min-width: 767px) and (max-width: 1036px) {
.navbar-inner {
    padding: 10px;
}
.navbar-links {
    gap: 18px;
    margin: 0;
}
.navbar-link {
    color: #494949;
    font-size: 16px;
    font-weight: 500;
}
.navbar-dropbtn {
    color: #494949;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}
.navbar-btn {
    border: 2px solid #FF5601;
    color: #FF5601;
    background: #fff;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;

}
.navbar-btn--filled {
    color: #fff;
    background: #FF5601;
}
.profile-content {
    position: absolute;
    top: 45px;
    left: -50px;
}
.profile-username {
    color: #494949;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.profile-logout {
    color: #FF5601;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.profile-content a:hover {
    color: #FF5601;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.navbar-dropdown-content {
    position: absolute;
    top: 45px;
    left: -10px;
    min-width: 170px;
    background: #fff;
    border: 2px solid #FF5601;
    border-radius: 10px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    z-index: 110;
    flex-direction: column;
    padding: 10px 0;
}

.navbar-dropdown-content a {
    color: #494949;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: block;
    text-align: center;
}

.navbar-dropdown-content a:hover {
    color: #FF5601;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

}

/* !!!!!!!!   МОБИЛЬНЫЙ НАВ   !!!!!!!!!! */

.navbar_mobile {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.1);
    z-index: 100;
    width: 100%;
    background-color: #ffffff;
    height: 80px;
}

.header-content_mob {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.header-icons_mob {
    display: flex;
        align-items: center;
        gap: 24px;
}
.profile-btn_mob {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.profile-icon_mob {
    width: 30px;
    height: 30px;
    background: #fff;
    object-fit: cover;
}
.burger-btn_mob {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 0 0 10px;
    height: 36px;
    width: 36px;
}
.burger-lines_mob {
    display: block;
    width: 30px;
    height: 4px;
    background: #FF5601;
    border-radius: 2px;
}

.burger-menu_mob {
    display: none;
}

.profile-content.open {
    display: flex;
    flex-direction: column;
}

.profile-dropdown_mob {
    position: absolute;
    top: 44px;
    left: -136px;
    width: 200px;
    background: #fff;
    border: 2px solid #FF5601;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    z-index: 110;
    flex-direction: column;
    padding: 10px 0;
    color: #FF5601;
}

/* .profile-dropdown_mob a{
    color: #FF5601;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;

} */

/* .profile-dropdown_mob a:hover{
    color: #FF5601;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
} */

.login-btn_mob {
    text-align: end;
    text-decoration: none;
    font-size: 16px;
    color: #FF5601;
    font-weight: 600;
}

.login_btm_mob_item {
    text-align: end;
}

.register-btn_mob {
    color: #ffffff;
    background-color: #FF5601;
    border: 2px solid #FF5601;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    padding: 2px 10px;
}

.register-btn_mob:hover {
    color: #FF5601;
    background-color: #fff;
}

@media only screen and (max-width: 767px) {
    .profile-content a:hover {
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
}
}

.profile-dropdown_mob.open {
    display: flex;
}


.burger-menu_mob {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 340px;
    height: 100vh;
    background: #494949;
    box-shadow: -4px 0 24px 0 rgba(0,0,0,0.18);
    z-index: 1200;
    padding-top: 40px;
    flex-direction: column;
    margin: 0;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 15px;
    padding: 30px 40px;
}

.mobile-menu a {
    text-align: end;
    color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
}

.burger-menu_mob.open {
    display: flex;
}

.overlay_mob {
    display: none;
    position: fixed;
    z-index: 1199;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,30,30,0.85);
    transition: opacity 0.3s;
}
.overlay_mob.active {
    display: block;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
    padding: 2px 5px;
}

.edit-button:hover {
    background-color: #f0f0f0;
    border-radius: 3px;
}

.delete-button {
    display: inline-block;
    cursor: pointer;
    color: red;
    font-size: 16px;
    padding: 2px 5px;
}

.delete-button:hover {
    background-color: #ffe6e6;
    border-radius: 3px;
}
