@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;800&display=swap");

* {
  font-family: "Nunito", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 1440px;
  padding: 0;
  margin: 0 auto;
  background: #0e0e0e;
  overflow-x: hidden;
}

button {
  font-size: 16px;
  padding: 12px 50px;
  border-radius: 44px;
  border: 1px solid #e2e2e2;
  cursor: pointer;
}

/* navbar */
.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 72px 100px;
  z-index: 4;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo div:first-child {
  font-weight: 800;
  color: #e2e2e2;
}

.logo div:nth-child(2) {
  font-weight: 300;
  letter-spacing: 4.6px;
  color: #e2e2e2;
}

ul {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

li {
  list-style: none;
  cursor: pointer;
}

a {
  color: #e2e2e2;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #049da4;
}

.contact-btn {
  background: transparent;
  color: #e2e2e2;
  font-size: 16px;
  z-index: 4;
  height: 50px;
}

.burger {
  display: none;
  cursor: pointer;
  font-size: 20px;
}

/* main screen */
.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.main > svg {
  position: absolute;
  top: 50px;
  right: 0;
  width: 500px;
  filter: blur(10px);
  z-index: 1;
}

.gradient-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 467px;
  height: 1233.793px;
  transform: rotate(-54.374deg);
  flex-shrink: 0;
  border-radius: 233.5px;
  background: linear-gradient(
    180deg,
    rgba(84, 84, 212, 0.308) 0%,
    rgba(84, 212, 201, 0.32) 100%
  );
  filter: blur(150px);
}

.gradient-2 {
  display: none;
  position: absolute;
  top: 200px;
  right: -200px;
  width: 467px;
  height: 1399.298px;
  transform: rotate(65.712deg);
  flex-shrink: 0;
  border-radius: 233.5px;
  background: linear-gradient(
    180deg,
    rgba(28, 251, 232, 0.183) 0%,
    rgba(86, 166, 224, 0.169) 100%
  );
  filter: blur(150px);
}

.header {
  width: 890px;
  z-index: 2;
}

.header > h1 {
  color: #e2e2e2;
  font-weight: 800;
  font-size: 64px;
}

.wrapper-span {
  background-image: linear-gradient(90deg, #76abb3 0%, #049da4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.header > p {
  color: #e2e2e2;
  font-weight: 300;
  font-size: 20px;
}

.header > button {
  margin: 20px;
  font-size: 16px;
}

.img-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.border-frame-1,
.border-frame-2 {
  position: absolute;
  width: 200px;
  background: #0e0e0e;
  border-radius: 16px;
  color: #e2e2e2;
  z-index: 3;
}

.border-frame-1 > h3,
.border-frame-2 > h3 {
  border-bottom: 2px solid #049da4;
}

.border-frame-1 > p,
.border-frame-2 > p {
  margin: 20px;
}

.border-frame-1 {
  top: 400px;
  left: -100px;
}

.border-frame-2 {
  top: 400px;
  right: -100px;
}

.img-frame > img {
  width: 739px;
  height: 501px;
  border-radius: 50px;
  margin-top: 100px;
  z-index: 2;
}

.img-frame > svg {
  position: absolute;
  left: -350px;
  bottom: -300px;
  width: 400px;
  filter: blur(1px);
}

/* about us */
.about {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
  margin-bottom: 150px;
  color: #e2e2e2;
}

.about h1 {
  font-size: 55px;
}

.about-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 65px;
}

.about-img {
  position: relative;
}

.gradient-3 {
  display: none;
  position: absolute;
  left: 80px;
  width: 100px;
  height: 100px;
  background: #049da4;
  filter: blur(100px);
  z-index: 1;
}

.gradient-4 {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 350px;
  height: 100px;
  background: #049da4;
  filter: blur(70px);
  z-index: 1;
}

.about-img > img {
  position: relative;
  width: 565px;
  border-radius: 24px;
  margin-left: 100px;
  z-index: 2;
}

.about-text {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 610px;
  margin-right: 100px;
  align-items: start;
  z-index: 2;
}

.about-text > p {
  font-size: 20px;
  z-index: 2;
}

.about-text > button {
  z-index: 2;
}

.about > svg {
  position: absolute;
  bottom: -100px;
  right: 0;
  z-index: 1;
  width: 300px;
  filter: blur(5px);
}

/* projects */
.projects-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e2e2e2;
  margin: 150px 100px;
}

.projects-info > button {
  z-index: 3;
}

.gradient-5 {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 200px;
  background: #049da4;
  filter: blur(200px);
  z-index: 0;
}

.projects-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  z-index: 3;
}

.projects-text > h1 {
  width: 700px;
  font-size: 55px;
  margin: 0;
}

.projects-text > p {
  width: 650px;
  margin: 0;
}

.projects-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 69px;
  margin-top: 48px;
  margin-bottom: 40px;
  z-index: 3;
}

.projects-card {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  width: 350px;
  height: 350px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.projects-card > h3 {
  background: #0e0e0e7a;
  padding: 10px;
  text-align: center;
}

.projects-card > p {
  background: #0e0e0ec3;
  padding: 10px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.projects-card:hover p {
  opacity: 1;
}

.projects-card:hover {
  transform: scale(105%);
}

.card-1 {
  background: center url(card1.png) no-repeat;
  background-size: cover;
}

.card-2 {
  background: center url(card2.jpeg) no-repeat;
  background-size: cover;
}

.card-3 {
  background: center url(card3.jpeg) no-repeat;
  background-size: contain;
  background-color: #fff;
}

/* services */
.all-services {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  color: #e2e2e2;
  margin: 150px 100px;
  gap: 150px;
}

.services > svg {
  display: none;
}

.service-text {
  width: 520px;
}

.service-text > h1 {
  font-size: 55px;
}

.service-cards {
  position: relative;
  width: 565px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-cards > svg {
  position: absolute;
  filter: blur(5px);
  z-index: 1;
}

.service-card {
  background: #0e0e0e;
  width: 250px;
  height: 259px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 1px solid #333333;
  text-align: center;
  gap: 20px;
  cursor: pointer;
  z-index: 3;
}

.service-card > img {
  width: 100px;
  height: 100px;
  border-radius: 30px;
}

.service-card > h3 {
  font-size: 20px;
  margin: 0;
}

/* support */
.support {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 100px;
  margin-bottom: 150px;
}

.gradient-6 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40px;
  background: #049da4;
  filter: blur(100px);
  z-index: 1;
}

.sup-img {
  z-index: 2;
}

.sup-img > img {
  width: 565px;
  border-radius: 30px;
  border-top: 2px solid #049da4;
  border-bottom: 2px solid #049da4;
}

.sup-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 600px;
  color: #e2e2e2;
  z-index: 2;
}

.sup-info > h1 {
  font-size: 55px;
  margin: 0;
}

.sup-info > p {
  font-size: 20px;
}

/* modal window */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 15% auto;
  width: 80%;
  border-radius: 10px;
  background: #0e0e0e;
  border: 1px solid #333333;
  color: #e2e2e2;
}

.modal-section {
  margin-bottom: 20px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 20px;
}

input,
textarea {
  width: 300px;
  resize: none;
  border-radius: 10px;
  padding: 10px;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 10px;
  color: #e2e2e2;
}

.close:hover {
  transform: scale(1.1);
}

/* footer */
footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-around;
  width: 100vw;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid #333333;
}

.footer-ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-ul > h4,
.footer-social > h4,
li > h4 {
  color: #e2e2e2;
  margin: 0;
  font-size: 20px;
}

@media (max-width: 991px) {
  body {
    width: 100vw;
  }

  /* navbar */
  .navbar {
    margin: 30px 50px;
  }

  /* main screen */
  .header {
    width: 690px;
  }

  .border-frame-1 {
    left: -50px;
  }

  .border-frame-2 {
    right: -50px;
  }

  .img-frame > svg {
    left: -250px;
  }

  .main > svg {
    right: 0;
  }

  .gradient-2 {
    display: none;
  }

  /* about us */
  .about-info {
    justify-content: center;
    align-items: center;
  }

  .about-img > img {
    margin: 0;
  }

  .about-text {
    margin: 0;
    text-align: start;
    align-items: center;
  }

  .gradient-3 {
    left: 0;
  }

  .about > svg {
    right: 0;
  }

  /* projects */
  .projects-cards {
    justify-content: center;
  }

  .gradient-5 {
    top: 15%;
    width: 200px;
    height: 85%;
  }

  /* services */
  .all-services {
    justify-content: center;
    gap: 50px;
  }

  /* support */
  .support {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    width: 100vw;
  }

  /* navbar */
  .navbar {
    margin: 40px 25px;
    position: relative;
    z-index: 3;
  }

  .nav-links,
  .contact-btn {
    display: none;
  }

  .burger {
    display: block;
    color: #e2e2e2;
  }

  .show {
    background: linear-gradient(#0e0e0e98, #0e0e0e);
    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 30px;
    right: 0;
    gap: 20px;
    z-index: 3;
  }

  .show li:last-child {
    margin-bottom: 20px;
  }

  /* main screen */
  .main > svg {
    top: -200px;
    right: 100px;
    width: 400px;
    filter: blur(5px);
    z-index: 0;
  }

  .gradient-1,
  .gradient-2 {
    width: 50vw;
    height: 50vh;
  }

  .gradient-2 {
    top: 500px;
    left: 0;
  }

  .header {
    width: 100vw;
  }

  .header > h1 {
    font-size: 25px;
    margin: 20px 25px;
  }

  .header > p {
    font-size: 14px;
    margin: 20px 30px;
  }

  .img-frame > img {
    width: 330px;
    height: 224px;
    border-radius: 12px;
    margin-top: 50px;
  }

  .border-frame-1,
  .border-frame-2 {
    width: 100px;
    border-radius: 5px;
  }

  .border-frame-1 {
    left: -10px;
    top: 200px;
  }

  .border-frame-2 {
    right: -10px;
    top: 200px;
  }

  .border-frame-1 > h3,
  .border-frame-2 > h3 {
    font-size: 14px;
    margin: 0;
  }

  .border-frame-1 > p,
  .border-frame-2 > p {
    font-size: 10px;
    margin: 0;
  }

  /* about us */
  .about {
    overflow: hidden;
    margin-top: 50px;
  }

  .about > h1 {
    font-size: 25px;
  }

  .about-info {
    gap: 20px;
  }

  .gradient-3 {
    width: 50px;
  }

  .gradient-4 {
    width: 100px;
  }

  .about-img > img {
    width: 340px;
  }

  .about-text {
    width: 340px;
    position: relative;
    overflow: hidden;
  }

  .about > svg {
    right: -200px;
    bottom: 0;
    width: 400px;
  }

  /* projects */
  .projects-info {
    margin-top: -70px;
  }

  .projects-text > h1,
  .projects-text > p {
    width: 80vw;
  }

  .projects-text > h1 {
    font-size: 25px;
  }

  .projects-cards {
    gap: 40px;
  }

  .card-1,
  .card-2,
  .card-3 {
    width: 320px;
    height: 320px;
  }

  .projects-card > p {
    opacity: 1;
  }

  /* services */
  .services {
    position: relative;
    overflow-x: hidden;
  }

  .services > svg {
    display: block;
    position: absolute;
    width: 400px;
    bottom: 100px;
    left: 200px;
    filter: blur(5px);
  }

  .all-services {
    margin: 0 30px;
  }

  .service-text > h1 {
    text-align: center;
    font-size: 25px;
  }

  .service-cards > svg {
    width: 400px;
    top: 60px;
    left: -250px;
  }

  /* support */
  .support {
    margin: 100px 0;
    justify-content: center;
    align-items: center;
  }

  .sup-img > img {
    width: 340px;
  }

  .sup-info {
    width: 340px;
    align-items: center;
  }

  .sup-info > h1 {
    font-size: 25px;
    margin-top: 20px;
  }

  /* modal window */
  .modal-content {
    justify-content: start;
  }

  .modal-section {
    margin: 20px;
  }

  input,
  textarea {
    width: 250px;
  }
}
