* {
  padding: 0;
  margin: 0;
  font-family: 'Oxygen', sans-serif;
  color: white;
}

#wrapper {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(to bottom, #2f0b93, #360033);

}

#header {
  padding: 1rem;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  justify-items: right;
  background-color: rgba(4, 0, 65, 0.644);
}

.material-symbols-outlined {
  font-size: 60px;
  cursor: pointer;
  color: rgba(160, 160, 160, 0.616);
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 48
}

.icons_size {
  font-size: 30px;
  font-variation-settings:
  'FILL' 1;
}

.active {
  color: white;
}

.shining:hover{
  color: white;
  text-shadow: 0 0 20px  #fbff00;
  transition: all 0.2s ease;
}

input[type=text] {
  width: 30%;
  background: #5d198a81;
  transition: width 0.4s ease-in-out;
  border: 2px solid grey;
  height: 1.5em;
  border-radius: 10px;
  padding: 5px;
}

input[type=text]:focus {
  width: 60%;
  background-color: whitesmoke;
  color: black;
}

#searchForm {
  display: flex;
  padding: 5px;
}

#btnSearch {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  background-color: transparent;
  border: 2px solid grey;
  border-radius: 10px;
  cursor: pointer;
}

#btnSearch:hover {
  border-color: white;
  background-color: rgba(255, 83, 112, 0.432);
  box-shadow: 9px 0 10px rgba(251, 143, 255, 0.918);
  transition: all 0.2s ease;
  
}

.change_grid_view {
  display: none;
}

.select {
  color: black;
}

.option {
  color: black;
}



.tileView {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns:  1fr 1fr 1fr;
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.listView {
  padding: 0 1rem 0 1rem;
  display: flex;
  flex-direction: column;
}

.main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.movie_list {
  list-style-type: none;
}

.list_item {
  padding: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 1rem;
  
}

.devide_border {
  border-bottom: 1px solid grey;
}

.devide_border:last-child {
  border: none;
}

.decription {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.poster {
  width: 25%;
  height: auto;
  object-fit: fill;
 /*  object-fit: fill;
  -o-object-fit: fill;
  object-position: 50% 50%; */
}


.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 100vh;
}

.loader {
  border: 16px solid #dadada; /* Light grey */
  border-top: 16px solid #ffe600; /* Blue */
  box-shadow: 0 0 25px rgb(255, 0, 149);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

