html {
  color: #333;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* main */

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

body {
  background-image: url("../img/pattern_circle02.png");
  max-width: 1024px;
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
}

a {
  color: black;
}

.container {
  display: grid; 
  /* grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr 1fr;  */
  gap: 1em 1em; 
  grid-template-areas: 
    "header header header"
    "hero hero hero"
    "details desc desc"
    "trailer trailer trailer"
    "screens screens screens"
    "logos logos logos"
    "footer footer footer";
}

.header, .details, .desc, .trailer, .screens, .logos, .footer {
  /* background-color: #ffffff; */
  background-color: rgba(230, 230, 230, 0.4);
  border-radius: 25px;
  padding: 1em 1em;
}

.header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.footer {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.header { 
  grid-area: header; 
}
.hero {
  grid-area: hero; 
  background: url('../img/splash.jpg') no-repeat;
  background-size: cover;
  background-size: 100%;
  aspect-ratio: 2;
}
.hero img {
  display: block;
  margin: 50px 0 0 50px;
  rotate: -10deg;
}
.details { 
  grid-area: details; 
  padding: 0 1em 0 0
}
.details ul {
  padding: 0 0 0 1em;
}
.details ul li {
  padding-bottom: 5px;
  list-style-type: none;
}
.desc { grid-area: desc; }
.trailer { grid-area: trailer; }
.trailer iframe {
  aspect-ratio: 1.77;
}
.screens { 
  grid-area: screens; 
}
.logos { grid-area: logos; }
.footer { grid-area: footer; }

.img-grid {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
.img-grid img {
  height: 200px;
  object-fit: cover;
  object-position: center;
  margin: 0 10px 10px 0
}
.img-grid-small img {
  width: calc(50% - 5px);
  height: auto;
  margin: 0 5px 5px 0;
}