* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
}
img {
  max-width: 100%;
  object-fit: cover;
}
ul {
  list-style: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "work-sans", sans-serif;
}
:root {
  --max-width-section: 1200px;
  --main-color: #10cab7;
  --secondary-color: #2c4755;
  --background-firstSection: rgb(245 245 245);
  --background-firstSection: #f6f6f6;
  --background-secondSection: white;
  --padding-section: 1rem;
  --margin-bottom-section: 3rem;
  --color-heading: #ebeced;
}
/* stert component classes */
.section {
  padding: var(--padding-section, 1rem);
  margin-bottom: var(--margin-bottom-section, 3rem);
  background-color: var(--background-firstSection, rgb(245 245 245));
}
.containerHead {
  width: fit-content;
  padding: 1rem 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--margin-bottom-section, 3rem);
  text-transform: capitalize;
  text-align: center;
  line-height: 0.6;
}
.heading {
  color: var(--color-heading, #ebeced);
  font-weight: 800;
  letter-spacing: -0.25rem;
  font-family: sans;
}
@media (min-width: 768px) {
  .heading {
    font-size: 7rem;
  }
}
@media (max-width: 767.98px) {
  .heading {
    font-size: 4rem;
  }
}
.heading + p {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.6;
}
.content-section {
  max-width: var(--max-width-section, 1200px);
  padding: var(--padding-section, 1rem);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}
@media (max-width: 399.98px) {
  .content-section {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}
.justify-around {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
@media (max-width: 767.98px) {
  .justify-around {
    align-items: center;
    flex-direction: column;
  }
}
/* end component classes */
@media (min-width: 768px) {
  .containerProject {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.containerProject section.home {
  margin-left: auto;
  margin-right: auto;
}
/* start header */
.containerProject section.home .header {
  background-color: white;
}
.header .container {
  max-width: var(--max-width-section, 1200px);
  padding: var(--padding-section, 1rem);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.containerProject section.home .header .image {
  width: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.links {
  z-index: 1;
  cursor: pointer;
}
.links .span {
  width: 1.5rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.links .span span:not(.span2) {
  width: 1.5rem;
  height: 0.12rem;
  background-color: black;
  opacity: 0.8;
}
.links .span .span2 {
  width: 0.75rem;
  height: 0.12rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  background-color: black;
  opacity: 0.8;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.links span.span .span2.toggel {
  width: 1.5rem;
  margin-left: 0px;
}
.links ul {
  position: absolute;
  right: 0.5rem;
  top: 100%;
  display: none;
}
.links ul:before {
  content: "";
  border: 0.6rem solid;
  border-color: transparent transparent rgb(240 240 240) transparent;
  position: absolute;
  top: -1.1rem;
  right: 0.6rem;
}
.links ul.toggel {
  display: block;
}
.links li {
  min-width: 13rem;
  padding: 0.7rem;
  text-transform: capitalize;
  background-color: rgb(240 240 240);
  font-family: sans;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.links li:not(:last-child) {
  border-bottom: 0.006rem solid lightgray;
}
ul li:hover {
  padding-left: 2rem;
}
li a {
  color: black;
  opacity: 0.7;
  display: block;
}
/*start landing*/
.landing {
  height: 100vh;
  background-image: url(https://raw.githubusercontent.com/ElzeroWebSchool/HTML_And_CSS_Template_One/main/images/landing.jpg);
  background-size: cover;
  position: relative;
}
.landing .titel {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
.landing .titel h1 {
  margin-top: 0;
  color: var(--main-color);
  text-transform: capitalize;
  font-family: sans;
}
@media (min-width: 768px) {
  .landing .titel h1 {
    font-size: 4rem;
  }
  .landing .titel p {
    font-size: 1.4rem;
  }
}
.landing .titel p {
  margin-left: auto;
  margin-bottom: auto;
  font-family: sans;
  opacity: 0.6;
  text-transform: capitalize;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .landing .titel p {
    white-space: nowrap;
  }
}
/* end landing */
/* start featuers*/
.featuers {
  background-color: var(--background-firstSection, rgb(245 245 245));
}
.featuers .container {
  padding: 3rem 0;
  text-align: center;
  line-height: 1.8;
}
@media (max-width: 767.98px) {
  .featuers .container {
    justify-content: center;
  }
}
.featuers .container h2 {
  font-size: 1.2rem;
}
.featuers .container p {
  margin: 1.25rem;
  font-size: 1rem;
}
.featuers .container i {
  margin-bottom: var(--margin-bottom-section, 3rem);
  color: var(--main-color);
  font-size: 3.1rem;
}
/* end featuers*/
/* start services */
.services {
  background-color: var(--background-secondSection, white);
}
.services .container .content-services {
  margin-left: auto;
  margin-right: auto;
}
.image {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}
.services .container .content-services .image img {
  width: 16rem;
  filter: hue-rotate(200deg) grayscale(80%);
}
.section1,
.section2,
.section3,
.section4 {
  margin-bottom: 2rem;
  display: flex;
}
@media (max-width: 767.98px) {
  .section1,
  .section2,
  .section3,
  .section4 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.services .container .content-services .col .ser {
  flex: 1;
}
.services .container .content-services .col h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.services .container .content-services .col p {
  opacity: 0.6;
  line-height: 1.8;
}
.services .container .content-services .col i {
  color: var(--main-color);
  flex-basis: 3.8rem;
}
.services .container .content-services .image {
  position: relative;
  z-index: 1;
}
.services .container .image::after {
  content: "";
  width: 6rem;
  height: calc(100% + 10%);
  background-color: var(--secondary-color);
  position: absolute;
  left: 88%;
  z-index: -1;
}
@media (max-width: 1199.98px) {
  .services .container .content-services .col.image {
    display: none;
  }
}
/* end services */
/* start portfolio */
.container .section-portfolio .section5 {
  background-color: white;
}
.container .section-portfolio .section5 h3 {
  padding-left: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.container .section-portfolio .section5 p {
  padding-left: 0.6rem;
  line-height: 1.8;
  opacity: 0.6;
}
@media (max-width: 767.98px) {
  .container .section-portfolio .section5 {
    text-align: center;
  }
  .container .section-portfolio .section5 h3,
  .container .section-portfolio .section5 p {
    padding-left: 0;
  }
}
.portfolio .container .button {
  width: fit-content;
  margin-left: auto;
  margin: 1rem auto 0;
}
.portfolio .button button {
  padding: 0.26rem;
  background-color: white;
  font-weight: bold;
  text-transform: capitalize;
}
/* end portfolio */
/* start about */
.about {
  margin-bottom: 3rem;
  background-color: var(--background-secondSection, white);
}
.about .container .section-about {
  max-width: var(--max-width-section, 1200px);
  padding: var(--padding-section, 1rem);
  margin: 2.5rem auto 0;
}
.about .container .section-about .img-about {
  width: 250px;
  height: 375px;
  position: relative;
  z-index: 1000;
}
@media (min-width: 992px) {
  .about .section-about .img-about::before {
    content: "";
    width: 4.5rem;
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    right: -1.8rem;
    top: -2rem;
    z-index: -1;
  }
  .about .container .section-about .img-about::after {
    content: "";
    width: 8rem;
    height: 4rem;
    background-color: var(--main-color);
    position: absolute;
    top: calc(100% - 6rem);
  }
}
@media (max-width: 767.98px) {
  .about .section-about p {
    text-align: center;
    line-height: 2;
  }
}
@media (min-width: 768px) {
  .about .section-about .text-about {
    max-width: 50%;
    text-align: left;
    line-height: 2;
  }
}
.about .section-about .text-about :nth-child(1) {
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  position: relative;
}
.about .section-about .text-about :nth-child(1)::after {
  content: "";
  width: 50%;
  height: 0.15rem;
  background-color: var(--main-color);
  position: absolute;
  left: 0;
  top: calc(100% + 1rem);
}
@media (max-width: 767.98px) {
  .about .section-about .text-about :nth-child(1)::after {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
}
.about .section-about .text-about :nth-child(2) {
  padding-top: 1rem;
  opacity: 0.6;
}
/* end about */
/* start contact us */
.contact {
  margin-bottom: 0;
}
.contact .section-contact {
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-align: left;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767.98px) {
  .contact .section-contact {
    padding-left: 0;
    text-align: center;
  }
}
.contact .section-contact p:nth-child(1):not(.p2) {
  color: var(--secondary-color);
  font-family: sans;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: -0.12rem;
  text-indent: -2rem;
}
@media (max-width: 767.98px) {
  .contact .section-contact p:nth-child(1):not(.p2) {
    font-size: 1.5rem;
    text-indent: 0;
  }
}
.contact .section-contact .link {
  color: var(--main-color);
  font-size: 2rem;
  font-weight: bold;
  font-family: sans;
}
@media (max-width: 399.98px) {
  .contact .section-contact .link {
    font-size: 1rem;
  }
}
.contact .section-contact .p2 {
  font-size: 0.8rem;
  font-family: sans;
  opacity: 0.8;
  display: inline-block;
}
@media (max-width: 767.98px) {
  .contact .section-contact .p2 {
    font-size: 0.5rem;
  }
}
.contact .section-contact .networks {
  padding: 0;
  margin-top: 0.5rem;
}
.contact .section-contact i {
  margin-right: 0.6rem;
  color: var(--secondary-color);
}
@media (max-width: 767.98px) {
  .contact .section-contact i {
    margin-right: 0.3rem;
  }
}
/* end contact us */
/* start footer */
.foot {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  text-align: center;
}
.foot p {
  color: white;
}
.foot p span {
  color: var(--main-color);
  font-family: sans;
}
/* end footer */
/* start media */
@media (min-width: 992px) {
  :root {
    font-size: 18px;
  }
}
@media (min-width: 768px), (max-width: 991.98px) {
  :root {
    font-size: 17px;
  }
}
@media (max-width: 767.98px) {
  :root {
    font-size: 16px;
  }
}
/* end media */
