@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;
  background-image: url("Images/typographic-background.png");
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  text-align: center;
  align-items: center;
  justify-content: space-around;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
}
#containerOfLinks a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  margin: 1rem;
  background-color: #fbfbfb;
  padding: 0.5rem;
  border: 1px solid #000000;
  border-radius: 5px;
  box-shadow: 0px 0px 5px 2px rgba(255, 255, 255, 0.8);
  font-family: "monterrat", sans-serif;
}
#containerOfLinks a:hover {
  background-color: #f04b22;
  color: #fbfbfb;
  box-shadow: 0px 0px 5px 2px #f04b22;
}
#containerOfLinks a:active {
  transform: scale(0.95);
  box-shadow: 0px 0px 5px 2px rgba(240, 75, 34, 0.8);
}
h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-family: "montserrat", sans-serif;
  color: #ffffff;
  background-color: #000000;
  padding: 1rem;
  border-radius: 10px;
  border: 5px solid #f8f8f8;
}
#containerOfLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 12rem;
  background-color: #f04b22;
  padding: 5rem;
  border-radius: 10px;
  border: #000000 5px solid;
}
p {
  font-size: 0.9rem;
  color: #ffffff;
  font-family: "montserrat Alternates", sans-serif;
  font-weight: 400;
  padding: 1rem;
}
.link-container {
  background-color: #000000;
  padding: 2rem;
  border-radius: 10px;
  margin: 1rem;
  border: 5px solid #f8f8f8;
}
@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;
}
.linkedin-link {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 3rem;
  text-decoration: none;
}
.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);
}

@media screen and (max-width: 699px) {
  h1 {
    font-size: 2.5rem;
    padding: 1rem;
    margin: 1rem;
  }
  #containerOfLinks {
    border: 0.1rem solid #000000;
    padding: 1rem;
  }
  .link-container {
    padding: 1rem;
    padding-bottom: 3rem;
    margin: 0.5rem;
    border: 0.1rem solid #f8f8f8;
  }
  p {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 0.5rem;
  }
  a {
    font-size: 0.6rem;
  }
  #containerOfLinks {
    background-image: url("Images/typographic-background.png");
  }
}
