:root {
  --header-image: url('/assets/andyheader.png');
  --body-bg-image: url('/assets/paperbg.png');
}

body {
  background-image: var(--body-bg-image);
  background-color: #FFFFFF;
  background-size: 65px;
  font-family: 'Roboto', 'Verdana', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0;
  color: #212320;
}

ul {
  list-style-type: none;
}

.flex {
  display: flex;
}

.tooltip {
  position: absolute;
  display: inline-block;
  padding-left: 1%;
}

.tooltip img {
  height: 15px;
  width: 15px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 300;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#searchbar {
  background-image: url('/assets/glass.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 50%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #DDD;
  margin-bottom: 12px;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

#searchbar:focus{
  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4) inset;
  transition: box-shadow 0.3s ease;
}

#container {
  max-width: 900px;
  margin: 0 auto;
}

#container a {
  color: #29695C;
  font-weight: bold;
  text-decoration: none;
}

#container .justwatch {
  color: #212320;
  font-weight: normal;
  border-bottom: 1px dotted #29695C;
}

header {
  min-height: 390px;
  background-image: var(--header-image);
  background-repeat: no-repeat;
  background-size: 900px 380px;
  background-position: center top;
}

main, footer {
  background-color: rgba(147, 153, 148, 0.15);
  padding: 20px;
}

main {
  flex: 1;
}

footer {
  padding: 20px;
  margin-top: 10px;
}

#dbTable {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid #BBBDB9;
  background-color: rgba(255, 255, 255, 0.8);
}

#dbTable th, #dbTable td {
  text-align: left;
  padding: 10px;
}

#dbTable td:nth-child(3), #dbTable th:nth-child(3) {
  text-align: center;
}
#dbTable tr:not(.header) {
  border-bottom: 1px solid #D7D5CF;
  font-size: x-small;
}

#dbTable .header {
  background-color: #BBBDB9;
}

#dbTable tr:hover:not(.header) {
  background-color: #EDECEA;
}

.accordion-link {
  transition: 0.4s;
}

.accordion-content {
  border: 2px solid #BBBDB9;
  background-color: rgba(255, 255, 255, 0.8);
}

.panel {
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel ul {
  text-align: left;
}

.column {
  float: left;
  width: 33.33%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

h1 {
  font-family: 'Sansita Swashed', 'Lobster', cursive;
  font-weight: 900;
  font-size: 42px;
  -webkit-text-stroke-width: 1.7px;
  -webkit-text-stroke-color: #494142;
  -webkit-text-fill-color: #f7f7f5;
  margin: 0px 0px 20px 0px;
}

h2,
h3 {
  font-weight: 700;
  color: #29695C;
}

.text-small {
  font-size: x-small;
}

.center {
  text-align: center;
}

.series {
  padding-right: 10px;
}

@media screen and (max-width: 480px) {
    header {
        display: none;
    }

}

@media only screen and (max-width: 800px) {
  .flex {
    flex-wrap: wrap;
  }
  
  #container {
    width: 100%;
  }
  
  footer {
    width: max-content;
    padding: 20px 6px;
  }
  
  h1 {
    line-height: 20px;
    font-size: revert; 
     -webkit-text-stroke-width: revert; 
     -webkit-text-stroke-color: revert; 
     -webkit-text-fill-color: revert; 
  }
  
  #searchbar {
    width: 100%;
  }
}