@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Caveat:wght@400..700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Dancing+Script:wght@400..700&family=Fjalla+One&family=Gentium+Book+Plus:ital,wght@0,400;0,700;1,400;1,700&family=Great+Vibes&family=Indie+Flower&family=Lora:ital,wght@0,400..700;1,400..700&family=Pacifico&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Satisfy&display=swap');
/* Hiding responsive elements for main css sheet */
@media only screen and (min-width: 992px){

.content#mobile-home {
    display: none;
}

.content#games {
    display: none;
}

.mobile-navbar {
    display: none;
}

.player-carousel {
    display: none;
}

.scroll-indicator {
    display: none;
}


}

/* For tablets and smaller */
@media only screen and (max-width: 992px){

/* Hiding Main elements */
.content#landing {
    display:none;
}

.navbar {
    display: none;
}

.content#home {
    display: none;
}

.content#contacts {
    display: none;
}

.player-grid {
    display: none;
}


/* general */
.mobile-navbar {
    position: fixed;
    z-index: 10;
}

#mobile-menu-button {
    color: #fff;
    background-color: #C8102E;
    border: none;
    padding: 10px 15px;
    font-size: 24px; 
    cursor: pointer;
    border-radius: 5px;
}

#mobile-menu-button::before {
    content: "≡"; 
    font-size: 24px;
    color: white; 
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    color: #fff;
    z-index: 50;
}

body {
    background-color: #0A4B9B;
    color: #FFF;
}

.content#mobile-home {
    height: 100vh;
    max-width: 100vw;
    margin-top: 0;
    scroll-margin-top: 0;
    background-image: url('../assets/phone-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}
#screen-title {
    color: #FFF;
    font-family: 'Dancing Script', cursive;
    font-size: 40px;
    text-shadow: 2px 2px 2px #C8102E;
    padding-top: 5vh;
}

h2 {
    color: #FFF;
}

.fixtures {
    width: 100%;
}



/* Styling for the navigation list */
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 20px;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

#close-menu {
    margin-top: 30px;
    padding: 10px 15px;
    font-size: 18px;
    background-color: #C8102E; 
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

#close-menu:hover {
    background-color: #A00E25; 
}

.display-menu {
    display: flex;
}

/* games screen */

.fixture-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 10px 0; 
}

.fixtures {
    width: 95%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    padding: 15px 0; 
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1); 
}

.games-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
}

.games-container::-webkit-scrollbar {
    height: 8px;
}

.games-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 10px;
}

.fixture-box {
    flex: 0 0 auto;
    width: 220px; 
    scroll-snap-align: center;
    background: rgba(0, 0, 0, 0.3); 
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.fixtures h3 {
    font-size: 22px;
    color: white;
    background: #C8102E;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

/* Adjust text inside fixture cards */
.fixture-team img {
    width: 50px;
    height: 50px;
}

.fixture-score {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: #FFF;
}

.fixture-status {
    font-size: 14px;
    color: #C8102E;
    font-weight: bold;
}


/* Squad Screen */
.player-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-overflow-scrolling: touch;
}

.player-slide {
    width: 100vw;
    height: 100vh;
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Show only the active slide */
.player-slide.active {
    display: flex; 
    opacity: 1;
}

.player-slide img {
    width: 80%;
    max-width: 300px;
    height: auto; 
    object-fit: contain; 
}

.player-name {
    font-size: 24px;
    color: white;
    margin-top: 20px;
    text-shadow: 2px 2px 4px black;
}

/* Scroll Indicator */
#team .scroll-indicator {
    position: relative;
    bottom: 15vh;
    width: 60%;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    overflow: hidden;
}

.scroll-bar {
    width: 0%;
    height: 100%;
    background: red;
    transition: width 0.5s ease-in-out;
}

/* standings screen */
.standings-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px; 
    margin-bottom: 10px;
}

.conference {
    width: 90%; 
}

.conference h2 {
    text-align: center;
    font-size: 1.5rem;
    text-decoration: underline;
    color: #fff;
    text-decoration-color: red;
}

}