html {
  margin: auto;
  padding: 0;
  width: 100%; 
}

body {
  display: flex;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  background-color: #f8f9fa;
}

h1 {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 50px;
  font-family: 'Outfit', sans-serif;
}

h1.call-to-action {
  color: #FFFFFF;
  font-size: 96px;
  font-weight: 500;
  line-height: 105px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  margin: 1rem;
}

.main-container {
  width: 100%;
  flex: 1;
}

a {
  text-decoration: none;
  color: #94A3B8;
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

hr {
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  border-left: none;
  border-right: none;
  width: 100%;
}

ul li {
  font-family: 'Poppins', sans-serif;
  color: #94A3B8;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
}

ul li:last-child {
  margin-bottom: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

ul li:hover {
  transform: scale(1.1);
  color:dimgray;
}

p {
  font-family: 'Poppins', sans-serif;
  color: #64748B;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin: 4px;
}
p.alternate {
  color:#FFFFFF
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 500;
  margin: 0;
  max-width: 416px;
}

h2.alternate {
  color: #FFFFFF;
}

h3 {
  color: #6729FF;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 25.2px;
  margin-bottom: 12px;
}

h3.alternate {
  color: #FFFFFF;
}

h4 {
  color: #6729FF;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

button {
  background-color: #6729FF;
  color: #FFFFFF;
  min-width: 176px;
  height: 40px;
  border-radius: 8px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  margin-right: auto;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: darkslateblue;
}

footer {
  background-color: #FFFFFF;
  width: 100%;
  height: fit-content;
  box-sizing: border-box;
  position: relative;
  bottom: 0;
}

input {
  border-radius: 8px;
  border: #94A3B8 1px solid;
  padding: 4px 4px 4px 12px;
  height: 40px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

input::placeholder {
  font-family: 'Poppins', sans-serif;
  color: #94A3B8;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.content-container {
  padding: 10rem;
  display: flex;
  gap: 5rem;
  justify-content: space-between;
}

.not-found-img {
  width: 85%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translatey(0px) rotate(0deg);
  }
  50% {
    transform: translatey(-20px) rotate(10deg);
  }
  100% {
    transform: translatey(0px) rotate(0deg);
  }
}

.content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header {
  display: flex;
  position: fixed;
  top: 0;
  z-index: 5;
  width: 100%;
  height: fit-content;
  gap: 2rem;
  justify-content: center;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-width: 1px;
  height: 72px;
  align-items: center;
}

.nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding-left: 64px;
  padding-right: 64px;
}


.register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 2px;
  font-family: "Poppins", sans-serif;  padding: 12px 32px 12px 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.3s ease;
}

.register:hover {
  color: dimgray;
}

.menu {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #94A3B8;
  cursor: pointer;
}

.logo, .logo-footer {
  color: #6729ff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  color:darkslateblue;
}

.buttons {
  display: flex;
  gap: 8px;
}

.register-btn {
  background-color: #6729FF;
  color: #FFFFFF;
  min-width: 176px;
  height: 40px;
  border-radius: 8px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.footer-menu-container {
  display: flex;
  justify-content: space-between;
  height: 156px;
  margin: auto;
  margin-bottom: 6rem;
  padding: 3.5rem 5rem;
}

h4.footer-menu-title {
  font-size: 16px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  color: #64748b;
  line-height: 20px;
  margin-bottom: 16px;
}

ul.footer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.send-email-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #6729FF;
  margin: auto;
  position: absolute;
  right: 0;
  top: 20%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-email-icon-container:hover {
  background-color: darkslateblue;
}

.send-email-icon {
  width: 16px;
  height: 16px;
}

.send-email-container {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.footer-menu-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: fit-content;
}
.last-footer-menu-column {
  width: 280px;
}

.social-media-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.social-media-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-media-icon:hover {
  transform: scale(1.2);
}

.last-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem 1.5rem 5rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

p.small-text {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 18px;
  color: #94A3B8;
}

.mobile-menu-btn {
  display: none;
}

.error-msg {
  color: red;
  font-size: small;
}

.success-msg {
  background-color: greenyellow;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 6%;
  bottom: 12%;
  padding: 8px;
  animation: pulse 2s infinite, fade 5s forwards;
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 480px) {
  button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  a {
    font-size: 25px;
  }

  h1 {
    margin: 0;
  }

  h3 {
    margin: 2rem 0 2rem 0;
  }

  .header {
    height: 4rem;
    position: relative;
  }

  .logo {
    width: 20px;
    position: absolute;
    top: 1rem;
    left: 1rem;
  }

  .logo-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 25px;
  }

  .mobile-menu-btn {
    display: flex;
    width: 40px;
    height: 40px;
    z-index: 9;
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    align-items: flex-end;
    top: 5rem;
    right: 2rem;
    width: 100%;
    height: 100vh;
    gap: 2rem;
  }

  .buttons {
    position: absolute;
    left: 35%;
    top: 2rem;
    bottom: 0;
    width: fit-content;
  }

  .register {
    position: absolute;
    left: 0;
    bottom: 5%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    font-size: 18px;
    font-size: 25px;
    padding: 0;
  }

  .buttons {
    display: none;
    position: absolute;
    left: 1rem;
    top: 12rem;
    bottom: 0;
    width: fit-content;
  }

  /* first section */

  .content-container {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 3rem;
    gap: 1rem;
  }

  .content-right {
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .content-left {
    width: 100%;
  }

  .back-home-btn {
    margin: auto;
    font-size: 25px;
    padding: 40px;
  }

  /* footer */

  .footer-menu-container {
    flex-direction: column;
    gap: 4rem;
    margin: 1rem 0 1rem 0;
    height: fit-content;
  }

  .last-footer-menu-column {
    width: 100%;
  }

  h4.footer-menu-title {
    font-size: 35px;
    margin-bottom: 4rem;
  }

  .send-email-container {
    margin: 3rem 0 3rem 0;
    max-width: none;
  }

  .social-media-icon {
    width: 50px;
    height: 50px;
  }

  .last-footer-container {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 2rem 1rem;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  p.small-text {
    font-size: 20px;
  }

  .social-media-container {
    justify-content: space-between;
  }

  /* errors */

  .error-msg {
    font-size: large;
  }

  /* success */

  .success-msg {
    right: 0;
    bottom: 8%;
    width: 100%;
  }
}