/* -------------- start Project ------- */
/* variables */
:root {
    --main-color: #19c8f3;
    --transparent-color: rgba(15, 116, 143, 0.7);
    --soft-color: #777;
    --line-ht: 1.6;
    --overlay: rgba(0, 0, 0, 0.6);
    --spacing-margin: 70px;
    --main-transition: 0.3s;
}

/* -- start global rules --*/
body {
    font-family: "Open Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0;
    margin: 0;
}

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

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

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

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

/* -- start component -- */
.special-header {
    font-weight: normal;
    font-size: 30px;
    text-align: center;
    position: relative;
    padding: var(--spacing-margin) 0 0;
    margin-bottom: 50px;
    color: #444;
    text-transform: uppercase;
}

.special-header::after,
.special-header::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.special-header::after {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--soft-color);
    background-color: white;
    bottom: -19px;
}

.special-header::before {
    width: 90px;
    height: 1px;
    bottom: -15px;
    background-color: var(--soft-color);
}

.special-header+p {
    text-align: center;
    font-size: 15px;
    color: var(--soft-color);
    width: 50%;
    line-height: var(--line-ht);
    margin: 0 auto 80px;
}

@media (max-width:767px) {
    .special-header+p {
        padding: 0 20px;
        width: auto;
    }
}

/*---------*/
.overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
}

/* -- end component -- */
/* -- end global rules --*/
/* -- start header -- */

.header {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 80px;
}

.header .container::after {
    content: "";
    position: absolute;
    left: 27px;
    bottom: 1px;
    width: calc(100% - 40px);
    height: 1px;
    background-color: #a2a2a2;
    z-index: -1;
}

.header .logo img {
    height: 40px;
}

.header .container .links {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: end;
}

.header .container .line i {
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (min-width:768px) {
    .header .container .line {
        display: none;
    }
}

.header .container .links ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    transform-origin: top;
    transition: var(--main-transition);
}

.header .container .links li {
    position: relative;
    z-index: 2;
}

@media (max-width:767px) {
    .header .container .links ul {
        transform: rotateX(90deg);
        flex-direction: column;
        width: calc(100% + 15px);
        position: absolute;
        top: calc(100%);
        left: -15px;
    }

    .header .container .line:hover+ul {
        transform: none;
        background-color: var(--overlay);
    }

}

.header .container .links a {
    display: block;
    padding: 30px 10px;
    font-size: 15px;
    transition: var(--main-transition);
    text-decoration: none;
    color: white;
}

.header .container .links a:hover,
.header .container .links a.active {
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

@media (max-width:767px) {
    .header .container .links a {
        padding: 10px 0 10px 40px;
    }

    .header .container a:hover {
        padding: 15px 0 10px 60px;
    }

}

.header .container .links .icon {
    color: white;
    width: 40px;
    height: 30px;
    border-left: solid 1px white;
    position: relative;
    margin-left: 40px;
}

.header .container .icon i {
    position: absolute;
    font-size: 20px;
    top: 50%;
    transform: translate(0, -50%);
    right: 0;
}

/* -- end header -- */
/* -- start landig -- */
.landing {
    width: 100%;
    height: 100vh;
    background-image: url(../img/images\ \(2\).jpeg);
    background-size: cover;
    background-color: #1f2021;
    position: relative;
}

.landing .content {
    position: relative;
    z-index: 1;
    height: 100%;
}

.landing .icon i {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.landing .icon i.toggle-left {
    left: 10px;
}

.landing .icon i.toggle-right {
    right: 10px;
}

@media (max-width:767px) {
    .landing .icon {
        display: none;
    }
}

.landing .text {
    width: 50%;
    height: 40%;
    background-color: var(--transparent-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px 20px 100px;
    color: white;
}

@media (max-width:767px) {
    .landing .text {
        padding: 40px 30px;
        width: 100%;
        height: 40%;
    }
}

.landing .text h3 {
    font-weight: normal;
    padding-bottom: 10px;
    font-size: 25px;
}

.landing .text p {
    font-size: 12px;
    line-height: var(--line-ht);
}

.landing .points {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 30px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.landing .points div {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid white;
}

.landing .points div:nth-child(2) {
    border: none;
    background-color: var(--main-color);
}

/* -- end landig -- */
/* -- start services -- */
.services .text {
    margin: 0 50px 0 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width:767px) {
    .services .text {
        flex-direction: column;
        margin: 0;
    }
}

.services .text .serv {
    width: 40%;
    position: relative;
    margin-bottom: 30px;
}

.services .text .serv h3 {
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-color);
}

.services .text .serv p {
    font-size: 15px;
    color: var(--soft-color);
    line-height: var(--line-ht);
}

.services .text .serv i {
    font-size: 30px;
    position: absolute;
    left: -60px;
    top: 0px;
}

@media (max-width:767px) {
    .services .text .serv {
        width: 100%;
        margin: 50px 0;
        text-align: center;
    }

    .services .text .serv i {
        left: 50%;
        top: -50px;
        transform: translateX(-50%);
    }
}

/* -- end services -- */
/* -- start shuffle -- */
.shuffle {
    background-image: url(../img/design\ \(1\).jpeg);
    background-size: cover;
    min-height: 50vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: var(--spacing-margin);
    position: relative;
    overflow: hidden;
}

@media (max-width:767px) {
    .shuffle {
        flex-direction: column;
        justify-content: space-between;
    }
}

.shuffle .text {
    width: 40%;
    height: 60%;
    padding: 30px 0 10px 35px;
    background-color: var(--transparent-color);
    color: white;
    z-index: 2;
}

@media (max-width:767px) {
    .shuffle .text {
        width: 100%;
        height: 40%;
        margin-top: 60px;
    }
}

.shuffle .text h3 {
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.shuffle .text .element {
    display: flex;
    margin-bottom: 12px;
}

.shuffle .text i {
    font-size: 15px;
    padding-right: 20px;
    margin-top: 3px;
}

.shuffle .text p {
    font-size: 15px;
}

.shuffle .image {
    position: absolute;
    overflow: hidden;
    left: 20%;
    width: 210px;
    border-radius: 16px;
    bottom: -30px;
    z-index: 2;
}

@media (max-width:767px) {
    .shuffle {
        flex-direction: column;
        justify-content: space-between;
        height: 90vh;
    }

    .shuffle .text {
        width: 100%;
        height: 40%;
        margin-top: 60px;
    }
}

/* -- end shuffle -- */
/* -- start portfolio -- */
.portfolio .list ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.portfolio .list a {
    padding: 10px 25px;
    display: block;
    font-size: 15px;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
}

@media (max-width:767px) {
    .portfolio .list a {
        padding: 8px;
    }
}

.portfolio .list a:hover,
.portfolio .list a.active {
    background-color: var(--main-color);
    color: white;
}

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

.portfolio .grid img {
    height: 100%;
    width: 100%;
    transition: var(--main-transition);
}

.portfolio .grid .image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio .grid .image .text {
    z-index: 2;
    position: absolute;
    bottom: 0;
    background-color: white;
    width: 100%;
    padding: 10px;
    transform-origin: bottom;
    transform: rotateX(90deg);
    transition: var(--main-transition);
}

.portfolio .grid .image h2 {
    font-size: 20px;
    font-weight: normal;
    padding: 5px 0;
}

.portfolio .grid .image p {
    font-size: 15px;
    color: var(--main-color);
}

.portfolio .image:hover .text,
.portfolio .image:nth-child(2) .text {
    transform: none;
}

.portfolio .image:hover img {
    transform: skewX(-5deg) scale(1.2);
}

.portfolio .image:nth-child(2)::after {
    content: "+";
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: var(--transparent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

.portfolio .link a {
    padding: 8px 35px;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

.portfolio .link {
    padding: 8px 0;
    text-align: center;
    margin: 40px 0;
}

/* -- end portfolio -- */
/* -- start video --*/
.video {
    margin-top: var(--spacing-margin);
    height: 80vh;
    position: relative;
}

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

.video .text {
    width: 100%;
    height: 40%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    background-color: var(--transparent-color);
    color: white;
    padding: 40px;
    z-index: 2;
}

.video .text h3 {
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    padding-bottom: 25px;
}

.video .text p {
    font-size: 13px;
    padding-bottom: 30px;
}

.video .text a {
    display: block;
    text-decoration: none;
    color: white;
    background-color: #111;
    width: fit-content;
    padding: 7px 25px;
    margin: auto;
    text-transform: uppercase;
}

/* -- end video --*/
/* -- start about --*/
.about {
    height: 80vh;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.about img {
    position: absolute;
    bottom: -120px;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width:500px) and (max-width:767px) {
    .about img {
        bottom: -80px;
        padding-right: 20px;
        margin-top: 20px;
    }

}

@media (max-width:500px) {
    .about img {
        bottom: -80px;
        padding-right: 20px;
        margin-top: 20px;
    }

    .about {
        height: 60vh;
    }
}

/* -- end about --*/
/* -- start statics*/
.statics {
    padding: 50px 0;
    background-image: url(../img/statics.jpeg);
    background-size: cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
}

.statics .text {
    background-color: var(--transparent-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: white;
    z-index: 3;
    position: relative;
}

@media (max-width:767px) {
    .statics .container {
        width: 100%;
    }

    .statics .text {
        flex-direction: column;
    }
}

.statics .text .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

@media (min-width: 768px) and (max-width:991px) {
    .statics .text .content {
        width: 50%;
    }
}

.statics .text h2 {
    font-size: 40px;
    padding: 12px 0;
}

.statics .text .content i {
    background-color: black;
    padding: 6px;
    border-radius: 50%;
}

/* -- end statics*/
/* -- start skills --*/
.skills {
    margin: var(--spacing-margin) 0;
}

.skills .container {
    display: flex;
    justify-content: space-evenly;
}

.skills .container>* {
    max-width: 40%;
}

@media (max-width:767px) {
    .skills .container {
        flex-direction: column;
        align-items: center;
    }

    .skills .container>* {
        max-width: 100%;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .skills .container {
        justify-content: space-between;
    }

    .skills .container>* {
        max-width: 47%;
    }

}

.skills .container h3 {
    font-weight: normal;
    font-size: 23px;
    text-align: center;
    text-transform: uppercase;
}


.skills .test>p,
.skills .ourskills>p {
    color: var(--soft-color);
    padding: 25px 0 50px;
    text-align: center;
    line-height: var(--line-ht);
}

.skills .test .box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}

.skills .test .box img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.skills .test .box p {
    margin-left: 40px;
    position: relative;
    padding: 10px 10px 20px;
    box-shadow: 0px 1px 1px 0px #999;
    font-size: 16px;
    color: var(--soft-color);
    line-height: var(--line-ht);
}

@media (max-width:767px) {
    .skills .test .box {
        flex-direction: column;
    }

    .skills .test .box p {
        margin: 20px 0;
        text-align: center;
    }
}

.skills .test .box p::after {
    content: "John Deo,CEO";
    position: absolute;
    bottom: 2px;
    right: 0;
    color: #999;
    font-size: 15px;
}

.skills .test .bullet {
    display: flex;
    justify-content: center;
}

.skills .test .bullet div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #aaa;
    margin-right: 5px;
}

.skills .test .bullet .active {
    border: none;
    background-color: var(--main-color);
}

.skills .ourskills {
    margin-right: 20px;
}

@media (max-width:767px) {
    .skills .ourskills {
        margin-top: 80px;
    }
}

.skills .ourskills .box {
    display: flex;
    flex-wrap: wrap;
    margin: 0 10px 50px;
    position: relative;
}

.skills .ourskills .box:last-child {
    margin-bottom: 0;
}

.skills .ourskills .box h5 {
    margin-top: -10px;
    margin-bottom: 6px;
    font-weight: normal;
    text-transform: uppercase;
}

.skills .ourskills .box span {
    padding: 5px;
    color: white;
    background-color: #222;
    font-size: 12px;
    position: absolute;
    top: -19px;
    z-index: 2;
    border-radius: 4px;
}

.skills .ourskills .box span::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 5px;
    border-color: #222 transparent transparent transparent;
    top: 100%;
    left: calc(50% - 5px);
}

.skills .ourskills .box div {
    width: 100%;
    height: 20px;
}


.skills .ourskills .box:first-of-type div {
    background-image: linear-gradient(to right, var(--main-color) 90%, #d6d7d7 90%);
}

.skills .ourskills .box:first-of-type span {
    left: calc(90% - 17px);
}

.skills .ourskills .box:nth-child(4) div {
    background-image: linear-gradient(to right, var(--main-color) 85%, #d6d7d7 85%);
}

.skills .ourskills .box:nth-child(4) span {
    left: calc(85% - 17px);
}

.skills .ourskills .box:nth-child(5) div {
    background-image: linear-gradient(to right, var(--main-color) 80%, #d6d7d7 80%);
}

.skills .ourskills .box:nth-child(5) span {
    left: calc(80% - 17px);
}

.skills .ourskills .box:last-of-type div {
    background-image: linear-gradient(to right, var(--main-color) 90%, #d6d7d7 90%);
}

.skills .ourskills .box:last-of-type span {
    left: calc(90% - 17px);
}

/* -- end skills --*/
/* -- start quote --*/
.quote {
    background-image: url(../img/bom.jpeg);
    background-size: cover;
    padding: 70px 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    max-width: 100%;
}

.quote .text {
    position: relative;
    color: white;
    z-index: 2;
}

.quote .text q {
    font-weight: normal;
    font-size: 22px;
    display: block;
    margin-bottom: 20px;
}

/* -- end quote --*/
/* -- start pricing -- */
.pricing {
    margin-bottom: var(--spacing-margin);
    text-align: center;
}

.pricing .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.pricing .box {
    margin-bottom: 60px;
}

.pricing .box .head {
    border-bottom: solid 1px var(--main-color);
    border-top: 1px solid var(--main-color);
    padding: 30px 0;
}

.pricing .box .head span {
    text-transform: uppercase;
}

.pricing .box h3 {
    padding: 0 15px;
    font-size: 60px;
    position: relative;
    font-weight: normal;
    width: fit-content;
    margin: 15px auto 0;
}

.pricing .box h3::after {
    content: "$";
    top: 0;
    left: 0;
    position: absolute;
    font-size: 15px;
}

.pricing .box h3::before {
    content: "/MO";
    bottom: 0;
    right: -15px;
    position: absolute;
    font-size: 15px;
}

.pricing .box .feat {
    position: relative;
    border-bottom: 1px solid var(--main-color);
}

.pricing .box .feat p {
    padding: 20px 15px;
    position: relative;
    width: fit-content;
    margin: auto;
}

.pricing .box .feat p:not(:last-child) {
    border-bottom: 1px solid var(--main-color);
}

.pricing .box button {
    padding: 10px;
    background-color: white;
    border: solid 1px var(--main-color);
    margin-top: 20px;
    cursor: pointer;
}

.pricing .contact button {
    padding: 10px 20px;
    color: white;
    background-color: var(--main-color);
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

/* -- end pricing -- */
/* -- start subscribe --*/
.subscribe {
    background-image: url(../img/images\ \(5\).jpg);
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    color: white;
}

.subscribe .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
    position: relative;
}

.subscribe form {
    border: 1px solid white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe form i {
    padding: 10px 0 10px 10px;
}

.subscribe form input[type="email"] {
    background-color: transparent;
    border: none;
    padding: 10px;
    outline: none;
    caret-color: var(--main-color);
    max-width: 180px;
}

.subscribe form input[type="email"]::placeholder {
    color: white;
    text-transform: uppercase;
}

.subscribe form input[type="submit"] {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 10px;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}

.subscribe p {
    margin-left: 30px;
    line-height: var(--line-ht);
}

@media (max-width:767px) {
    .subscribe .container {
        flex-direction: column;
    }

    .subscribe p {
        margin-top: 30px;
        margin-left: 0;
    }
}

/* -- end subscribe --*/
/* -- start contact -- */
.contact {
    margin-bottom: var(--spacing-margin);
}

.contact .container {
    display: grid;
    grid-template-columns: 550px 150px;
    gap: 30px;
    justify-content: center;
}

@media (max-width:767px) {
    .contact .container {
        grid-template-columns: auto;
        text-align: center;
    }
}

.contact .form * {
    background-color: transparent;
    width: 100%;
    border: 1px solid #aaa;
    outline: none;
    padding: 10px;
    margin-bottom: 30px;
}

.contact .form textarea {
    height: 200px;
}

.contact .form *::placeholder {
    text-transform: uppercase;
}

.contact .num .two {
    margin-top: 55px;
}

@media (max-width:767px) {
    .contact .num {
        order: -1;
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
    }

    .contact .num .two {
        margin: 0;
    }
}

.contact .num h3 {
    margin-bottom: 15px;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 18px;
}

.contact .num p {
    color: #777;
    line-height: var(--line-ht);
}

.contact a {
    display: block;
    width: fit-content;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    padding: 15px 30px;
    background-color: var(--main-color);
    margin: 50px auto 0;
}

/* -- end contact -- */
/* -- start footer */
footer {
    padding: 50px 0 20px;
    background-image: url(../img/design\ \(1\).jpeg);
    background-size: cover;
    position: relative;
}

footer .container {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

footer img {
    width: 100px;
}

footer h3 {
    font-weight: normal;
    position: relative;
    width: fit-content;
    margin: auto;
    padding: 20px;
    border-bottom: 2px solid white;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin-bottom: 30px;
}

footer ul li {
    padding: 10px 15px;
}

footer ul li i {
    color: white;
}

footer p span {
    color: var(--main-color);
    font-weight: bold;
}

/* -- end footer */
/* -------------- end Project ------- */