* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 14px;
}

/* toggle */

#toggle {
  display: none;
}
.nav-toggle {
  display: none;
}

/* navbar */
.nav {
  display: flex;
  justify-content: space-between;
  background-color: hsl(0, 0%, 98%);
  padding: 15px 70px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;

}
.nav img {
  width: 120px;
}
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}
.nav li {
  margin-left: 20px;
  font-family: "Public Sans", sans-serif;
  opacity: 0.7;
    cursor: pointer;
}
.nav li:hover{
color:rgb(69, 68, 68);

}

.nav button {
  background: linear-gradient(to right, hsl(192, 69%, 51%), hsl(136, 64%, 51%));
  color: rgb(250, 243, 243);
  border: none;
  outline: none;
  padding: 0 18px;
  height: 35px;
  border-radius: 20px;
  font-weight: 600;
    cursor: pointer;
}
.nav button:hover{
  background: linear-gradient(to right, hsl(136, 82%, 56%), hsl(192, 78%, 47%));
}

/* landing-page */

.landing-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 50px;
  padding: 0 7%;
}

/* landing-page, text and button */
.landing-page .landing-text {
  position: relative;
  flex: 2;
  min-width: 0;
}

.landing-page .landing-text h1 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: hsl(233, 26%, 24%);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, serif;
}

.landing-page .landing-text p {
  opacity: 0.7;
  margin-top: 10px;
  line-height: 1.5;
  font-family: "Fraunces", sans-serif;
  font-size: 14px;
}

.landing-page .landing-text button {
  background: linear-gradient(to right, hsl(192, 69%, 51%), hsl(136, 64%, 51%));
  color: rgb(250, 243, 243);
  border: none;
  outline: none;
  padding: 0 27px;
  height: 35px;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 20px;
    cursor: pointer;
}
.landing-text button:hover{
  background: linear-gradient(to right, hsl(136, 64%, 51%), hsl(192, 69%, 51%));

}

/* .landing-img */

.landing-page .landing-img {
  flex: 1 1 50%;
  position: relative;
  height: 550px;
  top: -100px;
}
.landing-page .mobile-img {
  display: none;
}
.landing-img .desktop-img {
  width: 1100px;
  position: absolute;
  top: -175px;
}
.landing-img .img-phone {
  position: absolute;
  right: -200px;
  width: 650px;
}
/* why choose digitalbank? */

.digitalbank {
  background-color: hsl(0, 0%, 98%);
  /* z-index: -100; */
  padding-top: 100px;
  padding-left: 90px;
  padding-bottom: 80px;
  padding-inline-end: 100px;
}

.digitalbank .digital-text h1 {
  font-weight: 400;
  font-size: 35px;
  color: hsl(233, 26%, 24%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.digitalbank .digital-text p {
  margin-top: 20px;
  color: hsl(0deg 0% 0% / 58.9%);
  font-family: "DM Mono", sans-serif;
}

.digitalbank .digitalbank-img {
  display: flex;
  margin-top: 50px;
  gap: 30px;
}
.digitalbank-img h2 {
  font-weight: 100;
  font-size: 25px;
  margin-top: 20px;
  font-family: "Fraunces", sans-serif;
  color: hsl(233, 26%, 24%);
}
.digitalbank-img p {
  line-height: 1.5;
  padding-bottom: 30px;
  font-weight: 400;
  margin-top: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: hsl(0deg 0% 0% / 58.9%);
}

/* article */

.digitalbank-article {
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left: 90px;
}
.article-text h1 {
  color: hsl(233, 26%, 24%);
  font-family: 200;
  font-size: 30px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, serif;
}

.article-img {
  display: flex;
  padding-top: 50px;
  gap: 40px;
  padding-inline-end: 80px;
  cursor: pointer;
}
.article-img img {
  width: 100%;
  height: 50%;
  border-start-start-radius: 5%;
  border-start-end-radius: 5%;
}
.article-img a {
  font-family: "Maname", sans-serif;
  opacity: 0.5;
  /* margin-top: 20px; */
  padding: 6px 10px;
  line-height: 2;
}
.article-img h3 {
  font-family: "Maname", serif;
  font-weight: 200;
  font-size: 20px;
  margin-top: 10px;
  padding: 6px 10px;
}
.article-img p {
  padding: 6px 10px;
  padding-bottom: 20px;
  font-family: "Maname", serif;
}

.article-img .bottom-article {
  padding-bottom: 20px;
}

.article-img .article-money {
  box-shadow: 0 4px 5px rgba(185, 181, 181, 0.2);
  border-radius: 4px;
}
.article-money:hover{
   box-shadow: 0 4px 5px rgba(233, 235, 233, 0.913);
    transition: 0s ease-in-out;
    transform:scale(1.02);
}
.article-img .article-food {
  box-shadow: 0 4px 5px rgba(185, 181, 181, 0.2);
  border-radius: 4px;
}
.article-food:hover{
   box-shadow: 0 4px 5px rgba(233, 235, 233, 0.913);
    transition: 0s ease-in-out;
    transform:scale(1.02);
}
.article-img .article-air {
  box-shadow: 0 4px 5px rgba(185, 181, 181, 0.2);
  border-radius: 4px;
}
.article-air:hover{
   box-shadow: 0 4px 5px rgba(233, 235, 233, 0.913);
    transition: 0s ease-in-out;
    transform:scale(1.02);
}
.article-water {
  box-shadow: 0 4px 5px rgba(185, 181, 181, 0.2);
  border-radius: 4px;
}
.article-water:hover{
    box-shadow: 0 4px 5px rgba(233, 235, 233, 0.913);
    transition: 0s ease-in-out;
    transform:scale(1.02);
}
.footer {
  background-color: hsl(233, 26%, 24%);
  padding: 50px;
  padding-inline: 100px;
  display: flex;
  justify-content: space-between;
}
.footer .footer-social-media {
  margin-top: 40px;
  word-spacing: 10px;
    cursor: pointer;
}



.footer-text-one li {
  list-style: none;
  line-height: 35px;
  font-size: 14px;
  color: white;
    cursor: pointer;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.footer-text-two li {
  list-style: none;
  line-height: 35px;
  font-size: 14px;
  color: white;
    cursor: pointer;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
.footer li:hover{
color:rgb(202, 201, 201);

}

.footer-button button {
  background: linear-gradient(to right, hsl(192, 69%, 51%), hsl(136, 64%, 51%));
  color: rgb(250, 243, 243);
  border: none;
  outline: none;
  padding: 0 22px;
    cursor: pointer;
  height: 35px;
  border-radius: 20px;
  font-weight: 600;
}
.footer-button button:hover{
  background: linear-gradient(to right, hsl(136, 64%, 51%), hsl(192, 69%, 51%));

}
.footer-button .footer-reserved {
  margin-top: 20px;
  margin-right: 20px;
  color: white;
  opacity: 0.7;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

@media (max-width: 786px) {
  /* navbar */
  .nav {
    padding: 19px;
    height: 65px;
    align-items: center;
  }
  /* .nav button:hover{
  background: linear-gradient(to right, hsl(136, 64%, 51%), hsl(192, 69%, 51%));

} */
  .nav-toggle {
    display: block;
    cursor: pointer;
    right: 20px;
    top: 20px;
    position: fixed;
    z-index: 1002;
  }
  .nav-toggle img {
    width: 20px;
    height: 20px;
  }

  .nav .nav-list {
    display: none;
  }
  .nav button {
    display: none;
  }
  #toggle:checked ~ .nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50px;
    left: 18px;
    right: 18px;
    gap: 25px;
    padding: 25px;
    background-color: hsl(0, 0%, 98%);
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  /* #toggle:checked ~ .nav > button{
    display: block;
    position: fixed;
    top: 300px;
    left: 17px;
    right: 16px;
    margin: auto;
    z-index: 1002;
  } */

  .nav .nav-list li {
    list-style: none;
    margin-left: 0;
    font-family:
      "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  }

  /* .landing-page */

  .landing-page {
    flex-direction: column;
    top: 50px;
  }
  .landing-page .desktop-img {
    display: none;
  }
  .landing-page .mobile-img {
    display: block;
    width: 100vw;
  }
  .landing-page .landing-text {
    order: 2;
    top: -150px;
    padding: 0 20px;
  }
  .landing-page .landing-img {
    order: 1;
  }

  .landing-img .img-phone {
    width: 80%;
    right: 50px;
    top: 3px;
  }

  .landing-page .landing-text p {
    opacity: 0.7;
  }

  .landing-text button {
    margin: 20px auto;
    display: block;
  }
  .landing-text button:hover{
  background: linear-gradient(to right, hsl(136, 64%, 51%), hsl(192, 69%, 51%));

}

  /* why choose digitalBank */
  .digitalbank {
    padding: 0;
    padding: 70px 24px 50px;
    margin: 0;
  }
  .digitalbank .digital-text {
    text-align: center;
  }
  .digitalbank .digital-text br {
    display: none;
  }

  .digitalbank .digitalbank-img {
    flex-direction: column;
  }

  .digitalbank-img img {
    margin: 20px auto;
    display: block;
  }
  .digitalbank-img h2 {
    text-align: center;
  }
  .digitalbank-img p {
    text-align: center;
  }

  /* article */

  .digitalbank-article {
    padding: 40px 20px !important;
  }

  .digitalbank-article .article-text {
    text-align: center;
  }

  .digitalbank-article .article-img {
    display: block;
    margin: 30px 0 0;
    padding: 0;
  }

  .digitalbank-article .article-money,
  .digitalbank-article .article-food,
  .digitalbank-article .article-air,
  .digitalbank-article .article-water {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
  }



  .digitalbank-article .article-img img {
    display: block;
    height: 180px;
  }

  .digitalbank-article .article-img a {
    padding: 12px 16px 0;
    margin: 0;
    display: block;
  }
  .digitalbank-article .article-img p {
    padding: 12px 16px 30px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.7;
  }

  .digitalbank-article .article-img h3 {
    padding: 12px 16px 0;
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: hsl(233, 26%, 24%);
  }

  /* footer */

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px 30px;
  }
  .footer button:hover{
  background: linear-gradient(to right, hsl(136, 64%, 51%), hsl(192, 69%, 51%));

}
  .footer-img {
    width: 100%;
    margin: 0 0 35px;
  }
  .footer li {
    font-size: 18px;
  }
  .footer-button button {
    margin: 25px auto 0;
    font-size: 15px;
  }
}
