@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500;600;700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Poppins:wght@100;400;500;600;700&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family: "poppins", sans-serif;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Bar  */
#nav-bar {
    height: auto;
    width: 100%;
    position: fixed;
    z-index: 100;
    background-color: black;
}

.nav-bar {
    background-color: black;
    left: 0;
    top: 0;
    padding: 1rem 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-bar .brand a {
    font-family: caveat;
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.nav-bar .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-bar .nav-list .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    transition: 0.3s ease transform;
    cursor: pointer;
    padding-left: 35px;
}

.nav-bar .nav-list .hamburger.active {
    transform: rotate(360deg);
}

.nav-bar .nav-list .hamburger.active .bar:before {
    top: 0;
    transform: rotate(45deg);
}

.nav-bar .nav-list .hamburger.active .bar:after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-bar .nav-list .hamburger.active .bar {
    background-color: transparent;
}

.nav-bar .nav-list .hamburger .bar {
    height: 2px;
    width: 30px;
    background-color: white;
    position: relative;
    display: flex;
}

.nav-bar .nav-list .hamburger .bar::before,
.nav-bar .nav-list .hamburger .bar::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transition: 0.3s ease all;
}

.nav-bar .nav-list .hamburger .bar::before {
    top: 8px;
}

.nav-bar .nav-list .hamburger .bar::after {
    bottom: 8px;
}

.nav-bar .nav-list ul {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(46, 45, 45);
    padding: 5rem 0;
    transform: translateY(-100%);
    transition: 0.3s ease transform;
    text-align: center;
    z-index: -1;
}

.nav-bar .nav-list ul li {
    list-style: none;
    display: block;
    position: relative;
}

.nav-bar .nav-list ul li:hover:after {
    transform: translateX(-50%) scale(1);
}

.nav-bar .nav-list ul li:after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 0.2rem;
    background-color: white;
    left: 50%;
    transform: translateX(-50%) scale(0);
    bottom: 0;
    transition: 0.3s ease transform;
}

.nav-bar .nav-list ul li a {
    font-size: 1.8rem;
    font-weight: 400;
    text-decoration: none;
    color: white;
    display: block;
    padding: 2rem 2rem;
}

.nav-bar .nav-list.open ul {
    transform: translateY(90px);
}

/* End Nav Bar */

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    padding-top: 50px;
    justify-content: center;
    background-color: black;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

.hero .hero-info {
    width: 100%;
    text-align: center;
}

.hero .hero-info .hero-info-heading {
    font-size: 5rem;
    font-weight: 500;
    color: whitesmoke;
}

.hero .hero-info .hero-info-subheading {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    padding-left: 5px;
    color: whitesmoke;
}

.hero .hero-info .hero-info-button {
    margin-top: 30px;
    padding: 1rem 2rem;
    display: inline-block;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 30px;
    text-decoration: none;
    border-radius: 50px;
    background-color: #058de6;
}

.hero .hero-info .hero-info-button:hover,
.hero .hero-info .hero-info-button:focus {
    outline: 2px solid white;
    background-color: black;
    transition: ease-in-out 0.2s;
}

.hero .hero-img {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .hero-img img {
    height: 65%;
    width: 65%;
}

/* End Hero Section */

/* About Section  */
.about {
    width: 100%;
    min-height: 50vh;
    padding: 10rem 5rem;
    flex-direction: column;
}

.about .about-info {
    text-align: center;
}

.about .about-info .about-info-heading {
    font-size: 4rem;
    font-family: poppins;
    text-transform: uppercase;
    color: black;
    font-weight: 400;
    letter-spacing: 0.5rem;
}

.about .about-info .about-info-desc {
    font-size: 1.3rem;
    line-height: 2rem;
    margin-top: 10px;
}

.about .about-info .about-info-button {
    padding: 1.6rem 2.6rem;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.548);
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about .about-img {
    margin-top: 45px;
    display: block;
}

.about .about-img .about-img-wrapper {
    margin-top: 40px;
    height: auto;
    max-width: 400px;
    position: relative;
    display: inline-block;
}

.about .about-img .about-img-wrapper img {
    height: 100%;
    width: 100%;
}

.about .about-img .about-img-wrapper::after {
    position: absolute;
    content: "";
    right: -5rem;
    top: 49%;
    transform: translateY(-50%);
    width: 70%;
    height: 120%;
    background-color: rgba(34, 33, 33, 0.158);
    z-index: -1;
}

/* End About Section  */

/* Tools Section  */
.tools {
    width: 100%;
    min-height: 50vh;
    padding: 10rem 5rem;
    flex-direction: column;
}

.tools .tools-info {
    text-align: center;
}

.tools .tools-info .tools-info-heading {
    font-size: 4rem;
    font-family: poppins;
    text-transform: uppercase;
    color: black;
    font-weight: 400;
    letter-spacing: 0.5rem;
}

.tools .tools-info .tools-info-desc {
    font-size: 1.3rem;
    line-height: 2rem;
    margin-top: 10px;
}

.tools .tools-info .tools-info-button {
    padding: 1.6rem 2.6rem;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.548);
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tools .tools-img {
    margin-top: 45px;
    display: block;
}

.tools .tools-img .tools-img-wrapper {
    margin-top: 40px;
    height: auto;
    max-width: 400px;
    position: relative;
    display: inline-block;
}

.tools .tools-img .tools-img-wrapper img {
    height: 100%;
    width: 100%;
}

/* .tools .tools-img .tools-img-wrapper::after {
    position: absolute;
    content: "";
    right: -5rem;
    top: 49%;
    transform: translateY(-50%);
    width: 70%;
    height: 120%;
    background-color: rgba(34, 33, 33, 0.158);
    z-index: -1;
} */

/* End Tools Section  */

/* projects section  */
.projects {
    flex-direction: column;
    min-height: 40vh;
    padding: 2rem 2rem;
}

.projects .projects-header {
    width: 100%;
    text-align: center;
}

.projects .projects-header .projects-header-heading {
    font-size: 4rem;
    font-family: poppins;
    text-transform: uppercase;
    color: black;
    font-weight: 400;
    letter-spacing: 0.5rem;
}

.projects .projects-header .projects-header-desc {
    font-size: 1.3rem;
    line-height: 2rem;
    margin-top: 20px;
}

.projects .projects-info {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    cursor: pointer;
}

.projects .projects-info .project {
    width: 100%;
    min-height: 300px;
    position: relative;
    transition: 0.3s ease transform;
    margin: 10px;
}

.projects .projects-info .project .project-card {
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: 0.3s ease transform;
    display: block;
}

.projects .projects-info .project .project-card .project-front,
.projects .projects-info .project .project-card .project-back {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
    padding: 10px;
    stroke: black;
}

.projects .projects-info .project .project-card .project-back {
    transform: rotateY(180deg);
}

.projects .projects-info .project .project-card .project-front .covid-img-wrapper img {
    height: 100%;
    width: 15%;
}

.projects .projects-info .project .project-card .project-front .covid-img-wrapper {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

.projects .projects-info .project .project-card .project-front .inv-img-wrapper img {
    height: 100%;
    width: 20%;
}

.projects .projects-info .project .project-card .project-front .inv-img-wrapper {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.projects .projects-info .project .project-card .project-front .project-front-heading,
.projects .projects-info .project .project-card .project-back .project-back-heading {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    font-weight: 500;
}

.projects .projects-info .project:hover .project-card {
    transform: rotateY(180deg);
}

.projects .projects-info .project .project-card .project-back .project-back-desc {
    font-size: 1.3rem;
    margin-top: 10px;
    text-align: center;
}

.projects .projects-info .project:nth-child(2) .project-card .project-front::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.274);
    z-index: -1;
}

.projects .projects-info .project:nth-child(2) .project-card .project-front i {
    color: white;
}

.project_sub_desc{
    margin-top:15px;
}

/* End projects section  */

/* Footer section  */
.footer {
    min-height: 20vh;
    width: 100%;
    background-color: black;
    color: white;
    flex-direction: column;
    text-align: center;
    padding: 5rem;
}

.footer .footer-contact {
    padding: 20px;
}

.footer .footer-contact .footer-contact-heading {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #058de6;
}

.footer .footer-contact .footer-contact-info {
    font-size: 1.4rem;
    padding-top: 10px;
    letter-spacing: 0.2rem;
}

.footer .footer-social-follow .footer-social-icon a {
    color: white;
    font-size: 3rem;
    margin: 0.4rem;
    display: inline-block;
}

.footer-social-icon {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.social-icon img {
    height: 30px;
    width: 30px;
    padding-top: 3px;
    padding: 0.5rem;
}

.portfolio {
    font-size: 3.5rem;
}

.project-front-heading {
    padding-bottom: 30px;
}

.project-front img {
    height: 100%;
}

.project-front-subheading {
    font-size: 1.2rem;
    font-weight: 500;
}

/* End Footer section  */

@media only screen and (min-width: 1000px) {
    .nav-bar .nav-list .hamburger {
        display: none;
    }

    .nav-bar .nav-list ul {
        transform: translateX(0);
        position: initial;
        padding: 0;
        z-index: initial;
        background-color: transparent;
    }

    .nav-bar .nav-list ul li {
        display: inline-block;
    }

    .hero {
        height: 100vh;
        flex-direction: row;
        padding-left: 10%;
        justify-content: center;
        align-items: center;
    }

    .hero .hero-info {
        max-width: 30%;
        text-align: left;
    }

    .hero .hero-info .hero-info-subheading {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
        margin-top: 10px;
    }

    .hero .hero-img {
        min-width: 400px;
        max-width: 800px;
    }

    .about {
        width: 80%;
        margin: 0 auto;
        flex-direction: row;
    }

    .about .about-info {
        width: 50%;
        text-align: left;
        padding-right: 17rem;
    }

    .projects .projects-header .projects-header-desc {
        max-width: 500px;
        padding-top: 20px;
        margin: 0 auto;
    }

    .projects .projects-info {
        flex-direction: row;
        width: 80%;
    }

    .projects .projects-info .project {
        margin-right: 15px;
    }

    .nav-bar .brand a {
        font-family: caveat;
        font-size: 3rem;
        color: white;
        text-decoration: none;
    }

    .project-front-subheading {
        font-size: 1.2rem;
        font-weight: 500;
    }
}

@media only screen and (min-width: 1200px) {
    .hero .hero-info .hero-info-heading {
        font-size: 5rem;
    }

    .hero .hero-info .hero-info-subheading {
        letter-spacing: 0.8rem;
    }
}

@media only screen and (max-width: 450px) {
    .nav-bar {
        padding: 1rem 2rem;
    }

    .hero .hero-info .hero-info-heading {
        font-size: 4rem;
    }

    .hero .hero-info .hero-info-subheading {
        padding-top: 5px;
        letter-spacing: 0.3rem;
    }

    .portfolio {
        font-size: 3rem;
    }
}