
*{  
  scroll-behavior: smooth;
  transition: 0.5s;
}

body,html{  
  padding: 0 !important;
  margin: 0 !important;
  background-color: #2f3130;
  color: white;
}

ul,ol{
  margin: 0;
  padding: 0;
}

li{
  list-style-type: none;
}

p{
  text-align: initial;
}

nav{
  margin: 2%;
  display: block;
}

nav>ul{
  display: flex;
  justify-content: space-evenly;
  border-radius: 48px;
  background: linear-gradient(145deg, #323433, #2a2c2b);
  box-shadow:  20px 20px 32px #232524, 
               -20px -20px 32px #3b3d3c;
}

nav>ul>li{
  justify-content: space-evenly;
  width: 100%;
  text-align: center;
  padding: 1%;
}

nav li:hover{
  background-color: white;
  color: black;
  cursor: pointer; 
  border-radius: 48px ;
}

a{
  color:#C18A26;
  text-decoration: none
}


h1{
  text-align: center;
}

.game-select{
  border-bottom: 1px #373d47 solid;
}

.seletion-title{
  padding: 10px;
  padding-left: 25px;
  color: #ccc;
  margin: 0;
  position: relative;
}

.seletion-title:before{
  content: '';
  z-index: 1;
  bottom: 50%;
  margin-bottom: -2px;
  height: 2px;
  left: 0;
  right: 0;
  position: absolute;
  background: #373d47;
}

strong{
  position: relative;
   z-index: 2;
  background:#2f3130 ;
  padding: 4px 8px;
}


#menu{
  border-radius: 48px;
  background: linear-gradient(145deg, #323433, #2a2c2b);
  box-shadow:  20px 20px 32px #232524, 
               -20px -20px 32px #3b3d3c;
  margin: 2%;
  padding: 1%;
  text-align: center;
}

.Introduction{
  text-align: center;
}

#news{
  margin: 20px;
  width: 300px;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.8);
  transform-origin: center top;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: 0.3s;

}

#news img {
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#news figcaption {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  padding-bottom: 10px;
  font-size: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: 0.3s;
  overflow: scroll;
}


#news:hover, #news:focus, #news:active {
  box-shadow: 0 8px 16px 3px rgba(0,0,0,0.6);
  transform: translateY(-3px) scale(1.05) rotateX(15deg);
}


#news:hover figcaption, #news:focus figcaption, #news:active figcaption {
  transform: none;
}

#news:hover:after,
#news:focus:after,
#news:active:after {
  transform: rotate(25deg);
  top: -40%;
  opacity: 0.15;
}

#news .article {
  overflow: hidden;
  height: 350px;
  margin: 20px;
  object-fit: cover;
  cursor: pointer;
}

#news .article figcaption {
  font-size: 14px;
  text-shadow: 0 1px 0 rgba(51,51,51,0.3);
  color: #fff;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 40px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  background: rgba(6,18,53,0.6);
  opacity: 0;
  transform: scale(1.15);
  transition: 0.2s;
}

#news .article figcaption h3 {
  color: #3792e3;
  font-size: 16px;
  margin-bottom: 0;
  font-weight: bold;
}
#news .article:hover img,
#news .article:focus img,
#news .article:active img {
  filter: blur(3px);
  transform: scale(0.97);
}
#news .article:hover figcaption,
#news .article:focus figcaption,
#news .article:active figcaption {
  opacity: 1;
  transform: none;
}

#news figcaption,
#news:after,
#news .article figcaption {
  position: absolute;
}

#news, #news .article {
  position: relative;
}

/* -----footer------ */
footer{
  border-radius: 48px;
  background: linear-gradient(145deg, #323433, #2a2c2b);
  box-shadow:  20px 20px 32px #232524, 
               -20px -20px 32px #3b3d3c;
  margin: 4%;
  text-align: center;
}

footer>p{
  text-align: center;
  padding: 1%;
}


