@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: "StyleFont";
    src: url('../fonts/Roxborough.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
    --white: #fff;
    --black: #0F1108;
    --tinted-black: rgba(45, 45, 45, 0.7);
    --dark-main: #04131E;
    --main: #011627;
    --variant-main: #2F4054;
    --comp-main: #D8F3FF;
    --brown: #E19F20;
    --dark-brown: #593e0d;
    --logo-grey: #969593;
    --main-opacity: rgba(1, 22, 39, 0.8);
    --mid-opacity: rgba(1, 22, 39, 0.5);
    --light-opacity: rgba(1, 22, 39, 0.2);
    --light-grey: #E3E5E2;
    --dark-grey: #323332;
    --card-width: 200px;
    --card-height: 300px;
    --card-transition-duration: 800ms;
    --card-transition-easing: ease;
    --style-font: "StyleFont", cursive;
}

*::before,
*::after,
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

html {
    /* font-family: 'Playfair Display', serif; */
    font-family: 'Encode Sans', sans-serif;
    width: 100%;
    font-weight: 500;
    font-size: 62.5%;
}

body {
    overflow-x: hidden;
    color: var(--black);
}

h1, h2 {
    font-size: 3rem;
}

h3, h4 {
    font-size: 2rem;
}

p {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 2px var(--dark-main); */
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--dark-main);
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--main);
}

/* Main */
a {
    text-decoration: none;
    color: var(--complementary-main);
    transition: all 0.5s ease;
    font-size: 1.6rem;
}

a:hover {
    color: var(--main);
}

/* Global Button Styles */
a.animated-button:link,
a.animated-button:visited {
    position: relative;
    display: block;
    margin: 30px auto 0;
    padding: 14px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: .1em;
    border-radius: 0;
    /* text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2); */
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

a.animated-button:link:after,
a.animated-button:visited:after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 150%;
    z-index: -1;
    -webkit-transition: all 0.75s ease 0s;
    -moz-transition: all 0.75s ease 0s;
    -o-transition: all 0.75s ease 0s;
    transition: all 0.75s ease 0s;
}

a.animated-button:link:hover,
a.animated-button:visited:hover {
    color: #FFF;
    text-shadow: none;
}

a.animated-button:link:hover:after,
a.animated-button:visited:hover:after {
    height: 450%;
}

a.animated-button.thar-three {
    color: var(--white);
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid var(--variant-main);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

a.animated-button.thar-three:hover {
    color: var(--dark-main) !important;
    background-color: transparent;
    text-shadow: nthree;
}

a.animated-button.thar-three:hover:before {
    left: 0%;
    right: auto;
    width: 100%;
}

a.animated-button.thar-three:before {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 0px;
    z-index: -1;
    content: '';
    color: var(--complementary-main) !important;
    background: var(--variant-main);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

.card {
    border-radius: 0 !important;
}

.btn {
    border-radius: 10px;
    padding: 10px 30px;
    font-size: 15px;
    cursor: pointer;
    background: var(--dark-main);
    color: var(--white);
}

.btn:hover {
    background: white;
    border: 1px solid var(--dark-main);
}

button {
    outline: none;
    border: none;
}

button:hover {
    color: var(--dark-main);
}

.main-content {
    min-height: 100vh;
    width: 100%;
    background: white;
    border: 1px solid var(--dark-main);
    position: relative;
    z-index: 1;
}

.main {
    background: var(--main);
}

.light {
    background: var(--light-main);
}

.grey {
    background: var(--grey);
}

.white {
    background: var(--white);
}

.heading-text {
    color: var(--dark-main);
    letter-spacing: 1px;
    position: relative;
    z-index: 10 !important;
}

/* usage {
  font-family: var(--body-fonts);
} */

.decorated-text {
    font-family: 'Great Vibes', cursive;
}

.normal {
    font-weight: 500;
}

.thin {
    font-weight: 300;
}

.thinner {
    font-weight: 200;
}

.thick {
    font-weight: 600;
}

.thick {
    font-weight: 700;
}

section {
    padding: 100px;
}

@media screen and (max-width: 768px) {
    section {
        padding: 30px;
    }
}

.linked a {
    color: var(--dark-grey);
    text-decoration: none;
    font-family: var(--style-font);
    font-size: 18px;
    position: relative;
    transition: all 0.4s ease;
}

.linked-light a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--style-font);
    font-size: 18px;
    position: relative;
    transition: all 0.4s ease;
}

.linked a:hover,
.linked-light a:hover {
    color: var(--main);
}

.linked a::after,
.linked-light a::after {
    content: "";
    width: 30px;
    position: absolute;
    margin: 0 auto;
    height: 1px;
    background: var(--main);
    left: 0;
    right: 0;
    bottom: -10px;
}


.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.top30 {
    margin-top: 30px;
}

.top40 {
    margin-top: 40px;
}

.top50 {
    margin-top: 50px;
}

.bottom10 {
    margin-bottom: 10px;
}

.bottom20 {
    margin-bottom: 20px;
}

.bottom30 {
    margin-bottom: 30px;
}

.bottom40 {
    margin-bottom: 40px;
}

.bottom50 {
    margin-bottom: 50px;
}

/* Main Container */
.site-content {
	min-height: 100vh;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    margin-bottom: 100vh;
    background: var(--white);
}


/* Header */
header {
    position: fixed;
    height: 60px;
    width: 100%;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    z-index: 50;
}

header .logo img {
    height: 60px;
}

header nav ul {
    display: flex;
}

header nav ul li a {
    display: inline-block;
    color: var(--white);
    padding: 5px 0;
    margin: 0 10px;
    font-size: 1.6rem;
    border: 3px solid transparent;
}

header nav ul li a.active,
header nav ul li a:hover {
    border-bottom-color: var(--white);
    color: var(--brown);
}

.hamburger {
    cursor: pointer;
    display: none;
}

.hamburger div {
    height: 2px;
    width: 28px;
    margin: 5px 0;
    background-color: var(--white);
    margin-left: auto;
}

.hamburger div:last-child {
    width: 22px;
}

.hamburger div:nth-child(2) {
    width: 32px;
}


@media screen and (max-width: 900px) {
    header {
        padding: 0 30px;
    }
}

@media screen and (max-width: 700px) {
    .hamburger {
        display: block;
    }

    header nav {
       position: absolute;
       width: 100%;
       height: 100vh;
       left: -100%;
       top: 60px;
       background: var(--dark-main);
       padding: 30px;
       transition: all 0.5s ease-in-out;
    }

    header #nav_check:checked ~ nav {
        left: 0;
    }

    header nav ul {
        display: block;
    }

    header nav ul li a {
        margin: 5px 0;
    }

    header #nav_check:checked ~ .hamburger div {
        width: 28px;
        height: 3px;
        margin: 0 0 5px 0;
        background: var(--white);
        transition: all 0.5s ease-out;
    }

    header #nav_check:checked ~ .hamburger div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    header #nav_check:checked ~ .hamburger div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    header #nav_check:checked ~ .hamburger div:nth-child(2) {
        opacity: 0;
    }

}

/* Slider */
.slider {
    height: calc(100vh - 60px);
    position: relative;
}

.slider .container {
    display: grid;
    grid-template-columns: 3fr 5fr;
}

.slider .container .left {
    height: 100vh;
    background: var(--black);
}

.slider .container .main {
    background: linear-gradient(-90deg, rgba(46,196,182, 0) 10%, rgba(46,196,182, 0) 30%, rgba(47,64,84, 0.3)), url("../images/bg.jpg");
    height: calc(100vh - 60px);
    margin-bottom: 0 !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider .details {
    position: absolute;
    top: 30vh;
    left: 200px;
}

.slider .details h1 {
    color: var(--white);
    font-size: 54px;
    line-height: 60px;
    font-weight: 400;
    width: 60%;
}

.slider .down {
    position: absolute;
    bottom: 20px;
    left: 200px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid var(--light-grey);
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.slider .down i {
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    color: var(--white);
    transition: all ease-in-out 0.5s;
}

.slider .down:hover i {
    color: var(--brown);
    line-height: 50px;
}

.slider .right {
    position: absolute;
    bottom: -40px;
    right: 300px;
}

.slider .right p {
    font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
    .slider .container {
        grid-template-columns: 1fr;
    }

    .slider .container .left {
        display: none;
    }

    .slider .details,
    .slider .down {
        left: 30px;
    }

    .slider .details h1 {
        font-size: 36px;
        line-height: 45px;
        width: 90%;
    }

    .slider .right {
        display: none;
    }

    .slider .container .main {
        height: calc(100vh - 70px);
    }
}

/* About */
.about {
    padding: 100px 200px;
    padding-top: 150px;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.about .container .title p {
    font-size: 2.8rem;
    line-height: 3.2rem;
}

.about .container .title p span {
    font-weight: 600;
    font-size: 32px;
}

.about .details p:nth-child(2) {
    padding-top: 10px;
}

.about .idea {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
}

.about .idea h1 {
    font-size: 70px;
    color: var(--mid-opacity);
    position: relative;
}

.about .idea h1:nth-child(2)::before {
    position: absolute;
    content: '';
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: var(--light-opacity);
    top: calc(50% - 15px);
    left: -80px;
}

.about .idea h1:nth-child(2)::after {
    position: absolute;
    content: '';
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: var(--light-opacity);
    top: calc(50% - 15px);
    right: -80px;
}

@media screen and (max-width: 768px) {
    .about {
        padding: 50px 30px
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .about .container .title p {
        padding-bottom: 20px;
    }

    .about .idea {
        display: none;
    }
}

/* What */
.what {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 0;
}

.what img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.what h3 {
    padding-top: 20px;
    padding-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .what {
        grid-template-columns: 1fr;
    }
}

/* Statement */
.statement {
    padding: 100px 200px;
    padding-bottom: 100px;
}

.statement h3 {
    font-size: 32px;
    width: 80%;
}

@media screen and (max-width: 768px) {
    .statement {
        padding: 50px 30px;
    }

    .statement h3 {
        width: 100%;
    }
}

/* Blog */
.blog .heading {
    background: var(--dark-main);
    color: var(--white);
    text-align: center;
    padding: 100px 200px;
    padding-bottom: 200px;
}

.blog .heading h3 {
    font-size: 32px;
    font-weight: 300;
    padding-bottom: 20px;
}

.blog .heading p {
    width: 80%;
    padding-left: 20%;
}

.blog .posts {
    padding: 0 100px;
    padding-bottom: 100px;
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 50px;
    margin-top: -100px;
}

.blog .posts .item {
    margin: 0 10;
    padding: 0 10px;
}

.blog .posts .item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog .posts .item h3 {
    padding: 10px 0;
    font-weight: 400;
    color: var(--main);
}

.blog .posts .item aside {
    padding-top: 20px;
    padding-bottom: 5px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 14px;
    border-bottom: 1px solid var(--main);
}

.blog .posts .item aside .author {
    text-align: right;
    font-weight: light;
}

@media screen and (max-width: 768px) {
    .blog .heading  {
        padding: 50px 30px;
    }

    .blog .heading p {
        width: 100%;
        padding-left: 0;
        padding-bottom: 100px;
    }
}

/* About Crumb */
.about-crumb {
    height: 70vh;
    background: linear-gradient(0deg, rgba(3, 11, 75, 0) 10%, rgba(0, 0, 0, 0) 30%, rgba(1, 22, 39, 1)), url("../images/coding.jpg");
    background-size: cover;
    background-position: center;
}

.about-crumb .container {
    padding-top: 150px;
    padding-left: 200px;
    color: var(--white);
}

.about-crumb .container p {
    color: var(--brown);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-crumb .container h2 {
    font-size: 42px;
    font-weight: 300;
    width: 70%;
}

@media screen and (max-width: 768px) {
    .about-crumb .container {
        padding: 50px 30px;
        padding-top: 150px;
    }
    
    .about-crumb .container h2 {
        font-size: 32px;
        font-weight: 300;
        width: 100%;
    }
}

/* About Us */
.about-us {
    padding: 100px 200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-us .collage .image {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-us .collage .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 20;
    padding: 30px;
}

.about-us .collage .image::before {
    position: absolute;
    content: '';
    background: var(--light-opacity);
    height: 120px;
    width: 120px;
    left: 0;
    top: 0;
    z-index: -1;
}

.about-us .collage .image::after {
    position: absolute;
    content: '';
    background: url("../images/software.jpg");
    background-position: center;
    background-size: cover;
    height: 150px;
    width: 250px;
    bottom: 0;
    right: 0;
    border: 2px solid var(--white);
    z-index: 21;
} 

.about-us .container .title p {
    color: var(--brown);
    font-weight: 400;
}

.about-us .container .title h3 {
    font-size: 24px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
}

.about-us .container .ad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 0;
    gap: 10px;
}

.about-us .container .ad i {
    font-size: 32px;
    padding-bottom: 5px;
    color: var(--main);
}

.about-us .container .ad p span {
    font-weight: 600;
    color: var(--brown);
    line-height: 40px;
}

.about-us .container .ad p.last {
    margin-bottom: 20px;
}

.about-us .container a {
    position: relative;
    padding: 10px 30px;
    background: var(--main);
    color: var(--white);
    transition: all ease-in-out 0.5s;
}

.about-us .container a:hover,
.about-us .container a:focus {
  box-shadow: inset 10em 0 0 0 var(--brown);
  color: var(--dark-main);
}

@media screen and (max-width: 768px) {
    .about-us {
        padding: 50px 30px;
        grid-template-columns:1fr;
    }

    .about-us .container .ad {
        grid-template-columns: 1fr;
    }

    .about-us .collage .image img {
        height: 400px;
    }
}

/* Cycle */
.cycle {
    padding: 100px 200px;
}

.cycle .title h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 400;
}

.cycle .title p {
    width: 80%;
    padding-bottom: 50px;
    padding-top: 10px;
    padding-left: 20%;
    text-align: center;
}

.cycle .list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.cycle .list .item {
    margin-bottom: 20px;
    flex-basis: 33%;
    background: var(--white);
    box-shadow: rgba(45, 31, 6, 0.25) 0px 2px 5px -1px, rgba(45, 31, 6, 0.3) 0px 1px 3px -1px;
    padding: 50px 30px;
    transition: all ease-in-out 0.5s;
}

.cycle .list .item:hover {
    background: var(--main);
    color: var(--white);
}

.cycle .list .item img {
    height: 50px;
    transition: transform 1.5s ease-in-out;
}

.cycle .list .item:hover img {
    filter: brightness(0) invert(1);
    transform: rotate(360deg) scale(1.2);
}

.cycle .list .item h3 {
    font-size: 17px;
    padding: 20px 0;
}

@media screen and (max-width: 768px) {
    .cycle {
        padding: 50px 30px;
    }

    .cycle .list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {

    .cycle .list {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Work */
.work {
    background: linear-gradient(90deg, rgba(5, 86, 78, 1) 10%, rgba(5, 86, 78, 0.9) 30%, rgba(107, 145, 24, 0.3)), url("../images/office.jpg");
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    padding: 100px 200px;
}

.work .container {
    width: 70%;
    color: var(--white);
}

.work .container h3 {
    font-size: 32px;
    padding-bottom: 20px;
}

.work .container .link {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.work .container a {
    position: relative;
    padding: 10px 30px;
    background: var(--main);
    color: var(--white);
    transition: all ease-in-out 0.5s;
}

.work .container a.contact {
    border: 1px solid var(--white);
    background: transparent;
}

.work .container a:hover,
.work .container a:focus {
  box-shadow: inset 15em 0 0 0 var(--brown);
  color: var(--dark-main);
}

@media screen and (max-width: 768px) {
    .work {
        padding: 50px 30px;
    }

    .work .container {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .work .container .link {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Services */
.services {
    padding: 100px 200px;
}

.services .item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    padding-top: 50px;
}

.services .data, 
.services .animation {
    grid-template-columns: 2fr 3fr;
}

.services .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services .item .title h3 {
    font-weight: 500;
    font-size: 32px;
    color: var(--main);
}

.services .item .text {
    padding: 30px 0;
}

.services .item .title p {
    padding: 15px 0;
    padding-bottom: 40px;
    font-size: 20px;
    font-weight: 400;
    color: var(--dark-brown);
}

.services .item .details p {
    padding-left: 30px;
    border-left: 1px solid var(--light-grey);
}

.services .item .details p:nth-child(2) {
    padding-top: 10px;
}

@media screen and (max-width: 768px) {
    .services {
        padding: 50px 30px;
    }

    .services .item {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--main-opacity);
    }

    .services .design, 
    .services .software {
        flex-direction: column-reverse;
    }

    .services .item .text {
        padding: 10px 0;
    }
}