/* RESET DEFAULT BROWSER SETTINGS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button {
  border: none;
  font: inherit;
}

/* KEYFRAMES */

@keyframes identifier {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

/* BASE STYLES */

html {
  --accent-color: #11a2f3;
  --accent-color-dark: #0dafda;
  --white-color: #fff;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #292c33;
  background-color: #eeeff3;
  overflow: hidden;
  position: relative;
}

.bg {
  position: absolute;
  z-index: -1;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px;
  width: 100%;
}

.sticky-header {
  position: fixed;
  z-index: 10;
  width: 100vw;
}

.dark-header {
  background-color: rgba(17, 162, 243, 0.9);
  animation: identifier 0.4s;
  transition: all 0.4s;
}

.logo {
  color: rgba(225, 225, 225, 0.7);
  font-size: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.logo:hover {
  color: rgba(225, 225, 225, 1);
}

.dark-logo {
  color: var(--white-color);
}

.nav {
}

.links {
  display: flex;
  column-gap: 45px;
}

.link-item {
}

.link {
  font-size: 14px;
  color: rgba(225, 225, 225, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.dark-link {
  color: var(--white-color);
}

.link:hover {
  color: rgba(225, 225, 225, 1);
}

.link--btn {
  color: var(--white-color);
  background-color: var(--accent-color);
  transition: all 0.2s;
  padding: 10px 18px;
  border-radius: 3px;
}

.dark--btn {
  border: 0.1px solid rgba(225, 225, 225, 1);
}


.link--btn:hover {
  background-color: var(--accent-color-dark);
}

/* MAIN */

.main {
  background-color: var(--white-color);
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 5px;
  margin-bottom: 35px;
  margin-top: 100px;
  box-shadow: 0 4px 44px rgba(0, 0, 0, 0.08);
  animation: identifier 0.4s 0.1s backwards;
  overflow: hidden;
  width: 100%;
}

.main-login,
.main-register {
  max-width: 1150px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 35px;
  animation: identifier 0.4s 0.1s backwards;
  overflow: hidden;
}

/* LOGIN */

.login {
  background-color: #f3f5fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0 50px;
  width: 500px;
  margin: auto;
  border-radius: 5px;
}

.login-redirect {
  color: var(--accent-color);
}

/* REGISTER */
.register {
  background-color: #f3f5fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0 50px;
  width: 500px;
  margin: auto;
  border-radius: 5px;
}

.register-redirect {
  color: var(--accent-color);
}

/* INTRO SECTION */

.intro {
  display: flex;
}

.search {
  flex: 1;
  background-color: #f3f5fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 15px;
}

.first-heading {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.1;
  max-width: 383px;
}

.emphasis {
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
}

.form {
  width: 383px;
  position: relative;
}

.input {
  height: 61px;
  width: 100%;
  padding-left: 53px;
  font-size: 17px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.input-icon {
  font-size: 17px;
  position: absolute;
  color: #adb4c2;
}

.input-icon:nth-of-type(1) {
  top: 22px;
  left: 22px;
}

.input-icon:nth-of-type(2) {
  top: 95px;
  left: 22px;
}

.input-icon:nth-of-type(3) {
  top: 168px;
  left: 22px;
}

.input-icon:nth-of-type(4) {
  top: 241px;
  left: 22px;
}

.btn {
  width: 100%;
  height: 61px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--white-color);
  border-radius: 3px;
  background-color: var(--accent-color);
  transition: all 0.2s;
  margin-bottom: 12px;
}

.btn:hover {
  cursor: pointer;
  background-color: var(--accent-color-dark);
}

.photos {
  display: flex;
}

.photo-1 {
  display: block;
}

.photo-2 {
  display: block;
}

/* CREDENTIALS */

.credentials {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 35px 0;
  border-bottom: 1px solid #f2f3f8;
}

.seen-text {
  font-size: 20px;
  font-weight: 500;
  color: #ccd0d9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.credential {
}

/* HOW IT WORKS */

.how {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 65px 0 85px;
}

.second-heading {
  font-size: 32px;
  color: #292c33;
  text-transform: capitalize;
  font-weight: 500;
  position: relative;
}

.second-heading::after {
  content: "";
  height: 3px;
  width: 54px;
  display: block;
  background-color: var(--accent-color);
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  margin-top: 10px;
}

.steps {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding: 80px 0;
}

.step {
  max-width: 215px;
  text-align: center;
}

.step-icon {
  width: 65px;
  height: 65px;
  background-color: #11a2f3;
  border-radius: 500px;
  color: white;
  line-height: 65px;
  margin-bottom: 21px;
  font-size: 22px;
}

.step:nth-child(1) .step-icon {
  background-color: #fdf6de;
  color: #f5ca46;
}

.step:nth-child(2) .step-icon {
  background-color: #ffdeec;
  color: #da196a;
}

.step:nth-child(3) .step-icon {
  background-color: #e9e5ff;
  color: #4d31e4;
}

.third-heading {
  font-size: 23px;
  color: #3d4048;
  font-weight: 500;
  margin-bottom: 10px;
}

.text {
  color: #74777d;
  font-size: 18px;
}

.more {
  color: var(--accent-color);
  font-size: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent-color);
  transition: all 0.2s;
}

.more:hover {
  color: var(--accent-color-dark);
}

.more-icon {
  font-size: 14px;
  transition: all 0.2s;
}

.more:hover .more-icon {
  transform: translateX(3px);
}

/* FOOTER */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: auto !important;
  color: #a1a4b0;
  padding: 0 25px;
  padding-bottom: 20px;
  animation: identifier 0.4s;
  width: 100%;
}

.copyright {
}

.legal-list {
  display: flex;
  column-gap: 35px;
}

.legal-item {
}

.legal-link {
  font-size: 14px;
  text-transform: capitalize;
}

.payment-icon {
  width: 40px;
  height: 40px;
  margin: 0px 7px 0px 7px;
}

.apple {
    margin-left: 0px;
}

/* MEDIA QUERIES */

@media (max-width: 1200px) {
  .main {
    width: 95%;
    margin-left: 25px;
    margin-right: 25px;
  }

  .photo-1 {
    display: none;
  }
}

@media (max-width: 965px) {
  .search {
    padding: 40px 0 50px;
  }

  .photo-2 {
    display: none;
  }

  .credentials {
    justify-content: space-evenly;
  }

  .credential:nth-of-type(1) {
    display: none;
  }

  .how {
    padding: 50px 0 65px;
  }

  .steps {
    padding: 60px 0;
    max-width: 500px;
    flex-wrap: wrap;
    row-gap: 35px;
  }
}

@media (max-width: 867px) {
  .footer {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }

  .payment-icon {
    margin: 0px 3px 0px 3px;
  }
}

@media (max-width: 600px) {
  .main,
  .main-login,
  .main-register {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    width: 100%;
  }

  .login,
  .register {
    width: 100%;
    border-radius: 0px;
  }

  .credential:nth-of-type(2) {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 470px) {
  .header {
    /*flex-direction: column;*/
    align-items: center;
    row-gap: 35px;
    margin-bottom: 15px;
  }

  .first-heading {
    max-width: initial;
    padding: 0 20px;
    font-size: 34px;
  }

  .form {
    width: 100%;
  }

  .input,
  .btn {
    border-radius: 0;
  }
}

@media (max-width: 350px) {
    .text-p {
    padding: 0 7px 0 7px; 
}
}

@media (max-width: 335px) {
  .logo-home {
    display: none;
  }

  .link--btn--media {
    color: var(--white-color);
    background-color: var(--accent-color);
    transition: all 0.2s;
    padding: 10px 18px;
    border-radius: 3px;
  }

  .dark--btn--media {
    border: 0.1px solid rgba(225, 225, 225, 1);
  }

}

@media (max-width: 329px) {
  .links {
    display: flex;
    justify-content: space-between;
    column-gap: 0px;
  }

  .nav {
    width: 100%;
  }
}

@media (max-width: 316px) {
  .legal-list {
    column-gap: 10px;
  }
}

@media (max-width: 297px) {
  .payment-icon {
    width: 35px;
    height: 35px;
    margin: 0px 1px 0px 1px;
  }
}

@media (max-width: 291px) {
    .footer {
        align-items: start;
    }

  .legal-list {
    width: 100%;
    flex-direction: column;
  }
}