@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Zen+Dots&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
html {
  box-sizing: border-box;
}
body {
  margin: 0;
  margin: 0px;
  min-height: 100vh;
  min-width: 100vw;
  background-image: url("Images/typographic-background.png");
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 6.5rem;
}
#quoteText {
  font-family: "bodoni moda", serif;
}
.quote-container {
  width: auto;
  max-width: 50rem;
  padding: 2rem 2rem;
  border-radius: 10px;
  background-color: rgb(0, 0, 0);
  box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.8);
  border: 0.2rem solid #f8f8f8;
  color: #ffffff;
}
.quote-text {
  font-size: 2.75rem;
  font-family: "montserrat", sans-serif;
}
#quote.long-quote {
  font-size: 2rem;
}
.fa-quote-left {
  font-size: 4rem;
}
.fa-quote-right {
  font-size: 4rem;
}
.quote-author {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "montserrat";
  margin-top: 20px;
  font-weight: 400;
}
#quote {
  font-size: 2.5rem;
  font-family: "bodoni moda", serif;
  color: #fbfbfb;
  text-align: justify;
  font-weight: 400;
  font-style: italic;
  border: 1px solid #ffffff;
  padding: 1rem;
  border-radius: 1rem;
}
.button-container {
  display: flex;
  justify-content: space-between;
  background-color: #f04b22;
  padding: 2rem;
  border-radius: 2rem;
}
button {
  font-size: 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: #ffffff;
  color: #000000;
  outline: none;
  padding: 0.5rem 1.8rem;
  border: 1px solid #000000;
  font-family: "montserrat", sans-serif;
  font-weight: 700;
}
button:hover {
  background-color: #f04b22;
  color: #ffffff;
  box-shadow: 0px 0px 5px 2px rgba(240, 75, 34, 0.8);
  filter: brightness(110%);
}
button:active {
  transform: scale(0.95);
  box-shadow: 0px 0px 5px 2px rgba(240, 75, 34, 0.8);
}
.back-button {
  font-size: 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: #ffffff;
  color: #000000;
  outline: none;
  padding: 0.5rem 1.8rem;
  border: 1px solid #000000;
  text-decoration: none;
  font-weight: 700;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 0 2rem;
  box-sizing: border-box;
  border-bottom: 0.5rem solid #ffffff;
  z-index: 10;
}
#categories {
  font-weight: 100;
  border: 0.1rem solid #ffffff;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
}
.linkedin-link {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 3rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.linkedin-link:hover {
  color: #f04b22;
}
.git-link {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 3rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.git-link:hover {
  color: #f04b22;
}
.home {
  width: 4rem;
  height: 4rem;
  animation: spin 5s linear infinite;
  background-image: url("Images/256x256favicon.png");
  background-repeat: no-repeat;
  background-size: contain;
  border: solid 0.2rem #fbfbfb;
  border-radius: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  box-sizing: border-box;
  z-index: 10;
}
.home:hover {
  background-image: url("Images/256x256faviconwhite.png");
  border: 0.2rem solid #f04b22;
}
.footer {
  margin-top: auto; /* pushes footer to the bottom of the flex container */
  width: 100%;
  background-color: #000000;
  border-top: 0.5rem solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  box-sizing: border-box;
}
.footer-link {
  color: #ffffff;
  font-size: 2rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-link:hover {
  color: #f04b22;
}
.footer-link:active {
  transform: scale(0.9);
}
#container-metadata {
  padding: 1rem;
  font-weight: 100;
  border: 1px solid white;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
}
.metadataClass {
  margin: 1.4rem;
}

@media screen and (min-width: 700px) {
  .quote-container {
    margin: 3rem;
  }
  .quote-text {
    font-size: 2rem;
  }
  .quote-author {
    font-size: 1.5rem;
  }
  #quote {
    font-size: 2rem;
    padding: 0.5rem;
    text-align: justify;
    text-align: center;
  }
  button {
    font-size: 0.4rem;
    margin: 2rem 5rem;
  }
  .back-button {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
  }
  .button-container {
    padding: 0rem;
    border-radius: 0.5rem;
    background-color: #000000;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.8);
    border: solid 0.2rem #f8f8f8;
    margin: 2rem 0;
    font-size: 2rem;
  }
  #quote.long-quote {
    font-size: 2rem;
  }
  .threads-button {
    padding: 1rem 2rem;
    font-size: 1.5rem;
  }
  .twitter-button {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }
  .new-quote {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Media Queries: tablet or mobile */
@media screen and (max-width: 699px) {
  .button-container {
    margin-top: 1rem;
    box-sizing: border-box;
    border: 0.2rem solid rgb(255, 255, 255);
    border-radius: 10px;
    background-color: #000000;
    padding: 1rem;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
  }
  .quote-text {
    font-size: 1rem;
  }
  .long-quote {
    font-size: 1rem;
  }
  .quote-author {
    font-size: 1.5rem;
  }
  #quote {
    font-size: 1.5rem;
    padding: 1rem;
    text-align: justify;
    text-align: center;
  }
  button {
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    margin: 0 0.2rem;
  }

  #quote.long-quote {
    font-size: 1.2rem;
  }
}
