/* Start variables */
:root {
    --main-color: #ffc800;
    --p-color:#6c757d;
    --main-transition: 0.3s;
    --line-height: 1.75;
    --padding-top-section: 70px;
    --padding-bottom-section: 70px;
    --section-background-color: #f8f9fa;
}
/* End variables */
/* Start Glopal Rules */
* {
    box-sizing: border-box;
}
html {
    font-size: 10px;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Roboto Slab, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial,
    sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
.main-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 3.7rem;
    font-family: sans-serif;
    position: relative;
    margin-bottom: 1.6rem;
    margin-top: 0;
}
.main-title + h3 {
    text-align: center;
    color: var(--p-color);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin-bottom: 6.4rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 700;
    line-height: 1.2;
}
i.settings {
    animation: settings 1.5s linear infinite;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    font-size: 4rem;
}
/* Start Background Animated */
.area{
    background: #4e54c8;  
    background: linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height: calc(100vh - 75px);
    
}
.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}
@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}
/* End Background Animated */
/* Small */
@media (min-width: 768px) {
    .container {
        width: 750px
    }
}
/* Medium */
@media (min-width: 992px) {
    .container {
        width: 970px
    }
}
/* Large */
@media (min-width: 1200px) {
    .container {
        width: 1170px
    }
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
/* End Glopal Rules */
/* Start Header */
header .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    z-index: 1;
    width: 100%;
    padding-top: 25px;
}
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding-top: 15px;
    }
}
header .logo {
    width: 50px;
}
header ul {
    display: flex;
}
@media (max-width: 768px) {
    header ul {
        padding-top: 16px;
    }
}
header ul a {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 0 17px;
    font-size: 1.50rem;
    color: #fff;
    transition: var(--main-transition);
}
@media (max-width: 768px) {
    header ul a {
        padding: 0 9px;
        font-size: 0.8rem;
    }
}
header ul a:hover {
    color: var(--main-color);
}
header ul li:first-child a {
    color: var(--main-color);
}
/* End Header */
/* Start Landing */
.landing {
    text-align: center;
    height: calc(100vh - 75px);
    background-image: url("../imgs/header-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.landing .container {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1;
}
.landing .container div:first-of-type {
    font-style: italic;
    font-size: 2rem;
}
@media (max-width: 768px) {
    .landing .container div:first-of-type {
        font-size: 1.3rem;
    }
}
.landing .container div:last-of-type {
    font-size: 4rem;
    margin: 15px 0 40px;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 2px;
}
@media (max-width: 768px) {
    .landing .container div:last-of-type {
        width: 180px;
        font-size: 2.4rem;
        margin: 16px 0 26px;
    }
}
.landing .container .tell-me {
    margin: 0 auto;
    font-weight: 800;
    font-family: sans-serif;
    color: white;
    background-color: var(--main-color);
    padding: 23px 25px;
    font-size: 2rem;
    display: block;
    width: fit-content;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--main-transition);
}
.landing .container .tell-me:hover {
    background-color: #cca000;
}
@media (max-width: 768px) {
    .landing .container .tell-me {
        padding: 20px 13px;
        font-size: 1.5rem;
    }
}
.landing i.settings {
    font-size: 4rem;
    left: 50%;
    top: 319px;
    opacity: 0.5;
}
/* End Landing */
/* Start Services */
.services {
    padding-top: var(--padding-top-section);
    padding-bottom: var(--padding-bottom-section);
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-items: center;
}
.services .container .box {
    text-align: center;
}
.services .container .box i {
    background-color: var(--main-color);
    border-radius: 50%;
    padding: 25px;
    font-size: 4rem;
    color: white;
}
.services .container .box .title-i {
    font-size: 1.88rem;
}
.services .container .box p {
    color: var(--p-color);
    line-height: var(--line-height);
    width: 190px;
}
/* ُEnd Services */
/* Start Portfolio */
.portfolio {
    padding-top: var(--padding-top-section);
    padding-bottom: var(--padding-bottom-section);
    background-color: var(--section-background-color);
}
.portfolio .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    justify-items: center;
}
.portfolio .box {
    text-align: center;
    background-color: #fff;
}
.portfolio .image {
    position: relative;
    overflow: hidden;
}
.portfolio .image img {
    max-width: 100%;
    border-radius: 4px;
}
.portfolio .image i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6rem;
    background-color: rgb(255 200 0 / 90%);
    width: 101%;
    height: 101%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--main-transition);
}
.portfolio .image:hover i {
    opacity: 1;
}
.portfolio .text {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    padding: 2.4rem;
    text-align: center;
}
.portfolio .container h3 {
    font-size: 2.2rem;
    margin: 0;
}
.portfolio .container p {
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 0;
}
/* End Portfolio */
/* Start About */
.about {
    padding-top: var(--padding-top-section);
}
ul.timeline {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 100px;
}
@media (max-width: 768px) {
    ul.timeline {
        padding: 0;
    }
}
ul.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 2px;
    height: 76%;
    margin-left: -1px;
    background-color: #e9ecef;
}
@media (max-width: 768px) {
    ul.timeline::before {
        left: 13%;
    }
}
.timeline  li {
    position: relative;
}
.timeline li .image {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    ul.timeline li .image {
        justify-content: flex-start;
        align-items: flex-start;
    }
}
.timeline li .image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: 6px solid #e9ecef;
}
@media (max-width: 768px) {
    ul.timeline li .image img {
        width: 85px;
        height: 85px;
        border: 2px solid #e9ecef;
    }
}
.timeline li .content {
    width: 41%;
    padding: 0px 20px 20px 30px;
    position: relative;
    top: -133px;
}
@media (max-width: 768px) {
    .timeline li .content {
        text-align: left !important;
        left: 62px;
        top: -83px;
    width: 100%;
    padding: 0 82px 20px 41px;
    }
}
.content.right {
    text-align: right;
    right: 25px;
}
.content.left {
    /* left: 529px; */
    text-align: left;
    left: 445px;
}
@media (min-width: 991px) {
    .content.left {
        left: 537px;
    }
}
@media (max-width: 768px) {
    .content.left {
        left: 331px;
    }
}
.timeline li .content h4:nth-child(1) {
    margin-bottom: 4px;
}
.timeline li .content h4 {
    font-weight: bold;
    color: black;
    font-size: 18px;
    margin: 0;
}
@media (max-width: 768px) {
    .timeline li h4 {
        font-size: 15px;
    }
}
.timeline li .content p {
    line-height: var(--line-height);
    color: var(--p-color);
    font-size: 11px;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .timeline li p {
        font-size: 10px;
    }
}
/* End About */
/* Start Team */
.team {
    padding-top: var(--padding-top-section);
    padding-bottom: var(--padding-bottom-section);
    background-color: var(--section-background-color);
}
.team .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.team .box {

}
@media (max-width: 768px) {
    .team .box {
        margin: 0 auto 5rem;
    }
}
.team .box img {
    border-radius: 50%;
    border: 0.8rem solid rgba(0, 0, 0, 0.1);
    width: 22.4rem;
    height: 22.4rem;
}
.team .box .content {
    text-align: center;
}
.team .box h3 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 0;
}
.team .box p {
    color: var(--p-color);
    font-size: 1.3rem;
}
.social a {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
    margin-left: 1.8rem;
    margin-right: 1.8rem;
}
.social i {
    font-size: 2.5rem;
    margin-top: 3.5rem;
    color: #fff;
    background-color: #212529;
    border-style: solid;
    border-width: 10px;
    border-color: #212529;
    border-radius: 50%;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    cursor: pointer;
    transition: var(--main-transition);
} 
.social i:hover:first-child {
    background-color: #1da1f2;
    border-color: #1da1f2;
}
.social i:hover:nth-child(2) {
    background-color: #ff0000;
    border-color: #ff0000;
}
.social i:hover:last-child {
    background-color: #006192;
    border-color: #006192;

}
@media (max-width: 768px) {
    .team .box .social i {
        font-size: 1.6rem;
        margin-top: 2rem;
    }
}
/* End Team */
/* Start Techno */
.techno {
    padding-top: var(--padding-top-section);
    padding-bottom: var(--padding-bottom-section);
}
.techno .container {

}
.techno .tech {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    justify-items: center;
}
.techno .tech img {
    height: 4.4rem;
    margin-top: 1rem;
}
/* End Techno */
/* Start Contact */
.contact {
    padding-top: var(--padding-top-section);
    padding-bottom: var(--padding-bottom-section);
    background-image: url(../imgs/map-image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #212529;
    padding: 9.6rem 0;
    position: relative;
}
.contact h2,
.contact h3 {
    color: white;
}
.contact .container {

}
.contact form {
    margin-bottom: 4.8rem;
}
.contact form .cont {
    display: flex;
    justify-content: center;
}
.contact form .cont .in {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 1.5rem;
    flex: 0 0 auto;
    width: 50%;
}
@media (max-width: 768px) {
    .contact form .cont .in {
        flex: 1;
    }
}
.contact form .input {
    border: none;
    padding: 0 64px 0 16px;
    caret-color: var(--main-color);
    width: 100%;
    height: 27%;
}
.contact form input:focus {
    outline: none;
}
.contact form textarea:focus {
    outline: none;
}
.contact form textarea {
    overflow: auto;
    height: 100%;
    caret-color: var(--main-color);
    border: none;
    border-radius: 5px;
    padding-left: 11px;
    padding-top: 10px;
}
.contact form input[type="submit"] {
    display: block;
    margin: 22px auto 0;
    color: white;
    font-size: 1.9rem;
    padding: 14px 18px;
    border: none;
    border-radius: 3px;
    text-transform: uppercase;
    background-color: rgb(255 200 0 / 60%);
    cursor: pointer;
}
    .contact i.settings {
        left: 50% !important;
        top: 82% !important;
        color: white;
        opacity: 0.5;
}

/* End Contact */
/* Start Footer */
footer {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #212529;
    border-top: 1px solid #ffc1078a;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer .copy {
    font-size: 15px;
    font-weight: bold;
    color: #ffc107;
    font-family: sans-serif;
}
@media (max-width: 768px) {
    footer .copy {
        margin: auto;
    }
}
footer .copy i {
    color: #f44336;
}
@media (max-width: 768px) {
    footer .social {
        margin: 12px auto 0;
    }
}
footer .social i {
    margin-top: 0;
}
@media (max-width: 768px) {
    footer .privacy {
        margin: auto;
        margin-top: 15px;
    }
}
footer .privacy a {
    color: white;
    margin-right: 12px;
    font-weight: bold;
    font-size: 13px;
    font-family: sans-serif;
    transition: var(--main-transition);
}
footer .privacy a:hover {
    background-color: #006192;
    padding: 5px 8px;
    border-radius: 4px;
}
/* End Footer */
/* Start Animation */
@keyframes settings {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* End Animation */