
/* header styling */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--extra-bc);
  padding: 1rem 0.6rem;
  width: 100%;
  top: 0;
  left: 0;
  height: 7.5vh;
}

.header .menu {
  flex-grow: 1;
}

.header .menu i{
  font-size: 1.4rem;
  color: var(--text-color);
  background-color: var(--extra-color);
  padding: 0.5rem;
  border-radius: 4px;
}

.header .donate button {
  background-color: var(--donate-bc);
  color: var(--text-color);
  padding: 4px 12px;
  border-radius: 20px;
  outline: none;
  border: 2px solid var(--donate-bc);
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.header .donate button:hover {
  border: 2px solid var(--text-color);
}

.header .donate button span {
  margin-right: 0.4rem;
}

/* main section styling */

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 87.5vh;
}

.main .container {
  text-align: center;
}

.main .container figure {
  margin-bottom: 4rem;
}

.main .container img {
  background-color: var(--extra-color);
  width: 240px;
  border-radius: 50%;
  animation-delay: 0.2s;
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(var(--translate-value));
    box-shadow: 2px 2px 4px 1px rgba(128, 128, 128, 0);
  }
  to {
    opacity: 1;
    transform: none;
    box-shadow: 2px 2px 4px 1px rgba(128, 128, 128, 0.527);

  }
}

.fade-right {
  animation-name: fadeRight;
}

.main .container figure figcaption .title {
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 26px;
  display: inline-block;
}

.main .container figure figcaption .title::after {
  content: "";
  position: relative;
  display: block;
  bottom: 16px;
  left: 0;
  width: var(--line-width);
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 3s ease;
  transition-delay: 0.5s;
}

.main .container figure figcaption .title:hover::after {
  width: var(--line-width);
}

.main .container figure p {
  line-height: 1.6;
  color: var(--text-color);
  font-weight: bold;
  font-size: 1rem;
}

.main .container .get-started button {
  padding: 0.8rem 1.6rem;
  border-radius: 1rem;
  outline: none;
  border: 2.5px solid var(--extra-color);
  color: var(--text-color);
  background-color: var(--extra-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease-in-out;
}

.main .container .get-started button span {
  margin-right: 0.5rem;
}

.main .container .get-started button:hover {
  background-color: var(--donate-bc);
  color: var(--text-color);
  border: 2.5px solid var(--text-color);
}

/* footer styling */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--extra-color);
  color: var(--text-color);
  font-size: 0.85rem;
  font-weight: bold;
  border-top: 1px solid var(--extra-bc);
  height: 5vh;
}

.footer i {
  color: var(--text-color);
  padding: 8px;
}

.footer .bar {
  position: relative;
  left: 5px;
  bottom: 2px;
}

@media (min-width: 1200px) {
  :root {
    --translate-value: 80px;
  }
}