/**************************************************** RESET ****************************************************/

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/**************************************************** VARIABLE ****************************************************/
:root {
    --padding-xs: 5px;
    --padding-s: 10px;
    --padding-m: 20px;
    --animationspeed: 200ms;
    --lightgrey: #EDEBEB;
    --mediumgrey: #878786;
    --darkgrey: #333333;
}

@font-face {
    font-family: "Medium";
    src: url("../fonts/NHaasGroteskDSPro-65Md.otf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Black Italic";
    src: url("../fonts/NHaasGroteskDSPro-96BlkIt.otf");
    font-weight: normal;
    font-style: normal;
}

/**************************************************** BASIC ****************************************************/

* {
    font-size: 15px;
    line-height: 120%;
    font-weight: normal;
    font-family: "Medium", Helvetica, Arial, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -webkit-box-shadow: none;
    font-style: normal;
    letter-spacing: 0.01em;
}

body {
    color: var(--darkgrey);
}

/**************************************************** PADDING MARGIN ****************************************************/

.padding-xs {
    padding: var(--padding-xs) !important;
}

.padding-s {
    padding: var(--padding-s) !important;
}

.padding-m {
    padding: var(--padding-m) !important;
}

.grid.padding-m + .grid.padding-m,
.w-12-12.padding-m + .w-12-12.padding-m {
    padding-top: 0;
}

.padding-content {
    padding-top: 90px !important;
}

.padding-bottom-no {
    padding-bottom: 0 !important;
}

/**************************************************** COLOR ****************************************************/

.bg-lightgrey {
    background: var(--lightgrey);
}

.type-mediumgrey {
    color: var(--mediumgrey);
}

.type-lightgrey {
    color: var(--lightgrey);
}

.type-white {
    color: white;
}

/**************************************************** TYPE ****************************************************/

.case-upper {
    text-transform: uppercase;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

a {
    color: inherit;
}

.type-small,
.type-small *,
h3 {
    font-size: 14px;
    line-height: 120%;
}

.type-smallmedium,
.type-smallmedium * {
    font-size: clamp(20px, 1.5vw, 1.5vw);
    line-height: 100%;
}

.type-medium,
.type-medium * {
    font-size: clamp(24px, 2vw, 2vw);
    line-height: 100%;
}

.type-big,
.type-big * {
    font-size: clamp(48px, 6vw, 6vw);
    line-height: 90%;
}

.type-black-italic,
.type-black-italic * {
    font-family: "Black Italic", Helvetica, Arial, sans-serif;
    line-height: 90%;
}

/**************************************************** GRID ****************************************************/

.grid {
    display: flex;
    flex-flow: row wrap;
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
    align-items: flex-start;
    align-content: flex-start;
}

.w-1-12 {
    width: calc(100% / 12 * 1);
}

.w-2-12 {
    width: calc(100% / 12 * 2);
}

.w-3-12 {
    width: calc(100% / 12 * 3);
}

.w-4-12 {
    width: calc(100% / 12 * 4);
}

.w-5-12 {
    width: calc(100% / 12 * 5);
}

.w-6-12 {
    width: calc(100% / 12 * 6);
}

.w-7-12 {
    width: calc(100% / 12 * 7);
}

.w-8-12 {
    width: calc(100% / 12 * 8);
}

.w-9-12 {
    width: calc(100% / 12 * 9);
}

.w-10-12 {
    width: calc(100% / 12 * 10);
}

.w-11-12 {
    width: calc(100% / 12 * 11);
}

.w-12-12 {
    width: calc(100% / 12 * 12);
}

img,
video {
    width: 100%;
    display: block;
}

/**************************************************** BUTTONS ****************************************************/

.button {
    background: rgba(150,150,150,0.4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: var(--padding-m);
    border-radius: 28px;
    text-align: center;
    min-width: 100px;
}

.nobutton {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.button:hover,
.nobutton:hover {
    background: rgba(180,180,180,0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/**************************************************** NAV ****************************************************/

.nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 100;
    background: rgba(150,150,150,0.4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    color: white;
}

.nav .grid {
    flex-grow: 1;
    flex-shrink: 1;
    flex-wrap: nowrap;
    gap: 5px;
}

.nav .expand .button {
    width: 100%;
}

.nav .collapse {
    justify-content: space-between;
}

.nav a {
    text-decoration: none;
    color: white;
}

.nav span {
    cursor: pointer;
}

.nav .expand {
    max-height: 0;
    transition: 400ms ease-in-out max-height;
    overflow: hidden;
}

.nav .expand * {
    opacity: 0;
    transition: 200ms ease-in-out opacity;
}

.nav .expand.open {
    max-height: 800px;
}

.nav .expand.open * {
    opacity: 1;
}

.nav .expand .button:last-of-type {
    margin-bottom: 5px;
}

/**************************************************** BAR ****************************************************/

.bar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 100;
    color: white;
    justify-content: space-between;
    pointer-events: none;
}

.bar .grid {
    gap: 5px;
    width: auto;
}

.bar * {
    pointer-events: auto;
}

.bar a {
    text-decoration: none;
}

.dropdown-opener {
    cursor: pointer;
}

.dropdown-opener.open {
    transition: 200ms ease-in-out border-radius;
    border-radius: 48px;
}

.dropdown-opener.open .dropdown-content {
    max-height: 500px;
}

.dropdown-opener .dropdown-content {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    width: 150px;
    transition: 200ms ease-in-out max-height;
}

.dropdown-opener .dropdown-content span {
    width: 100%;
    cursor: pointer;
}

.language .dropdown-content {
    width: 100px;
}

/**************************************************** MODULES ****************************************************/

.module-50-50 {
    align-items: stretch;
}

.module-50-50 > div {
    aspect-ratio: 5/4;
    overflow: hidden;
}

.module-50-50 img,
.module-50-50 video {
    aspect-ratio: 5/4;
    object-fit: cover;
    object-position: center center;
}

.module-50-50 strong {
    color: var(--darkgrey);
}

.module-100,
.module-100 img,
.module-100 video {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center center;
}

.module-100 {
    position: relative;
    align-content: end;
    overflow: hidden;
}

.module-100 .background {
    position: absolute;
    z-index: -1;
}

.module-100 .background::after {
    content:'';
    background:rgba(0,0,0,0.1);
    position: absolute;
    inset: 0px;
    pointer-events: none;
}

.module-100.intro {
    align-content: center;
}

.module-marquee {
    padding-top: var(--padding-s);
    padding-bottom: var(--padding-s);
}

.marquee {
    width: 100vw;
    overflow: hidden;
}

.js-marquee {
    transform: translateX(-100vw);
}

.marquee a {
    text-decoration: none;
}

.marquee a:hover {
    color: var(--mediumgrey);
}

.module-text {
    justify-content: center;
}

.module-text p {
    margin-bottom: 16.8px;
}

/* Add this CSS to your stylesheet */
.swiper-slide img {
    transition: transform 3s ease-in-out; /* Match the autoplay delay */
}

.swiper-slide-active img {
    transform: scale(1.1);
}

/**************************************************** PLAYER OVERVIEW ****************************************************/

.player-overview img,
.player-overview video {
    aspect-ratio: 5/4;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100);
    transition: filter 400ms ease-in-out,  transform 400ms ease-in-out;
}

.player-overview {
    position: relative;
    align-content: end;
    overflow: hidden;
    aspect-ratio: 5/4;
}

.player-overview .type-white {
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.player-overview .background {
    position: absolute;
    z-index: 0;
}

.player-overview .background::after {
    content:'';
    background:rgba(0,0,0,0.1);
    position: absolute;
    inset: 0px;
    pointer-events: none;
}

.player-overview:hover img,
.player-overview:hover video {
    transform: scale(105%);
    filter: grayscale(0);
}

.player-overview:hover .type-white {
    opacity: 1;
}

/**************************************************** TEAM OVERVIEW ****************************************************/

.team-overview img {
    aspect-ratio: 2/3;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100);
    transition: filter 400ms ease-in-out,  transform 400ms ease-in-out;
}

.team-overview {
    position: relative;
    align-content: end;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.team-overview .type-white {
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.team-overview .background {
    position: absolute;
    z-index: 0;
}

.team-overview .background::after {
    content:'';
    background:rgba(0,0,0,0.1);
    position: absolute;
    inset: 0px;
    pointer-events: none;
}

.team-overview:hover img {
    transform: scale(105%);
    filter: grayscale(0);
}

.team-overview:hover .type-white {
    opacity: 1;
}

/**************************************************** GRID ****************************************************/

.footer {
    padding-bottom: 120px;
}

/**************************************************** TRANSFER ****************************************************/

.transfer {
    transition: 400ms filter ease-in-out;
}

.transfer,
.transfer * {
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

.transfer .player-image img,
.transfer .player-image video {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    object-fit: cover;
    filter: grayscale(100);
}

.transfer .club img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.transfer:hover .club img,
.transfer:hover .club video,
.transfer:hover .player-image img,
.transfer:hover .player-image video {
    filter: grayscale(0);
}

.transfer:hover {
    transform: scale(102%);
}

.transfer .button {
    border-radius: 48px !important;
}

.transfer .player-name {
    flex-grow: 1;
    flex-shrink: 1;
    text-align: left;
}

.transfer a {
    text-decoration: none;
}

.transfers .type-big {
    padding-top: 50px !important;
}

.players-transfer .transfer {
    pointer-events: none;
}

.players-transfer {
    margin-bottom: 50px;
}

/**************************************************** MOBILE ****************************************************/

@media screen and (max-width: 1200px) {

    .transfer {
        width: 50%;
    }

}

@media screen and (max-width: 1023px) {

    * {
        font-size: 14px;
    }

    .type-smallmedium,
    .type-smallmedium * {
        font-size: 14px;
        line-height: 120%;
    }

    :root {
        --padding-xs: 5px;
        --padding-s: 7.5px;
        --padding-m: 15px;
    }

    .nav {
        bottom: 15px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
        border-radius: 36px;
    }

    .nav .expand {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav .expand .button {
        width: 100%;
    }
/*
    .nav .expand .button:nth-of-type(5),
    .nav .expand .button:nth-of-type(6),
    .nav .expand .button:nth-of-type(7) {
        width: auto;
        flex-grow: 1;
    }
*/
    .nav .expand .button:nth-of-type(4),
    .nav .expand .button:nth-of-type(5),
    .nav .expand .button:nth-of-type(6) {
        width: auto;
        flex-grow: 1;
    }

    .bar {
        top: 15px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
        gap: 5px;
    }

    .bar * {
        flex-grow: 1;
    }

    .bar .grid {
        width: 100%;
        flex-wrap: nowrap;
        max-height: 47px;
        opacity: 1;
        transition: 200ms ease-in-out max-height, 200ms ease-in-out opacity;
    }

    .bar .hidden {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

    .bar .hidden * {
        pointer-events: none;
    }

    .bar .left {
        order: 2;
    }

    .dropdown-opener {
        width: 50%;
        min-width: 0;
    }

    .dropdown-opener.language {
        width: auto;
    }

    .dropdown-opener .dropdown-content,
    .dropdown-opener .dropdown-content * {
        width: 100%;
    }

    .dropdown-opener span {
        min-width: 0;
    }

    .dropdown-opener.open {
        transition: 200ms ease-in-out border-radius;
        border-radius: 36px;
    }

    .w-10-12,
    .w-11-12,
    .w-6-12,
    .w-7-12,
    .w-8-12,
    .w-9-12 {
        width: 100%;
    }

    .module-50-50 .bg-lightgrey {
        aspect-ratio: unset;
        order: 1;
    }

    .module-50-50 h3 {
        margin-bottom: 50px;
    }

    .module-50-50 .image {
        order: 2;
    }

    .module-marquee {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .module-100,
    .module-100 img,
    .module-100 video {
        aspect-ratio: 9/16;
        object-fit: cover;
        object-position: center center;
    }

    .footer .w-2-12 {
        width: 100%;
        padding-bottom: 0 !important;
    }

    .player-overview,
    .player-overview img,
    .player-overview video {
        aspect-ratio: 1/1;
    }

    .player-overview .type-white {
        opacity: 1;
    }

    .padding-content,
    .players-overview {
        padding-top: 128px !important;
    }

    .padding-content-small {
        padding-top: 80px !important;
    }

    .transfer {
        width: 100%;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .transfer .club img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .transfers {
        gap: 5px;
    }

    .bg-lightgrey {
        background-image: none !important;
    }

}
