html {
  scroll-behavior: smooth;
  scrollbar-color: rgb(63, 9, 114) #000021;
}

* {
  margin: 0;
  padding: 0;
}
body {
  scroll-behavior: smooth;
  background-color: rgb(0, 0, 33);
  color: white;
  font-family: "Baloo Bhai 2", sans-serif;
}
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  background-color: rgb(18, 18, 62);
}
nav ul {
  display: flex;
  justify-content: center;
}
nav ul li {
  list-style: none;
  margin: 0 13px;
}
nav ul li a {
  text-decoration: none;
  color: white;
  transition: all 0.4s;
}
.left {
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: 700;
}
.firstSection {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 110px 0;
}
.firstSection > div {
  width: 30%;
}
.leftsection {
  font-size: 2rem;
}
.rightsection img {
  width: 80%;
  margin-top: 30px;
  transition: all 1s;
  cursor: pointer;
}

/* .rightsection img:hover {
  padding: 5px;
  width: 82%;
} */
.purple {
  color: blueviolet;
}
nav ul li a:hover {
  color: blueviolet;
}
#element {
  color: blueviolet;
}
.widht {
  width: 320px;
}
main hr {
  border: 0;
  background-color: blueviolet;
  height: 1px;
  margin: 40px 84px;
}
.secondSection h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 40px;
}
.secondSection {
  max-width: 100vw;
  margin: auto;
  height: 80vh;
  margin-bottom: 50px;
}

footer {
  background-color: rgb(13, 13, 50);
  color: #ffffff;
  padding: 40px 20px;
}

.fonts {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.colors {
  color: #38bdf8;
  margin-bottom: 15px;
}

.line {
  line-height: 1.6;
}

.boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  text-align: center;
}

.con {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  width: auto;
  height: 200px;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  border-radius: 5px;
  margin: 10px;
  transition: all 1s;
}
.box:hover {
  box-shadow: 1px 1px 15px 1px rgb(0, 0, 80);
  cursor: pointer;
}
.box1 {
  transition: all 1s;
  width: 300px;
  height: 200px;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  border-radius: 5px;
  margin: 10px;
  padding: 15px;
  cursor: pointer;
}
.box1:hover {
  box-shadow: 1px 1px 15px 1px rgb(0, 0, 80);
}
.box_2 {
  width: 300px;
  height: 350px;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  border-radius: 5px;
  margin: 10px;
  transition: all 1s;
}

.box_2:hover {
  box-shadow: 1px 1px 15px 1px rgb(0, 0, 80);
  cursor: pointer;
  z-index: 1000;
}
.butto {
  text-align: center;
  border-radius: 30px;
  padding: 8px 18px;
  border: 1px solid white;
  cursor: pointer;
  transition: all 0.5s;
}
.butto:hover {
  background-color: transparent;
  color: white;
}
.butto a {
  text-decoration: none;
  color: black;
  transition: all 0.5s;
}
.butto a:hover {
  color: white;
}
.styles {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 7px 0;
}
.projec {
  padding: 10px;
}

.displayflex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px;
}
.box p {
  width: 230px;
  padding: 0 10px;
}

.box h3 {
  padding-top: 5px;
}

.btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid white;
  background: white;
  color: rgb(0, 0, 0);
  transition: all 0.5s;
  cursor: pointer;
  font-weight: 600;
}
.active{
background-color: transparent;
  color: white;
  box-shadow: 1px 1px 15px 1px rgb(0, 0, 80);
}

.btn:hover {
  background-color: transparent;
  color: white;
  box-shadow: 1px 1px 15px 1px rgb(0, 0, 80);
}
.btn a:hover {
  background-color: transparent;
  color: white; 
}

.btn a {
  text-decoration: none;
  color: black;
}
.button {
  padding: 5px 10px;
  border: 1px solid white;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.5s;
  cursor: pointer;
}
.button a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.button a:hover {
  background-color: transparent;
  color: white;
}
.button:hover {
  background-color: transparent;
  color: white;
}

/* about section styles */

.height {
  height: 77vh;
  width: 100%;
}

.height h2 {
  text-align: center;
  margin: 50px 0;
}

.height p {
  padding: 0 50px;
  margin-top: 20px;
}

/* contact section style */

.contact {
  max-width: 1200px;
  width: 100%;
  height: 100vh;
}

.form #name,
#email {
  max-width: 1200px;
  width: 90%;
  height: 50px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 15px;
  margin-left: 10px;
  background: transparent;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  color: white;
  font-weight: 700;
}
.form #name {
  margin-left: 10px;
}

.form #message {
  max-width: 1200px;
  width: 92%;
  margin: 10px;
  padding: 10px;
  height: 200px;
  border-radius: 5px;
  font-size: 15px;
  background: transparent;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  color: white;
  font-weight: 700;
}

.form #submit {
  padding: 8px 18px;
  margin-left: 10px;
  border-radius: 5px;
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  color: white;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.7s;
}
.form #submit:hover {
  /* background-color: rgb(4, 140, 4); */
  box-shadow: 1px 1px 10px 1px rgb(0, 0, 80);
}

input::placeholder {
  color: white;
}
textarea::placeholder {
  color: white;
}

.form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nameandemail {
  display: flex;
}

.contact h2 {
  text-align: center;
  margin: 20px;
}

/* services styles */

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  text-align: center;
}

.img {
  position: absolute;
}

.left2 {
  border: 1px solid rgb(0, 0, 80);
  background: rgb(0, 0, 42);
  border-radius: 5px;
  height: 50vh;
  width: 60vw;
  position: relative;
  left: 270px;
  top: 20px;
  transition: all 1s;
  cursor: pointer;
}

.image {
  width: 300px;
  height: 340px;
  border: 1px solid white;
  background: rgb(0, 0, 42);
  margin-top: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 1s;
}

.one,
.two,
.three {
  width: 275px;
  height: 70px;
  margin: 10px;
}

#colorswhite {
  color: white;
}

.top {
  margin-top: 30px;
}

.topp {
  margin-top: 30px;
}

.how {
  text-align: center;
  margin-top: 50px;
}
.checkbox {
  color: #fff;
  display: none;
  cursor: pointer;
}

#check {
  display: none;
}

@media screen and (max-width: 900px) {
  .checkbox {
    display: block;
    margin: 0 20px 0px auto;
    font-size: 20px;
  }
  .left {
    margin-left: 20px;
  }
  .right ul {
    position: fixed;
    width: 40%;
    height: 100vh;
    left: -100%;
    top: 75px;
    background-color: rgb(18, 18, 62);
    text-align: center;
    display: block;
    transition: all 1s;
    z-index: 1000;
  }
  #check:checked ~ .right ul {
    left: 0;
  }
  .navbar ul li {
    padding-bottom: 40px;
    display: block;
    margin-top: 20px;
  }
  .secondSection {
    height: auto;
  }

  .left2 {
    border: 1px solid rgb(0, 0, 80);
    background: rgb(0, 0, 42);
    border-radius: 5px;
    height: auto;
    width: 60vw;
    position: relative;
    left: 0px;
    top: 20px;
    margin-bottom: 50px;
    margin-right: 20px;
  }
  .space {
    display: flex;
    justify-content: space-between;
  }
  .image {
    margin-top: 0;
  }
  .height p {
    margin: 20px 0;
  }
  .height {
    height: auto;
  }

  /* .rightsection img {
    display: none;
  } */

  .box p {
    width: auto;
  }
  .container {
    flex-wrap: wrap;
    height: auto;
    margin: 30px 0;
  }

  .button {
    margin: 15px 0;
  }

  .form {
    align-items: center;
    margin-bottom: 50px;
  }

  .contact {
    height: auto;
  }
  .form #submit {
    margin-bottom: 10px;
  }

  .form #message {
    width: 92%;
  }

  .widht {
    font-size: 30px;
  }

  .navbar {
    width: auto;
  }

  .firstSection {
    overflow-x: hidden;
  }
  .classs {
    width: auto;
    margin: 0 76px;
    height: 150px;
  }
}

@media screen and (max-width: 786px) {
  .display {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .img {
    display: none;
  }

  wit{
    width: 310px;
  }
}

@media screen and (max-width: 600px) {
  .classs {
    transition: all 1s;
    width: 300px;
    height: 200px;
    border: 1px solid rgb(0, 0, 80);
    background: rgb(0, 0, 42);
    border-radius: 5px;
    margin: 10px;
    padding: 15px;
    cursor: pointer;
  }
  .left2 {
    width: auto;
    margin: auto;
    margin-bottom: 50px;
  }
  .boxes {
    flex-direction: column;
  }
  .project2 {
    height: auto;
  }
  .rightsection img {
    display: none;
  }
  .image {
    width: 280px;
    margin-left: 10px;
  }
  .formm {
    width: 300px;
    margin: auto;
  }
  .form {
    flex-direction: column;
  }

  .form #message {
    width: 89%;
  }

  .widht {
    font-size: 27px;
  }

  .right ul {
    width: 60%;
  }
}



