:root {
  --secondary: #06c46f;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

#header{
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 9%;
  overflow: hidden;
}



body {
 /* background: linear-gradient(245.95deg, #0328ff 0%, #06c46f 28.53%, #57d8ff 75.25%);*/
 background: whitesmoke;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.head{
  height: 160px;
}

.game-jams{
  margin-top: 65px;
}

/* games*/

.game-jams{
  display: inline-block;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
  background: transparent;
}

.sec-header{
  color: black;
  font-size: 50px;
  
}
.sec-desc{
  color: black;
  font-size: 30px;
}

.game-list{
  display:flex;
  flex-direction: row;
  white-space: nowrap;
  padding: 10px;
}
.all-games{
  display: flex;
  flex-direction: column;
  background-color: #06c46f;
  height: 500px;
  width: 300px;
  color: black;
  text-decoration: none;
  border-radius: 10px;
  margin-right: 10px;
  overflow: hidden;
  margin-top: 25px;
  margin-left: 10px;
  padding: 5px;
}

.all-games:hover{
  background-color: #08f78b;
  text-decoration: none;
  border-radius: 5px;
}


.all-games i{
  font-size: 80px;
  margin-left: 60px;
  margin-bottom: 20px;
  color:  #1B1F3B;
}

/*@keyframes slide{
  from{
    transform: translateX(0);
  }
  
  to{
    transform: translateX(-100%);
  }
}*/

.games-container{
  
  padding: 20px;
  white-space: nowrap;
  width: 100%;
  position: relative;
  display: inline-block;
}
.games-container:before,
.games-container:after {
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: "";
  z-index: 2;
}

.games-container:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), white);
}

.games-container:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), white);
}

.game-holder{
  display: flex;
  
  
}

.game-inf-scrolling{
  display: flex;
/*  animation: 35s slide infinite linear;*/
  width: 100%;
  overflow-x: auto;
  
}

.game-inf-scrolling:hover{
  animation-play-state: paused;
  
}

.game-inf-scrolling a{
  background-color: whitesmoke;
  height: 500px;
  width: 250px;
  color: black;
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
  
  border-color: transparent;
  border-width: 0px;
  border-style: none;
  padding: 5px;
  align-items: center;
  align-content: center;
  align-self: center;
    margin: 10px;
  box-shadow: 1px 1px 9px gray;
}

.game-inf-scrolling a:hover{
  color: black;
  text-decoration: none;
  border-radius: 5px;
background: whitesmoke;
  
}

.game-inf-scrolling img{
  height:200px;
  width:245px;
  position: relative;
  display: block;
  border-radius: 10px;
  
}


.game-info {
  height: 500px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-content: center;
  overflow: hidden;
  padding: 2px;
  
}

.game-title{
  font-size: 25px;
  font-weight: 600;
  width: 100%;
  
  height: 70px;
  min-height: 70px;
  white-space: normal;
}

.events-sec{display: flex;}


.events-container{
  background: transparent;
  padding: 2px;
  white-space: nowrap;
  width: 100%;
  position: relative;
  display: inline-block;
}
.events-container:before,
.events-container:after {
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: "";
  z-index: 2;
}

.events-container:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), white);
}

.events-container:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), white);
}
.event-inf-scrolling{
  display: flex;
/*  animation: 35s slide infinite linear;*/
  width: 100%;
  overflow-x: auto;
  padding-left: 70px;
}

.event-inf-scrolling:hover{
  animation-play-state: paused;
  
}

.event-inf-scrolling a{
  background-color: black;
  height: 250px;
  width: 95%;
  color: black;
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
  
  border-color: transparent;
  border-width: 0px;
  border-style: none;
  padding: 5px;
  align-items: center;
  align-content: center;
  align-self: center;
    
  box-shadow: 1px 1px 9px gray;
}

.event-inf-scrolling a:hover{
  color: black;
  text-decoration: none;
  border-radius: 5px;
background: whitesmoke;
  
}

.event-icon{
  height:100px;
  width: 100%;
  position: relative;
  display: block;
  border-radius: 10px;
  
}

.event-info-left .event-title {
  height: 40px!important;
  font-size: 20px!important;
  overflow: hidden!important;
 
  -webkit-box-orient: vertical!important;
  
  width: 92%!important;
  max-width: 100%!important;
}

.event-info-left .owner {
  font-size: 15px!important;
  max-width: 90%!important;
  width: 90%;
  min-width: 85%
}
.event-list {
  display: flex;
  flex-direction: row;
  white-space: nowrap; /* Use nowrap to prevent wrapping */
  padding: 10px;
  
  max-width: 100vw; /* Limit width to the viewport */
  position: relative !important;
  overflow-x: auto; /* Use auto to enable scroll when needed */
  box-sizing: border-box; /* Include padding in the element's width */
}

.event-content {
  display: flex;
  position: relative;
  
  padding: 5px;
  width: 200px; /* Set a fixed width for each item */
  flex-shrink: 0; /* Prevent the items from shrinking when space is limited */
}

.event-holder{
  
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: center;
  overflow: hidden;
  padding: 2px;
  
}

.events-scroller {
  
  width: 100vw; /* Restrict to the width of the viewport or parent */
  max-width: 100vw; /* Prevent growing beyond the viewport */
  height: auto;
  display: flex; /* Flexbox layout for horizontal alignment */
  flex-wrap: nowrap; /* Prevent wrapping */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Prevent vertical scrollbars */
  padding: 5px;
  box-sizing: border-box; /* Include padding in the width calculation */
}

.event-card {
  background: whitesmoke;
  display: flex;
  flex-direction: column;
  flex-shrink: 0; /* Prevent shrinking of cards */
  width: calc(90%); /* Occupy 90% of the container, leaving space for the peek */
  height: 200px;
  padding: 5px !important;
  margin-right: 10px; /* Add spacing between cards */
  border-radius: 10px;
  box-shadow: 1px 1px 9px gray;
}





.event-buttons-bar {
  position: relative;
  
    width: 98%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
   
      overflow-x: scroll;
      scrollbar-width: none;
      overflow-y: hidden;

}

.tablinks-event {
  
  position: relative!important;
  background: transparent!important;
  border: none!important;
  outline: none!important;
  display: flex; /* Flexbox container */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  flex: 1;
 
  text-align: center!important; /* This ensures the text aligns center if wrapping occurs */
  font-size: 20px;
  font-weight: 600;
  height: 100%;
}



.tablinks-event::after {
  content: ''; /* Empty content for the pseudo-element */
  position: absolute; /* Position it relative to the parent */
  bottom: 5px; /* Align to the bottom of the parent */
  left: 50%; /* Center it horizontally */
  width: 100%; /* Width of the underline */
  height: 5px; /* Height of the underline */
  background-color: #06c46f; /* Color of the underline */
  border-radius: 5px; /* Rounded corners */
  opacity: 100%;
  transform: translateX(-50%) scaleX(0); /* Initially hidden by scaling */
  transition: transform 0.55s ease; /* Smooth transition for hover effect */
}

.tablinks-event:hover::after{
  transform: translateX(-50%) scaleX(1);
  opacity: 50%;
}

.active-tab-ev::after {
  opacity: 100%!important;
  transform: translateX(-50%) scaleX(1);
}

.event-info {
  
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  
  padding: 2px;
  
}

.event-top {
  position: relative;
  display: flex;
  flex-direction: row; 
  
  height: 50px;
}

.event-middle {
  position: relative;
  display: flex;
  flex-direction: row; 
  height: 85%;
}

.event-bottom {
  display: flex;
  flex-direction: row;
  position: relative;
  height: 15%;
}

.event-bottom .stats-game #stats-icon {
  width: 2%!important;
}

.event-bottom .stats-game #stat {
  width: 15%;
}



.event-info-left {
  
  width: 25%!important;
  height: 100%;
}

.stats-event {
  display: flex;
  flex-direction: row;
}

.event-info-right {
  
  width: 75%!important;
  height: 100%;
}

.event-tabs-content {
  
  width: 100%;
  height: 100%;
  max-height: 110px;
  overflow: hidden;
}

#desc-ev {
  
  display: none;
  flex-direction: column;
  
  width: 100% !important;
  height: 100%!important; /* Ensure the height is properly set (or use a fixed height like '500px') */
  position: relative;
  
}

#desc-ev div {
  display: block;
  width: 100% !important;
  height: 100%!important;
}

#desc-ev div p {
  display: block; /* Change from flex to block so the paragraphs behave normally */
  width: 100%;
  white-space: pre-wrap; /* Ensure text wraps and long words break */
  word-wrap: break-word; /* Break long words */
  word-break: break-word; /* Fallback for breaking long words */
  overflow-wrap: break-word; /* Fallback for older browsers */
  overflow: hidden; /* Prevent any overflowing content */
  text-overflow: ellipsis; /* Show ellipsis when content overflows (useful if there's a fixed width) */
}
#info {
  
  display: flex!important;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.tabs-info-top {
  
  width: 100%!important;
  height: 80%!important;
  overflow-y: scroll;
}

.tabs-info-top p {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* Use 'flex-start' instead of 'left' for alignment */
  width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word; /* This ensures long words break */
  word-break: break-word; /* Fallback to ensure long words break */
  overflow-wrap: break-word; /* Fallback for older browsers */
  overflow: hidden; /* Prevent content from overflowing */
  text-overflow: ellipsis; /* Show ellipsis (...) if content overflows */
  flex-wrap: wrap; /* Allow wrapping when needed */
}

.tabs-info-bottom {
  display: flex;
  width: 100%!important;
  
  height: 20%!important;
}

.tabs-info-bottom * {
  flex: 1;
}

.tabs-info-bottom p {
  font-size: 10px!important;
  min-width: 22%!important;
  max-width: 125px!important;
}

#utc-ev{
    font-size: 10px!important;
  min-width: 8%!important;
  max-width: 22px!important;
}

.tabs-info-bottom i {
  background: yellow;
  color: black;
  border-radius: 2px;
  font-size: 20px!important;
  min-width: auto!important;
  height: 100%;
  max-width: 20px!important;
}

.tabs-info-bottom hr{
  min-width: 1%;
  max-width: 1px!important;
  background: transparent;
  border-style: none;
}


#reward {
  
  display: none;
  flex-direction: column;
  width: 100%!important;
  height: 100%!important;
  overflow: hidden!important;
}

/*.tabs-reward-top {
  
}*/
.tabs-reward-top p {
  max-height: 20px;
}

.tabs-reward-bottom {
  
  display: flex;
  flex-direction: row;
  height: 80%;
}

.tabs-reward-left {
  
  display: flex;
  flex-direction: column;
  width: 30%;
}

.reward-img{
  height: 80%!important;
  width: 99%!important;
  max-width: 100%!important;
  max-height: 70%!important;
}

.tabs-reward-left p {
  font-size: 9px;
  white-space: pre-wrap;
  word-wrap: break-word; 
}

.tabs-reward-right {
  
  display: block;
  width: 70%;
  height: 100%;
  overflow-y: auto;
}

.tabs-reward-right p {
display: flex;
  flex-direction: row;
  align-items: flex-start; /* Use 'flex-start' instead of 'left' for alignment */
  width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word; /* This ensures long words break */
  word-break: break-word; /* Fallback to ensure long words break */
  overflow-wrap: break-word; /* Fallback for older browsers */
  overflow: hidden; /* Prevent content from overflowing */
  text-overflow: ellipsis; /* Show ellipsis (...) if content overflows */
  flex-wrap: wrap; /* Allow wrapping when needed */

}
.owner {
  font-size: 17px;
    width: 240px;
    min-width: 240px;
  height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #20B2AA;
}


.game-desc {
  font-size: 18px;
  overflow-y: scroll;
  scrollbar-width: none;
  width: 100%;
  
  height: 165px;
  min-height: 165px;
  white-space: normal;
  overflow: hidden;
}

.stats-game {
  display: flex;
  flex-direction: row;
}

.stats-game h1{
  font-size:15px;
  max-height: 40px;
  width: 250px;
  white-space: normal;
  margin: 0 2 2px;
  color: #06c46f;
}

.stats-game #stats-icon{
  font-size: 25px;
  color: #06c46f;
  display: flex;
  width: 24px;
  min-width: 24px;
}

.stats-game #stats-icon #stats-icon-inner{
  display: inline-block;
  position: relative;

  color: whitesmoke;
  font-size: 10px!important;
  right:17;
  top:14;
}

.info-gj {
  width: auto!important;
  min-width: 10px!important;
  
  max-width: 90px!important;
}

.section {
  padding: 0.19%;
  width: 100%;
  position: absolute;
  top: 30%;
  transform: translateY(-10%);
  text-align: center;
  transition: all .5s;
}

hr{
  width: 100%;
  margin-bottom: 10px;
}

.more-info {
  text-decoration: none;
  border-radius: 10px;
  background-color: var(--secondary);
  font-size: 15px!important;
  min-width: auto!important;
  height: 100%;
  max-width: 350px!important;
  
}

#date {
  text-decoration: none;
  
  font-size: 15px !important;
  min-width: auto !important;
  height: 100%;
  max-width: 250px !important;
}

	@media (min-width: 1400px) {
	  .event-info-left {
	    
	    width: 20%;
	    height: 100%;
	  }
	
	  .event-inf-scrolling a {
	    height: 400px;
	    width: 95%;
	
	  }
	}

@media (max-width: 1460px){
    section{
        /* padding: 0 12%; */
        transition: all .5s;
    }

}

@media (min-width: 1111px){
.event-icon{
  height: 150px;
  width: 80%;
  position: relative;
  display: block;
  border-radius: 10px;
}
}
@media (max-width: 1195px){
	section{
		
		transition: all .5s;
	}


	
}

@media (max-width: 700px) {

  .game-jams {
    margin-top: 35px;
    padding: 10px 0;
    width: 100%;
  }

  .sec-header {
    font-size: 25px;
  }

  .sec-desc {
    font-size: 15px;
  }

  .game-list {
    padding: 5px;
  }

  .all-games {
    height: 250px;
    width: 100%;
    max-width: 150px;
    border-radius: 10px;
    margin: 5px;
    padding: 2px;
    margin-top: 9px;
  }

  .all-games i {
    font-size: 40px;
    margin-left: 50px;
    margin-bottom: 20px;
  }

  .games-container {
    padding: 10px 0;
    width: 100%;
  }

  .games-container:before,
  .games-container:after {
    top: 0;
    width: 15px;
  }

  .game-inf-scrolling a {
    height: 250px;
    width: 100%;
    max-width: 180px;
    border-radius: 10px;
    border-width: 1px;
    
  }

  .game-inf-scrolling img {
    height: 100px;
    width: 167px;
    max-width: 165px;
    border-radius: 10px;
    
  }

  .game-holder {
    margin-top: 1px;
    padding: 1px;
    height: 250px;
    width: 180px;
  }

  .game-info {
    height: 250px;
    width: 180px;
  }

  .game-title{
  font-size: 15px;
  height: 40px;
  min-height: 40px;
  
}

  .game-desc {
    width: 170px;
    font-size: 10px;
  height: 69px;
  min-height: 69px;
  overflow-y: scroll;
  scrollbar-width: none;
  }
  
  .event-icon{
  height: 50px!important;
  width: 100%!important;
  position: relative;
  display: block;
  border-radius: 10px;
  
  }
  
  .event-inf-scrolling{
  
  padding-left: 20px!important;
}
  .owner{
    font-size: 10px;
    height: 22px;
    width: 170px;
    min-width: 170px;
    color:  #20B2AA;
  }

  .stats-game h1 {
    font-size: 10px;
    width: 100%;
    max-width: 170px;
    height: 20px;
    min-height: 20px;
  }
  
  .stats-game #stats-icon{
  font-size: 15px;
  height: 20px;
    min-height: 20px;
    width: 15px;
    min-width: 15px;
}


.stats-game #stats-icon #stats-icon-inner {
font-size: 1px!important;
height: 1px!important;
    min-height: 1px!important;
  right: 11;
  top:7;
}

.stats-game .active {
  right: 11;
}

.info-gj {
  font-size: 9px!important;
  min-width: 10px!important;
  
  max-width: 70px!important;
}

.event-bottom .stats-game > :last-child {

  font-size: 5px!important;
  width: 50px!important;
}

.event-top {
  height: 30px;
}

.event-buttons-bar{
  height: 100%;
}
  .event-card {
    height: 150px;
  }
  
  .tablinks-event {
    height: 30px;
  text-align: center!important;
  font-size: 10px;
  font-weight: 700;
  flex: 1;
  
  
}

.event-info-left .event-title {
  
  font-size: 10px!important;
  
}

.event-info-left .owner {
  font-size: 10px!important;
  
}

.event-tabs-content {
  
  width: 100%;
  height: 100%;
  max-height: 90px;
}

.tabs-info-bottom p {
  font-size: 4px!important;
  min-width: 20%!important;
  max-width: 125px!important;
}

#utc-ev{
    font-size: 4px!important;
  min-width: 8%!important;
  max-width: 15px!important;
}

.tabs-info-bottom i {
  font-size: 15px!important;
  min-width: auto!important;
  height: 100%;
  max-width: 15px!important;
}

.more-info {
  text-decoration: none;
  background-color: var(--secondary);
  border-radius: 10px;
  font-size: 10px!important;
  min-width: auto!important;
  height: 100%!important;
  max-width: 350px!important;
  display: block;
   text-align: center;
   color: black;
}

#date {
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 10px !important;
  min-width: auto !important;
  height: 100%!important;
  max-width: 250px !important;
}

}

@media (max-width: 680px){
  .event-bottom .stats-game #stat {
  width: 15%;
}
  #date {
  font-size: 5px!important;
  width: 50px!important;
}
}