@import url("https://fonts.googleapis.com/css?family=Poppins:200,200,400,500,600,700,800,900&display=swap");
@font-face {
    font-family: "Copperplate";
    src: url("../font/Copperplate\ Gothic\ Heavy\ Regular.otf");
}
@font-face {
    font-family: "JuventusRegular";
    src: url("../font/Juventus\ Fans\ Regular.ttf");
}
@font-face {
    font-family: "JuventusBold";
    src: url("../font/Juventus\ Fans\ Bold.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 8vh;
    line-height: 60px;
    margin-bottom: 10px;
    margin-top: 20px;
}

p {
    font-weight: 400;
    color: #111;
}

section {
    padding: 10px;
}

/* === Banner === */

.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../img/training.jpg);
    background-size: cover;
    background-position: center;
}

.banner .content {
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.logo__container {
    display: flex;
    position: relative;
    width: 50vh;
    height: 50vh;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.animated_logo {
    z-index: 1;
    width: 72%;
    height: 72%;
}

.banner__logo {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: url(#wavy) blur(1px);
    z-index: 0;
}

.banner__logo::before {
    content: "";
    position: absolute;
    top: 5.9vh;
    left: 5.9vh;
    right: 6.7vh;
    bottom: 6.7vh;
    border: 30px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 0 30px #0f0,
        inset 0 0 30px #0f0;
    animation: animate 5s linear infinite;
}

.banner__logo::after {
    content: "";
    position: absolute;
    top: 5.9vh;
    left: 5.9vh;
    right: 6.7vh;
    bottom: 6.7vh;
    border: 30px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 0 10px #fff,
        inset 0 0 20px #fff;
    animation: animate 5s linear infinite;
}

.banner__logo:nth-child(2)::before {
    animation-delay: -2.5s;
}

@keyframes animate {
    0% {
        box-shadow:
            0 0 50px #0f0,
            inset 0 0 50px #0f0;
    }
    20% {
        box-shadow:
            0 0 60px #0f0,
            inset 0 0 50px #0f0;
    }
    40% {
        box-shadow:
            0 0 40px #0f0,
            inset 0 0 50px #0f0;
    }
    60% {
        box-shadow:
            0 0 80px #0f0,
            inset 0 0 50px #0f0;
    }
    80% {
        box-shadow:
            0 0 100px #0f0,
            inset 0 0 50px #0f0;
    }
    100% {
        box-shadow:
            0 0 50px #0f0,
            inset 0 0 50px #0f0;
    }
}

svg {
    width: 0;
    height: 0;
}

.banner .content {
    max-width: 1100px;
    text-align: center;
}

.banner .content h2 {
    font-size: 5em;
    color: #fff;
}

.banner .content p {
    font-size: 1.5em;
    color: #fff;
    font-weight: 600;
}

/* === Button === */

.btn {
    font-weight: 600;
    font-size: 1em;
    color: #fff;
    background: #01a91f;
    display: inline-block;
    padding: 10px 30px;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.5s;
    border-radius: 12px;
}

.btn:hover {
    letter-spacing: 6px;
}

/* === Header === */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 30px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

header.sticky {
    padding: 10px 100px;
    background: #fff;
    -moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

header .logo {
    width: 100%;
    height: 100%;
}

header .navigation {
    position: relative;
    display: flex;
}

header .navigation li {
    list-style: none;
    margin-left: 30px;
}

header .navigation li a {
    font-family: "Copperplate";
    font-size: 2vh;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

header.sticky .navigation li a {
    color: #000;
}

header .navigation li a:hover {
    color: #01a91f;
}

.nav__item {
    white-space: nowrap;
}

/* === Sponsors === */

.sponsors {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.sponsors__container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.scrolling__container {
    display: inline-flex;
    align-items: center;
    animation: scroll 30s linear infinite;
}

.scrolling__container .card {
    flex-shrink: 0;
    margin-right: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scrolling__container .card img {
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.scrolling__container .card:hover img {
    transform: scale(1.1);
}

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

.sponsors:hover .scrolling__container {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .scrolling__container .card {
        margin-right: 80px;
    }

    .scrolling__container .card img {
        max-width: 150px;
    }
}

.card {
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
    text-align: center;
}

.card img {
    max-width: 100%;
    border-radius: 8px;
}

/* === Team === */

.team__organization {
    background: url(../img/team_photo.jpg);
    background-size: cover;
    background-position: center;
    padding: 10px;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team__description {
    margin-top: 10px;
}

.white .team__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.white p {
    font-size: 1.5vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team__section {
    padding: 10px;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team__section h2 {
    font-family: "Copperplate";
    font-size: 3vh;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding-bottom: 10px;
}

.team__content {
    align-items: center;
    height: 200px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;

    /*box-shadow: 0 2px 40px rgba(3,74,40,.15);
    border-radius: 12px;*/

    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
        display: none;
    }
}

.team__content .card .box {
    width: 10.5em;
    height: 11em;
    margin: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 12px;
}

.team__content .card .box .img__box {
    position: relative;
    width: 7em;
    height: 7em;
    margin-bottom: 5px;
    border-radius: 12px;
    overflow: hidden;
}

.team__content .card .box .img__box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__content .card .box .description {
    font-size: 0.8em;
}

.team__content .card .box .number {
    font-family: "Copperplate";
    font-size: 1.2em;
}

/* === Location === */

.location {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.location__description {
    margin-top: 10px;
}

.black .location__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location .location__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
    padding: 0px 10px;
    max-width: 1200px;
    width: 100%;
}

.location .location__content .box {
    margin: 0px 20px;
    margin-bottom: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
    border-radius: 12px;
    box-shadow: 0 2px 40px rgba(3, 74, 40, 0.15);
    -moz-box-shadow: 0 2px 40px rgba(3, 74, 40, 0.15);
    -webkit-box-shadow: 0 2px 40px rgba(3, 74, 40, 0.15);
}

.map__address {
    margin: 40px 0px;
    width: 20em;
    text-align: center;
}

#map__container {
    max-width: 780px;
    width: 100%;
}

.map__container {
    max-width: 780px;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

#map {
    height: inherit;
    width: inherit;
    border-radius: 12px;
    position: relative;
    top: 0;
    bottom: 0;
}

/* === Calendar === */

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

.calendar__info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0px 60px;
}

.black .calendar__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.calendar .calendar__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
    padding: 0px 10px;
    max-width: 1400px;
    width: 100%;
}

.calendar .calendar__content .box {
    margin-bottom: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
}

#calendar__container {
    width: 750px;
    height: 530px;
}

/* === Table === */

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

.table__info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0px 60px;
}

.black .table__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.table .table__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
    padding: 0px 10px;
    max-width: 1500px;
    width: 100%;
}

.table .table__content .box {
    margin-bottom: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
}

#table__container {
    width: 800px;
    height: 580px;
}

/* === Top Scores === */

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

.top_scores__info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0px 60px;
}

.black .top_scores__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top_scores .top_scores__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
    padding: 0px 10px;
    max-width: 1800px;
    width: 100%;
}

.top_scores .top_scores__content .box {
    margin-bottom: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
}

#top_scores__container {
    width: 700px;
    height: 660px;
}

/* === Matches === */

.matches {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.last_match__info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0px 100px;
}

.next_match__info {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0px 60px;
}

.black .next_match__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 3vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black .last_match__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 3vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.matches .matches__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
    margin-right: 20px;
    padding: 0px 10px;
    max-width: 600px;
    width: 100%;
}

.matches .matches__content .box {
    margin-bottom: 20px;
    background: #fff;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
    display: flex;
}

#last_match__container {
    width: 600px;
    height: 320px;
    margin: 0px 20px;
}

#next_match__container {
    width: 600px;
    height: 260px;
    margin: 0px 20px;
}

/* === Tuttocampo === */

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-bottom: 10px;

    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
}

.tuttocampo__widget {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;

    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;

    -moz-box-shadow: 0 2px 40px rgba(3, 74, 40, 0.35);
    -webkit-box-shadow: 0 2px 40px rgba(3, 74, 40, 0.35);
    box-shadow: 0 2px 40px rgba(3, 74, 40, 0.35);
}

/* === Contact === */

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

.contact__description {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.black .contact__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.black p {
    font-size: 1.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === Footer === */

.footer {
    background: #000;
    margin-top: 60px;
    padding: 10px;
}

.footer .footer__text {
    text-align: center;
    justify-content: center;
    font-size: var(--small-font-size);
    color: #fff;
}

@media (max-width: 1391px) {
    header,
    header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 30px;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        padding: 10px 20px;
    }

    header .navigation {
        display: none;
    }

    header .navigation.active {
        width: 100%;
        height: calc(100% - 67px);
        position: fixed;
        top: 66px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: #fff;
    }

    header .navigation.active li {
        list-style: none;
        margin-left: 0px;
    }

    header .navigation.active li a {
        color: #111;
        font-size: 2.2em;
    }

    header .navigation li a:hover {
        color: #01a91f;
    }

    .menu_toggle {
        position: relative;
        top: 0px;
        right: 5px;
        height: 30px;
        width: 30px;
        filter: invert(1);
        background: url(../img/menu.png);
        background-size: 25px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }

    .menu_toggle.active {
        background: url(../img/close.png);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
    }

    header.sticky .menu_toggle {
        filter: invert(0);
    }

    section {
        padding: 20px;
    }
}

@media (max-width: 1091px) {
    .matches .matches__content {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        max-width: 1000px;
        width: 100%;
    }

    #last_match__container {
        width: 400px;
        height: 280px;
        margin-bottom: 20px;
    }

    .last_match__info {
        justify-content: center;
        align-items: center;
        margin: 0px;
    }

    #next_match__container {
        width: 400px;
        height: 200px;
    }

    .next_match__info {
        justify-content: center;
        align-items: center;
        margin: 0px;
    }

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

    #map__container {
        max-width: 780px;
        width: 100%;
    }
}

@media (max-width: 391px) {
    .banner {
        position: relative;
        width: 100%;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background: url(../img/training.jpg);
        background-size: cover;
        background-position: center;
    }

    .banner .content {
        position: relative;
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .logo__container {
        display: flex;
        position: relative;
        width: 40vh;
        height: 40vh;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .animated_logo {
        z-index: 1;
        width: 72%;
        height: 72%;
    }

    .banner__logo {
        position: absolute;
        width: 100%;
        height: 100%;
        filter: url(#wavy) blur(1px);
        z-index: 0;
    }

    .banner__logo::before {
        content: "";
        position: absolute;
        top: 4vh;
        left: 4vh;
        right: 5vh;
        bottom: 5vh;
        border: 30px solid #fff;
        border-radius: 50%;
        box-shadow:
            0 0 30px #0f0,
            inset 0 0 30px #0f0;
        animation: animate 5s linear infinite;
    }

    .banner__logo::after {
        content: "";
        position: absolute;
        top: 4vh;
        left: 4vh;
        right: 5vh;
        bottom: 5vh;
        border: 30px solid #fff;
        border-radius: 50%;
        box-shadow:
            0 0 10px #fff,
            inset 0 0 20px #fff;
        animation: animate 5s linear infinite;
    }

    .banner__logo:nth-child(2)::before {
        animation-delay: -2.5s;
    }

    @keyframes animate {
        0% {
            box-shadow:
                0 0 50px #0f0,
                inset 0 0 50px #0f0;
        }
        20% {
            box-shadow:
                0 0 60px #0f0,
                inset 0 0 50px #0f0;
        }
        40% {
            box-shadow:
                0 0 40px #0f0,
                inset 0 0 50px #0f0;
        }
        60% {
            box-shadow:
                0 0 80px #0f0,
                inset 0 0 50px #0f0;
        }
        80% {
            box-shadow:
                0 0 100px #0f0,
                inset 0 0 50px #0f0;
        }
        100% {
            box-shadow:
                0 0 50px #0f0,
                inset 0 0 50px #0f0;
        }
    }

    svg {
        width: 0;
        height: 0;
    }
}

/* === About Us === */

.about {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
}

.about__container {
    max-width: 900px;
    margin: 0 auto;
}

.about__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 4vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #444;
}

/* === Our Trophies === */

.trophies {
    padding: 3rem 1rem;
    background-color: #f0f2f5;
    text-align: center;
}

.trophies__title {
    font-family: "Copperplate";
    font-weight: 400;
    font-size: 3.5vh;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.trophies__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trophy-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 220px;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    margin: 0;
}

.trophy-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.4rem;
}

.trophy-caption {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}
