@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
  color: #eee;
}

body {
  overflow-x: hidden;
}

.hero {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("images/bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.main-width {
  width: 1280px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  padding: 40px 0 30px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.logo p {
  height: 55px;
  width: 55px;
  border: 2px solid #2ecc71;
  color: #2ecc71;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

nav .humb {
  background: white;
  width: 35px;
  height: 25px;
  top: 60px;
  z-index: 5;
  top: 60px;
  right: 3%;
  position: absolute;
  cursor: pointer;
  display: none;
}

nav .humb span {
  display: block;
  background: #2ecc71;
  width: 100%;
  height: 3px;
  transition: 0.3s;
  transition-property: transform, opacity;
}

nav .humb span:nth-child(2) {
  margin: 7px 0;
}

nav .nav-list li {
  display: inline-block;
}

nav .nav-list li a {
  display: inline-block;
  color: #eee;
  margin-left: 15px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s linear;
  border-radius: 30px;
  padding: 9px 28px;
  border-radius: 30px;
  line-height: 1.3;
}

nav .nav-list li:not(:last-child):hover a {
  color: #2ecc71;
  transition: all 0.2s linear;
  transform: translateY(-5px);
}

nav .nav-list li.btn a {
  display: inline-block;
  background: transparent;
  border: 2px solid #2ecc71;
  padding: 9px 28px;
  border-radius: 30px;
  line-height: 1.3;
  color: #2ecc71;
  font-weight: 500;
}

nav .nav-list li.btn:hover a {
  background: #2ecc71;
  color: #fff;
  border: 2px solid white;
}

/* Home Body */
.contaner {
  padding-top: 100px;
  /* display: flex; */
}

.contaner .hero-text {
  margin-bottom: 40px;
}

.contaner .hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
  margin: 20px 0px;
}

.contaner .hero-text h1 span {
  color: #2ecc71;
}

.contaner .hero-text h3 {
  font-weight: 400;
  font-size: 16px;
}

.contaner .hero-text p {
  width: 540px;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 300;
}

.social a {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  font-weight: bolder;
  align-items: center;
  justify-content: center;
  color: #eee;
  cursor: pointer;
  font-size: 17px;
  margin-right: 20px;
  margin-bottom: 35px;
}

.social a:hover {
  transform: scale(1.1);
  background-color: #2ecc71;
}

.contaner .hero-text button {
  background-color: #2ecc71;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 8px 30px;
  border-radius: 30px;
  border: 2px solid #2ecc71;
  cursor: pointer;
}

.contaner .hero-text button:hover {
  background: transparent;
  color: #2ecc71;
  transition: 0.4s;
}

.home-section {
  display: flex;
}

.home-right {
  overflow: hidden;
}

.home-section>* {
  flex: 1 1;
}

.home-right .home-image {
  height: 100%;
  width: 100%;
  background: url("images/user.png") no-repeat center;
}

.contaner .page {
  display: none;

  /* For navigation control */
}

/* About Page */

.about-section {
  display: flex;
  padding: 20px;
}

.about-section>* {
  flex: 1 1;
}

.about-left {
  height: 380px;
}

.about-image {
  height: 100%;
  width: 100%;
  background: url("images/user.png") no-repeat center;
}

.about-image img {
  width: 100%;
}

.about-right {
  padding: 0 30px;
}

.about-right h2 {
  padding-bottom: 20px;
}

.about-right p {
  font-weight: 200;
}

/* Works */
.works {
  text-align: center;
}

.works-div {
  display: flex;
  padding: 30px;
  height: 350px;
  align-items: center;
  justify-content: space-between;
}

.works-div .work-1 {
  height: 200px;
  width: 250px;
  background-color: #eee;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.5s;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.works-div .work-1:hover {
  height: 300px;
  width: 250px;
  transition: 0.5s;
}

.work-1 .work-img {
  color: black;
  border-radius: 20px;
  height: 150px;
  transition: 0.5s;
  overflow: hidden;
  position: absolute;
  z-index: 1;
}

.work-1 .work-img img {
  width: 100%;
}

.work-1 .work-title {
  height: 30px;
  width: 100%;
  transition: 0.5s;
  color: #111;
  background-color: #eee;
  font-weight: 500;
  position: absolute;
  z-index: 1;
  top: 150px;
}

.work-1 .work-detail {
  padding: 0 10px;
  text-align: justify;
  transition: 0.5s;
  position: absolute;
  z-index: 0;
  bottom: 0;
  color: #111;
  display: none;
  height: 120px;
  font-size: 12px;
}

.works-div .work-1:hover .work-detail {
  display: block;
  transition: 0.5s;
}

/* Services Page */

/* Bottom Section */
.bottom {
  margin-top: auto;
  margin-bottom: 40px;
}

.bottom p {
  font-size: 14px;
  letter-spacing: 2px;
}

/* Contact Form */
.contact {
  position: absolute;
  top: -150%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.25);
  height: 500px;
  width: 650px;
  border-radius: 30px;
  box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
    transform 0ms ease-in-out 200ms;
}

.contact.active {
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: top 200ms ease-in-out 0ms, opacity 0ms ease-in-out 200ms,
    transform 200ms ease-in-out 0ms;
}

.contact-close {
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 30px;
  padding-top: 30px;
  cursor: pointer;
}

.contact-close p {
  color: #111;
  background-color: #eee;
  border-radius: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.contact-close p:hover {
  color: #eee;
  background-color: #111;
  transition: 0.5s;
}

.contact-name {
  padding: 10px 20px;
  display: flex;
}

.contact-name p {
  width: 150px;
}

.contact-name input[type="text"],
.contact-mail input[type="email"],
.contact-describe textarea {
  background-color: rgba(255, 255, 255, 0.1);
  color: #eee;
  width: 400px;
  height: 30px;
  padding: 5px;
  border-radius: 5px;
  border: none;
  outline: none;
}

.contact-mail {
  padding: 10px 20px;
  display: flex;
}

.contact-mail p {
  width: 150px;
}

.contact-describe {
  padding: 10px 20px;
  display: flex;
}

.contact-describe p {
  width: 150px;
}

.contact-submit {
  display: flex;
  justify-content: center;
}

.contact-submit a {
  background: transparent;
  border: 3px solid #2ecc71;
  padding: 9px 28px;
  border-radius: 30px;
  line-height: 1.3;
  color: #2ecc71;
  font-weight: 500;
}

.contact-submit a:hover {
  background: #2ecc71;
  color: #fff;
  border: 2px solid white;
}

.main-width.disable {
  display: none;
  transition: 1s;
}

.contact-describe textarea {
  display: block;
  height: 250px;
  resize: none;
}