* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  text-decoration: none;
  list-style: none;
  color: black;
}

:root {
  --color-Ellipse-1: #c8aad3;
  --color-Ellipse-2: #799dcb;
  --color-Ellipse-3: #7c38bd;
  --color-Ellipse-4: #bd6df2;
  --color-Ellipse-5: #a696c7;
  --color-Ellipse-6: #241477;
}

/* footer */

footer {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  position: relative;
  background-color: #2a1a7b;
}

.container-footer {
  width: 100%;
  max-width: 1440px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* footer top */

.top-footer {
  width: 100%;
  height: 220px;
  display: flex;
  justify-content: space-around;
  font-size: 14px;
  margin-top: 90px;
}

.footer-1-sec {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.logo-footer a {
  width: 175px;
  cursor: pointer;
}

.logo-footer a img {
  width: 175px;
}

.social-footer {
  display: flex;
  column-gap: 13px;
}

.social-footer a i {
  color: #799dcb;
}

.linkedin-soc,
.email-soc {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #799dcb;
}

.linkedin-soc:hover,
.email-soc:hover {
  background-color: white;
}

.linkedin-soc:hover i,
.email-soc:hover i {
  color: var(--color-Ellipse-4);
}

.footer-2-sec h3,
.footer-3-sec h3,
.footer-4-sec h3 {
  margin-top: 15px;
  padding-bottom: 20px;
  font-size: 16px;
  cursor: default;
  color: white;
}

.footer-2-sec p {
  padding-bottom: 10px;
  font-size: 14px;
  cursor: default;
}

.footer-2-sec p a {
  color: white;
}

.footer-3-sec a {
  font-size: 14px;
  cursor: default;
  color: white;
}

.footer-2-sec p a:hover {
  text-decoration: underline;
}

.footer-form {
  display: flex;
  flex-direction: column;
}

.footer-email-lable {
  color: white;
}

.footer-email-input {
  width: 290px;
  height: 40px;
  border: 1px solid #02191a;
  border-radius: 5px;
  margin-top: 4px;
  padding-left: 10px;
  background-color: transparent;
  outline: white;
  border: white 1px solid;
  color: white;
}

.footer-email-input::placeholder {
  color: transparent;
}

.footer-email-submit {
  width: 290px;
  height: 40px;
  background-color: transparent;
  border: 3px solid var(--color-Ellipse-4);
  border-radius: 5px;
  margin-top: 16px;
  color: var(--color-Ellipse-4);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.footer-email-submit:hover {
  color: var(--color-Ellipse-5);
  border: 3px solid var(--color-Ellipse-5);
}

/* footer bottom */

.bottom-footer {
  margin: 0 100px;
  height: 52px;
  direction: rtl;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.452);
}

.bottom-footer a {
  color: white;
  font-size: 14px;
}

@media (max-width: 1440px) {
  /* footer top */

  .top-footer {
    height: 15.27vw;
    font-size: 0.97vw;
    margin-top: 6.23vw;
  }

  .footer-1-sec {
    gap: 2.08vw;
  }

  .logo-footer a img {
    width: 12.15vw;
  }

  .social-footer {
    column-gap: 0.9vw;
  }

  .linkedin-soc,
  .email-soc {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 0.69vw;
    border: 0.14vw solid #799dcb;
  }

  .footer-2-sec h3,
  .footer-3-sec h3,
  .footer-4-sec h3 {
    margin-top: 1.04vw;
    padding-bottom: 1.39vw;
    font-size: 1.11vw;
  }

  .footer-2-sec p {
    padding-bottom: 0.69vw;
    font-size: 0.97vw;
  }

  .footer-3-sec a {
    font-size: 0.97vw;
  }

  .footer-email-input {
    width: 20.12vw;
    height: 2.78vw;
    border: white 0.07 solid;
    border-radius: 0.35vw;
    margin-top: 0.28vw;
    padding-left: 0.69vw;
  }

  .footer-email-submit {
    width: 20.12vw;
    height: 2.78vw;
    border: 0.21vw solid var(--color-Ellipse-4);
    border-radius: 0.35vw;
    margin-top: 1.11vw;
    color: var(--color-Ellipse-4);
    font-size: 1.11vw;
    font-weight: 700;
  }

  .footer-email-submit:hover {
    color: var(--color-Ellipse-5);
    border: 0.21vw solid var(--color-Ellipse-5);
  }

  /* footer bottom */

  .bottom-footer {
    margin: 0 6.94vw;
    height: 3.6vw;
    border-top: 0.07vw solid rgba(255, 255, 255, 0.452);
  }

  .bottom-footer a {
    font-size: 0.97vw;
  }
}

@media (max-width: 501px) {
  footer {
    height: auto;
  }

  .container-footer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: unset;
    padding-top: unset;
  }

  /* footer top */

  .top-footer {
    border-top: unset;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: unset;
    margin-top: 5.99vw;
  }

  .logo-footer a img {
    width: 55vw;
  }

  .linkedin-soc,
  .email-soc {
    width: 7.98vw;
    height: 7.98vw;
    border-radius: 10px;
  }

  .social-footer {
    display: flex;
    justify-content: center;
  }

  .social-footer a i {
    font-size: 3.99vw;
  }

  .footer-1-sec,
  .footer-2-sec,
  .footer-3-sec {
    display: grid;
    place-items: center;
  }

  .footer-2-sec a {
    font-size: 3.99vw;
  }

  .footer-3-sec {
    margin-bottom: 2.59vw;
  }

  .footer-3-sec a {
    font-size: 3.99vw;
    text-align: center;
    line-height: 5.99vw;
  }

  .footer-2-sec h3,
  .footer-3-sec h3,
  .footer-4-sec h3 {
    margin-top: 0;
    padding-bottom: 4.79vw;
    padding-top: 3.99vw;
    font-weight: 700;
    font-size: 4.79vw;
  }

  .footer-2-sec h3 {
    padding-top: 5.59vw;
  }

  .footer-2-sec p,
  .footer-3-sec p,
  .footer-4-sec p {
    padding-bottom: 4.79vw;
    font-size: 3.19vw;
    font-weight: 500;
  }

  .footer-5-sec-h3 {
    display: none;
  }

  .footer-4-sec {
    width: 100%;
    padding: 0 6vw;
  }

  .footer-form {
    width: 100%;
    height: 18.36vw;
    position: relative;
    margin-bottom: 5.59vw;
    padding-right: 0px;
  }

  .footer-email-input {
    width: 100%;
    height: 8vw;
    background-color: transparent;
    border: 0.2vw solid white;
    font-size: 3.59vw;
    color: white;
    margin-top: 0;
    padding-top: 0;
    border-radius: 1vw;
    padding: 0 2.99vw;
  }

  .footer-email-input::placeholder {
    color: #757575;
    font-size: 3.59vw;
  }

  .footer-email-submit {
    width: 100%;
    height: 8vw;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    font-size: 3.19vw;
    border-radius: 1vw;
  }

  .linkedin-soc .email-soc {
    width: 9.18vw;
    height: 9.18vw;
  }

  .footer-email-lable {
    display: none;
  }

  .footer-5-sec-h3 {
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 500;
    font-size: 4.79vw;
  }

  /*  */
  .bottom-footer {
    height: 15.57vw;
    margin: 0 5.99vw;
    padding: 0 0;
  }

  .bottom-footer a {
    font-size: 3.19vw;
  }
}
