@import url('https://fonts.googleapis.com/css?family=Fredoka+One|Slackey|Comfortaa|Slackside+One&display=swap');
/* GENERAL LAYOUT STYLE */

:root {
  --main: #03dac6;
  --main-header: #25c2c0a6;
  --main-darker: #017170c3;
  --main-deep: #00a8b7;
  --shadow: #889;
}

body {
  text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%2363cdda' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M11 0l5 20H6l5-20zm42 31a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM0 72h40v4H0v-4zm0-8h31v4H0v-4zm20-16h20v4H20v-4zM0 56h40v4H0v-4zm63-25a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM53 41a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-30 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-28-8a5 5 0 0 0-10 0h10zm10 0a5 5 0 0 1-10 0h10zM56 5a5 5 0 0 0-10 0h10zm10 0a5 5 0 0 1-10 0h10zm-3 46a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM21 0l5 20H16l5-20zm43 64v-4h-4v4h-4v4h4v4h4v-4h4v-4h-4zM36 13h4v4h-4v-4zm4 4h4v4h-4v-4zm-4 4h4v4h-4v-4zm8-8h4v4h-4v-4z'/%3E%3C/g%3E%3C/svg%3E");
  background-color: #ddeeeb;
  padding: 0;
  margin: 0;
  font-family: 'Comfortaa';
  width: 100vw;
  overflow-x: hidden;
}

/* Overrides Browser Defaults */
p,
h3,
a,
ul {
  text-decoration: none;
  color: #333;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

h2 {
  font-family: 'Comfortaa';
}

hr {
  border: 0.5px solid var(--main-deep);
  margin: 40px 25px 40px;
  border-radius: 100%;
}

#header {
  background: var(--main-header);
  padding: 1.5vw;
}

#header h1 {
  font-family: 'Slackside One', cursive;
  font-size: 5rem;
  line-height: 4rem;
}

#header h2 {
  color: #444;
  font-weight: bolder;
  margin: 20px;
}

#search-bar {
  background-color: #fff;
  width: 60%;
  border-radius: 3px;
  padding: 15px 20px;
  border: unset;
  outline: unset;
  margin-bottom: 30px;
}

/* Flex Card Container */
.flex {
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  -ms-box-orient: horizontal;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-content {
  display: block;
  margin-top: 15px;
}

#cards {
  display: flex;
  flex-wrap: wrap;
  margin: 3vw;
  padding: 50px;
  overflow: hidden;
  grid-gap: 20px 20px;
}

.card {
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-backdrop-filter: blur(3px);
  -moz-backdrop-filter: blur(3px);
  height: 40vh;
  align-content: space-evenly;
  min-width: 250px;
  width: 18vw;
  max-width: 350px;
  padding: 30px;
  transition-duration: 0.5s;
  align-content: space-evenly;
  overflow: hidden;
  max-width: 250px;
  border: 1.5px solid var(--main-deep);
  min-height: 350px;
  border-radius: 10px;
  margin-top: 20px;
}

.card:hover {
  transform: scale(1.02);
  backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(5px);
  box-shadow: 0 15px 25px 0px var(--shadow);
  -webkit-box-shadow: 0 15px 25px 0px var(--shadow);
  -moz-box-shadow: 0 15px 25px 0px var(--shadow);
  background-color: #ffffff25;
}

.art-image {
  width: 18vw;
  height: 18vw;
  min-width: 150px;
  min-height: 150px;
  max-width: 150px;
  max-height: 150px;
  vertical-align: middle;
  border-radius: 100%;
  border: 2.5px solid var(--main-darker);
  padding: 5px;
  object-fit: cover;
}

.art-title {
  margin: 0 0 10px 0;
  font-size: 1.4rem;
}

.art-title:hover,
.author > a:hover {
  color: var(--main-deep);
  transition: color 0.2s ease-in-out;
}

.author {
  text-transform: uppercase;
  padding: 10px;
  line-height: 15px;
  font-size: 1rem;
}

#footer {
  padding: 35px 20px;
  background-color: #343a40b0;
  justify-content: center;
  color: #ddd;
  border-top: 1px solid rgba(255, 255, 255, 0.89);
}

/* Go to top */
.go-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background-color: var(--main-header);
  color: #fff;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.go-to-top.active {
  opacity: 1;
  transform: translateY(0);
}

.go-to-top span {
  display: inline-block;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(85, 84, 84, 0.364);
}

/* Track */
::-webkit-scrollbar-track {
  background: #161616fb;
  box-shadow: inset 0 0 5px var(--main-header);
  border-radius: 10px;
}

/* Handles scrollbar-thumb*/
::-webkit-scrollbar-thumb {
  background: var(--main);
  border-radius: 10px;
}

/* Handles on scrollbar hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(88, 194, 250);
}
