* {
  margin: 0;
  padding: 0;
}
body {
  font-family: poppins;
  font-size: medium;
  font-weight: 400;
  background-color: black;
  scroll-behavior: smooth;
}
.nav {
  display: block;
}
.left {
  margin-top: 40px;
  margin-left: 4%;
}
.right {
  position: absolute;
  top: 4%;
  margin-left: 80%;
}
.small-txt {
  font-family: poppins;
  font-weight: 500;
  color: whitesmoke;
  margin-top: 8%;
  margin-left: 4%;
  font-size: x-large;
}
.lg-txt {
  font-family: poppins;
  font-weight: 600;
  color: antiquewhite;
  margin-top: 0.5%;
  margin-left: 4%;
  font-size: 64px;
}
.card-container {
  display: flex;
  gap: 20px;
  margin: 4%;
}

.card {
  flex: 1;
  padding: 20px;
  border-radius: 10px;
  color: black;
}

.card h2 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  margin: 0;
}
.card1 {
  background: #e7f2f2;
}
.card1 h2 {
  color: #008000;
}
.card1 .price {
  font-size: 40px;
  font-weight: bold;
  color: #00b200;
}
.card2 {
  background: #fbe6f2;
}
.card2 h2 {
  color: #b2003a;
}
.card2 .price {
  font-size: 40px;
  font-weight: bold;
  color: #ff0055;
}
.card3 {
  background: #acf9ef;
}
.card3 h2 {
  color: #0035b2;
}
.card3 .price {
  font-size: 40px;
  font-weight: bold;
  color: #0035b2;
}
.overlay-black {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: none;
}
.overlay-box1 {
  background-color: #e7f2f2;
  border: none;
  border-radius: 15px;
  box-shadow: inset 5px 5px 12px #ffff, inset -5px -5px 12px rgb(143, 141, 141);
  width: 40%;
  height: 60%;
  padding: 40px;
  border-radius: 30px;
  position: absolute;
  top: 25%;
  left: 30%;
  z-index: 2;
  display: flex;
  display: none;
}
.overlay-box1 .btn-1 {
  font-size: 32px;
  position: absolute;
  top: 30px;
  right: 40px;
  background-color: transparent;
  font-weight: 600;
  border: none;
}
.overlay-box1 h2 {
  font-weight: 600;
  margin-left: 40%;
  margin-top: 8%;
}
.overlay-box1 form {
  position: absolute;
  top: 30%;
  left: 30%;
}
.overlay-box1 input {
  width: 250px;
  height: 40px;
  margin: 5px;
  background-color: #e7f2f2;
  border: none;
  border-radius: 15px;
  padding: 15px;
  outline: none;
  box-shadow: inset 5px 5px 12px #ffff, inset -5px -5px 12px rgb(143, 141, 141);
}
.overlay-box1 .btn-2 {
  width: 250px;
  height: 40px;
  margin: 5px;
  margin-top: 5px;
  background-color: #444b4b;
  border: none;
  border-radius: 15px;
  outline: none;
  color: wheat;
}
.overlay-box1 p {
  margin: 10px;
}
.overlay-box2 {
  background-color: #e7f2f2;
  border: none;
  border-radius: 15px;
  box-shadow: inset 5px 5px 12px #ffff, inset -5px -5px 12px rgb(143, 141, 141);
  width: 40%;
  height: 70%;
  padding: 40px;
  border-radius: 30px;
  position: absolute;
  top: 25%;
  left: 30%;
  z-index: 2;
  display: flex;
  display: none;
}
.overlay-box2 .btn-1 {
  font-size: 32px;
  position: absolute;
  top: 30px;
  right: 40px;
  background-color: transparent;
  font-weight: 600;
  border: none;
}
.overlay-box2 h2 {
  font-weight: 600;
  margin-left: 40%;
  margin-top: 10%;
}
.overlay-box2 form {
  position: absolute;
  top: 30%;
  left: 30%;
}
.overlay-box2 input {
  width: 250px;
  height: 40px;
  margin: 5px;
  background-color: #e7f2f2;
  border: none;
  border-radius: 15px;
  padding: 15px;
  outline: none;
  box-shadow: inset 5px 5px 12px #ffff, inset -5px -5px 12px rgb(143, 141, 141);
}
.overlay-box2 .btn-2 {
  width: 250px;
  height: 40px;
  margin: 5px;
  margin-top: 5px;
  background-color: #444b4b;
  border: none;
  border-radius: 15px;
  outline: none;
  color: wheat;
}
.overlay-box2 p {
  margin: 10px;
}
.main-content {
  font-size: 50px;
  font-weight: 600;
  margin: 4%;
  color: antiquewhite;
}
.main-container {
  display: grid;
  gap: 20px;
  margin: 4%;
  grid-template-columns: repeat(3, 1fr);
}

.container {
  flex: 2;
  padding: 20px;
  border-radius: 10px;
  color: black;
  background: #ffffff;
}

.container h2 {
  font-size: 24px;
  margin-left: 5%;
  font-weight: 700;
  color: #000000;
}

.container p {
  font-size: 14px;
  margin-left: 5%;
  margin-bottom: 5%;
  color: #5a5e5e;
  font-weight: 500;
}
.container img {
  width: 90px;
  height: 90px;
  margin: 3%;
}
.main-container a {
  cursor: pointer;
  text-decoration: none;
}
.demat-account {
  width: 100%;
  height: 40%;
  background-color: #e7f2f2;
  padding: 60px;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
}
.demat-account .leftside {
  width: 33%;
  margin-left: 4%;
  margin-right: 2%;
}
.demat-account .para {
  font-size: 42px;
  font-weight: 700;
}
.demat-account .direction {
  margin-top: 6%;
  font-size: 18px;
  font-weight: 500;
  color: purple;
  cursor: pointer;
}
.direction img {
  width: 25px;
  height: 25px;
  margin-left: 4px;
}
a {
  text-decoration: none;
}
.rightside {
  display: flex;
  margin-left: 30px;
  margin-right: 30px;
}
.rightside h1 {
  font-weight: 700;
  color: purple;
  font-size: 78px;
}
.rightside h2 {
  font-weight: 600;
  font-size: 24px;
}
.rightside p {
  font-size: 14px;
}
.rightside .cont1 {
  margin: 5px;
}
.rightside .cont2 {
  margin: 5px;
}
.rightside .cont3 {
  margin: 5px;
}
.marketing img {
  width: 100%;
  height: 10%;
  margin-bottom: 4%;
}
.footer {
  width: 100%;
  height: 610px;
  background-color: whitesmoke;
  padding: 3%;
}
.container-1 {
  width: 100%;
  height: 250px;
  display: flex;
}
.container-1 .content-1 h1 {
  color: purple;
  font-weight: 700;
}
.container-1 .content-1 {
  width: 40%;
  height: 150px;
  margin-left: 15%;
  margin-right: 30px;
}
.container-1 .content-2 a {
  cursor: pointer;
  margin: 5px;
  margin-right: 10%;
}
.container-1 .content-3 {
  margin-left: 30px;
}
.container-1 .content-3 img {
  height: 50px;
  width: 120px;
  margin: 0.1%;
}
.container-1 .content-3 h3 {
  font-size: 9px;
  font-weight: 600;
}
.container-2 {
  margin: 2%;
}
.container-2 p {
  font-size: 12px;
  text-align: justify;
}
.para-tag {
  font-size: 12px;
}
@media (max-width: 1200px) {
  .overlay-box1 {
    width: 50%;
    height: 50%;
  }
  .overlay-box1 h2 {
    font-weight: 600;
    margin-left: 40%;
    margin-top: 8%;
  }
  .overlay-box1 form {
    position: absolute;
    top: 35%;
    left: 25%;
  }
  .overlay-box2 {
    width: 50%;
    height: 50%;
  }
  .overlay-box2 h2 {
    font-weight: 600;
    margin-left: 40%;
    margin-top: 10%;
  }
  .overlay-box2 form {
    position: absolute;
    top: 30%;
    left: 25%;
  }
  .overlay-box2 h2 {
    font-weight: 600;
    margin-left: 35%;
    margin-top: 8%;
  }
  .demat-account .para {
    font-size: 30px;
    font-weight: 700;
  }
}
@media (max-width: 950px) {
  .lg-txt {
    font-size: 48px;
  }
  .right {
    position: absolute;
    top: 4%;
    margin-left: 75%;
  }
  .overlay-box1 {
    width: 50%;
    height: 50%;
  }
  .overlay-box1 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
  .overlay-box2 {
    width: 50%;
    height: 60%;
  }
  .overlay-box2 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
}
@media (max-width: 800px) {
  .lg-txt {
    font-size: 36px;
  }
  .small-txt {
    font-size: x-large;
  }
  .right {
    position: absolute;
    top: 4%;
    margin-left: 70%;
  }
  .overlay-box1 {
    width: 50%;
    height: 50%;
  }
  .overlay-box1 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
  .overlay-box2 {
    width: 50%;
    height: 60%;
  }
  .overlay-box2 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
  .main-content {
    font-size: 36px;
    font-weight: 600;
    margin: 4%;
    color: antiquewhite;
  }
  .container-1 .content-1 h1 {
    color: purple;
    font-weight: 700;
    font-size: 16px;
  }
  .container-1 .content-1 p {
    font-size: 9px;
  }
  .container-1 .content-2 a {
    cursor: pointer;
    margin: 1px;
    margin-right: 10%;
    font-size: 9px;
  }

  .container-1 .content-3 img {
    height: 20px;
    width: 80px;
    margin: 0.1%;
  }
}
@media (max-width: 750px) {
  .overlay-box1 {
    width: 60%;
    height: 50%;
    padding: 40px;
    border-radius: 30px;
    position: absolute;
    top: 25%;
    left: 20%;
  }
  .overlay-box1 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
  .overlay-box2 {
    width: 60%;
    height: 60%;
    padding: 40px;
    border-radius: 30px;
    position: absolute;
    top: 25%;
    left: 20%;
  }
  .overlay-box2 form {
    position: absolute;
    top: 35%;
    left: 20%;
  }
  .main-container {
    display: grid;
    gap: 20px;
    margin: 4%;
    grid-template-columns: repeat(2, 1fr);
  }
  .demat-account .para {
    font-size: 32px;
    font-weight: 700;
  }
  .demat-account .direction {
    margin-top: 6%;
    font-size: 12px;
    font-weight: 500;
    color: purple;
    cursor: pointer;
  }
  .direction img {
    width: 20px;
    height: 20px;
    margin-left: 4px;
  }
  .rightside .cont1 {
    margin: 10px;
  }
  .rightside .cont2 {
    margin: 10px;
  }
  .rightside .cont3 {
    margin: 10px;
  }
}
@media (max-width: 650px) {
  .lg-txt {
    font-size: 28px;
  }
  .small-txt {
    font-size: 16px;
  }
  .right {
    position: absolute;
    top: 3%;
    margin-left: 60%;
  }
  .overlay-box1 {
    width: 60%;
    height: 60%;
    position: absolute;
    top: 25%;
    left: 20%;
  }
  .overlay-box1 form {
    position: absolute;
    top: 30%;
    left: 17%;
  }
  .overlay-box2 {
    width: 60%;
    height: 60%;
    padding: 40px;
    border-radius: 30px;
    position: absolute;
    top: 25%;
    left: 20%;
  }
  .overlay-box2 form {
    position: absolute;
    top: 30%;
    left: 17%;
  }
  .main-content {
    font-size: 30px;
    font-weight: 600;
    margin: 4%;
    color: antiquewhite;
  }
  .footer {
    width: 100%;
    height: 750px;
    background-color: whitesmoke;
    padding: 3%;
  }
}
@media (max-width: 600px) {
  .demat-account {
    padding: 70px;
    display: flex;
    flex-direction: column;
  }
  .demat-account .leftside {
    width: 100%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 2%;
  }
  .demat-account .para {
    font-size: 42px;
    font-weight: 700;
  }
  .demat-account .direction {
    margin-top: 6%;
    font-size: 16px;
    font-weight: 500;
    color: purple;
    cursor: pointer;
  }
  @media (max-width: 550px) {
    .overlay-box1 {
      width: 70%;
      height: 50%;
      padding: 40px;
      border-radius: 30px;
      position: absolute;
      top: 25%;
      left: 15%;
    }
    .overlay-box1 form {
      position: absolute;
      top: 35%;
      left: 15%;
    }
    .overlay-box2 {
      width: 60%;
      height: 60%;
      padding: 40px;
      border-radius: 30px;
      position: absolute;
      top: 25%;
      left: 15%;
    }
    .overlay-box2 form {
      position: absolute;
      top: 35%;
      left: 15%;
    }
    .demat-account {
      padding: 70px;
      display: flex;
      flex-direction: column;
    }
    .demat-account .leftside {
      width: 100%;
      margin-left: 4%;
      margin-right: 2%;
      margin-bottom: 2%;
    }
    .demat-account .para {
      font-size: 42px;
      font-weight: 700;
    }
    .demat-account .direction {
      margin-top: 6%;
      font-size: 16px;
      font-weight: 500;
      color: purple;
      cursor: pointer;
    }
  }
  @media (max-width: 500px) {
    .lg-txt {
      font-size: 24px;
      margin-top: 3%;
    }
    .small-txt {
      font-size: 12px;
    }
    .right {
      position: absolute;
      top: 5%;
      margin-left: 50%;
    }
    .card-container {
      display: flex;
      flex-direction: column;
    }
    .overlay-box2 {
      width: 70%;
      height: 60%;
      position: absolute;
      top: 25%;
      left: 15%;
    }
    .overlay-box2 form {
      position: absolute;
      top: 35%;
      left: 12%;
    }
    .main-container {
      display: flex;
      flex-direction: column;
    }
    .container {
      flex: 2;
      padding: 5px;
      border-radius: 10px;
      color: black;
    }
    .main-content {
      font-size: 28px;
      font-weight: 600;
      margin: 4%;
      color: antiquewhite;
    }
    @media (max-width: 450px) {
      .right button {
        font-size: 14px;
      }
      .right {
        position: absolute;
        top: 4%;
        margin-left: 50%;
      }
      .overlay-box1 {
        width: 80%;
        height: 50%;
        position: absolute;
        top: 25%;
        left: 12%;
      }
      .overlay-box1 form {
        position: absolute;
        top: 35%;
        left: 12%;
      }
      .overlay-box2 {
        width: 80%;
        height: 60%;
        position: absolute;
        top: 25%;
        left: 12%;
      }
      .overlay-box2 form {
        position: absolute;
        top: 35%;
        left: 10%;
      }
      .rightside {
        display: flex;
        margin-left: 10px;
        margin-right: 10px;
        flex-direction: column;
        text-align: center;
      }
      .demat-account .direction {
        margin-top: 6%;
        font-size: 14px;
        font-weight: 500;
        color: purple;
        cursor: pointer;
      }
      .footer {
        height: 810px;
      }
    }
    @media (max-width: 375px) {
      .overlay-box1 {
        width: 90%;
        height: 50%;
        position: absolute;
        top: 25%;
        left: 6%;
      }
      .overlay-box1 form {
        position: absolute;
        top: 35%;
        left: 6%;
      }
      .overlay-box2 {
        width: 90%;
        height: 50%;
        position: absolute;
        top: 25%;
        left: 6%;
      }
      .overlay-box2 form {
        position: absolute;
        top: 21%;
        left: 6%;
      }
      .footer {
        height: 850px;
      }
    }
  }
}
