/*Nooa Jaakkola*/


html {
    scroll-behavior: smooth;
}

:root {
    --background: #07060d;
    --surface: #c7c7c7;
    --text: #e0e0e0;
    --ttext: #2f2c2b;
    --text2: #d97706;
    --accent: #d97706;
}

body {
    font-family: 'Orbitron', sans-serif;
    color: var(--text);
    justify-content: center;
    margin: 0;
    padding-top: 2vh;
    background-color: var(--background);

    background: 
    repeating-linear-gradient(
      315deg,
      
      rgb(19, 19, 70),
      black 1px,
      transparent 2px,
      transparent 20px
    ),

    linear-gradient(135deg, var(--background), var(--background));
}

h1 span, h2 span, h3 span, h4 span, p span {
    color: var(--text2)
}

h1 {
    text-align: center;
    font-size: 4em;
}

h2 {
    text-align: left;
    font-size: 3em;
}

h3 {
    font-size: 1.9em;
    font-weight: normal;
    margin: 1rem 0 1rem 0;
}

h4 {
    font-size: 1.2em;
}

p {
    text-align: justify;
    font-family: 'Rajdhani', sans-serif;
}

span {
    color: var(--primary);
}

#selfie-image {
    width: 100%;
    display: block;
    border-radius: 1vh;
}

header {
    box-sizing: border-box;
    padding: 0 18vw 0 18vw;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 999;                                                    
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 50px;
    background-color: color-mix(in srgb, var(--background) 80%, transparent);
    backdrop-filter: blur(4px);
    border-bottom: 0.5px solid var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
}

.dropdown-menu a {
    font-size: 3rem;
    margin: 0;
    text-align: center;
}

.line {
    width: 90px;
    height: 15px;
    background-color: var(--accent);
    border-bottom: 7px solid var(--ttext);
    border-right: 7px solid var(--ttext);
    border-radius: 5px;
    margin-bottom: 10px;
}

/*
footer {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: auto;
    bottom: 0;
    width: 100%;
    min-height: 50px;

    
    background-color: color-mix(in srgb, var(--background) 80%, transparent);
    backdrop-filter: blur(4px);

}
    */

.main-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    width: auto;
    margin: 0px 9vw 0 9vw;
    padding: 0px 9vw 0px 9vw;
}

section {
    height: auto;
    min-height: 60vh;
    padding: 6vw 0vw 6vw 0vw;
    margin: 0px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.header-title {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.header-nav {
    gap: 3rem;
    display: flex;
}

a, .header-nav h4 { 
    text-decoration: none;
    color: var(--text);
    font-weight:normal;
}

#header-logo {
    margin: 0.5rem;
    aspect-ratio: 10/9;
    height: clamp(50px, 6rem, 120px);
}

.welcome-container {
    display:block;
}

#cards-section {
    display: block;
    align-items: center;
    justify-content: center;
    width: 75%;
}

.cards {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    border-radius: 1vh;
    border: 0.1rem solid var(--text);
    padding: 0vh;
    background: var(--background);
    width: auto;
}

.half-card {
    grid-column: span 1;
    max-width: 100%;
}

.full-card {
    grid-column: span 2;
    max-width: 100%;
}

.tall-card {
    grid-column: span 1;
    grid-row: span 2;
    max-width: 100%;
}

.card-left {
    grid-column-start: 1;
}

.card-right {
    grid-column-start: 2;
}

.card p {
    margin: 0 1rem 1rem 1rem;
    text-align: justify;
}

ol {
    text-align: left;
    color: var(--text2)
}

li {
    margin-bottom: 0.5rem;
}



/*------------- ROSTER OSIO --------------*/






#roster-section {
    display: block;
}

.player-type {
    margin: 5rem 0 1rem 0;
    font-size: 3rem;
}


.players-grid { 
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;

}







.player-card-text {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.player-card-text p, .player-card-text ul {
    font-weight: bold;
    margin: 0.5rem 0 0 0.5rem;
    display: block;
    width: auto;
}

.player-card-text li {
    color: var(--text);
    text-align: right;
    list-style-position: outside;
    text-align: left;
}

.player-card-text li::marker {
    color: var(--accent)
}


.player-card-name {
    margin: 0.1rem !important;
}






/* FACEIT OSIO*/





#faceit-section {
    display: block;
    width: auto;
}


.players-row {
    display: grid;
    width: 90vw;
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
    gap: 1rem;
}

.player-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    border-top: 0.15rem solid var(--accent);
    border-left: 0.15rem solid var(--accent);
    border-image: linear-gradient(to right, var(--text), var(--accent)) 1;
    border-right: 0.15rem solid var(--text);
    border-bottom: 0.15rem solid var(--text);
    
    background-color: var(--background);

    height: auto;

    transition: transform 0.3s ease, box-shadow 0.5s;

    box-shadow: -10px 0 0px -10px var(--text), 
    10px 0 0px -10px var(--accent), 
    inset 10px 0px 20px -10px var(--text), 
    inset -10px 0px 20px -10px var(--accent);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: -10px 0 25px -10px var(--text), 
    10px 0 20px -10px var(--accent), 
    inset 10px 0px 30px -10px var(--text), 
    inset -10px 0px 30px -10px var(--accent);
    
}

.player-card-img {
    width: 100%;
    height: auto;
    display: block;
    
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom: 0.15rem solid var(--text);

}

.player-card-header {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    align-items: center;
}

.player-card-header h3 {
    
    margin-bottom: 0;
}

.player-roles {
    font-size: 0.8rem;
    padding-left: 0.5rem;
    color: gray;
    margin: 0;
}


.player-stats {
    margin-top: 1rem;
    padding: 0.5rem;
    text-align: left;
}

.player-stats h4 {
    margin: 0;
}



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






/* GALLERY OSIO*/







.gallery-section {
    padding: 0 10vw 5vw 10vw;
    display: block;
    width: 75%;
    height: auto;
}

#gallery-title {
    margin: 5vw;
    margin-top: 10vw;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.gallery-grid div {
    height: auto;
    border-image: linear-gradient(to right, var(--text), var(--accent)) 1;
    border-top: 0.15rem solid var(--accent);
    border-left: 0.15rem solid var(--accent);
    border-right: 0.15rem solid var(--text);
    border-bottom: 0.15rem solid var(--text);
}

.gallery-grid img {
    height: 15vh;
    border-radius: 0.8vh;
    display: block;
}

.landscape-card {
    width: 75%;
    height: auto;
} 

.landscape-card img {
    width: 100%;
    height: auto;
} 



@media (max-width: 1000px) {

    body {
        padding: 0;
    }

    .welcome-container h1 {
        font-size: 8rem;
    }

    .welcome-container h3 {
        font-size: 2.8rem;
    }

    #cards-section {
        height: auto;
        width: 100%;
    }

    #cards-section ol {
        font-size: 2rem;
        text-align: center;
        list-style-position: inside;
    }

    #cards-section h1 {
        font-size: 7rem;
    }

    .card {
        border: 0;
    }

    .cards {
        
        padding: 0 3rem 5rem 3rem;
    }

    .card h3 {
        font-size: 5rem;
        margin-bottom: 3rem;
    }

    .card p {
        font-size: 3rem;
        margin-bottom: 5rem;
    }

  .main-container {
    height: auto;
    margin: 0;
    padding: 0;
  }

  img {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    grid-column: span 1;
  }

  #home-section {
    padding: 0;
  }

  section {
    height: auto;
    min-height: 0;
    padding: 3rem 0;
    width: 100%;
  }

  .roster-section {
    margin-top: 10vh;
  }

  #players {
    padding: 0 3rem 0 3rem;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .benched-players-grid p {
    font-size: 2rem;
  }

  .players-grid {
    font-size: 2rem;
  }

  header {
    display: none;
    padding: 0 50px 0 50px;
  }

  .hamburger {
    position:fixed;
    top: 30px;
    right: 30px;
    display: block;
    height: auto;
    width: auto;
  }

  .dropdown-menu {
  display: none;
}

.dropdown-menu.active {
    display: block;
    position: fixed;
    width:auto;
    height: auto;
    background-color: color-mix(in srgb, var(--background) 80%, transparent);
    border-top: 0px solid;
    border-bottom: 0.1rem solid var(--accent);
    border-left: 0.1rem solid var(--accent);
    padding: 0 2rem 0 2rem;
    border-bottom-left-radius: 1rem;
    top: 0;
    right: 0;
}

  .gallery-grid div {
    width: 100%;
    height: auto;
  }

  .gallery-grid img {
    height: auto;
    border-radius: 0.8vh;
    display: block;
}
}

@media (min-width: 2000px) {
  .main-container {
    padding: 0 11vw 0 11vw;
    margin: 0 10vw 0 10vw;
  }

  header {
    padding: 0 22vw 0 22vw;
  }
}