html {
    margin: 0;
    background-color: #000;
    height: 100%;
}

body {
  margin: 1%;
  margin-left: 5%;
  margin-right: 5%;
  background-color: #e0dada;
  height: 100%;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.exit {
	margin-right: 3%;
    font-size: 17px;
    font-family: oswald, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
	opacity: .6;
}

.exit:hover {
    color: #ff9900;
    opacity: 1;
}

@font-face {
  font-family: SlideR;
  src: url(fonts/SlideR.ttf);
}

h1,h2,h3,h4,p {
  margin: 0;
}

header {
  background-color: #fff;
  box-shadow: 0px 2px 6px 0px grey;
  z-index: 2;
}

.header_div {
  padding: 0 20px;
  align-items: center;
  display: flex;
}

.navig_div {
  display: flex;
  padding: 0 20px 0 40px;
}

.navig_div a {
    transition: 0.4s;
}

.navig_div a:hover {
    color: #ff9900;
    opacity: 1;
}

header h2 {
  margin-left: 2%;
}

.movie_span {
  color: #000;
  padding: 5px 19px;
  background: #ff9900;
  border-radius: 10px;
  margin-left: 2%;
  font-family: SlideR;
  font-size: 27px;
}

ul {
  list-style: none;
}

.navig {
  margin-right: 20px;
  font-size: 17px;
  font-family: oswald,sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  opacity: .6;
}

a {
  color: #444;
  text-decoration: none;
}

.filter_text {
    margin-top: 2%;
    margin-left: 1.5%;
    margin-right: 1.5%;
}

.search_bar {
    width: 100%;
    display: inline-flex;
}

.search_header_class {
    padding:8px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border:0;
    background-color: #363636;
    font-size: 14px;
    width: 60%;
    color: #fff;
}

.search_header_class::placeholder {
    color: #cacaca;
    font-style: oblique;
    padding-left: 12px;
}

.svgsearch {
    background: url("background/search.svg");
    background-repeat: no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    margin: 0 16px 0 16px;
}

.search_bar_class{
    padding:8px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border:0;
    background-color: rgba(0,0,0,0.1);
    width: 250px;
}

search {
    margin-top: 2%;
    margin-left: 1.5%;
    margin-right: 1.5%;
    border-radius: 10px;
    padding: 1%;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.position_one {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.position_two {
    width: 277px;
    margin-bottom: 20%;
}

.formclass {
    margin-left: 2%;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
}

.genreclass {
    width: 230px;
    padding:8px;
    border-top-left-radius:15px;
    border-bottom-left-radius: 15px;
    border:0;
    background-color: rgba(0,0,0,0.1);
}

.yearclass {
    width: 150px;
    padding:8px;
    border:0;
    background-color: rgba(0,0,0,0.1);
}

.countryclass {
    width: 150px;
    padding:8px;
    border:0;
    background-color: rgba(0,0,0,0.1);
    vertical-align: baseline;
    margin-bottom: 7%;
    font-size: 14px;
    font-weight: 700;
}

option {
    font-size: 14px;
    font-weight: 700;
}

option:hover {
    background-color: orange;
}

.searchactor {
    margin-left: 12%;
    display: inline-flex;
    margin-bottom: 5%;
}
.searchdirector {
    margin-left: 12%;
    display: inline-flex;
}

.button {
  color: #000;
  padding: 1.5%;
  padding-left: 2.1%;
  padding-right: 2.1%;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #f90;
  transition: 0.2s;
  border: none;
  font-weight: 700;
  font-size: 14px;
}

.button:hover {
    background: rgb(255, 164, 32);
}

.buttonsearch {
  color: #000;
  padding: 1.5%;
  padding-left: 3.1%;
  padding-right: 3.1%;
  border-radius: 5px;
  background: #f90;
  transition: 0.2s;
  border: none;
  font-weight: 700;
  font-size: 14px;
}

.buttonsearch:hover {
    background: rgb(255, 164, 32);
}

main {
  flex: 1;
  background-color: #e0dada;
  z-index: 1;
}

.content {
  margin: 1%;
}

.movie_item {
  float: left;
  width: 16.66%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.a_item {
  display: block;
  position: relative;
}

.exmpl_item {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exmpl_item img {
  height: 100%;
  width: auto;
}

.exmpl_item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  height: 50%;
}

.title_item {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.name_item {
  font-size: 18px;
  font-weight: 700;
}

.estimation {
  display: flex;
  justify-content: space-between;
  margin-top: 4%;
}

.estimation p {
  color: red;
  font-weight: 700;
}

.estimation p span {
  color: #fff;
}

.year_item {
  padding: 3px 10px;
  border-radius: 3px;
  background-color: #ff9900;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

footer {
  background-color: #4a4a4b;
  padding-top: 2%;
  padding-bottom: 2%;
}

footer p {
  color: orange;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
