@font-face {font-family: BebasNeue; src: url('/asset/font/BebasNeue-Regular.ttf');} 
@font-face {font-family: OpenSans; src: url('/asset/font/OpenSans-VariableFont_wdth\,wght.ttf');} 

body{
  font-family: OpenSans;
  background-color: #23272a;
  background-image: url(/asset/img/background_image.png);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center top;   
  background-repeat: no-repeat;
  margin: 1px;
  
}

div.splide__arrows img{
  height: 100px;
}

#title {
   display: grid; 

   grid-template-rows: 1fr;
   grid-template-columns: 25% 50% 1fr;
   
   grid-template-areas: 
	'PP Who discord'
  '. total-players .';
   
   gap: 0px;
   height: 100%;
   align-items: center;
   
}
  
#discord{
  grid-area: discord;
  color: white;
  justify-self: end;
}

#PP {
  grid-area: PP;
  font-size: 1.2vw;
  color: white;
}

#PP img{
  width:3.5vw;
  border-radius: 50%;
}

#Who {
  justify-self: center;
  grid-area: Who;
  font-size: 5vw;
  font-family: BebasNeue;
  margin: 0px;
  color: #ffff94;
  text-shadow: 0px 0px 26px #FFFF00;
}

#total-players {
  grid-area: total-players;
  text-align: center;
  color: #ffff94;
  margin-top: 0px;
}

#image-carousel{
  min-height: 60%;
}

.splide__track{
  margin-left : 4em;
  margin-right: 4em;
  min-height: 60vh;
}

.splide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 3em;
    height: 68vh !important;
  }

.splide__arrow {
  background: none;
}

.serveur-grid {
  display: grid; 
  grid-template-rows: 15% 10% 2fr;
  grid-template-columns: 0.7fr 1.3fr;
   
  grid-template-areas: 
	'server-name server-name'
	'player-count server-map'
	'player player';
   
  gap: 10px;
  height: 90%;
  width: 90%;
  padding: 1px;
  color: white;
   
}
  
.serveur-grid div {
  display: flex;
  justify-content: center;
  align-self: normal;
  align-items: center;
  align-content: flex-start;
  border-radius: 12px;
  font-size: 1vw; 
  word-break: break-word;
}

.server-name {

   background-color: rgba(0, 0, 0, 0.7); 
   grid-area: server-name;
   padding: 5px;
   
}
.player-count {

   background-color: rgba(0, 0, 0, 0.7); 
   grid-area: player-count;
   
}
.server-map {

   background-color: rgba(0, 0, 0, 0.7); 
   grid-area: server-map;
   
}
.player {
  display: block;
  color: #74ad5a;
  grid-area: player;
  overflow: auto;
   
}


.player-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}

.player-container div{
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box; 
    width: 50%; 
    padding: 2px; 
    font-size: 0.8vw !important;
    line-break: anywhere;

}

.player-container img{
  height: 23px;
  margin: 0px;
}

#Search{
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 10% 60% 10%;
  grid-template-areas: '. search powered';
  gap: 0px;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  justify-items: stretch;

}

#Powered{
  grid-area: powered;
}

#Powered img{
  max-width: 250px;
}


.search-input:focus {
  outline: none;
}


.search-button {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  background-color: #c27ba0;
  color: black;
  font-size: 1vw;
  cursor: pointer;
}

.search-button:hover {
  background-color: #0056b3;
}


.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0px 20px 0px;
}

.search-input {
  border: none;
  border-radius: 10px;
  background-color: #424549;
  color: black;
  text-align: center;
  padding: 10px;
  font-size: 1vw;
  width: 50vw;
  grid-area: search ;
}

::placeholder {
  color: black;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: black;
}


.hidden-slide {
  display: none !important;
}

::-webkit-scrollbar {
  background-color: #292d2e;
  color: #c1baae;
}
::-webkit-scrollbar-corner {
  background-color: #212324;
}
::-webkit-scrollbar-thumb {
  background-color: #52575a;
}