* {
  font-family: Poppins, sans-serif;
}

.hide {
  display: none;
}

.add-icon {
  margin-top: 1.8rem;
  margin-left: 1.3rem;
}

.modal.view {
  display: block;
}

.overlay-box {
  display: block;
  width: 100%;
  height: 100%;
}

.overlay-box.on {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 50%);
}

.question {
  font-size: 1.2rem;
  margin: 0 1rem;
}

.question-column-half {
  width: 50%;
  margin-top: 2rem;
}

.cancel-button {
  font-size: 0.9rem;
  padding: 8px 15px;
  background-color: rgb(220, 38, 37);
  color: white;
  border-radius: 5px;
  border-style: none;
}

.confirm-button {
  font-size: 0.9rem;
  padding: 8px 15px;
  background-color: rgb(189 189 189);
  color: black;
  border-radius: 5px;
  border-style: none;
}

.open-modal {
  font-family: sans-serif;
  width: 400px;
  height: 184px;
  padding-top: 1.5rem;
  text-align: center;
  border-radius: 5px;
  position: absolute;
  top: 52%;
  left: 51%;
  transform: translate(-50%, -50%);
  background-color: white;
}

.delete-icon {
  color: black;
  position: relative;
  display: flex;
  justify-content: end;
  bottom: 87%;
  right: 8%;
}

i,
a,
button {
  cursor: pointer;
}

h2.error-message {
  text-align: center;
}

.fish-logo {
  width: 20%;
}

li {
  list-style: none;
}

.navbar {
  min-height: 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 255;
  padding-left: 0;
  gap: 26px;
}

.nav-link {
  transition: 0.7s ease;
  color: white;
  text-decoration: none;
}

.nav-link:hover {
  color: dodgerblue;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

.nav-item {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #262626;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item {
    margin: 16px;
  }

  .nav-menu.active {
    left: 0;
  }
}

.see-more {
  width: calc((100% / 3) - 8px);
  padding: 16px;
  background-color: #2085c5;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  border-radius: 3px;
  font-size: 1rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  margin-bottom: 3rem;
  margin-top: 1rem;
}

.see-more:hover {
  box-shadow: 0 1px 9px rgba(0, 0, 0, 0.2);
}

.three-fish {
  padding-left: 0;
}

.logo {
  font-size: 1.4em;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 15px solid #0073c9;
}

.header {
  width: 100%;
  height: 70px;
  background-color: #0073c9;
}

.home-header {
  position: absolute;
  top: 0;
  right: 3px;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase {
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  transition: 0.5s;
  z-index: 2;
}

.showcase.active {
  right: 300px;
}

.showcase video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #03a9f4;
  mix-blend-mode: overlay;
}

.text {
  position: relative;
  z-index: 10;
}

h2.never {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h3.sea {
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}

.explore {
  display: inline-block;
  font-size: 1.5rem;
  background: #fff;
  padding: 10px 30px;
  border-radius: 5px;
  font-weight: 500;
  margin-top: 3rem;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
  cursor: pointer;
}

.explore:hover {
  letter-spacing: 6px;
}

.search-click-two,
.list-click,
.fish-click {
  text-decoration: none;
  color: white;
}

.first-row {
  margin-top: 3rem;
}

.fish-intro {
  margin-top: 3rem;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fish-video {
  padding: 0;
  width: 50%;
}

h2.fish-head {
  margin-left: 2.2rem;
  letter-spacing: 0.5rem;
  font-size: 4rem;
  margin-bottom: 0;
  margin-top: 0;
}

p.quote {
  font-size: 1.5rem;
}

.fish-definition {
  background-color: #0e345a;
  color: white;
  text-align: center;
  width: 50%;
}

blockquote p::before {
  content: "\201C";
}

blockquote p::after {
  content: "\201D";
}

figcaption {
  margin-left: 2.2rem;
}

.aquatic-life {
  text-align: center;
  margin-top: 3rem;
  font-size: 3rem;
}

.fish-cards {
  width: 100%;
  background-color: #f2f2f2;
  justify-content: center;
}

.fish-card {
  width: 100%;
  height: 500px;
  margin-bottom: 1rem;
  border: 1px solid rgb(199 199 199);
  border-radius: 0.25rem;
  box-shadow: 0 6px 6px -4px rgb(0 0 0 / 30%);
  background-color: #f4f4fa;
}

.fish-card-image {
  height: 281.8px;
}

.fish-card-image > img {
  width: 100%;
  height: 100%;
  background-color: rgb(210 210 210);
  object-fit: contain;
}

.fish-name {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.learn-more-card {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.learn-text {
  text-decoration: none;
  font-size: 1rem;
  color: white;
  background-color: black;
  margin-top: 1rem;
  padding: 1rem;
}

.fish-list,
.result-list,
.three-fish,
.favorite-list {
  list-style-type: none;
  width: 100%;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  padding-right: 40px;
}

ul.fish-list > li,
ul.result-list > li,
ul.three-fish > li,
ul.favorite-list > li {
  display: inline-block;
  width: 23%;
  margin-left: 2rem;
}

ul.fish-list > li::after,
ul.result-list > li::after,
ul.three-fish > li::after,
ul.favorite-list > li::after {
  cursor: pointer;
}

ul.result-list > li.hidden {
  display: none;
}

ul.result-list > li.view {
  display: block;
}

div.title-div {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  background-color: #018a99;
  height: 5rem;
}

p.title {
  font-size: 1.5rem;
  color: white;
}

.fish-div {
  margin-top: 2rem;
  width: 400px;
  height: 300px;
}

img.fish-img {
  width: 100%;
  height: 100%;
  background-color: white;
}

.angle-left,
.angle-right {
  color: orange;
}

.angle-left > i,
.angle-right > i {
  position: relative;
}

.fa-angle-left {
  top: 150px;
  left: 293px;
}

.fa-angle-right {
  top: 150px;
  right: 89px;
}

div.table-row {
  margin-top: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}

table {
  border-collapse: collapse;
  margin-left: 9.5rem;
  margin-right: 9.5rem;
  border: 2px solid #2085c5;
  border-top: 10px solid #2085c5;
  width: 800px;
}

tr {
  height: 80px;
}

th {
  width: 30%;
  font-size: 1.2rem;
}

td {
  width: 70%;
  border: none;
  padding: 20px;
  margin: 0;
  font-size: 1.1rem;
}

td.no-li {
  padding: 20px;
}

td.location-li,
td.biology-li {
  padding: 0 0 20px;
}

tr:nth-child(odd) {
  background-color: #d9eaec;
}

td.scientific-name {
  font-style: italic;
}

ul.fish-location-list,
ul.fish-biology-list {
  margin: 0;
  padding: 0;
}

ul.fish-location-list > li,
ul.fish-biology-list > li {
  margin: 0;
  padding: 20px 27px 0 22px;
  list-style: none;
  background-image: url("../images/orange.png");
  background-repeat: no-repeat;
  background-position: 1px 1.4em;
  background-size: 13px;
}

div.list-button-div {
  justify-content: center;
  display: flex;
  margin-bottom: 3rem;
}

ul.fish-location-list > p {
  padding-left: 20px;
}

td.biology-li > ul > li > ul > li > ul {
  margin: 0;
  padding: 20px 27px 0 22px;
  list-style: none;
  background-image: url("../images/orange.png");
  background-repeat: no-repeat;
  background-position: 1px 1.4em;
  background-size: 13px;
}

td.biology-li > ul ul > li {
  margin: 0;
  padding: 20px 27px 0 22px;
  list-style: none;
  background-image: url("../images/orange.png");
  background-repeat: no-repeat;
  background-position: 1px 1.4em;
  background-size: 13px;
}

button.add {
  padding: 1.5rem;
  font-size: 1.5rem;
  border-radius: 20px;
  border-style: none;
  background-color: red;
  color: white;
}

button.back-to-list {
  padding: 1.5rem;
  font-size: 1.5rem;
  border-radius: 20px;
  border-style: none;
  background-color: #0073c9;
  color: white;
}

button.back-to-list:hover {
  cursor: pointer;
  background-color: #c4ff02;
  color: red;
}

div.search-input {
  display: flex;
  justify-content: center;
}

input.search-input {
  width: 100%;
  height: 40px;
  border: 3px solid #0073c9;
  font-size: 1.5rem;
  text-align: center;
}

input.search-input:focus {
  border: 1px solid yellow;
}

.search-button {
  width: 60px;
  height: 40px;
  border: none;
  background-color: white;
}

.no-result {
  font-size: 1.5rem;
  text-align: center;
  padding-top: 1.5rem;
}

figure {
  margin: 3rem 0;
}

.no-fav {
  text-align: center;
  font-size: 1.3rem;
}

.load-overlay {
  display: block;
  width: 100%;
  height: 100%;
}

.load-overlay.on {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 72%);
}

.lds-facebook {
  max-width: 5em;
  max-height: 5em;
  margin: auto;
  position: absolute;
  top: 77px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: yellow;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }

  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

@media only screen and (min-width: 280px) and (max-width: 370px) {
  .logo {
    font-size: 1rem;
  }

  .aquatic-life {
    font-size: 2rem;
  }

  h2.fish-head {
    margin-left: 0;
    font-size: 2.2rem;
  }

  p.quote {
    font-size: 1.1rem;
  }

  figcaption {
    margin: 0;
  }

  .fish-video,
  .fish-definition {
    width: 100%;
  }

  a.search-click-two {
    margin-right: 0.4rem;
  }

  i.fa-angle-right {
    left: 0;
    top: 113px;
  }

  i.fa-angle-left {
    left: 29px;
    top: 113px;
  }

  .logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 10px solid #0073c9;
  }

  a.serch-click-two {
    margin-right: 1rem;
  }

  .text {
    right: 15px;
  }

  .text h2 {
    font-size: 3em;
  }

  .text h3 {
    font-size: 2em;
  }

  .column-half {
    width: 100%;
  }

  .show-case {
    width: 100%;
    position: relative;
    right: 0;
    height: 100%;
  }

  ul.fish-list > li,
  ul.result-list > li,
  ul.three-fish > li,
  ul.favorite-list > li {
    width: 100%;
    margin-left: 0;
  }

  .fish-list,
  .result-list,
  .three-fish,
  .favorite-list {
    padding-right: 30px;
    padding-left: 30px;
  }

  .fish-div {
    height: 180px;
    width: 180px;
  }

  .see-more {
    width: 52%;
    padding: 16px;
  }
}

@media only screen and (min-width: 371px) and (max-width: 436px) {
  .fish-video,
  .fish-definition {
    width: 100%;
  }

  a.search-click-two {
    margin-right: 0.4rem;
  }

  .logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 8px solid #0073c9;
  }

  .home-header {
    position: absolute;
    right: 25px;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
  }

  .text {
    position: relative;
    z-index: 10;
    right: 30px;
  }

  .column-half {
    width: 100%;
  }

  .fish-column {
    padding: 0;
  }

  .logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
  }

  .text h2 {
    font-size: 3.5em;
    font-weight: 800;
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

  .text h3 {
    margin-top: 0;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
  }

  .intro-video {
    width: 100%;
  }

  p.quote {
    font-size: 1.2rem;
    text-align: center;
  }

  h2.fish-head {
    font-size: 3rem;
    margin: 0;
    text-align: center;
  }

  ul.fish-list > li,
  ul.result-list > li,
  ul.three-fish > li,
  ul.favorite-list > li {
    width: 254px;
    margin-left: 7px;
  }

  .fish-list,
  .result-list,
  .three-fish,
  .favorite-list {
    padding: 0;
  }

  .see-more {
    width: 52%;
  }

  .fish-div {
    height: 200px;
    width: 260px;
  }

  .fa-angle-left {
    top: 132px;
    left: 47px;
  }

  .fa-angle-right {
    top: 132px;
    left: 0;
  }

  table {
    margin-left: 0;
    margin-right: 0;
    width: 88%;
  }

  div.table-row {
    margin-top: 4rem;
    justify-content: center;
  }

  .aquatic-life {
    font-size: 2rem;
  }

  input.search-input {
    width: 300px;
    height: 50px;
  }

  .first-row {
    margin-top: 3rem;
  }

  .fish-card {
    width: 100%;
  }
}

@media only screen and (min-width: 437px) and (max-width: 670px) {
  .logo {
    margin-top: 31px;
    margin-left: 3rem;
    font-size: 17px;
  }

  .fish-list,
  .result-list,
  .three-fish,
  .favorite-list {
    padding: 0;
  }

  ul.fish-list > li,
  ul.result-list > li,
  ul.three-fish > li,
  ul.favorite-list > li {
    width: 42%;
    margin: 1rem;
  }

  .fish-video,
  .fish-definition {
    width: 100%;
  }

  .fa-angle-left {
    top: 175px;
    left: 60px;
  }

  .fa-angle-right {
    top: 170px;
    right: -2px;
  }

  .fish-div {
    width: 350px;
    height: 300px;
  }

  table {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

@media only screen and (min-width: 671px) and (max-width: 911px) {
  .logo {
    margin-left: 1rem;
  }

  h2.fish-head {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
  }

  .navbar {
    padding: 0 13px;
  }

  .nav-menu {
    gap: 14px;
  }

  .fish-list,
  .three-fish,
  .result-list,
  .favorite-list {
    padding-right: 30px;
  }

  ul.fish-list > li,
  ul.result-list > li,
  ul.three-fish > li,
  ul.favorite-list > li {
    width: 46%;
    padding: 0;
  }

  table {
    margin: 0 3rem;
  }

  .fa-angle-left {
    top: 177px;
    left: 110px;
  }

  .fa-angle-right {
    top: 172px;
    right: 17px;
  }

  form.form {
    width: 50%;
  }

  input.search-input {
    font-size: 2rem;
    height: 61px;
  }
}

@media only screen and (min-width: 912px) and (max-width: 1129px) {
  .fish-logo {
    width: 20%;
  }

  .nav-menu {
    gap: 25px;
  }

  h2.fish-head {
    margin-top: 0;
  }

  input.search-input: {
    height: 55px;
    font-size: 2rem;
  }

  form.form {
    width: 50%;
  }

  .fa-angle-left {
    left: 228px;
  }
}

@media only screen and (min-width: 1130px) and (max-width: 1360px) {
  .fish-logo {
    width: 16%;
  }

  h2.fish-head {
    margin-top: 0;
  }

  input.search-input: {
    height: 55px;
    font-size: 2rem;
  }

  form.form {
    width: 50%;
  }
}

@media only screen and (min-width: 1361px) and (max-width: 1446px) {
  .fish-logo {
    width: 17%;
  }

  h2.fish-head {
    font-size: 5rem;
  }

  input.search-input: {
    height: 55px;
    font-size: 2rem;
  }

  form.form {
    width: 50%;
  }
}

@media only screen and (min-width: 1447px) and (max-width: 1920px) {
  .fish-logo {
    width: 17%;
  }

  h2.fish-head {
    font-size: 5rem;
  }

  input.search-input: {
    height: 55px;
    font-size: 2rem;
  }

  form.form {
    width: 50%;
  }

  .fa-angle-left {
    left: 500px;
  }

  .fa-angle-right {
    right: 260px;
  }
}
