@import "/assets/colors.css";
@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&family=Quicksand:wght@300..700&display=swap");

body {
  margin: 0;
  font-family: "Quicksand";
  position: relative;

}

body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-image: url("/assets/background.webp");
  z-index: -20;
  filter: opacity(0.3);
  -webkit-filer: opacity(0.3);

}

h1 {
    color: var(--light);
    font-family: "Playpen Sans";
}

h2 {
  color: var(--dark);

}

#fill {
    color: var(--contrast)

}

p {
  color: var(--dark);
}

a {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

i {
  color: var(--contrast);
  font-size: 3rem !important;
}

img {
  max-width: 100%;
}

.header {
  padding: 0 2rem 0 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: var(--accent);
  
}

.img-box {
  margin: 0 2rem 2rem 2rem auto;
  padding: 1rem;
  height: 40dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.img-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image: url("/assets/cover.webp");
  background-size: cover;
  background-position: center;
  filter: blur(0.1rem);
  -webkit-filter: blur(0.1rem);
  z-index: -10;
  
}

.img-box > h2 {
  color: var(--light);
  background-color: var(--contrast);
  padding: 1rem;
  font-weight: bolder;
  font-size: 2rem;
  box-shadow: .5rem .5rem var(--light);
}

.box {
  margin: 3rem auto;
  border-radius: 1rem;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 0 0 0.25rem 0.02rem var(--dark);
  
}

.box > div {
  padding: 1rem; 

}
.box img {
  max-width: 50%;

}

.box > i {
  font-size: 2rem !important;
}

.box h2 {
  white-space: nowrap;

}

.backdrop {
  backdrop-filter: contrast(0.8) blur(0.5rem);
  -webkit-backdrop-filter: contrast(0.8) blur(0.5rem);
}


.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.footer {
  width: calc(100% - 2 * 1rem);
  margin: 0 auto;
  padding: 1rem;
  justify-content: center;
  font-size: .75rem;

}

.footer > p {
  max-width: 40%;
  
}

@media only screen and (max-width: 475px) {
  #fill {
    display: none;
  }

  .box {
    flex-direction: column;
    margin: 3rem 1rem;

  }

  .box img {
    max-width: 100%;
  }
}
