@font-face
{
  font-family: openSans;
  src: url(assets/OpenSans-VariableFont_wdth,wght.ttf);
}



body {
  margin: 0;
  background-image: url(assets/img_main_background_1.png);
  background-repeat: auto;
  background-attachment: fixed; 
  background-size: 100% auto;
  background-repeat: no-repeat;
  font-family: openSans;
  margin-left: 20%;
  margin-right: 20%;
  margin-top: 6%;
  margin-bottom: 6%;
  align-content: center;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  background-image: url(assets/banner_bottom_tpstudio.png);
  background-repeat: no-repeat;
  background-attachment: auto; 
  background-size: 100% 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1.0);
}

/* Style the topnav links */
.topnav h3 {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}


/* Style the topnav links */
.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: background-color 0.2s;
}

/* Style the topnav links */
.topnav img {
  float: left;
  display: block;
  padding: 5px 0px;
}



/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the content */
.content {
  align-content: center;
  justify-content: center;
  justify-self: center;
  background-color: #333333ad;
  border-radius: 25px;
  padding: 2%;
  margin: 2%;
}

.content h1 {
  color: #ddd;
  justify-self: center;
  font-size: 110%;
}

.content p {
  color: #ddd;
  
  overflow-wrap: break-word;
}

.content img {
  margin: 2%;
  margin-top: auto;
  margin-bottom: auto;
}

.card {
  box-shadow: inset 0 0 10px #ffffff;
  padding:2%;

  margin: 1%;
  text-align: center;
  font-size: 100%;
  background-image: url(assets/img_card_bg.png);
  background-repeat: no-repeat;
  background-attachment: auto; 
  background-size: 100% 100%;
  border-radius: 25px;
}

.card h1 {
  color: #ddd;
}

.card p {
  color: #ddd;
}

.container {
  display: flex;
  float:left;
  margin: 1%;
  justify-content: center;
  align-items: center;
  justify-content: center;
}



/* Style the footer */
.footer {
  overflow: hidden;
  background-color: #333;
  padding: 10px;
  margin-top: auto;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #ffff;
  background-image: url(assets/banner_top_tpstudio.png);
  background-repeat: no-repeat;
  background-attachment: auto; 
  background-size: 100% 100%;
  box-shadow: 8px 8px 8px 8px rgba(0, 0, 0, 1.0);
}

.footer img {
  filter: brightness(100%);
  transition: filter 0.1s;
}

.footer img:hover {
  filter: brightness(0%);
}

.footer a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  padding: 1%;
}


.footer h1 {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  font-size: small;
}

.game_card {
  box-shadow: inset 0 0 10px #000000;
  padding:3%;
  padding-left: auto;
  padding-right: auto;
  margin: 1%;
  text-align: center;
  font-size: 100%;
  border-radius: 25px;
  justify-items: center;
}

.game_card :hover {
  
  box-shadow: inset 0 0 10px #ffffff;
}

.game_card h1 {
  color: #ddd;
}

.game_card p {
  color: #ddd;
}

.news {
  color: #ddd;
  text-decoration: none; 
  background-color: #002093;
  border-radius: 25px;
  padding: 2px;
  margin: auto;
  margin-top: 1%;
  width: 1000px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: start;
  transition: background-color 0.2s;
}

.news:hover {
  color: #ff0000;
  background-color: #ba2d03;
}

.news img {
  border-radius: 25px;
  margin: 1%;
}

.news p {
  margin: 1%;
}
