header {
    text-align: center;
    background-color: black;
    padding-bottom: 60px;
}

body {
    background-color: black;
    margin: 0;
    overflow-x: hidden;  
    font-family: 'Bebas Neue', sans-serif;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg_photo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/*#AtR_Title {
    margin-top: -20px;
}*/

header, ul {
    position: relative;
    z-index: 1;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #fdd023;
  padding: 20px 0;
  background-color: black;
  margin-top: 40px;
}

p { 
    color: #fdd023;
    font-size: 30px;
}

h1 {
    color: #fdd023;
    text-align: center;
    font-size: 50px;
    text-decoration: underline;
    text-decoration-color: #fdd023;
    margin-top: -10px;
    font-family: 'Orbitron', sans-serif;
}

h2 {
    color: white;
    text-align: center;
    align-items: center;
}

h3 {
    color:white
}

nav {
    margin-top: -60px;
    position: sticky;
    top: 0;
    background-color: rgb(25, 5, 40);
    width: 100%;
    padding: 0 10px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    
}
/*Rybo Addition*/
.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    gap: 5px;
    justify-content: space-evenly;
}

.link {             
    font-size: 20px;
    color: #fdd023;
    padding: 20px;
    gap: 10px;
    text-decoration: none;
}

.link:hover {
    background-color: rgb(35, 8, 50);
}

.link:active {
    background-color: rgb(42, 10, 60);
}

.nav-photo{
    display: block;
    filter: invert(1) hue-rotate(-44deg) saturate(2);
}

/*ul {   
    background-size: 100%;
    width: 100vw; 
    min-width: 30vw;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;          
    left: 0;
}

li {
    flex: 1 1 200px;     
    font-size: 20px;
    color: white;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}*/

#LogoImg:hover {
    transform: rotateY(180deg);
}

.atr-imgs {
    margin-top: 10px;
    
}

.atr-socials {
    margin-left: 0;
    padding: 20px;
    font-size: 30px;

}

.teams-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    flex-wrap: wrap;
}
  
.team {
    text-align: center;
    color: white;
}
  
.team h2 {
    color: white;
    margin-bottom: 20px;
}
  
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  justify-items: center;
  padding: 20px;
}

.staff-card {
  width: 280px;
}

.image-container {
  position: relative;
  width: 100%;
  height: 350px;
  border: 3px solid #fdd023;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
  font-size: 14px;
  margin-top: 10px;
}

.popup-text strong {
  display: block;
  font-size: 20px;
  color: #fdd023;
  margin-bottom: 6px;
  text-align: center;
}

.popup-text p {
  margin: 0;
  font-size: 15px;
  text-align: justify;
  padding:0 10px;
}

.image-container:hover .popup-text {
  opacity: 1;
}
  
.player-card {
    max-width: 280px;
}
  
.player-card h3 {
    color: #fdd023;
    font-size: 25px;
    margin-bottom: 8px;
}
  
.player-card img {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #fdd023;
}

.social-media {
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
}

.cc-socials, .gaming-socials {
    font-size: 25px;
}

.socials .social-link {
    font-size: 20px;
    color: #fdd023;
    text-decoration: underline;
    text-decoration-color: white;
    font-family: 'Bebas Neue', sans-serif;
}
  
.social-link img {
    margin: auto;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    height: 80px;
}

.socials{
    display: flex;
    column-gap: 80px;
    row-gap: 40px;
    width: 70%;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto;
    align-items: flex-end;
}

.left-section {
    color: white;
    font-size: 25px;
    width: 50%;

    padding: 20px;
    box-sizing: border-box;
}

.right-section {
    font-size: 25px;
    color: white;
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.comp-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.video-left{
    margin-top: 40px;
}

.video-left iframe {
  border-radius: 12px;
}

.mission-state p {
  color: #fdd023;
  font-size: 24px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Bebas Neue', sans-serif;
}

@media (min-width: 992px) {
  .container {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .mission-state p {
    text-align: left;
  }
}

.mission-state {
  width: 100%;
  text-align: center;
  padding: 10px;
}

.slidebox-container {
    width: 100%;  
    overflow: hidden;
    white-space: nowrap;
    position: relative; 
    margin-top: -15px;
    margin-bottom: -20px;
}

.left-box,
.right-box {
    font-size: 25px;
    color: #fdd023;
    display: inline-block;
    white-space: nowrap;
    padding: 10px 0;
    animation: slide-left 5s linear infinite;
}

.spacer {
    display: inline-block;
    width: 20vw;
}

.founder-section {
    padding: 40px 20px;
    color: #fdd023;
}
  
.founder-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}
  
.founder-img {
    width: 300px;
    height: auto;
    border-radius: 12px;
    border: 3px solid #fdd023;
}
  
.founder-text {
    flex: 1;
    min-width: 300px;
}
  
.founder-text h2 {
    font-size: 35px;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}
  
.founder-text p {
    font-size: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.6;
}

@keyframes slide-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clips-of-the-week {
    text-align: center;
    color: #fdd023;
    padding: 40px 20px;
    font-family: 'Orbitron', sans-serif;
}
  
.clips-of-the-week h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}
  
.clips-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.clip-card {
    max-width: 350px;
    text-align: center;
    z-index: 2;
}
  
.clip-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fdd023;
}
  
.clip-card iframe {
    border-radius: 8px;
    border: 3px solid #fdd023;
}

/*
.suiter {
    text-align: left;
    margin-top: 55px;
    margin-left: 35px;
    margin-right: 300px;
}*/

.slideshow-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.player-of-week {
    text-align: center;
    padding: 40px 20px;

    color: #fdd023;
}
  
.player-of-week h2 {
    font-family: 'Orbitron', sans-serif; 
    font-size: 2rem;
    margin-bottom: 30px;
}
  
.week-players {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
  
.player-cards {
    text-align: center;
    max-width: 200px;
}
  
.player-cards h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fdd023;
}
  
.player-cards img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 3px solid #fdd023;
    object-fit: contain;
}

.merch-section {
  text-align: center;
  color: #fdd023;
  padding: 40px 20px;
  font-family: 'Orbitron', sans-serif;
}

.merch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  
}

.merch-item {
  max-width: 300px;
  width: 100%;
  text-align: center;
}

.merch-item img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border: 3px solid #fdd023;  
  border-radius: 8px;
  margin-bottom: 10px;
}

.merch-item h3,
.merch-item p {
  font-family: 'Bebas Neue', sans-serif;
  color: #fdd023;
}


@media (max-width: 480px){
    nav{
        position: relative;
    }
    
    .nav-links{
        gap: 0;
    }

    .link{
        font-size: 18px;
        padding: 10px;
    }

    .nav-photo{
        display: none;
    }
}

/*
@keyframes slide-pause {
    0% {
        transform: translateX(0%);
      }
      80% {
        transform: translateX(-100%);
      }
      100% {
        transform: translateX(-100%);
      }
}*/