@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --bg-color-one: #2a2a2a;
    --bg-color-two: #202020;
    --bg-color-sides: #1111;
    --text-color-one: #ffff;
    --text-color-two: #aaa;
    --text-color-three: #ff8800;
    --main-color: #ff3278;
    --big-font: 5rem;
    --h2-font: 3rem;
    --p-font: 1.1rem;
}

html, body {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color-one);
    color: var(--text-color-one);
}

.header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #111;
    padding: 2% 6%;
    transition: all .45s ease;
}

.header img {
    width: 90px;
}

.header .bx {
    display: none;
}

.navMenu {
    text-align: right;
    flex: 1;
}

.navMenu ul li {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 25px;
    position: relative;
}

.navMenu a {
    color: var(--text-color-two);
    font-size: 17px;
    font-weight: 500;
    transition: all .45s ease;
}

.navMenu a:hover, .navMenu a:active {
    color: var(--text-color-three);
}

section {
    padding: 160px 15% 120px;
}

span {
    color: var(--text-color-three);
}

.home {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(./images/tech\ guy.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show {
    margin: 100px 0 20px;
}

.first {
    display: inline-block;
    margin-right: 15px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 5px;
    background-color: var(--text-color-three);
    color: var(--text-color-one);
}

.second {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color-two);
}

.home-content h1 {
    font-size: var(--big-font);
    font-weight: 700;
    color: var(--text-color-one);
    line-height: 1.1;
    margin: 0 0 8px;
}

.home-content h3 {
    color: var(--text-color-one);
    margin: 0 0 35px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}

.home-content p {
    color: var(--text-color-two);
    font-size: var(--p-font);
    line-height: 1.6;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    background-color: var(--text-color-three);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-one);
    letter-spacing: 1px;
    transition: all .45s ease;
}

.btn:hover {
    transform: scale(0.9);
}

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-image img {
    max-width: 530px;
    width: 70%;
    height: 50%;
    border-radius: 5px;
}

.about-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
}

.about-text h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-one);
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    font-size: var(--p-font);
    color: var(--text-color-two);
    line-height: 1.8;
    margin-bottom: 4rem;
}

.services {
    background-color: var(--bg-color-two);
}

.text-title h2 {
    font-size: var(--h2-font);
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 2.5rem;
    margin-top: 5rem;
}

.services-content .box {
    background-color: var(--bg-color-one);
    padding: 35px 45px;
    border-radius: 8px;
    transition: all .45s ease;
}

.services-content .box:hover {
    transform: translateY(-8px);
}

.services-content .icons {
    font-size: 32px;
    margin-bottom: 20px;
}

.services-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-one);
    margin-bottom: 15px;
}

.services-content p {
    color: var(--text-color-two);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 55px;
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
    overflow-x: clip;
}

.portfolio-content .row {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-content .row img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 16px solid var(--bg-color-two);
    transition: transform 0.5s;
}

.portfolio-content .row .cover {
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), #ff8800);
    border-radius: 8px;
    padding: 0 40px;
    transition: height 0.5s;
}

.portfolio-content .row .cover h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0;
}

.portfolio-content .row .cover p {
    text-align: center;
    color: var(--text-color-two);
    line-height: 1.8;
}

.portfolio-content .row .cover i {
    width: 60px;
    height: 60px;
    font-size: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--text-color-one);
    color: var(--bg-color-one);
}

.portfolio-content .row:hover img {
    transform: scale(1.1);
}

.portfolio-content .row:hover .cover {
    height: 100%;
}

.contact {
    background-color: var(--bg-color-two);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.contact-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
}

.contact-text h4 {
    color: var(--text-color-one);
    margin: 18px 0;
    font-size: 20px;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-color-two);
    font-size: var(--p-font);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-text .list {
    margin-bottom: 2.5rem;
}

.contact-text .list li {
    margin-bottom: 12px;
}

.contact-text .list li a {
    display: block;
    color: var(--text-color-two);
    font-size: 14px;
    transition: all .45s ease;
}

.contact-text .list li a:hover {
    color: var(--text-color-three);
    transform: translateX(5px);
}

.contact-text .icons i {
    width: 45px;
    height: 45px;
    color: var(--text-color-one);
    font-size: 22px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all .45s ease;
}

.contact-text .icons i:hover {
    color: var(--text-color-three);
}

.contact-form form {
    position: relative;
}

.contact-form form input, .contact-form form textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-color-one);
    color: var(--text-color-one);
    border: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-form form textarea {
    resize: none;
    height: 240px;
}

.contact-form form .submit {
    width: 150px;
    display: inline-block;
    font-size: 16px;
    background-color: var(--text-color-three);
    color: var(--text-color-one);
    transition: all .45s ease;
}

.contact-form form .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.footer {
    padding: 20px 15%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--bg-color-sides);
}

.footer .attribution p {
    color: var(--text-color-two);
    font-size: 14px;
    display: flex;
    text-align: center;
}

.footer .attribtion i {
    color: var(--text-color-three);
    font-size: 20px;
    margin: 0 3px;
}

.footer .move-up i {
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-color-one);
    background-color: var(--text-color-three);
}

@media  (max-width: 1480px) {
    .header {
        padding: 12px 5%;
        transition: .1s;
    }

    section {
        padding: 110px 12% 60px;
    }

    .footer {
        padding: 12px 7%;
    }
}

@media (max-width: 1100px) {
    :root {
        --big-font: 4rem;
        --h2-font: 2.5rem;
        --p-font: 1rem;
    }

    .home {
        height: 87vh;
    }

    .home-content h3 {
        font-size: 2.3rem;
    }
}

@media (max-width: 920px) {
    .about, .contact {
        grid-template-columns: 1fr;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .header .bx {
        display: block;
        color: var(--text-color-one);
        margin: 10px;
        font-size: 30px;
        cursor: pointer;
    }

    .navMenu ul {
        padding: 30px;
    }

    .navMenu ul li {
        display: block;
    }

    .navMenu {
        position: fixed;
        background-color: var(--bg-color-sides);
        height: 100%;
        width: 200px;
        top: 0;
        right: -200px;
        z-index: 2;
        transition: all .45s ease;
        text-align: center;
    }

    .navMenu a {
        display: block;
        margin: 17px;
        font-size: 20px;
        transition: all .45s ease;
        color: var(--text-color-one);
    }
}

@media (max-width: 480px) {
    .home h1 {
        font-size: 30px;
    }
    .home h3 {
        font-size: 20px;
    }

    .portfolio-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    }

    .portfolio-content .cover p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .portfolio-content .cover h5 {
        font-size: 15px;
        margin: 10px 0;
    }
}

/****************** web pages ******************/

.sub-header {
    height: 70vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url(./images/Sub-header.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
}

.sub-header h1 {
    margin-top: 150px;
    font-size: 4rem;
}

#others {
    background-color: var(--bg-color-two);
}

.others {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.sub-text-title {
    text-align: center;
}

.sub-text-title h2 {
    font-size: 2.5rem;
    line-height: 1;
}

.others-image {
    position: relative;
    width: 20rem;
    height: 20rem;
    margin-top: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.others-image img {
    width: 90%;
    border-radius: 50%;
    border: .2rem solid var(--text-color-three);
    background-color: var(--text-color-one);
}

.others-image .circle-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(40deg);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid transparent;
    border-bottom: .2rem solid transparent;
    border-left: .2rem solid var(--text-color-three);
    border-right: .2rem solid var(--text-color-three);
}

.others-text {
    text-align: left;
}

.others-text-services {
    text-align: center;
}

.others-text h3 {
    font-size: 2rem;
}

.others-text-services h3 {
    font-size: 2rem;
}

.others-text p {
    font-size: var(--p-font);
    margin: 2rem 0;
    color: var(--text-color-one);
}

.map {
    margin: auto;
}

.map iframe {
    width: 100%;
}

.contact-text .dot {
    font-size: 1.7rem;
    color: var(--text-color-three);
}