@font-face {
  font-family: "MS Gothic";
  src: url("https://abetterplace.web.app/assets/fonts/Ms_Gothic/MS_Gothic.ttf") format();
}
@font-face {
  font-family: "Marvel Regular";
  src: url("../assets/fonts/Marvel/Marvel-Regular.ttf");
}
:root {
  --primary-color: #82cada;
  --secondary-color: #9dcfea;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  transition: 0.1s linear;
}

html {
  font-size: 62.5%;
  background-color: var(--primary-color);
}

h1,
h2 {
  margin: 25px;

  font-family: "MS Gothic", sans-serif, "Franklin Gothic Medium", "Arial Narrow",
    Arial, sans-serif;
  color: white;
}

h1 {
  font-size: clamp(2rem, 5rem, 7rem);
}

h2 {
  font-size: clamp(2rem, 3.5rem, 4rem);
}

h3 {
  font-family: "Marvel Regular", sans-serif, "Gill Sans", "Gill Sans MT",
    Calibri, "Trebuchet MS", sans-serif;
  font-size: clamp(1rem, 2rem, 4rem);
}
p {
  font-family: "Marvel Regular", sans-serif, "Gill Sans", "Gill Sans MT",
    Calibri, "Trebuchet MS", sans-serif;
  font-size: clamp(1.5rem, 10vw, 2.5rem);
  text-align: justify;
}

a:hover {
  color: #4dd841;
}

img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header,
main,
footer {
  transition: 0.1s linear;
}
header {
  position: sticky;
  top: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 30vh;
  background-image: url("../assets/bins.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0%;
  text-align: center;
}

header > h1 {
  backdrop-filter: blur(5px);
}
main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;

  text-align: center;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

main > article {
  margin: 0 auto;
  padding-top: 20px;
  width: 90%;
}

section {
  margin-top: 30px;
}

.phrase {
  text-align: center;
}
.phrase::before,
.phrase::after {
  content: '"';
  font-family: "Times New Roman", Times, serif;
  font-size: 4rem;
}

.joinUs {
  margin-bottom: 20px;
  padding-top: 10px;
  transition: 0.5s ease-in-out;
}

#readyTitle {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 0.2px black, 0 -2px 0.2px black, 2px 0 0.2px black,
    -2px 0 0.1px black;
}
#readyTitle > span {
  color: #4dd841;
}

.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.QR,
.link {
  margin: 20px;
}
.link > h3 > a {
  color: black;
}
.link > h3 > a:hover {
  color: white;
}
.QR {
  width: 80%;
}
.seeing {
  background-color: #9dcfea;
  box-shadow: 0px 2px 5px 0.1px rgb(53, 52, 52);
  transition: 0.5s ease-in-out;
}
@media (min-width: 625px) {
  #readyTitle::after,
  #readyTitle::before {
    content: "";
    position: absolute;
    top: 0;
    z-index: -1;
    width: clamp(2rem, 7rem, 9rem);
    height: clamp(2rem, 7rem, 9rem);
    background-image: url("../assets/recycleing.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
  #readyTitle::before {
    left: 0;
  }
  #readyTitle::after {
    right: 0;
  }

  .links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .QR,
  .link {
    margin: 20px 50px;
  }
  .link > h3 > a {
    color: black;
  }
  .link > h3 > a:hover {
    color: white;
  }

  .QR {
    width: 20%;
  }
  .seeing {
    background-color: #9dcfea;
    box-shadow: 0px 2px 5px 0.1px rgb(53, 52, 52);
    transition: 0.5s ease-in-out;
  }
}
