/*
Theme Name: DG14Games
Theme URI: https://dg14games.com
Author: You
Author URI: https://dg14games.com
Description: Official website for DG14Games Studio to showcase our games, projects and assets created for Unity and for the gamming community.
Version: 1.0.0
Text Domain: dg14games
*/@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("ttf");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("ttf");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("ttf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* === RESET CSS === */
html {
  scroll-behavior: smooth;
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* 3. Typographic tweaks for better readability */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 4. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* 6. Remove animations/transitions for people who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* 7. Remove default list styles */
ul[role=list], ol[role=list] {
  list-style: none;
}

/* 8. Reset headings for consistency */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

body {
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
}

.menu-bar {
  padding: 25px 0;
  display: flex;
  width: 90%;
  margin: 0 auto;
  justify-content: space-between;
}
.menu-bar__logo img {
  display: block;
  width: 50px;
  height: auto;
}
.menu-bar__container {
  display: flex;
  justify-content: flex-end;
  max-width: 1350px;
  margin-top: 11px;
}
@media (max-width: 450px) {
  .menu-bar__container {
    justify-content: center;
  }
}
.menu-bar__menu {
  list-style: none;
  display: flex;
  gap: 40px;
}
.menu-bar__menu a {
  position: relative;
  color: #414043;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}
.menu-bar__menu a:hover {
  color: #5e4196;
}
.menu-bar__menu a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #5e4196;
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.menu-bar__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.menu-bar__menu a:not(:hover)::after {
  transform-origin: right;
}

.game-item {
  display: block;
  width: 80%;
  max-width: 1350px;
  margin: 30px auto;
}
@media (max-width: 750px) {
  .game-item {
    width: 100%;
    margin: 0 auto;
  }
}
.game-item__header {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
@media (max-width: 750px) {
  .game-item__header {
    justify-content: left;
    flex-direction: column;
  }
}
.game-item__title {
  font-size: 75px;
  font-weight: bold;
  margin-bottom: 25px;
  width: 80%;
}
@media (max-width: 750px) {
  .game-item__title {
    font-size: 45px;
    width: 90%;
    margin: 0 auto;
  }
}
.game-item__featured-image {
  width: 474px;
  height: auto;
}
@media (max-width: 750px) {
  .game-item__featured-image {
    display: block;
    width: 100%;
    margin-top: 25px;
  }
}
.game-item__features {
  list-style-type: none;
  padding-left: 15px;
  font-size: 20px;
}
.game-item__features span {
  color: #5e4196;
}
@media (max-width: 750px) {
  .game-item__features {
    width: 90%;
    margin: 25px auto;
  }
}
.game-item__content {
  margin: 100px 0 45px 0;
}
.game-item__content p {
  width: 100%;
  text-align: left;
  font-size: 20px;
  max-width: 1200px;
  margin-bottom: 12px;
}
@media (max-width: 750px) {
  .game-item__content p {
    width: 80%;
    margin: 0 auto 12px auto;
  }
}
@media (max-width: 750px) {
  .game-item__content {
    margin: 70px auto;
  }
}
.game-item__gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
}
.game-item__gallery img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 750px) {
  .game-item__gallery {
    flex-direction: column;
  }
}
.game-item__gallery-item {
  width: 50%;
}
@media (max-width: 750px) {
  .game-item__gallery-item {
    width: 100%;
  }
}
.game-item a {
  color: #5e4196;
  text-decoration: none;
}
.game-item a:hover {
  text-decoration: underline;
}

.multi-menu-sections {
  background-color: #000;
  padding: 50px 0;
  width: 100%;
}
@media (max-width: 750px) {
  .multi-menu-sections {
    padding: 20px 0;
  }
}
.multi-menu-sections__wrapper {
  display: flex;
  width: 95%;
  max-width: 1350px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 750px) {
  .multi-menu-sections__wrapper {
    display: block;
  }
}
.multi-menu-sections__image {
  width: 500px;
  height: auto;
  display: block;
  margin-top: -50px;
}
@media (max-width: 750px) {
  .multi-menu-sections__image {
    width: 100%;
    margin: 0 auto;
  }
}
.multi-menu-sections__menus {
  display: flex;
  gap: 130px;
  margin: 33px auto 0 auto;
}
@media (max-width: 750px) {
  .multi-menu-sections__menus {
    display: none;
  }
}
.multi-menu-sections__menus ul {
  list-style-type: none;
}
.multi-menu-sections__menus li {
  margin-bottom: 15px;
}
.multi-menu-sections__menus a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
  transition: color 0.3s ease;
}
.multi-menu-sections__menus a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.multi-menu-sections__menus a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.multi-menu-sections__menus a:not(:hover)::after {
  transform-origin: right;
}

.developer-credits {
  background-color: #000;
  padding: 30px 0;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 750px) {
  .developer-credits {
    margin: -1px auto 0 auto;
  }
}
.developer-credits p {
  display: block;
  width: 90%;
  color: #fff;
  text-align: center;
  font-size: 1.2em;
  margin: 0 auto;
  max-width: 1350px;
}

.full-with-image-block {
  width: 100%;
  height: auto;
  background-color: #000;
  position: relative;
}
.full-with-image-block .cover-image {
  display: block;
  margin: 0 auto;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 750px) {
  .full-with-image-block .cover-image {
    width: 100%;
  }
}

.editor-content-block {
  width: 100%;
  margin: 70px auto;
}
.editor-content-block p {
  width: 80%;
  margin: 20px auto;
  text-align: left;
  font-size: 20px;
  max-width: 1200px;
}
.editor-content-block a {
  color: #5e4196;
  text-decoration: none;
}
.editor-content-block a:hover {
  text-decoration: underline;
}

.social-media-items {
  display: flex;
  justify-content: space-evenly;
  width: 80%;
  max-width: 1350px;
  margin: 40px auto 70px auto;
  border-top: 2px solid #414043;
  padding-top: 30px;
}
@media (max-width: 750px) {
  .social-media-items {
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
  }
}
@media (max-width: 750px) {
  .social-media-items__item {
    margin-bottom: 35px;
  }
}
.social-media-items__logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}
.social-media-items__link {
  display: block;
  color: #fff;
  padding: 15px 0;
  width: 150px;
  border-radius: 5px;
  background-color: #414043;
  margin-top: 25px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.1s ease-in-out;
}
.social-media-items__link:hover {
  background-color: #5e4196;
}
@media (max-width: 750px) {
  .social-media-items__link {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
  }
}
.social-media-items .social-unity img {
  margin-top: 39px;
  width: 170px;
}
.social-media-items .social-youtube img {
  margin-top: 5px;
  width: 120px;
}
.social-media-items .social-youtube a {
  margin-top: 0;
}
.social-media-items .social-steam img {
  width: 100px;
  margin-top: 11px;
}
.social-media-items .social-steam a {
  margin-top: 12px;
}

.section-title-block {
  width: 100%;
  background-color: #000;
  margin-top: 20px;
  padding: 25px 0;
}
.section-title-block__wrapper {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.section-title-block__image {
  display: block;
  width: 100px;
  height: auto;
}
.section-title-block__title {
  color: #fff;
  font-size: 43px;
  margin: 27px 0 0 15px;
}

.games-display-block {
  width: 100%;
  margin: 75px auto;
}
@media (max-width: 750px) {
  .games-display-block {
    margin: 55px auto;
  }
}

.fullwidth-video {
  width: 100%;
  margin: 70px 0;
}
@media (max-width: 750px) {
  .fullwidth-video {
    margin: 50px 0;
  }
}
.fullwidth-video video {
  display: block;
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 750px) {
  .fullwidth-video video {
    width: 100%;
  }
}
.fullwidth-video__lower-text {
  width: 80%;
  margin: 10px auto 0 auto;
  font-size: 0.9em;
  color: grey;
}
@media (max-width: 750px) {
  .fullwidth-video__lower-text {
    width: 90%;
  }
}
/*# sourceMappingURL=style.css.map */
