* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
body {
  background-color: #000;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
#navbar {
  display: flex;
  width: 95%;
  margin: auto;
  background-color: #272727;
  justify-content: space-between;
  color: white;
  margin-bottom: 50px;
  padding: 20px;
  top: 0;
  position: sticky;
  border: 1px solid #000;
}
#navbar > a > div:first-child {
  color: red;
  padding: 10px;
  font-family: Arial, Helvetica, sans-serif;
}
#navbar > a {
  text-decoration: none;
}
#navbar > div:nth-child(2) {
  border: 1px solid #efebe7;
  width: 40%;
  margin: auto;
  border-radius: 15px;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
}
#navbar > div:nth-child(2) > img {
  width: 35px;
  height: 35px;
  cursor: pointer;
}
#navbar > div:nth-child(2) > input {
  border-radius: 15px;
  height: 40px;
  width: 80%;
  border: none;
  outline: none;
  background-color: #000;
  color: white;
}
#navbar > div:last-child {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 35%;
}
#navbar > div:last-child > a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}
#username {
  outline: none;
  border: none;
  background-color: #272727;
  color: white;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
}
::placeholder {
  color: white;
}

#movies {
  width: 95%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-evenly;
  column-gap: 20px;
  row-gap: 30px;
}
#movies > div {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 10px;
  background-color: #272727;
  border-radius: 15px;
  color: white;
}
#movies > div > img {
  width: 100%;
  height: 75%;
  margin-bottom: 20px;
  border-radius: 15px;
}
#movies > div > div > button {
  background-color: #000;
  color: white;
  padding: 5px;
  border-radius: 20px;
  cursor: pointer;
}
#slideshow {
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 30px;
  margin-top: 10px;
  padding: 10px;
  gap: 10px;
  background-color: #272727;
}
#slideshow > div {
  width: 20%;
  border: 1px solid #000;
  border-radius: 10px;
}
#slideshow > div > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
#sortmovie {
  width: 140px;
  height: 40px;
  font-size: 15px;
  color: white;
  background-color: #000;
  margin-left: 20px;
  line-height: 50px;
  cursor: pointer;
  outline: none;
  border: 1px solid white;
  border-radius: 10px;
}

#details {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: 50px;
  justify-content: space-between;
}

#footer {
  padding: 30px;
  background-color: #272727;
  margin-top: 10%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: white;
}
#footer > div:nth-child(1) {
  width: 200px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#footer > div > a > img:nth-child(1) {
  width: 30px;
  cursor: pointer;
}
#footer > div:nth-child(2) {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}
#footer > div:last-child {
  display: flex;
  margin: auto;
  margin-top: 25px;
  width: 50%;
  justify-content: center;
  align-items: center;
}
#footer > div:last-child > div {
  display: flex;
  width: 75%;
  justify-content: space-evenly;
  align-items: center;
}
#footer > div:last-child > div > a {
  text-decoration: none;
  font-size: 15px;
  color: white;
}
#footer > div:nth-child(2) > div {
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}
#footer > div:nth-child(2) > div > a {
  text-decoration: none;
  color: white;
}
#footer > div > a > img:nth-child(2) {
  width: 23px;
  cursor: pointer;
}
@media all and (min-width: 230px) and (max-width: 500px) {
  #movies {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows:600px;
  }
  #slideshow{
    display: none;
  }
  #navbar > div:nth-child(2) > input{
    display: none;
  }
  #username{
    display: none;
  }
  #navbar > div:nth-child(2){
    display: none;
  }
  #navbar > div:last-child > a{
    display: none;
  }
  #navbar{
    justify-content: space-around;
    padding: 10px;
  }
  #navbar > a > div:first-child{
    padding:0;
  }
  #footer > div:last-child{
    display: none;
  }
  #sortmovie{
    width: 100px;
  }
}

#clouser{
  display:none;
  border: 1px solid white;
  width: 37%;
  margin: auto;
  margin-left: 281px;
  margin-top: -52px;
  height: 70vh;
  overflow-y: scroll;
  background-color: #272727;
  position:fixed;
  border-top: none;
}
#querydetails{
  margin: auto;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  grid-template-rows: auto;
  row-gap: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
}
#querydetails>div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#querydetails>div>div{
  width: 48%;
  height: 300px;
  margin: auto;
}
#querydetails>div>div>img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid white;
}
#querydetails>div>div:last-child{
  text-align: center;
  text-transform: capitalize;
  color: white;
  font-weight: 100;
  font-family: cursive;
  padding-top: 70px;
  line-height: 25px;
}
#querydetails>div>div>h4{
  cursor: pointer;
}
#querydetails>div>div>p{
  cursor: pointer;
}