:root {
    --main-color: crimson;
    --second-color: #fff;
    --third-color: #111;
}
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

body {
    background-color: #111;
    font-family: "Open Sans", sans-serif;
    font-family: "Poppins", sans-serif;
    font-family: "Ubuntu", sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
overflow-x: hidden;

}
ul {
    list-style: none;
}
.max-width {
    margin: auto;
    max-width: 1300px;
    padding: 0 80px;
}


  /* NavBar Styling  */
.navbar {
    position: fixed;
    width: 100%;
    padding: 30px 0;
    transition: 0.6s;
    z-index: 999;
}
.navbar.active {
    background-color: #000000;
    padding: 15px 0;
}
.navbar .max-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    width: 40px;
    height: 40px ;
    margin-bottom: -8px;

}
.logo a {
    color: var(--second-color);
    font-size: 35px;
    font-weight: 600;
}

.navbar.active .logo a span {
    color: var(--second-color);
    transition: 0.3s;
}
.logo span {
    color: var(--main-color);
}
.navbar .menu li {
    display: inline-block;
}
.navbar .menu li a {
    display: block;
    color: var(--second-color);
    font-size: 18px;
    font-weight: 500;
    margin-left: 20px;
    text-transform: capitalize;
    transition: 0.3s;
}
.navbar .menu li a:hover {
    color: var(--main-color);
}
.navbar.active .menu li a:hover {
    color: var(--second-color);
}

.navbar .menu .btn:hover {
    color: var(--main-color);
    background: none;
}

  /* menu button  */

.menu-btn {
    color: var(--second-color);
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px ;
    background-color: var(--main-color);
    right: 30px;
    bottom: 10px ;
    text-align: center;
    line-height: 45px ;
    color: var(--second-color);
    z-index: 9999;
    cursor: pointer;
    font-size: 30px;
    border-radius: 6px ;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
}
.scroll-up-btn.show {
    opacity: 1;
    bottom: 30px ;
    pointer-events: auto;
}

/* home style  */


.home {
    display: flex;
    background-image: url(../imgs/istock.jpg);
    background-size: initial;
    height: 100vh;
    color: var(--second-color);
    min-height: 500px;
    position: relative;
    margin: auto;
    max-width: 100%;
    padding: 0 80px;
    background-size: cover;
}
.home::before {
    content: "";
    position: absolute;
    background-color: #000000bf;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.home .max-width {
    text-transform: capitalize;
    z-index: 888;
}
.home .max-width .home-content .text-1 {
    font-size: 40px;
    margin-left: -231px;
    margin-bottom: 16px;
    }
    .home .max-width .home-content .text-2 {
        font-size: 40px;
        /* font-weight: 600; */
        margin-left: 8px;
        }

        .home .max-width .home-content .text-3 {
    font-size: 30px;
    margin: 17px 11px;
    color: #9a8383;
}
.home .max-width .home-content .text-3 span {
    color: var(--main-color);
    font-weight: 500;
}
.home .max-width .home-content a {
     display: inline-block;
     background-color: var(--main-color);
     color: var(--second-color);
     font-size: 25px;
     padding:25px 47px;
     border-radius: 6px;
    border:2px solid var(--main-color);
     transition: 0.3s;
     position: absolute;
     top: 80%;
     left: 53%;
     transform: translate(-50%, -50%);
}
.home .max-width .home-content a:hover {
    color: var(--main-color);
    background: none;
}
  /* similar style  */
.about,
.services, .skills, .information , .contact  {
    font-family: "poppins", sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content   {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section {
    padding: 100px 0;
}

section .title {
    color: var(--main-color);
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 80px;
    padding-bottom: 20px;
    text-transform: capitalize;
    text-align: center;
    display: block;
    font-family: "ubuntu", sans-serif;
    position: relative;
    margin-top: 55px;
}
section .title::before {
    content: "";
    background-color: var(--second-color);
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 180px;
    left: 50%;
    transform: translateX(-50%);
}
section .title::after {
    background-color: var(--second-color);
    color: var(--main-color);
    position: absolute;
    bottom: -11px;
    font-size: 18px;
    padding: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* services style  */
.services, .information  {
    margin-top: 100px ;
    color: var(--second-color);
}
.services .serv-content .card {
    width: calc(24% - 8px);
    background: #0c0b16;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 0px 8px 2px #2e2c38;
}

.services .serv-content .card i {
    font-size: 50px ;
    color: var(--main-color);
    transition: 0.3s;
}
.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 25px 0 29px 0;
    color: #d38a8a;
}
.services .serv-content .card p {
    line-height: 1.7;
    margin-bottom: 23px;
}
.services .serv-content .card .box {
    transition: 0.3s;
}
.services .serv-content .card:hover {
    background-color: var(--main-color);
}
.services .serv-content .card:hover .box {
    transform: scale(1.05);
}
.services .serv-content .card:hover i {
    color: var(--second-color);
}

/* About style   */

.about .show {
    display: flex;
    height: 500px ;
    margin-top: 100px;
}
.about .show img {
    height: 400px;
}
.about .show .image {
    margin-right: 45px;
}
.about .show .info h3 {
    margin-top: 50px;
}
.about .show .info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 27px;
    font-weight: 100;
}
.about .show .info h2 {
    font-family: poppins,sans-serif;
    color: #01c752;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.about .show .info  p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0;
    padding: 0;
    color: #9a8383;
}

/* footer style  */

.end {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.end .link {
    margin: 0 10px;
    flex: 25%;
}
.end .brand {
    width: 348px;
    margin: 0 23px;
}
.end .brand .logo{
margin-bottom: 15px;
}

.end .brand p {
    font-size: 16px;
    line-height: 26px;
    font-family: lato,sans-serif;
    font-weight: 400;
    color: rgba(255,255,255,.7);
}

.link h2 {
    font-family: poppins,sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #fff;
    text-transform: capitalize;
}
.link ul li a {
    font-family: lato,sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    transition: .3s ease-in-out;
    position: relative;
    text-transform: capitalize;
    line-height: 1.9;
}

.link ul li:hover a {
    margin-left: 10px;
    color: var(--main-color);
    font-weight: bold;
    padding: 10px;
}

/* footer style */

footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #6c5f5f;
    width: 1000px;
    margin: 0 auto ;
}
footer p {
    padding: 50px;
    color: white;
    letter-spacing: 3px;
}

footer p span a  {
    color: var(--main-color);
    font-weight: bold;
    transition: 0.3s;
}
footer p span:hover a  {
    color:white;
}


/* animation style   */

.typing {
    margin-left: 10px ;
}

.typing::after {
    content: "";
    right: -5px ;
    width: 1px;
    height: 3%;
    border-right: 4px solid var(--main-color) ;
    animation:  blink 0.5s infinite ease  ;
}


  /* media quiry style */
@media (max-width: 1920px) {
    .home .max-width {
    margin-left: 30%;
    }
    .information .image-container .box-image {
    flex-basis: 33.3% ;
    }
}
@media (max-width: 1104px) {
    .about .about-content .left img {
    height: 350px;
    width: 350px;
    }
}
@media (max-width: 991px) {
    .max-width {
    padding: 0 50px;
    }
    .about .show {
        display: flex;
        height: 500px;
        margin-top: 100px;
        flex-wrap: wrap;
        margin-bottom: 300px;
    }


}

@media (max-width: 947px) {
    section {
    width: 100% ;
    }
    .menu-btn {
    display: block;
    z-index: 999;
    transition: 0.3s;
    }
    .navbar .menu {
    position: fixed;
    background-color: rgb(17 17 17 / 73%);
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    padding-top: 80px;
    text-align: center;
    transition: 0.3s;
    }
    .navbar .menu.active {
    left: 0;
    }

    .navbar .menu li {
    display: block;
    margin-bottom: 30px;
    }
    .navbar .menu li a {
    display: inline-block;
    font-size: 25px;
    margin: 20px 0;
    }
    .menu-btn.open {
    color: var(--main-color);
    font-size: 50px;
    }
    .home {
    width: 100% ;
    }
    .home .max-width .home-content .text-2 {
    font-size: 70px;
    }
    .home .max-width .home-content .text-3 {
    font-size: 35px;
    }
    .navbar .menu {
        background-color: #040408;
    }
    .navbar .menu li a {
        font-size: 12px;
        margin: 12px 0;
    }
    .navbar .menu button {
        padding: 11px 23px;
        margin-left: 0px;
        font-size: 12px;
        margin-top: 23px;
    }
    .menu-btn.open {
        color: var(--main-color);
        font-size: 20px;
    }





    .max-width {
    max-width: 800px;
    }
    .about .about-content .column {
    width: 100%;
    }
    .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
    }
    .about .about-content .right {
    flex: 100%;
    }
    .services .serv-content .card {
    width: calc(50%-10px);
    margin-bottom: 20px ;
    }
    .skills .skills-content .column,
    .contact .contact-content .column {
    width: 100% ;
    margin-bottom: 35px ;
}
    .information .image-container .box-image {
    flex-basis: 100% ;
}
.information {
    margin-right: 50px ;
    width: 100% ;
}
.information .image-container .box-image {
    max-width: 300px;
    height: 315px;
}
.about .show {
    display: flex;
    height: 500px;
    margin-top: 100px;
    flex-wrap: wrap;
    margin-bottom: 300px;
}





}
@media (max-width: 690px) {
    .max-width {
    padding: 0 23px;
    }
    .logo a {
        font-size: 15px;
    }
    .menu-btn {
        color: var(--second-color);
        font-size: 17px;
        cursor: pointer;
    }
    .home .max-width .home-content .text-1 {
        font-size: 17px;
        margin-left: -69px;
        margin-top: 70px;
    }


    .home .max-width .home-content .text-2 {
        font-size: 20px;
        margin-left: -45px;
        }
    .home .max-width .home-content .text-3 {
        font-size: 12px;
        margin-left: -41px;
        }
        .home .max-width .home-content .text-3 span {
            font-size: 10px;
        }
        .navbar .menu {
            background-color: #040408;
        }
        .navbar .menu li a {
            font-size: 12px;
            margin: 12px 0;
        }
        .navbar .menu button {
            padding: 11px 23px;
            margin-left: 0px;
            font-size: 12px;
            margin-top: 23px;
        }


    .about .about-content .left img {
    height: 200px;
    width: 200px;
}
    .services .serv-content .card {
    width: 100% ;
    }
    .services .title h2 {
        font-size: 14px;
    }
    section .title::before {
        height: 1px;
        width: 77px;
    }
    .about .show img {
        width: 100%;
        height: 170px;
    }
    .about .show .info h2 {
        font-size: 17px;
    }
    .about .show .info p {
        font-size: 10px;
    }
    .end .brand .logo {
        margin: 15px 0%;
    }
    .brand .logo a {
        font-size: 30px;
        font-weight: bold;
    }
    .end .brand p {
        font-size: 9px;
        line-height: 22px;
    }

    .end .brand {
        margin: 0 23px 80px;
        border-bottom: 1px solid #373c37;
        padding-bottom: 50px;
        }
        .end .link {
            margin: 0 10px 74px;
            flex: 100%;
            border-bottom: 1px solid #222422;
            padding-bottom: 20px;
        }

                .link h2 {
            font-size: 11px;
            margin-bottom: 0;
        }


    .scroll-up-btn {
    height: 30px;
    width: 35px ;
    font-size: 20px;
    line-height: 30px;
    }
    .about .show {
        margin-bottom: -10px;
    }
    .link ul li a {
        font-size: 10px;
    }
    footer {
        margin-top: 50px;
        text-align: center;
        border-top: 1px solid #6c5f5f;
        width: 100%;
        /* margin: 0 auto; */
    }
    footer p {
        letter-spacing: 0px;
        font-size: 10px;
    }
    footer p span a {
        transition: 0.3s;
        font-size: 10px;
    }









}

@media (max-width: 500px) {
    .home .max-width .home-content .text-2 {
    font-size: 50px;
    }
    .brand .logo a{
        font-size: 30px;
        font-weight: bold;
    }

        .menu-btn {
        color: var(--second-color);
        font-size: 17px;
        cursor: pointer;
    }
    .home .max-width .home-content .text-1 {
        font-size: 17px;
        margin-left: -69px;
        margin-top: 70px;
    }
    .home .max-width .home-content .text-2 {
    font-size: 12px;
    margin-left: -41px;
    }

    .home .max-width .home-content .text-3 {
        font-size: 12px;
        margin-left: -41px;
        }
        .home .max-width .home-content .text-3 span {
            font-size: 10px;
        }

        .home .max-width .home-content a {
            font-size: 13px;
            padding: 9px 25px;
            margin: 63px 0 0 -16px;
        }
        .home {
    width: 100% ;
    }
    .navbar .menu {
        background-color: #040408;
    }
    .menu-btn.open {
        color: var(--main-color);
        font-size: 20px;
    }



    .services .title h2 {
        font-size: 14px;
    }
    section .title::before {
        height: 1px;
        width: 77px;
    }
    .about .show img {
        width: 100%;
        height: 170px;
    }
    .about .show .info h2 {
        font-size: 17px;
    }
    .about .show .info p {
        font-size: 10px;
    }


    footer p {
        letter-spacing: 0px;
        font-size: 10px;
    }
    footer p span a {
        transition: 0.3s;
        font-size: 10px;
    }
    .about .show {
        margin-bottom: -10px;
    }
    .end .brand .logo {
        margin: 15px 0%;
    }
    .end .brand p {
        font-size: 9px;
        line-height: 22px;
    }
    .end .brand {
        margin: 0 23px 80px;
        border-bottom: 1px solid #373c37;
        padding-bottom: 50px;
        }
        .end .link {
            margin: 0 10px 74px;
            flex: 100%;
            border-bottom: 1px solid #222422;
            padding-bottom: 20px;
        }

                .link h2 {
            font-size: 11px;
            margin-bottom: 0;
        }
        .link ul li a {
            font-size: 10px;
        }



}

