* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    font-style: normal;
    /*overflow-x: hidden;*/
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    padding-top: 60px; /* offset for fixed navbar */
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    color: #c93a14;
    font-size: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-style: italic;
}
/*background: linear-gradient(135deg, #c94b25, #e57046);*/
.nav-logo span {
    color: #f75f36;
    font-size: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    top: 100%;
    left: 0;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px;
    color: #000;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 55px; /* height of navbar */
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #1c68cc;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.show {
    right: 0;
}


.mobile-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.mobile-dropdown {
    cursor: pointer;
    color: white;
    font-weight: 600;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    margin-top: 5px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: flex;
}

.mobile-dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 5px 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.show {
        display: flex;
    }
}

#home {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home {
    height: calc(100vh - 45px);
    position: relative;
    width: 100%;
    background-image: url("home copy.jpg");
    transition: background-image 3s;
    background-repeat: repeat-x;
    background-size: cover;
    background-position: center;
    z-index: 0;
    top: 0;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}
#home::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark transparent layer */
    z-index: -1;
}
h1 {
    font-size: 50px;
    font-weight: 800;
    color: white;
}
@media screen and (max-width: 500px) {
    h1 {
        font-size: 28px;  /* smaller on phones */
        line-height: 1.2;
        word-break: break-word;
        padding: 0 10px; /* add breathing space */
    }
}

img {
    border-radius: 10px;
}
.menu {
    list-style-type: none;
}
#naslov {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ABOUT */
/* ABOUT */
#about {
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;   /* центрира хоризонтално */
    align-items: center;       /* центрира вертикално */
    padding: 40px;
}

#about .card {
    display: flex;
    align-items: center;       /* центрира текст + слика */
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

/* Лева колона (текст) */
#about .col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* центрира содржина по висина */
    align-items: flex-start;   /* текст останува лево */
}

/* Наслови */
#about h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1c68cc;
    margin-bottom: 20px;
}

#about h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1c68cc;
    margin-bottom: 20px;
}

/* Десна колона (слика) */
#about .img-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive за мобилни */
@media screen and (max-width: 500px) {
    #about .card {
        flex-direction: column;   /* текст над слика */
        text-align: center;
    }

    #about .col {
        align-items: center;      /* центрира текст во мобилен */
    }

    #about h1,
    #about h2 {
        text-align: center;
    }
}


/*NEWS*/
.news-grid {
    padding: 60px 20px;
    background: linear-gradient(to right, #1c68cc, black 50%, #1c68cc);
    text-align: center;
}

.news-grid h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.news-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 400px;
    height: auto;
    padding: 20px;
    transition: transform 0.3s ease;
}

.news-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.news-box h2 {
    color: #1c68cc;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.news-box p {
    font-size: 1em;
    color: #1c68cc;
}

.news-box button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #1c68cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.news-box:hover {
    transform: translateY(-5px);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.cool-button {
    background: linear-gradient(135deg, #001f3f, #0074D9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 15px #001f3f, 0 0 30px #0074D9;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cool-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
    transform: rotate(25deg);
    transition: 0.5s;
}

.cool-button:hover::before {
    top: -20%;
    left: -20%;
}

.cool-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #001f3f, 0 0 40px #0074D9;
}

.cool-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px #001f3f, 0 0 20px #0074D9;
}
/* Swimmer Cards Container */
.container-swimmers {
    width: 90%;
    margin: 0 auto;
    padding: 70px;

}

/* Title styling */
.container-swimmers h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #001f3f;
    margin-bottom: 40px;
}

/* Swimmer Cards container */
.swimmer-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px;
    flex-wrap: nowrap; /* Keeps all 5 in one line */

}

/* Normal swimmer cards */
.swimmer-card {
    background: white;
    border-radius: 15px;
    width: 300px; /* Normal card width */
    padding: 20px;
    transition: 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #001f3f, #0074D9);
    color: white;
}

/* Middle bigger card */
.swimmer-card.middle {
    width: 350px;       /* Bigger size */
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Swimmer image */
.swimmer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Hover effect */
.swimmer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* -------------------------
   RESPONSIVE DESIGN
   ------------------------- */

/* Tablets (under 1024px) */
@media (max-width: 1024px) {
    .swimmer-cards {
        gap: 20px;
    }

    .swimmer-card {
        width: 180px;
    }

    .swimmer-card.middle {
        width: 250px;
    }

    .swimmer-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {

    .swimmer-cards {
        flex-wrap: wrap;         /* allow stacking */
        justify-content: center;
        gap: 20px;
    }

    .swimmer-card {
        width: 100%;             /* each card full width */
        max-width: 350px;        /* prevents cards from being too wide */
    }

    .swimmer-card.middle {
        width: 100%;             /* still full width */
        max-width: 500px;        /* slightly bigger */
        transform: scale(1.03);  /* subtle size difference */
    }

    .swimmer-card img {
        height: 200px;           /* adjust for mobile */
    }
}

/* Small phones (under 480px) */
@media (max-width: 480px) {
    .swimmer-card img {
        height: 160px;
    }
}


/*!* Swimmer Cards Container *!*/
/*.container-swimmers {*/
/*    width: 90%;*/
/*    max-width: px;*/
/*    margin: 0 auto;*/
/*    padding: 70px;*/
/*    height: auto; !* Let height be flexible based on content *!*/
/*}*/

/*!* Title styling *!*/
/*.container-swimmers h1 {*/
/*    text-align: center;*/
/*    font-size: 3rem;*/
/*    font-weight: bold;*/
/*    color: #001f3f;*/
/*    margin-bottom: 40px;*/
/*}*/

/*!* Swimmer Cards container *!*/
/*.swimmer-cards {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 30px;*/
/*    align-items: center;*/
/*    padding: 30px;*/
/*    flex-wrap: nowrap; !* Ensures the layout stays in one line *!*/
/*}*/

/*!* Individual swimmer card styling *!*/
/*.swimmer-card {*/
/*    background: white;*/
/*    border-radius: 15px; !* Rounded corners like news box *!*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    width: 250px; !* Matching the width of news box *!*/
/*    padding: 20px;*/
/*    transition: transform 0.3s ease;*/
/*    text-align: center;*/
/*}*/

/*!* Swimmer image styling *!*/
/*.swimmer-card img {*/
/*    width: 100%;*/
/*    border-radius: 10px; !* Matching rounded corners *!*/
/*    margin-bottom: 15px;*/
/*    object-fit: cover;*/
/*    height: 250px;*/
/*}*/

/*!* Swimmer name and info *!*/
/*.swimmer-info {*/
/*    padding: 15px;*/
/*}*/

/*.swimmer-info h3 {*/
/*    font-size: 1.4em;*/
/*    color: #1c68cc; !* Matching color *!*/
/*    margin-bottom: 10px;*/
/*}*/

/*.swimmer-info p {*/
/*    font-size: 1em;*/
/*    color: #1c68cc; !* Matching color *!*/
/*}*/

/*!* Hover effect *!*/
/*.swimmer-card:hover {*/
/*    transform: translateY(-5px); !* Lift effect on hover *!*/
/*    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);*/
/*}*/

/*!* Styling for middle swimmer card *!*/
/*.swimmer-card.middle {*/
/*    transform: scale(1.1); !* Slightly bigger *!*/
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);*/
/*}*/

/* Modal Styles */
.modal {
    display: none; /* Ensure all modals are hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 800px;
    width: 80%;
}

.modal-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.close {
    color: #aaa;
    font-size: 28px;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}
@media (max-width: 768px) {
    .modal-content {
        width: 85% !important;
        margin: 30% auto !important;
        padding: 15px !important;
    }

    .modal-img {
        border-radius: 8px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 14px;
    }
}

/*!* Responsive Styles for Phone *!*/
/*@media screen and (max-width: 500px) {*/
/*    !* Reduce container padding *!*/
/*    .container-swimmers {*/
/*        padding: 20px 10px; !* Smaller top/bottom and sides padding *!*/
/*    }*/

/*    !* Swimmer Cards container *!*/
/*    .swimmer-cards {*/
/*        flex-wrap: wrap; !* Allow wrapping on smaller screens *!*/
/*        justify-content: space-around; !* Center items *!*/
/*        padding: 15px; !* Smaller padding around cards *!*/
/*    }*/

/*    !* Individual swimmer card styling *!*/
/*    .swimmer-card {*/
/*        width: 85%; !* Increase width for mobile *!*/
/*        margin-bottom: 20px; !* Space between stacked cards *!*/
/*        padding: 20px; !* Adjust padding for better fit *!*/
/*    }*/

/*    !* Swimmer image styling *!*/
/*    .swimmer-card img {*/
/*        height: 250px; !* Keep image height consistent *!*/
/*    }*/

/*    !* Swimmer name and info *!*/
/*    .swimmer-info h3 {*/
/*        font-size: 1.4rem; !* Adjust font size *!*/
/*    }*/

/*    .swimmer-info p {*/
/*        font-size: 1rem; !* Adjust font size *!*/
/*    }*/

/*    !* Styling for middle swimmer card *!*/
/*    .swimmer-card.middle {*/
/*        transform: scale(1); !* Remove scaling for middle card on mobile *!*/
/*        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); !* Standard shadow *!*/
/*    }*/
/*}*/




/* View More Button Styling */
.view-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.swim-but {
    background: linear-gradient(135deg, #001f3f, #0074D9);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.swim-but:hover {
    background-color: #005fa3;
}

.swim-but:active {
    background-color: #004a80;
}

/*ROTATING GALERY*/
.gallery-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 40px;
}

.row-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.row-wrapper::before,
.row-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.row-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.row-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.scroll-row {
    display: flex;
    width: fit-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.top-row .scroll-row {
    animation-name: scrollLeft;
    animation-duration: 55s;
}

.bottom-row .scroll-row {
    animation-name: scrollRight;
    animation-duration: 55s;
}

.scroll-row img {
    width: 350px;
    height: 250px;
    margin-right: 20px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
/*FOOTER*/
.footer {
    position: relative;
    background: linear-gradient(135deg, #001f3f, #0074D9);
    color: #fff;
    padding: 60px 20px 40px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('https://svgshare.com/i/xU7.svg') repeat-x;
    animation: wave 10s linear infinite;
    z-index: 1;
}

@keyframes wave {
    from { background-position-x: 0; }
    to { background-position-x: 1000px; }
}

/* MAIN FOOTER CONTAINER (kept exactly like your design) */
.footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    gap: 40px;
    text-align: center;
}

.footer h2 {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 10px;
}

.footer h3 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.footer p {
    color: #ccefff;
    margin: 10px 0;
}

.footer a {
    color: #ccefff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #00d4ff;
}

.footer-section {
    flex: 1 1 250px;
    max-width: 300px;
}

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

.footer-links ul li {
    margin: 8px 0;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #00d4ff;
    transform: scale(1.2);
}

.contact-info {
    color: #ccefff;
    line-height: 1.6;
}

/* BOTTOM FOOTER: MATCH MAIN FOOTER CONTAINER */
.footer-bottom {
    position: relative;
    z-index: 2;
    max-width: 1000px;       /* same width */
    margin: 40px auto 0;     /* centered like footer-container */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;               /* same spacing scale */
}

/* LEFT SIDE */
.footer-bottom-left {
    text-align: left;   /* match main footer section alignment */
}

.footer-slogan {
    color: #00d4ff;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.footer-rights {
    color: #ccefff;
    margin: 0;
    font-size: 0.9rem;
}

/* RIGHT SIDE */
.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Email row */
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mail-icon {
    width: 26px;
    height: 26px;
    filter: invert(100%) brightness(200%) saturate(0%);
}

/* Logos row */
.footer-logos {
    display: flex;
    gap: 15px;
}

.footer-logos img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: invert(100%) brightness(200%) saturate(0%);
    transition: transform 0.3s ease;
}

.footer-logos img:hover {
    transform: scale(1.12);
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-bottom-right {
        align-items: center;
    }
}


/* ---------BANER------------------- */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
#logos,
#logos * {
    overflow-x: visible;
}
#logos {
    height: 100px;

    display: flex;
    align-items: center;
    overflow: hidden;
    flex-wrap: nowrap;
    position: relative;
}
#logos:hover .logos-slide {
    animation-play-state: paused;
}
.logos-slide {
    display: flex;
    height: 100%;
    animation: 20s slide infinite linear;
    flex-wrap: nowrap;
    align-items: center;
}
.logos-slide a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-slide img {
    height: 70%;
    width: auto;
    border-radius: 0;
    margin: 0 60px;
}
#logos::before,
#logos::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}







.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cool-btn {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 180, 255, 0.5);
    transition: all 0.3s ease;
}

.cool-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 180, 255, 0.8);
    background: linear-gradient(135deg, #00d4ff, #007bff);
}


.sponsor-box {
    text-align: center;
    padding: 40px 0;
    background: #ffffff;
}

.sponsor-box h2 {
    color: #1c68cc;
    margin-bottom: 20px;
    font-size: 32px;
}

.sponsor-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.sponsor-card {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(28, 104, 204, 0.3);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.footer-left p {
    margin: 0;
    color: white;
    font-size: 15px;
}

.footer-right img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-left: 15px;
    filter: invert(100%) brightness(200%) saturate(0%);
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Desktop: lift section 200px */
#top-swimmers {
    margin-top: -200px;
}

/* Mobile: reset to normal spacing */
@media (max-width: 768px) {
    #top-swimmers {
        margin-top: 0;
    }
}
/* Desktop: lift section 200px */
#top-swimmers {
    margin-top: -200px;
}

/* Mobile: reset to normal spacing */
@media (max-width: 768px) {
    #top-swimmers {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    #about .card {
        flex-direction: column;
    }

    #about .img-wrapper img {
        width: 100%;
        height: auto;
    }
}



.slideshow img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}








