/* styles.css */
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #eeeef3;
  margin: 0;
  padding: 0;
  color: #2d60a2;
}

.container {
  max-width: 1170px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

/* navbar */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
}

nav {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
}

.logo {
  color: #fff;
  width: 20%;
  background-color: #2d60a2;
  border-radius: 25px;
  padding: 5px 10px 5px 15px;
  margin-left: 10px;
  box-shadow: 1px 1px 5px #6b6b6b7d, -1px -1px 5px #6b6b6b7d;
}

a {
  color: #2d60a2;
  text-decoration: none;
  position: relative;
  text-align: center;
}

.nav-link {
  font-size: 20px;
  margin-right: 50px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.nav-link:hover {
  color: #2d60a2;
  -webkit-text-shadow: 1px 1px 1px #001834;
  -moz-text-shadow: 1px 1px 1px #001834;
  text-shadow: 1px 1px 1px #001834;
}

.btn-cv {
  background-color: #2d60a2;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
}

.btn-cv:hover {
  background-color: #f3eef3;
  color: #2d60a2;
}

.hamburger-btn {
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.bar1,
.bar2,
.bar3 {
  background-color: #2d60a2;
  width: 30px;
  height: 3px;
  margin: 7px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-50deg) translate(-5px, 10px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(50deg) translate(-15px, -18px);
}

/* Styles for circles */

#home {
  position: relative;
  overflow: hidden;
  padding-bottom: 200px;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.circle-back {
  width: 139px;
  height: 130px;
  background: rgba(45, 96, 162, 0.61);
  filter: blur(50px);
  border-radius: 50%;
  position: absolute;
}

.circle-one {
  top: 20%;
  left: 15%;
}

.circle-two {
  top: 40%;
  left: 60%;
}

.circle-three {
  top: 70%;
  left: 30%;
}

.home-container {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
}

.main-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  position: relative;
}

.main-par {
  font-size: 30px;
  font-weight: 600;
}

.main-heading {
  font-size: 90px;
  margin: 0;
  font-weight: 700;
}

.main-img {
  width: 350px;
  border-radius: 25px;
  margin-right: 10px;
  border: 1px solid #2d60a2;
  box-shadow: 2px 2px 10px #6b6b6b7d, -2px -2px 10px #6b6b6b7d;
}

.btn-rotate {
  position: absolute;
  bottom: 0px;
  left: -50px;
  transform: rotate(10deg);
  animation: tilt 0.5s infinite ease-in-out alternate;
}

@keyframes tilt {
  0% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(15deg);
  }
}

/* About */
.btn,
.heading {
  color: #fff;
  background-color: #2d60a2;
  border-radius: 25px;
  padding: 5px 15px;
  font-size: 18px;
  box-shadow: 1px 1px 5px #6b6b6b7d, -1px -1px 5px #6b6b6b7d;
}

.heading {
  width: 130px;
  font-weight: 400;
  margin-top: 100px;
  margin-bottom: 50px;
  text-align: center;
}

.heading-about {
  margin-top: 0px;
}

.about-container {
  display: flex;
  justify-content: space-between;
  justify-content: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 70px;
}

.about-text {
  text-indent: 30px;
  color: #001834;
  margin-bottom: 50px;
  line-height: 2;
  text-align: justify;
}

.part-two {
  margin-top: 30px;
}

.img-about {
  align-self: flex-start;
  width: 500px;
  border-radius: 25px;
  border: 1px solid #2d60a2;
  box-shadow: 2px 2px 10px #6b6b6b7d, -2px -2px 10px #6b6b6b7d;
}

.diagram {
  margin-top: 50px;
  background-color: #c6d0dc;
  width: 400px;
  height: 500px;
  border-radius: 25px;
  position: relative;
  box-shadow: 2px 2px 10px #6b6b6b7d, -2px -2px 10px #6b6b6b7d;
}

.diagram::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #001834;
  border-radius: 25px;
  transform: rotate(-5deg);
  box-sizing: border-box;
  pointer-events: none;
}

.btn-about {
  position: absolute;
  top: 0;
  left: -50px;
  transform: rotate(-10deg);
}

.circles {
  position: relative;
  width: 400px;
  height: 400px;
}

.circle-container {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.circle {
  background-color: #2d60a2;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  position: relative;
}

.small.circle {
  width: 90px;
  height: 90px;
}

.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 18px;
  text-align: center;
}

.black {
  color: #001834;
}

.blur {
  filter: blur(8px);
}

.blur-two {
  filter: blur(2px);
}

/* Positioning the Circles*/
.circle-container:nth-child(1) {
  top: 40px;
  left: 70px;
}

.circle-container:nth-child(2) {
  top: 150px;
  left: 250px;
}

.circle-container:nth-child(3) {
  top: 200px;
  left: 30px;
}

.circle-container:nth-child(4) {
  top: 300px;
  left: 230px;
}

.circle-container:nth-child(5) {
  top: 360px;
  left: 90px;
}

/* Portfolio */
.project-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-hidden {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  display: flex;
  padding: 10px 40px;
  border: 1px solid #001834;
  border-radius: 25px;
  margin: 0px 10px 50px 10px;
  box-shadow: 2px 2px 10px #6b6b6b7d, -2px -2px 10px #6b6b6b7d;
}

.card-body-one {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 15px;
}

.card-body-two {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-left: 20px;
}

.card-title {
  text-transform: uppercase;
  font-size: 20px;
}

.card-text {
  color: #0b0d0f;
}

.card-img {
  width: 500px;
  border-radius: 25px;
  padding: 30px;
  background: rgb(198, 208, 220);
  background: linear-gradient(
    342deg,
    rgba(198, 208, 220, 1) 0%,
    rgba(42, 88, 147, 1) 75%
  );
  margin-bottom: 20px;
}

.card-btns {
  display: flex;
  justify-content: space-between;
  justify-content: space-between;
  align-items: center;
}

.btn-link {
  width: 190px;
}

.continue {
  color: #001834;
  background-color: #f3eef3;
  border: 1px solid #001834;
}

.btn:hover {
  color: #001834;
  background-color: #f3eef3;
  border: 1px solid #001834;
  cursor: pointer;
}

.continue:hover {
  color: #ffffff;
  background-color: #2d60a2;
}

/* Contact */
.contact {
  display: flex;
  justify-content: space-between;
}

.contact-text {
  display: flex;
  justify-content: space-between;
  width: 60%;
}

.circle-contact {
  filter: blur(36px);
  width: 20px;
  margin-top: -100px;
  margin-right: 100px;
}

.contact-par {
  color: #001834;
}

/* Footer */
footer {
  margin-top: 50px;
  padding: 20px 0px 20px 50px;
  background-color: #2d60a2;
  color: white;
  display: flex;
  justify-content: space-between;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: end;
}

.nav-footer {
  color: #fff;
  padding: 10px 0px;
  font-size: 18px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.nav-footer:hover {
  color: #ffffff;
  -webkit-text-shadow: 2px 2px 2px#C6D0DC;
  -moz-text-shadow: 2px 2px 2px#C6D0DC;
  text-shadow: 2px 2px 2px#C6D0DC;
}

.icons {
  display: flex;
  justify-content: flex-end;
  margin: 10px 45px 0px 0px;
}

.contact-icon {
  margin-left: 15px;
}

.text-developer {
  color: #fff;
  margin-right: 45px;
}

/* Mobile */
@media (max-width: 1201px) {
  .container {
    max-width: 1100px;
  }

  .logo {
    padding: 5px 10px;
    margin-left: 0px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }

  .img-about {
    width: 360px;
  }

  .about-right {
    margin-left: 50px;
  }

  .card-body-two {
    margin-left: 10px;
  }

  .card-btns {
    display: flex;
    flex-direction: column;
  }

  .btn-link {
    margin-top: 20px;
  }

  footer {
    padding-right: 30px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 750px;
  }

  .logo {
    width: 30%;
  }

  .home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  .main-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main-img {
    margin-top: 30px;
    width: 400px;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
  }

  .about-text {
    text-align: center;
    margin-bottom: 0px;
    line-height: 2.5;
  }

  .about-right {
    margin-left: 0px;
  }

  .hidden {
    display: none;
  }

  .card {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }

  .card-body-one {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .card-body-two {
    justify-content: center;
    align-items: center;
    margin-left: 0px;
  }

  .card-btns {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 500px;
  }

  .nav nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-bottom: 10px;
    background-color: #c6d0dc;
    z-index: 1000;
  }

  .nav nav.active {
    display: flex;
  }

  .nav .nav-link {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger-btn {
    display: flex;
    z-index: 1000;
  }

  .circle-back {
    width: 70px;
    height: 70px;
    filter: blur(20px);
  }

  #home {
    padding-bottom: 100px;
  }

  .home-container {
    margin-top: 0px;
  }

  .main-img {
    width: 350px;
  }

  .btn-rotate {
    font-size: 24px;
  }

  .card-img {
    width: 400px;
  }

  .card-btns {
    width: 100%;
  }

  .contact-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .circle-contact {
    margin-top: 0px;
    margin-right: 35px;
  }

  .nav-footer {
    display: none;
  }
}

@media (max-width: 481px) {
  .container {
    max-width: 400px;
  }

  .main-heading {
    font-size: 70px;
  }

  #home {
    padding-bottom: 100px;
  }

  .btn-rotate {
    left: 0px;
  }

  .heading {
    text-align: center;
  }

  .diagram {
    width: 300px;
    height: 400px;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  .small.circle {
    width: 80px;
    height: 80px;
  }

  .circle-container:nth-child(2) {
    top: 120px;
    left: 180px;
  }

  .circle-container:nth-child(4) {
    top: 260px;
    left: 200px;
  }

  .circle-container:nth-child(5) {
    top: 300px;
    left: 90px;
  }

  .card {
    max-width: 400px;
    padding: 10px;
  }

  .card-img {
    width: 350px;
  }
}

@media (max-width: 400px) {
  .container {
    max-width: 350px;
    padding: 5px;
  }

  .main-par {
    font-size: 22px;
  }

  .main-heading {
    font-size: 65px;
  }

  .main-img {
    width: 300px;
  }

  .btn-about {
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(-10deg);
  }

  .card {
    max-width: 320px;
  }

  .card-img {
    width: 300px;
  }

  .card-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .continue {
    margin-top: 10px;
  }

  footer {
    margin-top: 50px;
    padding: 20px;
    background-color: #2d60a2;
    color: white;
    display: flex;
    justify-content: space-between;
  }

  .icons {
    margin: 10px 10px 0px 0px;
  }
}
