/* General */

*{
  text-align: center; 
}


/* "Header" */

.header_picture img{
  border-radius: 100%;
  width: 22%;

  -webkit-user-select: none;
          user-select: none;
}

#citation{
  margin-top: 10px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.9em;
}

#about p{
  font-size: 1.2em;
}

#about h2{
  font-size: 1.8em;
  margin: 2em auto 1.2em auto;
}

/* Socials */

#socials {
  font-size: 0;

  width: 85%;
  margin: auto;
  margin-bottom: 20px;

  -webkit-user-select: none;
          user-select: none;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  border-radius: var(--border-radius);
  background: var(--accent);
}

#socials a{
  font-size: 0;

  border-radius: var(--border-radius);
  box-shadow: 0px 0px 3px 0px black;
  background-color: var(--menu);
  
  width: 40px;
  height: 40px;
  margin: 5px;
  padding: 7px;

  cursor: pointer;

  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);

  transition: background-color 0.5s;
}

#socials a:hover{
  background-color: var(--menu-hover);
}

#socials svg {
  width: 100%;  
  height: 100%; 
}

#socials img {
  filter : var(--icon-filter);
}

#socials p {
  color: var(--icon);
}

/* Galleries */

#game-gallery{
  margin: 20px auto auto auto;
  height: 40vh;
  /* height: auto; */
  width: 95%;

  overflow-x: auto;
    
  display: flex;
  align-items: center;

  background-color: var(--game-gallery);
  box-shadow: 0px 0px 0px 0px black inset;
  border-radius: var(--border-radius);
  transition: background-color 0.5s;

  -webkit-user-select: none;
    user-select: none;
}

#game-gallery::-webkit-scrollbar {
  height: 0.5em;
}

#game-gallery::-webkit-scrollbar-track {
  background: var(--menu)
}

#game-gallery::-webkit-scrollbar-thumb {
  background-color: var(--scroll);
  border-radius: var(--border-radius);
  transition: background-color 0.2s;
}

#game-gallery::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-hover);
}

.game-card{
  border-radius: var(--border-radius);
  height: 90%;
  cursor: pointer;
  transition: height 0.5s, box-shadow 0.5s;
  margin-left: 15px;
}

.game-card img{
  border-radius: var(--border-radius);
  height: 100%;
  box-shadow: 0px 0px 5px 0px black;
  filter: brightness(1);
  transition: height 0.5s, box-shadow 0.5s, filter 0.5s;
}

.game-card:hover{
  filter: brightness(1.1);
  height: 94%;
  box-shadow: 0px 0px 10px 0px black;
}

.game-card:last-child{
  margin-right: 15px;
}

/* Responsive */


@media screen and (max-width: 735px) and (min-width:500px){
  .profile_pic{
    margin-top: calc(-100px - 15vw/15vh);
  }

  .description{
    padding: 5px;
  }

  /* Socials*/

  #socials{
    width: 100%;
    border-radius: 0px;
    flex-wrap: wrap;
  }

  /* Game gallery */

  #game-gallery{
    width: 100%;
    Border-radius: 0px;
  }

  .description{
    flex-direction: column;
  }
  
  #game-description section{
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  main{  
    border-radius: 0px; 

    padding: 0px;
    padding-bottom: 10px;
    
    width: 100vw;
    height: auto;

    margin-top: 0px;
    margin-bottom: 0px;
  }

  #languages-dropdown div{
    height: 50px;
    font-size: 1.5em;
  }

  .profile_pic{
    width: 50%;
    margin-top: calc(-100px - 15vw/15vh);
  }

  /* Socials*/

  #socials{
    width: 100%;
    flex-wrap: wrap;
    border-radius: 0px;
  }

  /* Game gallery */

  #game-gallery{
    width: 100%;
    Border-radius: 0px;
  }
}