
body, html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --black: #2c2c2c
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
}

.container  {
    width: 75vw;
    margin: 0 auto;
}

section {
    padding-top: 140px;
}

.home h2 {
    font-size: 36px;
    margin: unset;
}

h2 {
    font-size: 26px;
    color: var(--black);
    margin: 30px 0 10px;
}

h1 {
    color: var(--black);
}

h3 {
    color: var(--black);
    letter-spacing: 1px;
}

.home h1 {
    color: white;
}

p {
    font-size: 18px;
    color: var(--black);
    line-height: 1.6;
}

section ul {
    list-style-position: inside;
    margin-left: 20px;
}

.link {
    color: #0099ff;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 8px;
    display: inline-block;
}

a:hover {
    opacity: .6;
}

.mainButton {
    display: flex;
    font-size: 16px;
    border: none;
    align-items: center;
    padding: 6px 6px 6px 35px;
    gap: 15px;
    border-radius: 100px;
    cursor: pointer;
    background-color: white;
    transition: .2s;
}

.top-section .mainButton span {
    color: var(--black);
}

.mainButton:hover {
    scale: 103%;
}

.mainButton:hover .img {
   scale: 110%;
}

.mainButton .img {
    height: 40px;
    width: 40px;
    background-color: black;
    padding: 10px;
    border-radius: 100px;
    transition: .2s;
}

.badge {
    background-color: #f3f3f3;
    border: 1px #c7c7c7 solid;
    border-radius: 100px;
    padding: 4px 24px;
    color: #2c2c2c;
    margin-bottom: 16px;
    display: inline-block;
}

.top-section {
    background-image: url("../src/images/background.webp");
    background-size: cover;
    background-position: center;
    height: 85vh;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.top-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 52 78 / 20%);
    z-index: 1;
}

.top-section > * {
    position: relative;
    z-index: 2;
}

.top-section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(1.1) blur(10px);
    -webkit-backdrop-filter: blur(8px);
}

.top-section .container {
   padding-top: 16vh;
}

.top-section h1 {
    font-size: 120px;
    line-height: 1.2;
}

.top-section button {
    margin: 50px 0;
}

.number-stats {
    display: flex;
    gap: 50px;
}

.number-stats > div > div {
    display: flex;
    align-items: start;
}

.number-stats > div .number {
    font-size: 3rem;
}

.number-stats > div .plus {
    font-size: 35px;
}

.category-section {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    padding-top: 50px;
}

.category-section > div {
    background-color: #0e6e87;
    padding: 50px 40px;
    position: relative;
    color: white;
    border-radius: 30px;
    aspect-ratio: 1 / 0.9;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: .3s;
}

.category-section > div:hover {
   scale: 102%;
}

.category-section > div:hover button  {
    scale: 120%;
}

.category-section > div::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 70%;

    mask: linear-gradient(transparent, black);
    backdrop-filter: blur(6px);

    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 72, 91, 0.40) 100%), rgba(217, 217, 217, 0.01);
}

.category-section > div > * {
    z-index: 1;
}

.category-section h2 {
    color: white;
    font-size: 40px;
    position: absolute;
    bottom: 30px;
    left: 20px;
    line-height: 1.2;
}

.category-section > div button {
    background-color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    height: 60px;
    width: 60px;
    padding: 10px;
    position: absolute;
    top: 30px;
    right: 30px;
    transition: .3s;
}

.category-1 {
    background-image: url("../src/images/82205f1f48984664c44a82d3db60eb4d.jpg");
}

.category-2 {
    background-image: url("../src/images/dRTz1HJS4fA7olYaHkSzAg57Uw.avif");
}

.category-3 {
    background-image: url("../src/images/LJ6ABMcw5Vr1gnTGQ82aAKswJI.avif");
}

.category-4 {
    background-image: url("../src/images/WhatsApp Image 2025-12-12 at 20.46.37.jpeg");
}

.event-container {
    max-width: 500px;
    width: 100%;
}

.event-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.arrows-container {
    display: flex;
    gap: 20px;
}

.arrows-container button {
    background-color: #F3F3F3;
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
}

.arrows-container button:disabled img {
    opacity: .4;
}

.arrows-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 20px;
    width: 20px;
}

.event-container.container {
    width: 800px;
}

.swiper-button-prev {
    transform: translateX(-20px);
}

.swiper {
    width: 100%;
    height: 280px;
    overflow: auto;
    margin-top: 20px;
}

.presentation-section {
    display: flex;
    gap: 32px;
    padding-bottom: 80px;
}

.presentation-section > div,
.presentation-section > img {
    flex: 1;
    max-width: 50%;
}

.presentation-section img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.presentation-section p {
    color: #2c2c2c;
    line-height: 1.4;
}

.presentation-section h2 {
    margin-bottom: 20px;
}

.presentation-section .number-stats {
    margin-top: 25px;
}

.committee-section {
    padding-top: 30px;
}

.committee-section table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}

.committee-section table tbody tr:nth-child(odd){
    background-color: #f8fafc;
}

.committee-section table td,
.committee-section table th {
    padding: 15px 10px;
}

.committee-section table tbody {
    font-weight: 300;
}

.committee-section table thead th {
    font-weight: 400;
}

.activity-section {
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}

.activity-section h2 {
    margin: 0 auto 50px auto;
    text-align: center;
    max-width: 600px;
}

.grid-container p {
    line-height: 1.2;
    margin-top: 10px;
}

.grid-container > div {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background-color: #f3f3f3;
    border-radius: 32px;
    padding: 40px 32px;
    text-align: left;
}

.grid-container .icon {
    background-color: white;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    padding: 16px;
}

.wall-section h2 {
    max-width: 750px;
    margin-bottom: 20px;
}

.wall-section > div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px 20px;
}

.wall-section > div > div {
    background-color: #f5f5f5;
    border-radius: 20px;
    overflow: hidden;
}

.wall-section .wall-img {
    height: 280px;
    background-size: cover;
    background-position: top;
}

.wall-section .wall-info {
    padding: 10px;
}

.wall-section .wall-info span {
    font-size: 25px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 600;
}

.wall-section .wall-info p {
    color: var(--black);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 300;
}

.wall-section h3 {
    margin: 20px 0 5px !important;
}

.wall-section .link {
    display: block;
    width: fit-content;
}

.calendar-section iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 20px;
}

.calendar-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-section h3 {
    margin: 20px 0 5px;
}

.sponsor-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sponsor-section .sponsor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 50px 200px;
    width: 80%;
    margin: 0 auto;
    align-items: center;
}

.sponsor-section .sponsor-grid img {
    width: 100%;
}

.sponsor-section .main-sponsor {
    max-width: 300px;
    margin: 0 auto 50px auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sponsor-section .main-sponsor img {
    width: 130%;
    margin-top: 10px;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-section > div {
    display: flex;
    gap: 30px;
}

.contact-section > div > div {
    flex: 1;
}

.contact-section > div > div > span {
    margin: 30px 0 10px;
    font-size: 20px;
    display: inline-block;
    font-weight: 600;
}

.contact-section > div > div > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-section a {
    text-decoration: none;
    color: #989898;
}

.contact-section > div > div > div > div {
    height: 50px;
    width: 50px;
    background-color: #f8f9fb;
    border-radius: 100px;
    padding: 16px;
}

.contact-section > div iframe {
    flex: 1;
    border-radius: 20px;
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.flex-img-container {
    display: flex;
    gap: 50px;
}

.flex-img-container > div {
    flex: 1;
    max-width: 50%;
}

.flex-img-container .image {
    background-position: center;
    background-size: cover;
    border-radius: 20px;
}

.location iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.school-levels-section .levels-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.school-levels-section .levels-container > div {
    background-color: #f3f3f3;
    border-radius: 32px;
    padding: 40px;
}

.school-levels-section .levels-container > div h3{
    font-size: 24px;
    margin-bottom: 10px;
}

.school-levels-section .levels-container > div p{
    font-size: 16px;
    line-height: 1.6;
}

.school-levels-section .title-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.school-levels-section .title-container hr {
    margin: 20px 0;
}





.aquabike-info h2 {
    margin-top: 50px;
}

.aquabike-benefits-section {
    text-align: center;
}

.equipment-section h2 {
   max-width: 750px;
}

.equipment-section strong {
    margin-top: 20px;
    display: inline-block;
    font-size: 22px;
}

.equipment-section i {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.reglement-section > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reglement-section a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
}

.reglement-section > div > a p {
    font-size: 24px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: black;
}

.reglement-section > p {
    margin-top: 30px;
    margin-left: 10px;
}

.reglement-section img {
    width: 30px;
}

footer {
    background-color: black;
    padding: 40px 0;
    margin-top: 150px;
}

footer p {
    color: white;
}

footer .container > div {
    display: flex;
    justify-content: space-between;
    color: #c7c7c7;
    gap: 50px;
    align-items: end;
}

footer .container > div .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

footer .container > div .logo img {
    height: 24px;
}

footer .footer-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

footer .footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

footer .footer-right > div {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

footer .footer-right > div > a {
    height: 50px;
    width: 50px;
    background-color: #2c2c2c;
    border-radius: 100px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .footer-right > div > a img {
    height: 18px;
    width: auto;
}

footer a {
    color: #c7c7c7;
    text-decoration: none;
}

footer .made {
    text-align: center;
    color: #c7c7c7;
    font-size: 14px;
    margin-top: 60px;
}

footer .made a {
    text-decoration: underline;
}



header {
    background-color: #41414180;
    position: fixed;
    padding: 6px 6px 6px 20px !important;
    z-index: 3;
    right: 50%;
    transform: translateX(50%);
    border-radius: 100px;
    backdrop-filter: blur(15px);
    top: 10px;
    transition: .3s;
}

header a > img {
    height: 40px;
    padding: 5px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .move {
    transform: translateX(0) !important;
    display: flex;
}

header .menu_btn {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    appearance: none;
    display: none;
    outline: none;
    cursor: pointer;
}

header ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    transition: .3s;
    margin: 0 !important;
}

header .menu_btn span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 5px;
}

header ul a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px !important;
}

header ul a:hover {
    color: #ffffff;
}

header .mainButton {
    background-color: #0e6e87;
    color: white;
}

header .mainButton .img {
    background-color: white;
}

header .header-section {
    position: relative;
}

header .header-section span {
    display: flex;
    align-items: center;
    cursor: default;
    color: white;
    justify-content: center;
}

header .header-section span img {
    height: 25px;
}

header .header-section ul {
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

header .header-section ul a {
    color: black;
    white-space: normal;
}

header .header-section:hover .header-section-container {
    display: block;
}

header .header-section:hover span img {
    transform: rotate(-180deg);
    transition: .2s;
}

header .header-section:not(:hover) span img {
    transform: rotate(0deg);
    transition: .2s;
}

.header-container a {
    display: flex;
    align-items: center;
}

header .header-section-container {
    background-color: white;
    position: absolute;
    display: none;
    border-radius: 15px;
    padding: 15px;
}

.table-wrapper {
    overflow-x: auto;
}

.schedules-table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

.schedules-table :is(th, td) {
    border: 1px solid #b0b0b0;
    padding: 6px 10px;
}

.schedules-table th {
    font-weight: bold;
}

.schedules-table .off {
    color: #888;
    font-style: italic;
}






.images-grid-container {
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 50px 20px;
    width: 100%;
}

.images-grid-container > div img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

.images-grid-container span {
    font-size: 25px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 600;
}

.images-grid-container p {
    color: var(--black);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}








@media screen and (max-width: 992px) {
    header {
        padding: 0;
    }

    header .header-container {
        padding: 8px 20px;
    }

    header nav {
        padding-inline: 20px;
    }

    header ul {
        flex-direction: column;
        justify-content: flex-start;
        background-color: rgba(22, 115, 171);
        width: 250px;
        height: 100vh;
        display: none;
        position: fixed;
        right: 0;
        top: -10px;
        z-index: 1;
        transform: translateX(140%);
        padding: 100px 0 0 25px;
        transition: 0.3s;
        gap: 20px;
        align-items: start;
    }

    header .menu_btn {
        z-index: 1000;
        display: block;
    }

    header .menu_btn > span {
        z-index: 1000;
        display: block;
        margin-top: 5px;
    }

    header .menu_btn > span:first-child {
        margin-top: 0;
    }

    header .menu_btn.activeMenu > span:nth-child(2) {
        display: none;
    }

    header .menu_btn.activeMenu > span:nth-child(3) {
        width: 100%;
        transform: rotate(45deg) translateY(-5px);
    }

    header .menu_btn.activeMenu > span:nth-child(1) {
        transform: rotate(-45deg) translateY(5px);
    }

    header ul li:last-child > div {
        padding: 0;
    }

    header .header-section-container {
        width: max-content;
        position: relative;
        background-color: transparent;
        display: none;
        border-radius: 15px;
        padding: 15px 0;
    }

    header .header-section-container ul {
        all: unset;
        display: flex !important;
        flex-direction: column !important;
    }

    header .header-section-container ul li {
        width: fit-content;
        border-left: 1px rgba(255, 255, 255, 0.3) solid;
        padding: 10px 0 10px 15px;
    }

    header .header-section ul a {
        color: white;
    }

    header .header-section span {
        justify-content: start;
    }

    header ul .mainButton {
        background-color: white;
        color: black;
        margin-top: 50px;
    }

    header ul .mainButton .img {
        background-color: #1673ab;
    }

    header ul .mainButton img {
        filter: invert(1);
    }

    p {
        font-size: 16px;
    }

    section {
        padding-top: 80px;
    }

    .container {
        width: 100%;
        padding: 20px;
    }

    .home h2 {
        font-size: 28px;
    }

    h2 {
        margin-top: 0;
    }

    .top-section h1 {
        font-size: 50px;
    }

    .category-section {
        flex-direction: column;
        padding-top: 20px;
    }

    .category-section h2 {
        font-size: 40px;
    }

    .presentation-section {
        flex-direction: column;
    }

    .presentation-section > div, .presentation-section > img {
        max-width: 100%;
    }

    table {
        font-size: 10px;
    }

    .committee-section table td, .committee-section table th {
        padding: 10px 5px;
    }

    .wall-section .wall-img {
        height: 200px;
    }

    .wall-section .wall-info span {
        font-size: 18px;
    }

    .wall-section .wall-info p {
        font-size: 12px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }

    .grid-container > div {
        padding: 25px 20px;
    }

    .wall-section > div {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    .images-grid-container {
        gap: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px 10px;
        width: 100%;
    }

    .images-grid-container > div img {
        width: 100%;
        height: 200px;
        border-radius: 10px;
        object-fit: cover;
    }

    .images-grid-container span {
        font-size: 20px;
        margin-bottom: 10px;
        display: inline-block;
        font-weight: 600;
    }

    .images-grid-container p {
        color: var(--black);
        font-size: 16px;
        line-height: 1.4;
        font-weight: 300;
    }

    .images-grid-container a {
        font-size: 14px;
    }

    .calendar-section iframe {
        height: 400px;
    }

    .sponsor-section .sponsor-grid {
        margin: 0;
        width: 100%;
    }

    .sponsor-section .sponsor-grid {
        grid-gap: 50px 50px;
    }

    .contact-section > div {
        flex-direction: column;
    }

    footer {
        padding: 40px 0 20px;
        margin-top: 80px;
    }

    footer .container > div {
        display: block;
        gap: 30px;
    }

    footer .footer-right > div {
        justify-content: start;
        margin-top: 30px;
    }

    footer .footer-right {
        text-align: left;
    }

    footer .container > div .logo img {
        height: 36px;
    }

    footer .container > div .logo {
        font-size: 26px;
        gap: 20px;
        margin-bottom: 20px;
    }

    footer .footer-left {
        gap: 10px;
    }

    footer .made {
        margin-top: 40px;
    }

    .contact-section > div iframe {
        width: 100%;
    }

    .flex-img-container {
        flex-direction: column-reverse;
    }

    .flex-img-container > div, .flex-img-container > img {
        max-width: 100%;
    }

    .flex-img-container .image {
        height: 200px;
        min-height: 200px;
    }

    .school-levels-section .levels-container > div {
        padding: 30px;
    }

    .competition-teams-section {
        flex-direction: column;
    }
}