@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap");

html {
  scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: green;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(2, 179, 2);
}

/* all similar content styling codes */
section {
  padding: 100px 0;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
.about,
.contact,
footer {
  font-family: "Poppins", sans-serif;
}
.about .about-content,
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
* {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  color: black;
  font-family: "Poppins";
}
/* body */
body {
  background-color: #f2f2f2;
  place-items: center;
}
/* botton */
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: green;
  right: 50px;
  bottom: 20px;
  text-align: center;
  line-height: 45px;
  color: #fff;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  border-bottom-width: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.showing {
  bottom: 30px;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}
.scroll-up-btn:hover {
  filter: brightness(90%);
}
/* navigation */
.navbar {
  position: fixed;
  background: none;
  width: 100%;
  z-index: 999;
  padding: 15px 0;
  transition: all 0.3s ease;
}
.navbar.sticky {
  padding: 5px 0;
  background-color: #f2f2f2;
}
.navbar::after {
  content: "";
  clear: both;
  display: table;
}
.navbar .logo_container a {
  display: block;
  float: left;
  padding-left: 60px;
  line-height: 60px;
}
.navbar ul {
  float: right;
  list-style: none;
  margin-right: 40px;
  position: relative;
  cursor: default;
}
.navbar ul li {
  float: left;
  display: block;
  margin: 0 20px;
}
.navbar ul li a {
  background-color: #f2f2f2;
  border-radius: 3px;
  color: green;
  text-decoration: none;
  line-height: 70px;
  font-size: 18px;
  padding: 9px 10px;
}
.navbar ul li a:hover {
  color: rgb(24, 202, 24);
  border-radius: 5px;
  box-shadow: 0 0 4px #5cff33, 0 0 4px rgb(10, 192, 10);
}
.navbar ul ul li a:hover {
  color: rgb(24, 202, 24);
  box-shadow: none;
}
.navbar ul ul {
  position: absolute;
  background-color: #f2f2f2;
  top: 90px;
  line-height: 10px;
  border-top: 3px solid rgb(24, 202, 24);
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s;
}
.navbar ul li:hover > ul {
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.navbar ul ul li {
  position: relative;
  margin: 0px;
  width: 160px;
  text-align: justify;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.navbar ul ul li a {
  line-height: 50px;
}
.show,
.icon,
input {
  display: none;
}
.menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}
/* home */
.home {
  display: flex;
  background: url(/images/background.jpg) no-repeat center;
  height: 100vh;
  color: #fff;
  min-height: 500px;
  background-size: cover;
  background-attachment: fixed;
}
.home .max-width {
  margin: auto 0 auto 40px;
}
.home .home-content .text-1 {
  font-size: 27px;
  font-weight: 600;
  margin-left: -3px;
  color: black;
}
.home .home-content .text-2 {
  font-size: 15px;
  color: black;
}
.home .home-content .text-3 {
  font-size: 40px;
  margin-right: 5px 0;
  color: black;
}
.home .home-content .text-3 span {
  color: green;
  font-weight: 500;
}
/* about */
.about {
  font-family: "Poppins";
}
.about .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  font-weight: 400;
}
.about .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: black;
  transform: translateX(-50%);
}
.about .title::after {
  content: "Who are we";
  position: absolute;
  bottom: -12px;
  left: 50%;
  padding: 5px;
  font-size: 20px;
  color: green;
  background: #f2f2f2;
  transform: translateX(-50%);
}
.about .about-content,
.contact .contact-centent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.about .about-content .left {
  width: 45%;
}
.about .about-content .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: left;
}
.about .about-content .right {
  width: 55%;
}
.about .about-content .right {
  font-size: 25px;
}
.about .about-content .right span {
  color: green;
}
.about .about-content .right p {
  text-align: justify;
}
/* contact */
.contact .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  margin-bottom: 30px;
  padding-bottom: 40px;
  font-weight: 400;
}
.contact .title::before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: black;
  transform: translateX(-50%);
}
.contact .title::after {
  content: "contact us";
  position: absolute;
  bottom: -15px;
  left: 50%;
  padding: 5px;
  font-size: 20px;
  color: green;
  background: #f2f2f2;
  transform: translateX(-50%);
}
/* wrapper */
.wrapper {
  margin: 0px;
  padding-left: 42%;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  place-items: center;
}
.wrapper .button {
  display: block;
  height: 60px;
  width: 60px;
  float: left;
  margin: 0 5px;
  overflow: hidden;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}
.wrapper .button:hover {
  width: 200px;
}
.wrapper .button .s-icon {
  display: inline-block;
  height: 60px;
  width: 60px;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 60px;
  transition: all 0.3s ease-out;
}
.wrapper .button:nth-child(1):hover .s-icon {
  background: #4267b2;
}
.wrapper .button:nth-child(2):hover .s-icon {
  background: #1da1f2;
}
.wrapper .button:nth-child(3):hover .s-icon {
  background: #e1306c;
}
.wrapper .button:nth-child(4):hover .s-icon {
  background: #ff0000;
}
.wrapper .button .s-icon i {
  font-size: 25px;
  line-height: 60px;
  transition: all 0.3s ease-out;
}
.wrapper .button:hover .s-icon i {
  color: #fff;
}
.wrapper .button span {
  font-size: 20px;
  font-weight: 500;
  line-height: 60px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
}
.wrapper .button:nth-child(1) span {
  color: #4267b2;
}
.wrapper .button:nth-child(2) span {
  color: #1da1f2;
}
.wrapper .button:nth-child(3) span {
  color: #e1306c;
}
.wrapper .button:nth-child(4) span {
  color: #333;
}
.wrapper .button:nth-child(5) span {
  color: #ff0000;
}

footer {
  background: #111;
  padding: 15px 23px;
  color: #fff;
  text-align: center;
}
footer span {
  color: #f2f2f2;
}
footer span a {
  color: green;
  text-decoration: none;
}
footer span a:hover {
  text-decoration: underline;
}

@media all and (max-width: 968px) {
  .navbar {
    background-color: #f2f2f2;
    padding: 20px 0;
  }
  .navbar ul {
    margin-right: 0px;
    float: left;
  }
  .navbar .logo_container {
    padding-left: 30px;
    width: 100%;
  }
  .navbar ul li,
  .navbar ul ul li {
    display: block;
    width: 100%;
  }
  .navbar ul ul {
    top: 70px;
    position: static;
    border-top: none;
    float: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .show {
    display: block;
    background-color: #f2f2f2;
    border-radius: 5px;
    color: green;
    font-size: 18px;
    text-align: center;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .show:hover {
    color: rgb(24, 202, 24);
  }
  .icon {
    display: block;
    color: white;
    position: absolute;
    right: 40px;
    line-height: 70px;
    font-size: 25px;
    cursor: pointer;
    z-index: 999;
  }
  .navbar ul a:hover {
    box-shadow: none;
  }
  .show + a,
  ul {
    display: none;
  }
  [id^="btn"]:checked + ul {
    display: block;
  }
  .max-width {
    max-width: 800px;
  }
  .about .about-content .column {
    width: 1000%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .left {
    flex: 100%;
  }
  .scroll-up-btn {
    bottom: 50px;
  }
  .scroll-up-btn.showing {
    bottom: 80px;
  }
  .wrapper {
    padding-left: 32%;
  }
}
