*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing:border-box;
}
body {
  background-color: #202225;
  color: white;
  font-family: "Rajdhani";
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}
p {
  line-height: 1.5;
  margin: 0 0 15px 0;
}
.center-box {
  margin: 0 auto;
  width: 100%;
  padding: 0 60px;
  overflow: hidden;
}
h1 {
  font-size: 54px;
  margin: 0 0 15 0;
}
h2 {
  font-size: 30px;
  margin: 15px 0 15 0;
}

#top, footer {
  background-color: #080800;
}
#top, #top-img {
  position: relative;
}
#top-img::before {
  position: absolute;
  content: "";
  width: 60%;
  height: 100%;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#08080b+1,08080b+100&1+1,0+100 */
background: -moz-linear-gradient(left, rgba(8,8,11,1) 1%, rgba(8,8,11,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, rgba(8,8,11,1) 1%,rgba(8,8,11,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, rgba(8,8,11,1) 1%,rgba(8,8,11,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#08080b', endColorstr='#0008080b',GradientType=1 ); /* IE6-9 */
}
#top-img img {
  width: 100%;
}
#top-text {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
#top-text p {
  width: 45%; /*a hely 45%-át tölti ki a szöveg*/
}
#top-text a {
  display: inline-block;
  padding: 10px 15px;
  color: white;
  border: 2px solid white;
}
#content {
  padding: 40px 0;
}
.movie-list {
  margin: 0 -15px;
  overflow: hidden;
}
.movie-list li {
  padding: 0 15px; /*nem margin!!*/
  float: left;
}
.movie-list img {
  width: 100%;
  margin: 0 0 30 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
footer {
  padding: 30px 0;
}
footer ul {
  text-align: center;
}
footer li {
  display: inline-block;
  padding: 10px 15px;
}
/*képernyő beállítások*/
@media only screen and (min-width: 1025px) {
  .movie-list li {
    width: 16.66%; /*6 oszlop*/
  }
}
@media only screen and (min-width: 825px) and (max-width: 1024px) {
  .movie-list li {
    width: 20%; /*5 oszlop*/
  }
}
@media only screen and (min-width: 625px) and (max-width: 824px) {
  .movie-list li {
    width: 25%; /*4 oszlop*/
  }
}
  @media only screen and (min-width: 425px) and (max-width: 624px) {
    .movie-list li {
      width: 33.33%; /*3 oszlop*/
    }
}
  @media only screen and (max-width: 424px) {
    .movie-list li {
      width: 33.33%; /*2 oszlop*/
    }
}
@media only screen and (max-width: 768px) {
  .center-box {
    padding: 0 30px;
  }
  #top-text {
    position: relative;
    padding: 30px 0;
  }
  #top-text p {
    width: 100%; /*kinyújtja az írást a kis képernyőn teljes szélességre*/
  }
  #top-img::before {
    height: 30%;
    bottom: 0;
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#08080b+0,08080b+99&0+0,1+99 */
background: -moz-linear-gradient(top, rgba(8,8,11,0) 0%, rgba(8,8,11,1) 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(8,8,11,0) 0%,rgba(8,8,11,1) 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(8,8,11,0) 0%,rgba(8,8,11,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0008080b', endColorstr='#08080b',GradientType=0 ); /* IE6-9 */
  }
  h1 {
    font-size: 34px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 950px) {
  #top-img {
    overflow: hidden;
  }
  #top-img img {
    width: 130%;
  }
}
