html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  background-color: #f7f7f9;
    font-family: "Poppins", serif;
}

.menu-logo {
  color: #6070ff;
}

.logo {
  margin-top: 1rem;
    height: 2.5rem;
    width: auto;
    margin-left: 1rem;
}

.toolbar {
  background: rgb(232, 247, 154);
    background: linear-gradient(356deg, rgba(232, 247, 154, 1) 0%, rgba(73, 210, 146, 1) 44%);
  display: flex;
  justify-content: space-between;
  padding: 0 3rem 0 3rem;
  position: fixed;
    z-index: 999;
    width: 100%;
    box-sizing: border-box;
    height: 65px;
    border-radius: 0 0 10rem 10rem;
  }
  
  .toolbar-links {
    display: flex;
    justify-content: space-around;
  align-items: center;
  width: 20rem;
  }
  
  .toolbar-links>a {
    list-style: none;
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 1px #172b4d;
  }
  
  #wrapperId {
    position: relative;
    height: 95vh;
    overflow: hidden;
    border-radius: 0 0 0 10rem;
  }
  
  #wrapperId::before {
    content: '';
    position: absolute;
  top: 0;
  left: 0;
    width: 200%;
    height: 100%;
    background-image: url('./images/logo-head.jpg');
    background-size: 10rem;
    background-repeat: repeat;
    border-radius: 0 0 0 10rem;
    opacity: 0.15;
    z-index: -1;
    animation: slide 120s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.headline {
  position: relative;
    z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 5rem;
    opacity: 1;
    margin-top: 5rem;
}

.dropdown-content>a {
  background-color: #f7f7f9;
  font-size: 4.4vw;
  text-decoration: none;
  display: none;
  align-items: center;
  border-radius: 8px;
}

.mobile-menu-page {
  position: fixed;
  background: rgba(232, 247, 154, 0.874);
    background: linear-gradient(356deg, rgb(232, 247, 154) 0%, rgba(73, 210, 146, 0.427) 44%);
    backdrop-filter: blur(5px);
  width: 100vw;
  height: 180vh;
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: center;
  z-index: 9999;
  padding-top: 50%;
  padding-right: 0;
}

.mobile-menu-page>ul {
  padding: 0 28px 0 28px;
}

.mobile-menu-page>ul>li {
  list-style: none;
  padding-top: 5%;
}

.mobile-menu-page>ul>li>a {
  font-size: 10vw;
  font-family: "Poppins", serif;
  font-weight: 600;
  color: #fff;
  backdrop-filter: none;
  text-decoration: none;
  mix-blend-mode: normal;
  line-height: 44px;
}

.fa-close {
  color: #fff;
  text-align: end;
  padding-right: 10%;
  padding-top: 10%;
}

#menu-page {
  display: none;
}

.greeting {
  font-size: 3rem;
  font-weight: 700;
  text-align: left;
  color: #172b4d;
  margin: 0 0 2rem 0;
}

.about {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  color: #344563;
  width: 70%;
}

h2 {
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: #7f8cff;
}

.socials > ul {
  display: flex;
    justify-content: center;
    align-items: center;
  padding: 0;
}

.socials > ul > li {
  list-style: none;
  padding: 1rem;
    padding-left: 0;
}

.img-socials {
  width: 2rem;
  height: auto;
}

#work {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project {
  display: flex;
  align-items: center;
    width: 90vw;
    padding: 4rem;
    box-sizing: border-box;
    background-color: white;
    border-radius: 12px;
    margin: 2.5rem;
}

.image-container {
  width: 40%;
  padding: 2rem;
}

.image-container>img {
  height: 15rem;
  width: auto;
}

.container {
  width: 60%;
}

.client-name {
  font-size: 2rem;
  margin-bottom: 0;
}

.ul {
  display: flex;
  justify-content: space-between;
  width: 50%;
  margin: 0;
  color: #172b4d;
  border-bottom: 1px solid #172b4d4e;
  padding: 1rem 0 1rem 0;
}

.li-desktop {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.name {
  font-weight: 600;
  font-size: 1.1rem;
}

.buttons > ul {
  margin: 0;
    margin-bottom: 1rem;
    padding: 1rem;
    padding-left: 0;
  display: flex;
  justify-content: left;
  align-items: center;
  width: auto;
}

.buttons > ul > li {
  list-style: none;
  font-size: 1rem;
    font-weight: 400;
  line-height: 16px;
  color: #0ceaa0;
    background-color: #e4f3ee;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 1rem;
  border-color: transparent;
  text-align: center;
  text-shadow: 1px 1px 1px grey;
    margin-right: 0.6rem;
}

.see-project {
  margin-top: 1rem;
    border: 1px solid green;
    padding: 0.4rem 1rem;
  border-radius: 8px;
  background: rgb(232, 247, 154);
    background: linear-gradient(356deg, rgba(232, 247, 154, 1) 0%, rgba(73, 210, 146, 1) 30%);
    color: white;
    font-weight: 900;
    text-shadow: 1px 1px 1px black;
    font-size: 1.1rem;
    margin-right: 1rem;
    text-decoration: none;
}

.see-project:hover {
  color: #fff;
  background: rgba(73, 210, 146, 1);
    background: linear-gradient(356deg, rgba(73, 210, 146, 1) 0%, rgba(232, 247, 154, 1) 90%);
}

.see-project:active {
  background: rgba(73, 210, 146, 1);
}

.second-part {
  position: relative;
    overflow: hidden;
    border-radius: 0 10rem 0 10rem;
}

.second-part::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url('./images/logo-head.jpg');
  background-color: #f7f7f9;
  background-size: 10rem;
  background-repeat: repeat;
  opacity: 0.1;
  z-index: -1;
  animation: slide 120s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

    100% {
      transform: translateX(-50%);
    }
}

#headline-two {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  border-radius: 0 10rem 0 10rem;
  padding: 5rem;
  opacity: 1;
}

#text {
  width: 90%;
}

#right-side {
  width: 40%;
}

#left-side {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.list-of-dropdowns {
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dropbtn {
  padding: 3rem 0 3rem 0;
    font-size: 1.2rem;
}

.dropdown-content>img {
  width: 5rem;
  height: auto;
}

#contact-form {
  height: 90vh;
}

.wrapper-contact {
  background: rgb(232, 247, 154);
    background: linear-gradient(356deg, rgba(232, 247, 154, 1) 0%, rgba(73, 210, 146, 1) 44%);
    height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrapper-contact > div > h2 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0;
}

.wrapper-contact > div {
  width: 70vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-para {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ebebff;
  width: 60%;
    margin: 0;
    text-align: center;
}

textarea,
input[type=text],
input[type=email] {
  font-family: "Poppins", serif;
  background: #fff;
  border: 1px solid #cfd8dc;
  padding: 0.5rem;
    width: 25rem;
    height: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
}

textarea {
  word-wrap: break-word;
  word-break: break-all;
  height: 20vh;
}

#submit {
  background-color: white;
  font-size: 1.2rem;
  padding: 0.5rem 1rem 0.5rem 1rem;
  font-family: "Poppins", serif;
  border-radius: 8px;
  border: 1px solid #cfd8dc;
    color: rgba(73, 210, 146, 1);
    text-shadow: 1px 1px 1px green;
}

#submit:hover {
  color: #fff;
  background-color: rgba(73, 210, 146, 1);
  }
  
  #submit:active {
    color: #fff;
    background-color: #079465;
}

form {
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3%;
  position: relative;
}

.message-label {
  padding-bottom: 3%;
}

.fa-bars,
.image-mobile,
.li-mobile,
.project-mobile,
.mobile-logo {
  display: none;
}

.fa-close-popup {
  display: contents;
  height: 5rem;
}

.link3,
.link2,
.link4 {
  display: none;
}

.video0,
.video1,
.video3 {
  display: none;
}

@media (max-width: 500px) {

  .image-desktop,
  .client-name-desktop,
  .li-desktop,
  .project-desktop,
  .toolbar-links,
  .desktop-logo {
    display: none;
  }

    .fa-bars,
    .li-mobile,
    .image-mobile,
    .project-mobile,
    .mobile-logo {
      display: block;
    }

    .toolbar {
      width: 100%;
      box-sizing: border-box;
      justify-content: space-between;
      align-items: center;
  }

    .mobile-logo {
      width: 20%;
      height: auto;
      margin-top: 1rem;
  }

    .fa-bars {
      color: white;
  }

    #menu-page {
      margin-top: 10rem;
      margin-left: -2.9rem;
  }

  .headline {
    padding: 2rem;
  }

    .greeting {
      font-size: 2.2rem;
      margin-top: 2rem;
  }

    .about {
      font-size: 0.8rem;
      width: 100%;
  }

    .lets_connect {
      font-size: 0.8rem;
  }

    .image-container>img {
      width: 80%;
      height: auto;
  }

    .list-of-dropdowns {
      display: flex;
      flex-direction: row;
      padding: 0.4rem;
      width: 100%;
      height: 100%;
  }

    .dropdown-content>img {
      width: 2rem;
      height: auto;
  }

    .socials>ul>li>a>img {
      width: 1rem;
  }

    .project {
    margin: 0;
    flex-direction: column;
      padding: 1rem;
      padding-top: 2rem;
      margin-top: 1rem;
  }

    .image-container {
      padding: 0;
      width: 80vw;
      display: flex;
      justify-content: center;
      align-items: center;
  }

    .container {
      width: 100%;
  }

  .client-name {
    font-size: 1.5rem;
  }

    .ul {
      width: 90%;
      border-bottom: none;
      padding-bottom: 0.2rem;
      color: black;
      font-style: italic;
  }

    .ul>li {
      font-size: 0.8rem;
  }

    .project-mobile {
      font-size: 0.8rem;
  }

    .buttons>ul {
      width: auto;
      justify-content: flex-start;
      gap: 1rem;
  }

  .buttons > ul > li {
    font-size: 0.7rem;
  }

    .see-project {
      font-size: 0.7rem;
  }

    .second-part {
      border-radius: 0 4rem 0 4rem;
  }

  #headline-two {
    display: flex;
      flex-direction: column;
      padding: 1rem;
      margin-top: 2rem;
  }

    #left-side,
    #right-side {
      width: 100%;
  }

    #right-side {
      margin-bottom: 5rem;
  }

    #text {
      width: 95%;
  }

    .wrapper-contact>div>h2 {
      font-size: 2.2rem;
  }

    #left-side>h2 {
      font-size: 0.8rem;
  }

    .ul-second {
    margin: 0;
  }

    .socials>ul>li {
      padding: 0;
      padding-right: 1rem;
  }

  .dropbtn {
    padding: 0.4rem;
      width: 100%;
      height: 8rem;
      box-sizing: border-box;
      background-color: #f7f7f9;
      margin: 0.3rem;
    display: flex;
    flex-wrap: wrap;
      justify-content: center;
      border-radius: 8px;
      box-shadow: 0 0 5px #079465;
  }

    .dropbtn>span {
      font-size: 0.6rem;
      font-style: italic;
  }

    .wrapper-contact>div {
      width: 100%;
  }

    .contact-para {
      width: 90%;
      font-size: 0.8rem;
  }

    #form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

    #form>*>* {
      width: 90%;
      font-size: 0.7rem;
  }

    #textaera {
      width: 105%;
    margin: 0;
    margin-left: -1rem;
  }

    #submit {
      font-size: 0.7rem;
  }
}
