/* Variables */
:root{
  --main-color:#10cab7;
  --second-color:#00547e;
  --background:#f6f6ff;
  --pragraph:#868886;
}
/* 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{
  padding:50px 15px 15px 0;
  margin: auto auto;
  text-align: center;
}
/* Small */
@media (min-width:766px){
  .container{
    width:750px;
  }
}
/* Medium */
@media(min-width:992px){
  .container{
    width: 970px;
  }
}
/* Large */
@media (min-width : 1200px){

    .container{
      width: 1170px;
    }
}
/* end global rules *
/* Start Header */
.header{
  padding: 20px;
  background-color: #f6f6ff;
}
.header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  width: 60px;
}
.links .icon{
  font-size: xx-large;
  transition: 0.3s;
}
.links .icon:hover{
  transform: scalex(1.3);;
}
.links{
  position: relative;
}
.header ul::before{
  content: '';
  border-width: 10px;
  border-color: transparent transparent forestgreen transparent ;
  border-style: solid;
  position: absolute;
  right: 5px;
  top: -20px;
}
.header .links ul{
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: gainsboro;
  position: absolute;
  right: 0;
  min-width: 200px;
  top: calc(100% + 15px);
  display: none;
  transition: 0.6s;
  z-index: 2;
}
.header .links:hover ul{
  display: block;
}
.header .links li a{
  display:block;
  padding:15px;
  text-decoration: none;
  color:black;
  transition: 0.3s;
}
.header .links li:not(:last-child) a{
  border-bottom: rgb(109, 76, 111) solid 3px;
}
.header li a:hover{
  padding-left: 30px;

}
/* End Header */
/* Start Landing Section */
.landing{
  background-image: url(../photo/landing.jpg);
  background-size: cover;
  height: calc(100vh - 77px);
  position: relative;
}
.landing .intro-text{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.landing .intro-text h1{
  margin: 0;
  font-weight:bolder;
  font-size:xx-large;
  color: var(--main-color);
}
.landing .intro-text p{
  font-size:20px;
  line-height:1.9;
}
/* End Landing Section */
/* Start Features */
.features{
  padding:60px 0;
  background-color: var(--background);
}
.features .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  grid-gap: 20px;
}
.features .feat{
  padding: 20px;
  text-align: center;
}
.features .feat i{
  color:var(--main-color);
  font-size: xx-large;
}
.features .feat h3{
  font-weight: 900;
  margin: 25px 0;
}
.features .feat p{
  line-height: 1.9;
  font-size: 20px;
}
/* End Features */
/* Start Component */
h2.special-heading{
  color:#a5a5a5;
  font-size: 100px;
  text-align: center;
  font-weight: 900;
  margin: 0 auto;
}
@media (width <= 509px)  {
  h2.special-heading{
    font-size: 60px;
  }
}
.special-heading+p{
  color: var(--pragraph);
  text-align: center;
  font-size: 22px;
  margin-top: -26px;
  margin-bottom: 100px;
}
/* End Component */
/* Service Content */
.services{
  padding: 60px 0;
}
.service-content ,.portfolio-content{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 30px;
}
.srv{
  display: flex;
}
.srv i{
  color: var(--main-color);
  flex-basis: 60px;
}
.srv .text{
  flex:1;
  text-align: left;
}
.srv .text h3{
  margin: 0 0 0 15px;
}
.col-three .image{
  text-align: center;
  position: relative;
}
.col-three .image img{
  width: 260px;
}
.col-three .image::before{
  content: "";
  background-color: var(--second-color);
  position: absolute;
  width: 85px;
  height: calc(100% + 80px);
  top: -40px;
  right: 6px;
  z-index: -1;
}
@media (max-width:1200px) {
  .col-three{
    display: none;
  }
}
@media (max-width:677px) {
  .srv{
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
  }
}
/* Start Portfolio */
.portfolio{
  background-color: var(--background);
}
.port{
  display: flex;
  flex-direction: column;
}
.port img{
  max-width: 100%;

}
.port-info{
  background-color: white;
  padding: 15px;
  text-align: left;
}
.port-info h3{
  text-align: center;
}
.port-info p{
  color: var(--pragraph);
} 
.container input{
  margin:20px auto;
  width: max-content;
  padding: 10px;
  background-color: var(--main-color);
  color: white;
  display: block;
  border-top-right-radius: 25% 50%;
  border-bottom-left-radius: 25% 50%;
  border-bottom-right-radius: 25% 50%;
  border-top-left-radius: 25% 50%;
}
/* End Portfolio */
/* Start About */
.about-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  align-content: space-between;
}
.about-content .image::before{
  content: "";
  position: absolute;
  background-color: #a5a5a5;
  width: 90px;
  height: calc(100% + 80px);
  top: -40px;
  left: -10px;
  z-index: -1;
}
.about-content .image{
  width: 250px;
  height: 375px;
  position: relative;
}
.about-content .image img{
  max-width: 100%;
}
.about-content .image::after{
  content: "";
  position: absolute;
  width: 56px;
  height: 84%;
  border-left: var(--main-color) solid 86px;
  border-bottom: var(--main-color) solid 60px;
  top: -40px;
  right: -85px;
  z-index: -1;
}
.about-content .text{
  flex: 1;
  padding-left: 100px;
}
.about-content .text p:first-of-type{
  color: black;
  font-weight: bold;
  text-align: justify;
}
.about-content .text hr{
  width: 75%;
  border-color: var(--main-color);
  display: inline-block;
}
.about-content .text p:last-of-type{
  color: var(--pragraph);
  text-align: justify;
}
/* End About */
/* Start Contact */
.contact{
  background-color: var(--background);
}
.contact-content h3{
  color: var(--second-color);
  font-size: 35px;
  font-weight: 800;
  margin: 0 0 15px 0;
}
.contact-content .link{
  color:var(--main-color);
  font-size: 35px;
  font-weight: 900;
  text-decoration: none;
  word-wrap:normal;
  line-break: anywhere;
}
.social{
  font-size: 16px;
}
p.social a{
  color:var(--second-color)
}
footer{
  background-color: var(--second-color);
  text-align: center;
  padding:20px 0 ;
  color: whitesmoke;
}
footer span{
  color: var(--main-color);
}
/* End Contact */