/* Start Global Roles */
:root{ 
    --main-color: #10cab7;
    --main-padding: 60px;
    --second-color: #2c4755;
}
html {
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* family Font */
body {
    font-family: "Work Sans", sans-serif;
    
}

.parent {
    background-color: #eee;
}
.container {
    
    margin: 0 auto;
    padding: 0 15px;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medieum */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* Finish Global Roles */

/* Start Header */
header {
    padding: 20px;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.container .logo {
    width: 60px;

}
header .container  .links {
position: relative;


}
header .container  .links > span {
    
    width: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
header .container  .links:hover  .icons > span {
    width: 100%;
}
header .container  .links > span > span {
    background-color: #333;
    margin-bottom: 5px;
    height: 2px;
}
header .container  .links > span > span:first-child {
   width: 100%; 
}
header .container  .links > span > span:nth-child(2) {
 width: 60%;
 transition:  .2s ease-out;
}
header .container  .links > span > span:last-child {
 width: 100%;
}
header .container .links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    right: 0;
    top: calc(100% + 15px);
    min-width: 150px;
    background-color: #f6f6f6;
    display: none;
    z-index: 1;
}

header .container .links a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 8px;
    transition: padding .1s ease-out;
  
}
header .container .links:hover ul {
    display: block;
}
header .container .links a:hover {
    padding-left: 20px;
    background-color: var(--main-color);
    border-radius: 10px;
}
header .container .links ul li:not(:last-child) a {
    border-bottom: solid 1px  #ddd;
}
header .container .links ul:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent #f6f6f6 transparent;
    right: 5px;
    top: -20px;
}
/* Start Landing */
.landing {
    background-image: url(../photo/landing.jpg);
    background-size: cover;
    height: calc(100vh - 64px);
    position: relative;
    overflow-x: hidden;
}
.landing .content-text h1:hover {
    scale: 1.08;
    text-shadow: 10px 10px 4px rgba(0, 0, 0, 0.141);
    color: #13a796

}
.landing .content-text {
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 435px;
    max-width: 100%;
    
}
.landing .content-text h1 {
    color: var(--main-color, blue);
    font-size: 50px;
    font-weight: bold;
    transition: .1s ease-in;
    animation: landing .5s ease-out;
    cursor: pointer;
}
.landing .content-text p {
    
    opacity: .7;
    font-size: 19px;
    animation: landing2 .5s ease-out;
} 
@media (max-width: 400px) {
    .landing .content-text h1 {
        font-size: 44px;
    }
    .landing .content-text p {
       
        padding: 20px;
    }
}
@keyframes landing {
    from{ 
        transform: translate(1000px);
    }
    to {
        transform: translate(0);
    }
}
@keyframes landing2 {
    from {
        transform: translateX(-1000px);

    }
    to {
        transform: translateX(0);
    }
}
/*Finish Landing */
/* Start Fauture */
.feature {
    padding: 50px 0;
}
.feature .container {
    
}
.feature .container .feat {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow .2s linear, scale .2s;
    
}
.feature .container .feat i {
    color: var(--main-color, blue);
    font-size: 50px;
    margin: 50px 0;
}
.feature .container .feat h3 {
   
    color: #0a5346
    ;
    font-weight: 800;
}
.feature .container .feat p {
    color: rgb(96, 95, 95);
    padding: 35px;
}
.feature .container .feat:hover {
    box-shadow: 1px 8px 5px 0px rgba(19, 19, 19, 0.233);
    cursor: pointer;
    scale: 1.2;
}
.feature .container {
    
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
@media (max-width: 670px) {
    .feature .container {
        padding-left: 100px;
        padding-right: 100px;
    }
}
@media (max-width: 500px) {
    .feature .container {
        display: flex;
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }
    .feature .container .feat {
        width: 222px;
    }
}
/* End Fauture */
/* Start Services */
.services {
    padding: var(--main-padding, 60px) 0;   
}
.services > p {
    color: rgb(109, 109, 109);
    font-size: 20px;
    font-weight: bold;
    width: fit-content;
    margin: auto;
    padding: 100px;
    position: relative;
    
    
    
}
.services > p:before {
    content: "Services";
    font-weight: 800;
    position: absolute;
    font-size: 100px;
    top: 20px;
    left: 0;
    
    opacity: .1;
}
.container {
    display: flex;
    align-items: center;
   
}
.services .container img {
    width: 200px;
    height: 250px;
    position: relative;
    
}
.services .container .last {
    position: relative;
}
.services .container .last:before {
    content: "";
    height: 327px;
    width: 80px;
    background-color: #2c4755;
    color: green;
    position: absolute;
    right: -25px;
    top: -40px;


}
.services .container section {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    gap: 20px;
    margin-top: 200px;
}
.services .container section .feat {
    display: flex;

    flex: 1;
    
}
.services .container section .feat .text h3 {
    margin-bottom: 40px;
}
.services .container section .feat .text p {
    margin-right: 20px;
    line-height: 30px;
    margin-bottom: 30px;
}
.services .container section i {
    margin: 0 50px;
    color: var(--main-color, blue);
    font-size: 40px;
    margin-bottom: 30px;
}
@media (max-width: 1050px) {
    .services .container section .feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
    
}
}
@media (max-width: 840px) {
    .services .container section .feat {
}
.services .container .last {
    display: none;
}
}
@media (max-width: 680px) {
    .services > p {
        font-size: 18px;
        padding: 100px 0; 
}
.services > p:before { 
    font-size: 100px;
    scale: .5;
    top: 22px;
    left: -114px;
}
    
    .services .container section {
    
    display: block;
    
}
.services .container section .feat {
    width: 400px;
    font-size: 16px;

}
.services .container section .feat p {
    min-width: 100px;
}
.services .container section {
    width: fit-content;
    margin: auto; 
}
}
@media (max-width: 400px) {
    .services .container section .feat {
    width: 300px;
    font-size: 16px;
    text-align:

}
}
/* End Services */


/* Start Portifulio */

.porti {
    padding: var(--main-padding);
    background-color: rgba(0, 0, 0, 0.034);
    margin: 0 50px;
}
.porti > p {
    color: rgb(109, 109, 109);
    font-size: 20px;
    font-weight: bold;
}
.shadow {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 27px;
    text-align: center;
}
.shadow h1 {
    
    font-size: 90px;
    font-weight: 800;
    letter-spacing: -2px;
    color: rgba(27, 21, 21, 0.076);
    margin: 0;
    
}
.shadow p {
margin: auto;
color: rgba(0, 0, 0, 0.571);
font-weight: bold;
}
.porti section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,auto));
    gap: 60px;
    padding: 60px;
    justify-content: center;
    

}
.porti section img {
    max-width: 100%;
}
.porti section figure {
    width: 250px;
    background-color: white;
    transition: .3s;
    
}
.porti section figure:hover {
    box-shadow: 10px 10px 4px 0px rgba(0, 0, 0, 0.125);
    scale: 1.1;
    cursor: pointer;
}
.porti section figure figcaption {
    padding: 15px;
}
.porti .button {
    width: fit-content;
    margin: 20px auto 0;
    background-color: var(--main-color);
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color .1s ease, scale .1s ease-in, box-shadow .1s;
    text-align: center;
}
.porti .button:hover {
    background-color: #0a8b7e;
    scale: 1.08;
    box-shadow: 10px 10px 4px 0 rgba(0, 0, 0, 0.098);
}
@media (max-width: 680px) {
    .services > p {
        font-size: 18px;
        padding: 100px 0; 
}
.services > p:before { 
    font-size: 100px;
    scale: .5;
    top: 22px;
    left: -114px;
}
}
/* End Portifualio Seciotn */
/* Start About Section */
.about .shadow {
    margin-top: 20px;
}
.about {
    padding: var(--main-padding) 0;

}
.about .container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
    margin-top: 70px;
}
.about .container img {
    max-width: 285px;
    height: 300px;
    margin-top: 50px; 

}
.about .container .img {
    position: relative;
}
.about .container .img:before {
    content: "";
    width: 188px;
    height: 275px;
    background-color: var(--main-color, blue);
    position: absolute;
    left: 230px;
    top: 22px;
    z-index: -1;
    
}
.about .container .img:after {
    content: "";
    width: 115px;
    height: 226px;
    background-color: white;
    position: absolute;
    left: 312px;
    
}
.about .container .content-text p:first-of-type{
    font-weight: 800;
    font-size: 18px;
    line-height: 40px;
}
.about .container .content-text div {
    width: 50%;
    background-color: var(--main-color);
    height: 3px;
    margin: 30px 0;
}
.about .container .content-text p:last-of-type {
    line-height: 30px;
    color: rgba(0, 0, 0, 0.559);
}
.about .container .content-text {
    width: clac(100% - 50px);
}
@media (max-width: 1000px) {
    .about .container {
        display: block;
        text-align: center;
    }
    .about .img:after, .about .img:before {
        display: none;
    }
    .about .img {
        margin-bottom: 50px;
    }
}
@media (max-width: 610px) {
    .about .content-text {
        width: 300px;
        margin: auto;
    }
}
/* End About Section */

/* Start Contact */ 
.contact {
    padding: var(--main-padding, blue) ;
    background-color: rgba(0, 0, 0, 0.034);
    margin: 10px 10px;
    text-align: center;
}
.contact .contact-linkes > h1 {
    
    padding-top: 40px;
    font-weight: 800;
    word-spacing: -3px;
    color:#2c4755
}
.contact .contact-linkes a h1 {
    
    font-weight: 800;
    font-size: 28px;
    color: var(--main-color, blue);
    letter-spacing: -2px;

}
.contact .contact-linkes a h1:hover {
    
    color:#0d9385
}
a {
text-decoration: none;
}
.contact .contact-linkes {
    width: 100%;
}
/* End Contact */

@media (max-width: 620px) {
    .porti section {
        padding: 60px 0;
    }
    .porti {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .shadow {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    line-height: 27px;
    width: 200px;
}
.shadow h1 {
    
    font-size: 55px;
    font-weight: 800;
    letter-spacing: -2px;
    color: rgba(27, 21, 21, 0.076);
    margin: 0;
}
.shadow p {
margin: 0;

color: rgba(0, 0, 0, 0.571);
font-weight: bold;
}
}
.contact .contact-linkes p {
    margin-top: 20px;
}

.contact .contact-linkes ul {
    list-style: none;
    font-size: 25px;
    margin-top: 20px;
}
.contact .contact-linkes ul li {
    display: inline;
    margin-left: 20px;
}
.contact .contact-linkes ul li a {
    color: var(--second-color, black);
}
@media (max-width: 550px) {
    .contact .contact-linkes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 400px) {
    .contact .shadow {
        margin: 0;
        padding: 0;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact .shadow h1 {
        margin: 0;
        padding: 0;
        font-size: 50px;
    }
    .contact .contact-linkes h1 {
        font-size: 22px;
    }
    .contact .contact-linkes h2 {
        font-size: 22px;
    }
    .contact .contact-linkes a h1 {
        font-size: 19px;
        letter-spacing: 0;
    }
    .contact .contact-linkes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
