/* Variables */
/* Dark blue */
/* Light blue */
/* Red for contrast */
/* Very light blue */
/* Light blue */
/* White */
/* Dark blue */
/* Dark gray */
/* ANIMATIONS */
@keyframes MoveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes MoveInRightWithFlip {
  0% {
    opacity: 0;
    transform: translateX(100px) rotateY(90deg);
  }
  80% {
    transform: translateX(-10px) rotateY(20deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}
@keyframes FadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Hedvig Letters Sans", sans-serif;
}

html {
  font-size: 16px;
  font-family: "Hedvig Letters Sans", sans-serif;
  background-color: lightblue;
}

body {
  color: #f0f0f0;
  background: linear-gradient(to right, #00d4ff, #001d8b);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: center;
  }
  .header_h1 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
  }
  .header_ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0;
  }
  .header_ul li {
    text-align: center;
  }
  .header_ul a {
    font-size: 0.9rem;
  }
  .certificate figcaption {
    font-size: 1rem;
  }
  .certificates_section {
    grid-template-columns: 1fr;
  }
}
.certificates_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  padding: 1rem;
  width: 90%;
  max-width: 120rem;
  animation: FadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.certificate {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  width: 100%;
  max-width: 35rem;
}
.certificate:hover {
  transform: scale(1.05);
}
.certificate:hover::after {
  transform: scale(1);
}
.certificate img {
  width: 100%;
  max-width: 25rem;
  height: auto;
  border: 4px solid lightslategrey;
  border-radius: 5px;
  margin-top: 2rem;
}
.certificate figcaption {
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #0033a0;
  text-align: center;
}

/* Header Styling */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #0033a0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header_h1 {
  font-size: 2rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: MoveInRightWithFlip 2s ease-out forwards; /* Apply animation with a flip */
  backface-visibility: hidden; /* Ensure the back face doesn't show */
}
.header_ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.header_ul li {
  text-transform: uppercase;
  font-weight: 500;
  animation-name: MoveInLeft;
  animation-duration: 2s; /* Specify the duration of the animation */
  animation-timing-function: ease-out; /* Optional: Define the timing function */
}
.header_ul a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}
.header_ul a:hover {
  color: #00d4ff;
  font-weight: bolder;
  background-color: #e4f7ff;
  padding: 8px;
  border: 1px solid #f8fdff;
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.7);
  transform: scale(2); /* Doubles the size of the link */
  transition: transform 0.3s ease; /* Smooth transition for the size change */
}

/* Footer Styling */
.footer {
  text-align: center;
  padding: 1rem 0;
  background: #001d8b;
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: auto;
  animation: FadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s; /* Appear slightly later than the certificates section */
  opacity: 0; /* Start hidden */
}/*# sourceMappingURL=CERTIFICATES.css.map */