@font-face {
  font-family: Glodok;
  src: url('../fonts/glodok-display.otf');
}
@font-face {
  font-family: PoppinsRegular;
  src: url('../fonts/Poppins/Poppins-Regular.ttf');
}

:root {
  --orange: #F8AC54;
  --blue: #CF56E2;
  --teal: #04d5c6;
  --turquoise: #00838D;
  --turquoiseTranslucent: #00838DDD;
}

* {
  box-sizing: border-box;
}

body {
  background-attachment: fixed;
  background-image: url(../imgs/homepage-background.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: PoppinsRegular;

  h1 {
    color: var(--orange);
    font-family: 'Glodok';
    text-shadow: 0 2px 2px black;
    margin: 10px;
  }

  p.important {
    font-size: 20px;
  }
}

a {
  color: white;
}

body, html {
  height: 100%;
  margin: 0;
}

#home .bg-text {
  background-color: var(--turquoiseTranslucent);
  color: white;
  border: 3px solid var(--teal);
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

#gallery .bg-text {
  bottom: 2%;
  position: fixed;
}

#about .bg-text {
  top: 2%;
  width: 97%;
}

.bg-text {
  background-color: var(--turquoiseTranslucent);
  color: white;
  border: 3px solid var(--teal);
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

.grid {
  display: grid;
}

/* Default styles first */
.col-3 {
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 10px;
}

/* Media queries last */
@media screen and (min-width: 528px) {
  .col-3 {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
  }
}

#about {
  .grid {
    font-size: 16px;
    text-align: left;

    ul {
      padding: 10px;
      text-align: left;
    }
  }

  @media screen and (min-width: 528px) {
    .grid {
      font-size: 12px;

      p {
        text-align: justify;
      }

      ul {
        padding: 10px;
        text-align: left;
      }
    }
  }
}
