@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.imgConteiner1 {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 471.66px;
  height: 757.2px;
  overflow: hidden;
}
img[src="./assets/Group 10wallpaper1.svg"] {
  position: absolute;
  right: -196px;
}
.imgConteiner2 {
  position: absolute;
  z-index: -1;
  display: none;
  bottom: 0px;
  left: 0;
  width: 472px;
  height: 760px;
  overflow: hidden;
}
img[src="./assets/Group 10 Copywallpaper2.svg"] {
  position: absolute;
  left: 352px;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  background-color: #f7f7fe;
  overflow: hidden;
}
header {
  margin: 64px 68px 10px 68px;
}
header h1 {
  color: #6e728e;
  text-align: center;
  font-family: Montserrat;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 40px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #a2a7f0;
}

input:focus + .slider {
  box-shadow: 0 0 1px #696edd;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

header p {
  color: #6e728e;
  text-align: right;
  font-family: Montserrat;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}
header p:last-child {
  color: #6e728e;
  font-family: Montserrat;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}
.header-footer {
  display: flex;
  height: 32px;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #6e728e;
}

/* main section  */

.boxWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
  gap: 40px;
}
.div {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 20px 40px 0px rgba(212, 210, 244, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.div h4 {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0px;
  margin: 31px 138px 24px 138px;
}
.div h2 {
  color: #4a4d60;
  font-family: Montserrat;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 71px; /* 98.611% */
  letter-spacing: -2.16px;
}
.content {
  margin: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.content > p {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0px;
  color: #6e728e;
}
.line {
  width: 269px;
  height: 0.5px;
  opacity: 0.25;
  background: #6e728e;
}
.learnMore {
  width: 269px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, #a2a7f0 0%, #696edd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.learnMore {
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.393px;
  text-transform: uppercase;
  color: #6d72de;
}
.div1,
.div3 {
  width: 327px;
  height: 453px;
}
.div2 {
  width: 326px;
  height: 453px;
  background: linear-gradient(135deg, #a2a7f0 0.06%, #696edd 100.06%);
  box-shadow: 0px 20px 40px 0px rgba(212, 210, 244, 0.5);
}
.div2 .learnMore {
  background: white;
  color: #6d72de;
}

.div2 > .content > p {
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}
.div2 > h2 {
  color: #fff;
  font-family: Montserrat;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 71px;
  letter-spacing: -2.16px;
}
.div2 > h4 {
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}
.div2 > .content > .line {
  background-color: white;
}
.div3 {
  margin-bottom: 40px;
}
/* on hover */

.div2 > .learnMore:hover {
  background: linear-gradient(135deg, #a2a7f0 0.06%, #696edd 100.06%);
  color: white;
  border: 1px solid #fff;
}
.div1 .learnMore,
.div3 .learnMore {
  color: white;
  border-radius: 6px;
}
.div1 .learnMore:hover,
.div3 .learnMore:hover {
  background: white;
  color: #6d72de;
  border-radius: 6px;
  border: 1px solid #6d72de;
}

/* responsive */

@media screen and (width > 376px) {
  header {
    position: relative;
    bottom: 30px;
  }
  .boxWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    bottom: 30px;
  }
  .div2 {
    height: 500px;
  }
  img[src="./assets/Group 10 Copywallpaper2.svg"] {
    left: 0;
    bottom: 0;
  }
  img[src="./assets/Group 10wallpaper1.svg"] {
    right: 0;
    top: 0;
  }
  .imgConteiner2 {
    display: block;
  }
  .div3 {
    margin-bottom: 0;
  }
  header {
    margin: 64px 68px 0 68px;
  }
}
