:root{
  --dis: none;
}

* {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0;
  margin: 0;
}

html, body {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(155deg, #55c7ed, #2bb3e0, #3bc1ed); */
  background-color: #55c7ed;
  background-image: url("https://www.transparenttextures.com/patterns/egg-shell.png");
}
.flexbox-wrapper{
  display: flex;
  flex-direction: column;
}

.flexbox {
  width: 100%;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search {
  margin: 40px;
}

h3 {
  font-weight: normal;
}

h1,h3 {
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 1px #0091c2;
}

.sbox > div {
  position: relative;
  filter: drop-shadow(0 1px #0091c2);
}

#line {
  content: "";
  background: white;
  width: 4px;
  height: 20px;
  transform: rotate(135deg);
  position: relative;
  left: 38px;
  transition: transform 0.5s ;
  top: -8px;
}

.sbox > div > input {
  color: white;
  font-size: 16px;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: solid 3px white;
  outline: none;
  border-radius: 35px;
  transition: width 0.5s;
}

.sbox > div > input::placeholder {
  color: #efefef;
  opacity: 0;
  transition: opacity 150ms ease-out;
}


.sbox > div > input:focus::placeholder {
  opacity: 1;
}

.sbox > div > input:focus,
.sbox > div > input:not(:placeholder-shown) {
  width: 250px;
}

#movie_input:focus + #line{
  transform: translateX(210px) rotate(135deg);
  /* left: 0px; */
}
#movie_input:not(:placeholder-shown) + #line{
  transform: translateX(210px) rotate(135deg);
}

.sbox{
  display: inline-flex;
}
.example_e {
  margin-left: 30px;
  border: none;
  background: #ffffff;
  color: #353535 !important;
  font-weight: 500;
  padding: 11px;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease 0s;
  text-decoration: none;
}
.example_e:hover {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
  background: none;
  transition: all 0.3s ease 0s;
}

*{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
body{
    font-family: monospace;
    -webkit-font-smoothing: antialiased;
}
h2{
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    padding: 30px 0;
}
.option-wrapper{
  display: flex;
}
#option{
  margin: 8px 8px 0 15px;
}
#option select{
  width: 100%;
  color: #353030;
  font-family: 'Open Sans', 'Helvetica Neue', 'Segoe UI', 'Calibri', 'Arial', sans-serif;
  font-size: 20px;
  border: 0.5px;
  border-radius: 0.25em;
  padding: 6px 6px;
  cursor: pointer;
  line-height: 1.1;
  background-color: linear-gradient(to top,#2bb3e0,#55c7ed 33%);
  appearance: menulist-button;
  outline: none;
  margin-top: -3px;
}

input {
  padding: 3px;
  background-color: #31a8cf;
  color: white;
  box-shadow: 0 1px 2px -4px;
  border: none;
}

.spinner
{
  -webkit-animation: rotation 1.35s linear infinite;
  animation: rotation 1.35s linear infinite;
}

@-webkit-keyframes rotation
{
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

@keyframes rotation
{
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}
.loader{
  background-color: transparent;
  display: none;
  justify-content: center;
  margin-bottom: 20px;
}
.circle
{
  stroke-dasharray: 180;
  stroke-dashoffset: 0;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-animation: turn 1.35s ease-in-out infinite;
  animation: turn 1.35s ease-in-out infinite;
}

@-webkit-keyframes turn
{
  0% {
    stroke-dashoffset: 180;
  }

  50% {
    stroke-dashoffset: 45;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  100% {
    stroke-dashoffset: 180;
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}

@keyframes turn
{
  0% {
    stroke-dashoffset: 180;
  }

  50% {
    stroke-dashoffset: 45;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  100% {
    stroke-dashoffset: 180;
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}
svg{
  stroke: #ffff;
}

.movie-info-wrapper{
  background-color: transparent;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.info-wrapper{
  display: flex;
  flex-direction: column;
  /* background-color: #333030; */
  background-color: transparent;
  overflow: hidden;
  height: 480px;
  min-width: 400px;
  color: #f8f8f8;
}
.trailer-wrapper iframe{
  height: 480px;
  width: 854px;
}
.poster-wrapper{
  display: flex;
  padding: 10px;
}
.poster-wrapper img{
  
  height: 250px;
  width: auto;
}
.name-wrapper{
  font-size: 40px;
  margin-left: 15px;
  margin-bottom: 40px;
}
#got_movie_name{
  font-size: 27px;
  padding: 0px;
  margin: 10px 0px;
}
#got_year{
  font-size: 20px;
}
.plot-info-wrapper{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 480px;
}
.hrclass{
  border-top: 1px solid #8c8b8b;
}
/* Table Styles */

.table-wrapper{
    box-shadow: 0px 35px 50px rgba( 0, 0, 0, 0.2 );
    border-radius: 5px;

}


.fl-table {
    border-radius: 5px;
    font-size: 16px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 50%;
    max-width: 100%;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    background: inherit;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    /* background-color: #55c7ed; */
    /* background: transparent; */
}

.fl-table:before {
  content: "";
  position: absolute;
  background: inherit;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
  filter: blur(6px);
  margin: -20px;
}

.fl-table td, .fl-table th {
    text-align: center;
    padding: 8px;
}

.fl-table td {
    border-right: 1px solid #f8f8f8;
    font-size: 16px;
    /* background: transparent; */
}

.fl-table thead th {
    color: #ffffff;
    font-weight: 900;
    background: tomato;
}

/* Responsive */
@media screen and (min-width:853px) and (max-width:1250px){
  .movie-info-wrapper{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
    width: 854px;
    margin-left: auto;
    margin-right: auto;
  }
  .trailer-wrapper{
    display: flex;
    justify-content: center;
  }
  .info-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: transparent;
    width: inherit;
    height: 300px;
    color: #f8f8f8;
  }
  .trailer-wrapper iframe{
    height: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .poster-wrapper{
    display: flex;
    padding: 10px;
  }
  .poster-wrapper img{
    height: 250px;
    width: auto;
  }
  .name-wrapper{
    font-size: 40px;
    margin-left: 15px;
    margin-bottom: 40px;
  }
  #got_movie_name{
    font-size: 27px;
    padding: 0px;
    margin: 10px 0px;
  }
  #got_year{
    font-size: 20px;
  }
  .plot-info-wrapper{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 10px;
  }
  .hrclass{
    width: 1px;
    border: #f8f8f8 solid 1px;
    height: 300px;
    display: inline-block;
  }
}

@media (max-width: 853px) {
   
  .movie-info-wrapper{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
    width: 99%;
    margin-left: auto;
    margin-right: auto;
  }
  .trailer-wrapper{
    display: flex;
    justify-content: center;
  }
  .info-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    height: 300px;
    color: #f8f8f8;
  }
  .trailer-wrapper iframe{
    height: 56.25vw;
    margin-left: auto;
    margin-right: auto;
  }
  .poster-wrapper{
    display: flex;
    padding: 10px;
  }
  .poster-wrapper img{
    width: 30vw;
    max-height: 200px;
    max-width: 100px;
    height: auto;
  }
  .name-wrapper{
    font-size: 40px;
    margin-left: 15px;
    margin-bottom: 40px;
  }
  #got_movie_name{
    font-size: 27px;
    padding: 0px;
    margin: 10px 0px;
  }
  #got_year{
    font-size: 20px;
  }
  .plot-info-wrapper{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 10px;
    margin-right: 10px;
  }
  .hrclass{
    width: 1px;
    border: #f8f8f8 solid 1px;
    height: 300px;
    display: inline-block;
  }
}
@media (max-width:540px){
  .info-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    height: 300px;
    color: #f8f8f8;
  }
  .poster-wrapper{
    display: flex;
    padding: 10px;
    margin-top: -50px;
  }
  .hrclass{
    border-top: 1px solid #8c8b8b;
    width: 100%;
    height: 1px;
  }

}
@media (max-width: 767px) {
 
    #root{
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before{
        content: "Scroll horizontally >";
        display: var(--dis);
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .fl-table thead, .fl-table tbody, .fl-table thead th {
        display: block;
    }
    .fl-table thead th:last-child{
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td, .fl-table th {
        padding: 20px .625em .625em .625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}
