@font-face {
  font-family: Monstserrat;
  src: url("fonts/Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: Monstserrat-Italic;
  src: url("fonts/Montserrat-Italic-VariableFont_wght.ttf");
}
@font-face {
  font-family: Kiln-Sans;
  src: url("fonts/Kiln-Sans.otf");
}
@font-face {
  font-family: Kiln-Sans-Italic;
  src: url("fonts/Kiln-Sans-Italic.otf");
}
* {
  box-sizing: border-box;
}
html, body {
  width: 100vw;  
  margin:0;
    background-color: #303535;
    padding:0;
    font-family: Monstserrat, "Trebuchet MS", sans-serif;
    color: #e4ebeb;
}
.smallText {
  font-size: 14px;
  font-style: italic;

}
.smallHeader {
  font-weight: 600;
}
.medHeader {
  font-weight: 700;
  font-size: 20px;
}
.bigHeader {
  font-weight: 800;
  font-size: 32px;
}
.dirHeader {
  font-family: Monstserrat-Italic;
}
.siteFooter{
    width: 100vw;
    background-color:black;
    color:#e4ebeb;
    padding:0;
    text-align: right;
    margin-left:0px;
    margin-right:0px;
    margin-bottom: 0px;
    position: absolute;
}
.footerContents{
    min-width: 800px;
    max-width: 1000px;
    padding:10px;
    margin-left:auto;
    margin-right:auto;
}
 /* unvisited link */
 a:link {
    color: #4d8382;
    text-decoration: none;
  }
  
  /* visited link */
  a:visited {
    color: #4d8382;
    text-decoration: none;
  }
  
  /* mouse over link */
  a:hover {
    color: #e4ebeb;
    text-decoration: none;
  }
  
  /* selected link */
  a:active {
    color: #4d8382;
    text-decoration: none;
  } 
  
  a.head_link:link {
    font-family: Kiln-Sans;
    text-transform: uppercase;
    color: #4d8382;
    font-size: 35px;
    text-decoration: none;
  }
    /* visited link */
  a.head_link:visited {
    font-family: Kiln-Sans;
    text-transform: uppercase;
    color: #4d8382;
    font-size: 35px;
    text-decoration: none;
  }
  
  /* mouse over link */
  a.head_link:hover {
    font-family: Kiln-Sans;
    text-transform: uppercase;
    color: #e4ebeb;
    font-size: 35px;
    text-decoration: none;
  }
  
  /* selected link */
  a.head_link:active {
    font-family: Kiln-Sans;
    text-transform: uppercase;
    color: #4d8382;
    font-size: 35px;
    text-decoration: none;
  } 

  a.browselink:hover {
    color: #101f1f;
    text-decoration: none;
  }

  #browse th {
    background-color: #4d8382;
    padding: 5px;
    color:#e4ebeb;
  }
  #browse table,tr,td{
    padding:3px;
  }

.tagContainer {
  color:black;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
  width:auto;
  height:28px;
  text-align: center;
  border-radius: 25px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 34px;
  background-color: #436554;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}
.tagSelect {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  width:auto;
  height:auto;
  text-align: center;
  border-radius: 25px;
  display: inline;
  white-space: nowrap;
  line-height: 34px;
  background-color: #888;
  transition: background-color 0.3s;
}
input[type="checkbox"]:checked + .tagSelect {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  width:auto;
  height:auto;
  text-align: center;
  border-radius: 25px;
  display: inline;
  white-space: nowrap;
  line-height: 34px;
  color: #e4ebeb;
  background-color: #4d8382;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}

.synopsisContainer {
  color: black;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  width:auto;
  height:auto;
  border-radius: 10px;
  background-color: #e4ebeb;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}
.poster {
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}

/* Submit button styling */
.sub {
  margin: 9px;
  padding: 12px;
  background-color: #406b6a;
  color: #e4ebeb;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
  transition: background-color 0.3s, transform 0.2s;
}


/* Button hover effect */
.sub:hover {
  background-color: #4d8382;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.searchForm {
  width: 250px;
  padding: 12px;
  background-color: #707070;
  color: #e4ebeb;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
}

.movie-table {
  border-radius: 15px;
  border-collapse: collapse;
  color: black;
  margin: 10px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.movie-table th {
  background-color: #4d8382;
  color: #e4ebeb;
  font-weight: 600;
  padding: 4px;
}
.movie-table td {
  padding: 4px;
}
.movie-table tr {
  border-bottom: 1px solid #dddddd;
  background-color: #e4ebeb;
}
.movie-table tr:nth-of-type(odd) {
  background-color: #f3f3f3;
}
.movie-table tbody tr:last-of-type {
  border-bottom: 2px solid #4d8382;
}
.siteCont {
  margin: 0;
  width:100%;
  min-width: 500px;
  justify-content: center;
  align-items: center;
  display:flex;
  flex-wrap: wrap;
}
.review_container {
  width: 150px;
  border-radius: 5px 5px 5px 5px;
  background: #4d8382;
  overflow: auto;
  margin: 3;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}
.review_header{
  padding: 10px;
  width: auto;
  text-align: center;
  background-color: #4d8382;
  padding: 5px;
  color: white;
  font-weight: 700;
  font-size: 20px;
}
.review_score{
  color: black;
  padding: 10px;
  width:auto;
  text-align: center;
  background-image: url('imgs/avg_score.png');
  background-repeat: no-repeat;
  background-position: right bottom; 
  background-color: #e4ebeb;
  font-weight: 800;
  font-size: 32px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.details_box {
  width: 500px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  min-height: 275px;
  display:inline;
}
.tag_box {
  max-width: 800px;
  justify-content: center;
  align-items: center;
  display:flex;
  flex-wrap: wrap;
  line-height: 32px;
  padding: 3px;
}
.siteContWrap {
  margin:auto;
  width: 1000px;
  justify-content: center;
  align-items: center;
}
.review_arrow {
  width: 99px;
  height: 45px;
  position: relative;
  display: block;
  background:transparent url('imgs/start_review.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
  left: 450px;
  outline: none;
  border: none;

}
.review_arrow:hover {
  background:transparent url('imgs/start_review_hover.png') center top no-repeat;
  transform: translateY(-1px);
  outline: none;
  border: none;
}

#tagDiv {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

/* Show state styling */
#tagDiv.show {
  opacity: 1;
  max-height: 500px; /* Set a max height large enough to fit your content */
}

.home_link {
  width: 75px;
  height: 35px;
  position: relative;
  display: block;
  background:transparent url('imgs/text_home.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
}
.home_link:hover {
  background:transparent url('imgs/text_home_hover.png') center top no-repeat;
  transform: translateY(-1px);
}
.browse_link {
  width: 109px;
  height: 35px;
  position: relative;
  display: block;
  background:transparent url('imgs/text_browse.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
}
.browse_link:hover {
  background:transparent url('imgs/text_browse_hover.png') center top no-repeat;
  transform: translateY(-1px);
}

.review_link {
  width: 99px;
  height: 35px;
  position: relative;
  display: block;
  background:transparent url('imgs/text_review.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
}
.review_link:hover {
  background:transparent url('imgs/text_review_hover.png') center top no-repeat;
  transform: translateY(-1px);
}
.titleBar {
  width: 100vw;
  background-color: black;
  color:#e4ebeb;
  margin-top: 0px;
  margin-left:auto;
  margin-right:auto;
}
.titleBar-contents {
  display:flex;
  min-width: 800px;
  max-width: 1000px;
  padding:10px;
  margin-left:auto;
  margin-right:auto;
}
.titleBar-logo {
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.titleBar-nav {
  display: flex;
  margin:auto;
  padding-left: 75px;
  vertical-align: middle;
  font-size: 16px;
  align-items: center;
  justify-content: right;
}
.titleBar-login {
  display: flex;
  vertical-align: middle;
  font-size: 16px;
  align-items: center;
  justify-content: right;
  width:300px;
}
li {
  list-style-position: outside;
}
.home_movie_container {
  width: 225px;
  background-color:#4d8382;
  border-radius: 8px;
  margin: 5px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);

}
html {
  scroll-behavior: smooth;
}
.homeHeader {
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}
.more_link {
  width: 61px;
  height: 59px;
  position: relative;
  display: block;
  background:transparent url('imgs/more.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
}
.more_link:hover {
  background:transparent url('imgs/more_hover.png') center top no-repeat;
  transform: translateY(-1px);
}
.home_titles{
  font-size: 40px;
  text-transform: uppercase;
  font-family: Kiln-Sans;
  font-weight: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
  color:#e4ebeb;
  text-align: center;
}
.page_titles{
  font-size: 50px;
  text-transform: uppercase;
  font-family: Kiln-Sans;
  font-weight: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
  color:#e4ebeb;
}
.logo_link {
  width: 300px;
  height: 75px;
  position: relative;
  display: block;
  background:transparent url('imgs/logo.png') center top no-repeat;
  transition: opacity 0.3s, transform 0.2s;
}
.logo_link:hover {
  background:transparent url('imgs/logo_hover.png') center top no-repeat;
  transform: translateY(-1px);
}
.search_cri_box{
  padding: 5px;
  margin: 3px;
  width:150px;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 5px;;
}
.sel_browse{
  margin-top: 5px;
  width:100%;
  height:30px;
  padding:3px;
  font-size: 14px;
  background-color: #406b6a;
  text-align: center;
  color: #e4ebeb;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 377px;
}
input[type="range"]::-webkit-slider-runnable-track {
  background: #4d8382;
  height: 0.5rem;
  border-radius: 5px;
}

/******** Firefox ********/
input[type="range"]::-moz-range-track {
  background: #4d8382;
  height: 0.5rem;
  border-radius: 5px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
   appearance: none;
   margin-top: -4px; /* Centers thumb on the track */

   /*custom styles*/
   background-color: #e4ebeb;
   height: 1rem;
   width: 1rem;
   border-radius: 1rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0; /*Removes default border-radius that FF applies*/

  /*custom styles*/
  background-color: #e4ebeb;
  height: 1rem;
  width: 1rem;
  border-radius: 1rem;
}

datalist {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  writing-mode: vertical-lr;
  width: 377px;
}

option.sliderTime {
  padding: 0;
  margin-top: 5px;
  rotate: 270deg;
}