/* Start Variables */
:root {
  --main-color: #10cab7;
  --secondary-color: #2c4755;
  --main-background-color: #f6f6f6;
  --main-padding: 60px;
  --main-h3-color: #1f2021;
  --main-p-color: #4d4c4c;
}
/* End Variables */

/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

html {
  scroll-behavior: smooth;
}

/* Small Screens */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Medium Screens */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

/* Large Screens */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End Global Rules */

/* Start Components */
.special-heading {
  color: #ebeced;
  font-size: 100px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -3px;
  margin: 0;
}

.special-heading + p {
  text-align: center;
  margin: -30px 0 0;
  font-size: 20px;
  color: #797979;
}

@media (max-width: 767px) {
  .special-heading {
    font-size: 60px;
  }
  .special-heading + P{
    margin-top: -20px;
  }
}
/* End Components */

/* Start Header */
.header {
  padding-top: 20px;
  padding-bottom: 20px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  width: 70px;
}

.header .links {
  position: relative;
}

.header .links .icon {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header .links .icon span {
  height: 2px;
  width: 100%;
  background-color: #333;
  margin-bottom: 5px;
}

.header .links .icon span:nth-child(2) {
  width: 60%;
  transition: 0.3s;
}

.header .links .icon:hover span:nth-child(2){
  width: 100%;
}

.header .links ul::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 5px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #f6f6f6 transparent;
}

.header .links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f6f6f6;
  position: absolute;
  right: 0;
  min-width: 200px;
  top: calc(100% + 15px);
  display: none;
  z-index: 1;
}

.header .links:hover ul {
  display: block;
}

.header .links ul li {
  display: block;
  padding: 15px;
}

.header .links ul li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.header .links ul li:hover a {
  padding-left: 15px;
}

.header .links ul li a {
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}
/* End Header */

/* Start Landing */
.landing {
  background-image: url(../imgs/landing.jpg);
  background-size: cover;
  height: calc(100vh - 68px);
  position: relative;
}

.landing .intro-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 320px;
  max-width: 100%;
}

.landing .intro-text h1 {
  margin: 0;
  color: var(--main-color);
  font-size: 50px;
  font-weight: bold;
}

.landing .intro-text p {
  font-size: 19px;
  line-height: 1.6;
}
/* End Landing */

/* Start Features */
.features {
  background-color: var(--main-background-color);
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px 15px;
}

.features .container .feat {
  text-align: center;
  background-color: white;
  padding: 20px;
}

.features .container i {
  color: var(--main-color);
}

.features .container h3 {
  color: var(--main-h3-color);
  font-weight: 800;
  margin: 30px 0;
}

.features .container p {
  line-height: 1.8;
  font-size: 17px;
  color: var(--main-p-color);
}
/* End Features */

/* Start Services */
.services .services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 50px;
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.services .srv {
  display: flex;
  margin-bottom: 50px;
}

.services .srv i {
  color: var(--main-color);
  flex-basis: 60px;
}

.services .srv .text {
  flex: 1;
}

.services .srv .text h3 {
  margin-top: 0;
  color: var(--main-h3-color);
  
}

.services .srv .text p {
  color: var(--main-p-color);
  line-height: 1.8;
}

@media (max-width: 767px) {
  .services .srv {
    flex-direction: column;
    text-align: center;
  }
}

.services .image {
  position: relative;
  text-align: center;
}

.services .image img{
  width: 260px;
}

.services .image::before {
  content: "";
  position: absolute;
  background-color: var(--secondary-color);
  width: 100px;
  height: calc(100% + 80px);
  top: -50px;
  right: 0;
  z-index: -1;
}

@media (max-width: 1199px) {
  .services .image {
    display: none;
  }
}
/* End Services */

/* Start Portfolio */

.portfolio {
  background-color: var(--main-background-color);
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.portfolio .portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px 20px;
  margin-top: 60px;
}

.portfolio .port {
  background-color: white;
}

.portfolio .port img {
  width: 100%;
}

.portfolio .port .text {
  padding: 15px;
}

.portfolio .port .text h3{
  margin-top: 0;
  color: var(--main-h3-color);
}

.portfolio .port .text p {
  color: var(--main-p-color);
  line-height: 1.8;
  margin-bottom: 0;
}

/* End Portfolio */

/* Start About */
.about {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.about .about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 80px;
}

.about .image {
  width: 250px;
  height: 375px;
  position: relative;
}

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

.about .image::before {
  content: "";
  position: absolute;
  background-color: #ebeced;
  width: 100px;
  height: calc(100% + 80px);
  top: -40px;
  left: -20px;
  z-index: -1;
}

.about .image::after {
  content: "";
  position: absolute;
  height: 279px;
  width: 100px;
  border-left: 80px solid var(--main-color);
  border-bottom: 80px solid var(--main-color);
  top: -20px;
  margin-left: -40px;
  z-index: -1;
}

.about .text {
  flex-basis: 500px;
  padding: 15px;
  line-height: 2;
}

.about .text p:first-of-type {
  font-weight: bold;
  color: var(--main-h3-color);
  margin-bottom: 50px;
}

.about .text hr {
  border-color: var(--main-color);
  width: 50%;
  display: inline-block;
}

.about .text p:last-of-type {
  color: var(--main-p-color);
}

@media (max-width: 991px) {
  .about .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about .about-content .image {
    margin: 0 auto 50px;
  }

  .about .image::before,
  .about .image::after {
    display: none;
  }
}
/* End About */

/* Start Contact */
.contact {
  background-color: var(--main-background-color);
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.contact .contact-content {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
}

.contact .contact-content .label {
  font-size: 30px;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -2px;
}

.contact .contact-content .link {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--main-color);
  margin-bottom: 30px;
}

.contact .contact-content .social i {
  margin-left: 10px;
  font-size: 20px;
  color: var(--secondary-color);
}

@media (max-width: 767px) {
  .contact .contact-content .label {
    font-size: 25px;
  }

  .contact .contact-content .link {
    font-size: 23px;
  }

  .contact .contact-content .social i{
    margin-left: 5px;
    font-size: 16px;
  }
}
/* End Contact */

/* Start Footer */
.footer {
  background-color: var(--secondary-color);
}

.footer .footer-content {
  padding: 25px;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.footer .footer-content span {
  color: var(--main-color);
}

@media (max-width: 767px) {
  .footer .footer-content {
    font-size: 16px;
    font-weight: 600;
  }
}
/* End Footer */