@font-face {
  font-family: "Raleway";
  src: url(./Raleway.ttf) format("truetype");
}

@font-face {
  font-family: "Aboreto";
  src: url(./Aboreto.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f2e6a3;
  --secondary-color: #181a18;
  --accent-color: #0d0d0e;

  --cranberry: #a4303f;
  --sand: #e7ddcf;
  --steel: #2c3642;
  --fog: #c7ced6;
  --near-black: #121417;
}

body {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/background.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
  color: var(--secondary-color);
  font-family: "Raleway";
  text-align: center;
  padding: 20px;
}

#quote-container {
  margin-top: 100px;
  padding: 50px;
  font-size: 24px;
  max-width: 1200px;
  width: 100%;
}

#quote-of-the-day {
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
  margin: 20px 0;
}
#verse {
  font-size: 20px;
  text-align: center;
  margin: 10px 0;
  color: var(--accent-color);
}

h1 {
  font-family: "Aboreto", cursive;
}

a {
  text-decoration: none;
  color: #111111;
  font-size: 18px;
}

a:hover {
  color: rgb(242, 230, 163);
}

#social {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  margin: 40px;
  padding: 10px;
}

ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  margin: 10px;
  padding: 10px;
}

li {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  margin: 10px;
  padding: 15px;
}

/* Add some padding and margin to the icons */
.icon {
  padding: 10px;
  margin: 0 20px;
}

/* Add a background color and border radius to the icons */
.icon {
  background-color: #f9f9f9;
  border-radius: 50%;
}

/* Add a transition effect for the hover state */
.icon {
  transition: all 0.2s ease-in-out;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet devices (768px and below) */
@media screen and (max-width: 768px) {
  body {
    padding: 15px;
  }

  #quote-container {
    margin-top: 50px;
    padding: 30px 20px;
    font-size: 20px;
  }

  h1 {
    font-size: 28px;
  }

  #quote-of-the-day {
    font-size: 22px;
    line-height: 1.4;
    margin: 15px 0;
  }

  #verse {
    font-size: 18px;
  }

  #social {
    margin: 30px 20px;
    padding: 5px;
  }

  .icon {
    padding: 8px;
    margin: 0 15px;
  }
}

/* Mobile devices (480px and below) */
@media screen and (max-width: 480px) {
  body {
    padding: 10px;
  }

  #quote-container {
    margin-top: 30px;
    padding: 20px 15px;
    font-size: 18px;
  }

  h1 {
    font-size: 24px;
  }

  #quote-of-the-day {
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0;
  }

  #verse {
    font-size: 16px;
    margin: 8px 0;
  }

  #social {
    margin: 20px 10px;
    padding: 5px;
    flex-wrap: wrap;
  }

  ul {
    flex-wrap: wrap;
    margin: 5px;
    padding: 5px;
  }

  li {
    margin: 5px;
    padding: 10px;
  }

  .icon {
    padding: 6px;
    margin: 0 10px;
  }

  a {
    font-size: 16px;
  }
}

/* Small mobile devices (360px and below) */
@media screen and (max-width: 360px) {
  #quote-container {
    margin-top: 20px;
    padding: 15px 10px;
  }

  h1 {
    font-size: 20px;
  }

  #quote-of-the-day {
    font-size: 16px;
    line-height: 1.3;
  }

  #verse {
    font-size: 14px;
  }
}

/* Large desktop (1200px and above) */
@media screen and (min-width: 1200px) {
  #quote-container {
    padding: 60px;
    font-size: 26px;
  }

  #quote-of-the-day {
    font-size: 32px;
    line-height: 1.6;
  }

  #verse {
    font-size: 22px;
  }
}
