html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background-color: #333;
}

.wrapper {
  margin: 0 auto;
  width: 90%;
  max-width: 1400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-size: 2.7rem;
  font-weight: bold;
  text-align: center;
}

a {
  text-decoration: none;
}

.skipLink {
  position: absolute;
  left: -1000px;
  top: 5px;
  background-color: #000;
  color: black;
  z-index: 10;
}
.skipLink:focus {
  left: 0;
}

.wrapper .searchForm {
  text-align: center;
  height: 4rem;
  width: 100%;
}
.wrapper .searchForm input {
  width: 70%;
  height: inherit;
  padding: 10px 10px 10px 20px;
  margin-right: 5px;
  font-size: 1.5rem;
  border-radius: 35px;
  border: none;
}
.wrapper .searchForm button {
  width: 4rem;
  height: inherit;
  padding: 10px;
  font-size: 1.5rem;
  border-radius: 4rem;
  border: none;
}
.wrapper .searchForm button:hover {
  cursor: pointer;
}
.wrapper p {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  color: #fff;
}
.wrapper div {
  margin: 50px 0;
}
.wrapper div a {
  font-size: 1.5rem;
  color: #BF40BF;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}
.wrapper div a:hover, .wrapper div a:focus {
  color: #702963;
}

.imgContainer {
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 0 auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.imgContainer h1 {
  color: #fff;
  display: inline-block;
  font-size: 4rem;
  text-transform: uppercase;
  margin-right: 3.5rem;
}
.imgContainer .logo {
  max-width: 50%;
}
.imgContainer img {
  width: 100%;
}

.results ul {
  list-style-type: none;
  margin: 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 45px;
}
.results ul li {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin: 25px 0;
  padding-bottom: 20px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
}
.results ul li:hover .synopsisOverlay {
  bottom: 0%;
  height: 100%;
}
.results ul li div {
  margin: 15px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.results ul li div p {
  margin: 3px;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.results ul li div a {
  font-size: 1.5rem;
  padding: 5px 10px;
  border: 1px solid red;
  margin: 3px;
  background-color: #333;
  color: #fff;
  z-index: 100;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}
.results ul li div a:hover, .results ul li div a:focus {
  background-color: #fff;
  color: #333;
}
.results ul .movieInfo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.results ul .synopsisOverlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.results ul .synopsisText {
  color: #fff;
  font-size: 1.2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: absolute;
  text-align: center;
  padding: 10px;
  line-height: 1.4;
  overflow-y: scroll;
}

@media (max-width: 1020px) {
  .imgContainer h1 {
    font-size: 3rem;
    margin-right: 2rem;
  }
}
@media (max-width: 741px) {
  .wrapper .imgContainer {
    display: block;
    width: 100%;
    text-align: center;
  }
  .wrapper .imgContainer h1 {
    margin-right: 0;
  }
  .wrapper .imgContainer .logo {
    margin: auto;
    width: 60%;
  }
  .wrapper .searchForm {
    height: 3rem;
  }
  .wrapper .searchForm input {
    padding: 5px 5px 5px 10px;
    font-size: 1rem;
  }
  .wrapper .searchForm button {
    width: 3rem;
    padding: 5px;
    border-radius: 3rem;
  }
}