.hero_new {
  font-family: 'Press Start 2P', monospace;
  color: #fff;
  background-color: #0d0d0d;
  position: relative;
  width: 100%;
  height: 100vh;
}

#background_new {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content_new {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.title_new {
  font-size: 4rem;
  color: #00FFF7;
  letter-spacing: 4px;
}

.title_new span {
  display: block;
  font-size: 3.5rem;
  color: #00FFF7;
  margin-top: 0.5rem;
}

.subtitle_new {
  font-size: 1rem;
  margin-top: 1rem;
  color: #aaaaaa;
  letter-spacing: 2px;
}

.location {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #ff007a;
}

.register_new {
  background: none;
  border: 1px solid #00FFF7;
  color: #00FFF7;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.register_new:hover {
  background-color: #00FFF7;
  color: #0d0d0d;
} 












    body {
        margin: 0;
        padding: 0;
        --bg-color: #f5f9f8;
        --primary-color: #0d3a5b;
        --secondary-color: #eaeef1;
        --accent-color: #32a86b;
        font-family: "Nunito", sans-serif;
        background-color: var(--bg-color);
    }

    a {
        color: black;
        text-decoration: none;
    }

    h2, .title {
        -webkit-text-stroke: 2px black;
        color: transparent;
        font-size: 52px;
    }

    /* Header */
    header {
        width: 100%;
        position: fixed;
        top: 0;
        padding: 10px 10px; /* Уменьшена высота шапки */
        display: flex;
        justify-content: space-between;
        align-items: center; /* Центрирование элементов по вертикали */
        background: white;
        height: 60px; /* Установлена фиксированная высота, можно настроить по необходимости */
        z-index: 1000; /* Увеличен z-index для предотвращения перекрытия */
    }

    .header-logo {
        display: flex;
        align-items: center; /* Центрирование логотипа и текста по вертикали */
        font-family: 'Montserrat', sans-serif;
        color: #3756fa;
    }

    .header-logo img, .footer-logo img {
        height: 60px;
        margin-right: 15px;
        /* Обеспечиваем одинаковый шрифт для логотипа и ссылки */
    }

    .sidebar {
        padding-right: 30px;
    }

    .sidebar i {
        display: none;
        cursor: pointer;
    }

    .sidebar-menu {
        display: none;
        position: fixed;
        top: 60px; /* Соответствует уменьшенной высоте шапки */
        right: 0;
        width: 200px;
        background: white;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        padding: 20px;
        height: 100%;
    }

    .sidebar-list li {
        list-style: none;
    }

    .laptop, .sidebar-list li a {
        position: relative;
        font-family: "Nunito", sans-serif; /* Устанавливаем одинаковый шрифт */
        font-size: 16px; /* Можно настроить размер шрифта по необходимости */
    }

    .laptop::after, .sidebar-list li a::after {
        content: '';
        width: 0;
        height: 3px;
        background: var(--accent-color);
        left: 0;
        bottom: -6px;
        transition: 0.5s;
        position: absolute;
    }

    .laptop:hover::after, .sidebar-list li a:hover::after {
        width: 100%;
    }

    /* Hero section */
    main {
        padding-top: 60px; 
    }

    #hero {
        position: relative;
        height: calc(100vh - 60px); 
        padding: 100px 50px 0px 50px;    
        text-align: center;
        background-image: url('images/hero.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        z-index: 1; /* Базовый z-index */
    }

    #hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgb(255 255 255 / 29%), rgb(255 255 255 / 70%));
        z-index: 1;
    }

    #hero h1 {
        position: relative;
        font-size: 40px;
        margin: 0;
        z-index: 2;
    }

    #hero p {
        font-size: 26px;
        font-weight: 800;
        position: relative;
        z-index: 2;
    }
    .action-btn-mini {
        padding: 7px 30px;
        border: none;
        border-radius: 10px;
        background-color: var(--primary-color);
        cursor: pointer;
        transition: all linear 0.1s;
        position: relative;
        z-index: 2; 
        font-size: 17px;
    }

    .action-btn {
        padding: 15px 30px;
        border: none;
        border-radius: 40px;
        background-color: var(--primary-color);
        cursor: pointer;
        transition: all linear 0.1s;
        position: relative;
        z-index: 2; 
    }

    .action-btn:hover {
        background-color: var(--accent-color);
    }

    .action-link {
        color: white;
        font-weight: 500;
    }
    .action-btn-white {
        background-color: var(--bg-color);
        color: var(--primary-color);
    }

    /* Information section */
    #information {
        text-align: center;
        margin: 50px 0;
        padding: 0 20px;
    }

    .wraper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        margin-bottom: 50px;
    }

    .container {
        background-color: var(--secondary-color);
        width: 300px;
        padding: 50px 20px;
        margin-top: 20px;
        border-radius: 10px;
    }
    .container-photo {
        width: 50%;
    }

    .container h4 {
        color: var(--primary-color);
        font-size: 24px;
        margin-bottom: 20px;
    }

    .container-info {
        height: 250px;
        margin-bottom: 10px;
        text-align: left;
    }

    .container p, .container li {
        font-size: 14px;
        color: #333;
    }

    .bold {
        font-weight: 700;
    }

    .container-link {
        position: relative;
        text-align: center;
        display: inline-block;
        margin-top: 10px;
    }

    .container-link::after {
        content: '';
        width: 0;
        height: 3px;
        background: var(--accent-color);
        left: 0;
        bottom: -6px;
        transition: 0.5s;
        position: absolute;
    }

    .container-link:hover::after {
        width: 100%;
    }

    /* Goal section */
    .goal-bg {
        background-color: var(--primary-color);
        position: relative;
        top: 1px; 
        overflow: hidden;
        height: 100px;
        clip-path: polygon(0% 65%, 1% 64.95%, 2% 64.8%, 3% 64.6%, 4% 64.3%, 5% 63.9%, 6% 63.45%, 7% 62.9%, 8% 62.25%, 9% 61.55%, 10% 60.8%, 11% 59.95%, 12% 59.05%, 13% 58.1%, 14% 57.1%, 15% 56.05%, 16% 55%, 17% 53.9%, 18% 52.8%, 19% 51.65%, 20% 50.5%, 21% 49.35%, 22% 48.2%, 23% 47.05%, 24% 45.9%, 25% 44.8%, 26% 43.75%, 27% 42.75%, 28% 41.75%, 29% 40.8%, 30% 39.9%, 31% 39.1%, 32% 38.35%, 33% 37.65%, 34% 37.05%, 35% 36.5%, 36% 36.05%, 37% 35.65%, 38% 35.35%, 39% 35.15%, 40% 35.05%, 41% 35%, 42% 35.05%, 43% 35.2%, 44% 35.45%, 45% 35.75%, 46% 36.15%, 47% 36.65%, 48% 37.2%, 49% 37.85%, 50% 38.55%, 51% 39.35%, 52% 40.2%, 53% 41.1%, 54% 42.05%, 55% 43.05%, 56% 44.1%, 57% 45.15%, 58% 46.3%, 59% 47.4%, 60% 48.55%, 61% 49.7%, 62% 50.85%, 63% 52%, 64% 53.15%, 65% 54.25%, 66% 55.35%, 67% 56.4%, 68% 57.45%, 69% 58.4%, 70% 59.35%, 71% 60.2%, 72% 61.05%, 73% 61.8%, 74% 62.45%, 75% 63.05%, 76% 63.6%, 77% 64.05%, 78% 64.4%, 79% 64.7%, 80% 64.85%, 81% 65%, 82% 65%, 83% 64.9%, 84% 64.75%, 85% 64.5%, 86% 64.2%, 87% 63.75%, 88% 63.25%, 89% 62.7%, 90% 62.05%, 91% 61.3%, 92% 60.5%, 93% 59.65%, 94% 58.75%, 95% 57.8%, 96% 56.8%, 97% 55.75%, 98% 54.65%, 99% 53.55%, 100% 52.4%, 100% 100%, 0% 100%);
    }

    .wave-container {  
        height: 200px;
        background-color: var(--primary-color);
        position: relative;
        bottom: 24px;
    }

    .wave-container::before {   
        content: "";
        width: 100%;
        height: 130px;
        position: absolute;
        bottom: -0.3%;
        left: 0;
        background-size: auto;
        background-repeat: repeat no-repeat;
        background-position: 39vw bottom;
        background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 120' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 88L50 83C100 77 200 66 300 45C400 23 500 -9 600 2C700 12 800 66 900 88C1000 110 1100 99 1150 93L1200 88V120H1150C1100 120 1000 120 900 120C800 120 700 120 600 120C500 120 400 120 300 120C200 120 100 120 50 120H0V88Z' fill='%23f5f9f8'/></svg>");
    }

    @media(max-width:850px) {
        .wave-container::before {    
            height: 65px
        }  
    }

    #goal {
        background-color: var(--primary-color);
        color: white;
        font-size: 18px;
        padding: 0 20%;
    }

    #goal h2 {
        -webkit-text-stroke: 2px white;
        margin: 0;
        text-align: center;
    }
    .numbered {
        font-family: "Caveat", cursive;
        font-size: 36px;
        position: relative;
        padding: 20px;
    }
    .colored {
        font-weight: 800;
        color: var(--accent-color);
    }

    .quote {
        font-family: "Caveat", cursive;
        font-size: 36px;
        margin: 50px 0;
        /* Removed italic style */
        font-style: normal;
        position: relative;
        padding: 20px;
    }

    .quote::before, .quote::after {
        content: '"';
        font-size: 50px;
        color: var(--accent-color);
    }

    .quote::before {
        margin-right: 10px;
    }

    .quote::after {
        margin-left: 10px;
    }

    .quote p {
        display: inline;
    }

    /* Составители задач */
    #composers {
        text-align: center;
        padding: 50px 40px;
        background-color: var(--secondary-color);
    }

    .composers-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .composer-card {
        background-color: white;
        width: calc(33.333% - 60px);
        max-width: 300px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .composer-photo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .avg-photo {
        width: 100%;
        object-fit: cover;
        margin-bottom: 15px;
    }
    .composer-card h3 {
        font-size: 20px;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .composer-info {
        list-style: none;
        padding: 0;
        font-size: 14px;
        color: #555;
        text-align: left;
        width: 100%;
    }

    .composer-info li {
        margin-bottom: 5px;
    }

    /* Бесплатный Онлайн-Курс по Машинному Обучению */
    #ml-course {
        padding: 50px 20px;
        background-color: var(--bg-color);
        text-align: center;
    }

    /*#ml-course h2 {
        font-size: 36px;
        color: var(--primary-color);
        margin-bottom: 30px;
    }*/

    #ml-course p {
        font-size: 18px;
        color: #333;
        max-width: 800px;
        margin: 0 auto 40px auto;
    }

    .course-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .course-text {
        max-width: 800px;
        text-align: left;
    }

    .course-text h3 {
        font-size: 20px;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .course-text ul {
        list-style: disc inside;
        margin-bottom: 20px;
    }

    .course-text ul li {
        margin-bottom: 10px;
    }

    .course-image {
        width: 100%;
        max-width: 600px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
    }

    /* Links section */
    #links {
        text-align: center;
        padding: 50px 20px;
    }

    .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .box{
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        width: 200px; /* Уменьшен размер изображений */
        height: 200px; /* Установлена фиксированная высота для сохранения пропорций */
        margin-bottom: 20px;
    }

    .box img{
        width: 100%;
        height: 100%;
        display: block;
        transition: transform 0.5s;
    }

    .layer{
        width: 100%;
        height: 0;
        background: var(--accent-color);
        border-radius: 10px;
        position: absolute;
        left: 0;
        bottom: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        text-align: center;
        font-size: 14px;
        transition: height 0.5s;
    }

    .layer h3{
        font-weight: 800;
        font-size: 24px;
        margin-bottom: 20px;
        color: white;
    }

    .layer a{
        margin-top: 20px;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 18px;
        line-height: 60px;
        background: var(--accent-color);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .box:hover img{
        transform: scale(1.1);
    }

    .box:hover .layer{
        height: 100%;
    }

    /* Footer */
    footer {
        margin-top: 50px;
        padding: 50px;
        background-color: var(--secondary-color);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-logo {
        text-align: center;
    }

    footer h3 {
        font-size: 30px;
        margin-top: 0;
    }
    .footer-link{
        color: black;
    }

    .footer-content {
        display: flex;
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content .box {
        text-align: left;
    }

    .footer-content .box p {
        margin: 5px 0;
    }

    .footer-content .box a {
        color: var(--primary-color);
        text-decoration: underline;
    }

    /* Media query */

    @media (max-width: 767px) {
        body {
            font-size: 14px;
        }

        h2 {
            font-size: 36px;
            -webkit-text-stroke: 1px black;
        }

        h1 {
            font-size: 40px;
            color: black;
        }

        header {
            padding: 10px 5px;
            height: auto;
            align-items: center;
        }

        .header-logo img, .footer-logo img {
            width: 40px;
            height: 40px;
        }
        .laptop {
            display: none;
        }
        .sidebar {
            right: 20px;
        }
        .sidebar-list {
            flex-direction: column;
        }
        .sidebar i {
            display: block;
            font-size: 24px;
            color: var(--primary-color);
            padding-right: 10px;
        }
        .sidebar-menu.active, .sidebar-menu.active .sidebar-list {
            display: block;
        }

        .sidebar-list li {
            margin-bottom: 10px;
            font-weight: 600;
            font-size: 20px;
            cursor: pointer;
        }

        #hero {
            padding-top: 100px;
            height: auto;
        }

        #hero p {
            font-size: 18px;
        }

        .action-btn {
            padding: 10px 20px;
            font-size: 14px;
        }

        .wraper {
            flex-direction: column;
            align-items: center;
        }

        .container {
            width: 90%;
            margin: 10px 0;
        }

        .container h4 {
            font-size: 20px;
        }

        #goal {
            padding: 30px;
            font-size: 18px;
        }

        .quote {
            font-size: 28px;
            margin: 30px 0;
        }

        .composer-card {
            width: 90%;
        }

        #composers h2 {
            font-size: 28px;
        }

        #composers .composer-info li {
            font-size: 14px;
        }

        .course-text {
            text-align: center;
        }

        .course-text ul {
            text-align: left;
        }

        .course-image {
            width: 100%;
            max-width: 100%;
        }

        .flex {
            flex-direction: column;
            align-items: center;
        }

        .box {
            width: 90%;
            margin-bottom: 20px;
        }

        footer {
            flex-direction: column;
            align-items: start;
            text-align: center;
        }

        footer h3 {
            font-size: 24px;
        }

        .footer-content {
            flex-direction: column;
        }

        .goal-bg, .wave-container {
            height: 50px;
        }
        .wave-container::before {
            bottom: -12.3%;
        }
    }
#sponsors {
    text-align: center;
    padding: 0px 20px 50px 20px;
    background-color: white;
    display: flex;
    justify-content: center;
}
.sponsor-intro{
    max-width: 800px;
}

#sponsors h2 {
    margin-bottom: 20px;
}

#sponsors p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.sponsors-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsor-card {
    background-color: white;
    width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo {
    width: 200px;
    height: auto;
}

.sponsor-card p {
    font-size: 16px;
    color: #333;
}
