* {
  /* GLOBAL RESET */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #30313b;
  color: #444;
  font-family: sans-serif;
  line-height: 1.4;
  margin: 25px auto;
  background: url("/img/bckg_test.jpg");
  background-size: 256px;
  background-repeat: repeat-x repeat-y;
}
.container-content {
  /*Center the content on the  page*/
  max-width: 1000px;
  margin: 10px auto;
  background-color: #eee;
  border-top: 8px solid #100d5c;
  border-left: 8px solid #100d5c;
  border-right: 8px solid #100d5c;
  border-bottom: 8px solid #100d5c;
}
header {
  background-color: #2784e2;
  padding: 10px 20px;
  border-bottom: 12px solid #fff;
}
/* Styling hyperlinks */
nav a:link {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #fff;
  margin: 5px;
}
nav a:visited {
  color: #fff;
}
nav a:hover {
  color: #2784e2;
  text-decoration: underline #2784e2;
  background-color: #fff;
}
nav a:active {
  background-color: #163859;
  font-style: italic;
  color: #163859;
}

p {
  line-height: 1.4;
  margin-bottom: 15px;
}
p:last-child {
  margin-bottom: 0;
}
li {
  line-height: 1.4;
}
h1 {
  color: #fff;
  font-size: 30px;
  padding-bottom: 10px;
}
h1 em {
  color: #ddd;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 400;
}
h2 {
  color: #2784e2;
  text-transform: uppercase;
}
hr {
  margin-bottom: 15px;
}

/* GAMES GALLERY */
.games-gallery {
  display: grid;
  margin: 10px auto;
  /* row-gap: 40px; */
  grid-template-columns: 1fr 1fr 1fr;
  padding: 5px;
  /* border: 5px solid #ccc; */
  column-gap: 30px;
  row-gap: 20px;
  max-width: 1200px;
}
.games-tile {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  border: 3px solid #30365f;
  background-color: #30365f;
  position: relative;
  width: 100%;
}
.games-banner {
  width: 100%;
}
.games-info {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #30365faa;
  width: 100%;
  padding: 0 10px;
  pointer-events: none;
}
.games-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.games-title {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}
.games-year {
  color: #ccc;
  font-size: 12px;
  margin-top: 5px;
}
.games-role {
  color: #eee;
  font-style: italic;
  font-weight: 200;
}
.games-hoveranim {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  object-fit: contain;
  background-color: #30365f;
  opacity: 0;
  transition: opacity 0.5s;
}
.games-hoveranim:hover {
  opacity: 1;
}
.anim-banner {
  position: absolute;
  width: 100%;
}
.games-gallery p {
  line-height: normal;
  margin-bottom: 0;
}

/* STYLING */
.note-construction {
  padding: 20px 15px 20px 30px;
  background-color: #fdf387;
  border: 2px solid #ff6f00;
  position: relative;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 20px;
}
.note-label {
  background-color: #ff6f00;
  color: rgb(255, 218, 148);
  font-style: normal;
  display: inline-block;
  padding: 5px 10px;
  position: absolute;
  font-weight: bold;
  text-transform: uppercase;
  top: -25px;
  left: -15px;
  box-shadow: 3px 5px #2b292955;
}
.section-intro {
  text-align: center;
  width: 50%;
  margin: 0 auto;
  padding: 10px 40px 10px 20px;
  background-color: #fff;
}
article {
  padding: 20px;
  position: relative;
}
article .nav-back-to-top {
  position: absolute;
  top: 25px;
  right: 30px;
}
/* Styling hyperlinks */
article a:link,
article a:visited {
  color: #2784e2;
  text-decoration: none;
}
article a:hover {
  text-decoration: underline #2784e2;
}
article a:active {
  font-style: italic;
  text-decoration: underline #fff;
  color: #fff;
}
.section-projects li {
  margin-bottom: 10px;
  margin-left: 20px;
}
.section-projects strong {
  color: #1d5c9c;
}
.section-resume h3 {
  color: #2784e2;
  margin-bottom: 20px;
  text-align: center;
}
.section-resume p {
  margin-left: 20px;
  font-size: 14px;
  margin-bottom: 0;
}
.resume-contact {
  text-align: center;
  margin: -10px 0 20px 0 !important;
  border: 1px solid #999;
  padding: 5px 10px;
}
.section-resume strong {
  font-size: 16px;
  text-transform: uppercase;
}
.section-resume ul {
  border: 2px solid #ddd;
  padding: 10px 10px 10px 30px;
  margin-left: 20px;
  margin-bottom: 20px;
  background-color: #fff;
}
.section-resume li {
  margin-bottom: 5px;
  font-size: 14px;
}
.ul-resume-skills {
  text-align: center;
  background-color: #e9f2fb !important;
}
.ul-resume-skills li {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin: 0 15px;
}
.nav-end-page-home {
  text-align: center;
}
aside {
  background-color: #2784e2;
  border-top: 12px solid #fff;
  padding: 20px;
  text-align: center;
  color: #fff;
}
aside h4 {
  margin-bottom: 20px;
  text-transform: uppercase;
}
/* Styling hyperlinks */
aside a:link,
aside a:visited {
  color: #2784e2;
  background-color: #fff;
  padding: 5px 10px;
  text-decoration: none;
}
aside a:hover {
  text-decoration: underline #fff;
  color: #fff;
  border: 2px solid #fff;
  background-color: #1d5c9c;
}
aside a:active {
  font-style: italic;
  text-decoration: underline #fff;
  color: #fff;
  background-color: #0e2d4d;
}
footer {
  margin: 10px;

  color: #8692ab;
  text-align: center;
}

/* MOBILE & RESPONSIVE OVERRIDES */
@media only screen and (max-width: 1000px) {
  .games-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 768px) {
  .games-gallery {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
}
