@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.navbar{
    position: fixed;
    width: 100%;
    padding: 70px 0;
    z-index: 999;
    /*background: crimson;*/
    font-family: "Ubuntu" , sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: crimson;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: crimson;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar .sticky .menu li a:hover{
    color: #fff;
}
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.home{
    display: flex;
    background: url("images/Website-Design-Background-1.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    font-family: "Ubuntu" , sans-serif;
}
.home .max-width{
    margin: auto 0 auto 40px;
}
.home .home-content .Text-1{
    font-size: 27px;
}
.home .home-content .Text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .Text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .Text-3 span{
    color: crimson;
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color:crimson;
    background: none;
}
section{
    padding: 100px 0;
}
.about, .services , .skills , .links , .contact , .footer{
    font-family: 'Poppins' , sans-serif;

}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 80px;
    padding-top: 40px;
    padding-bottom: 20px;
    font-family: 'Ubuntu' , sans-serif;
}
section .title::after{
    position: absolute;
    bottom: -10px;
    left: 50%;
    font-size: 15px;
    color: crimson;
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);
}
.about .title::after{
    content: "who I am";
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
.about .about-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 350px;
    width: 350px;
    object-fit: cover;
    border-radius: 10px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: crimson;
    background: none;
}
.services{
    color: #fff;
    background: #111;
}
.services .title::before{
    background: #fff;
}
.services .title::after{
    background: #111;
    content: "What I Have";
}
.services .serv-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.services .serv-content .cad{
    width:calc(33% - 20px) ;
    background: #111;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
}
.services .serv-content .card{
    width:calc(33% - 20px) ;
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: all 0.3 ease;
}
.services .serv-content .card a{
    display: inline-block;
    background:blue;
    color: #fff;
    font-size: 15px;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid blue;
    transition: all 0.3s ease;
}
.services .serv-content .card a:hover{
    color: blue;
    background: none;
}
.services .serv-content .card:hover{
    background: crimson;
}
.services .serv-content .card .box{
    transition: all 0.3 ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card .text{
    font-size: 30px;
    font-weight: 500;
    margin: 10px 0 30px 0;
}
.services .serv-content .car{
    width:calc(33% - 20px) ;
    background: #111;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
}
.skills{
    color: #fff;
    background: #111;
}
.skills .title::before{
    background: #fff;
}
.skills .title::after{
    background: #111;
}
.skills .skills-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .casd{
    width:calc(33% - 20px) ;
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: all 0.3 ease;
}
.skills .skills-content .casd .text1{
    font-size: 30px;
    font-weight: 500;
    color: ghostwhite;
    margin: 10px 0 30px 0;
}
.skills .skills-content .casd:hover{
    background: crimson;
}
.skills .skills-content .casd:hover .box{
    transform: scale(1.05);
}
.links{
    color: #fff;
    background: #111;
}
.links .title::before{
    background: #fff;
}
.links .title::after{
    background: #111;
    content: "links";
}
.links .links-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.links .links-content .card{
    width:calc(33% - 20px) ;
    background: #111;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: all 0.3 ease;
}
.links .links-content .card a{
    display: inline-block;
    background:blue;
    color: #fff;
    font-size: 15px;
    padding: 10px 30px;
    border-radius: 6px;
    border: 2px solid blue;
    transition: all 0.3s ease;
}
.links .links-content .card a:hover{
    color: blue;
    background: none;
}
.links .links-content .card:hover{
    background: crimson;
}
.links .links-content .card:hover .box{
    transform: scale(1.05);
}

.contact{
    color: #fff;
    background: #111;
}
.contact .title::before{
    background: #fff;
}
.contact .title::after{
    background: #111;
}
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.contact .contact-content .card{
    width:calc(33% - 20px) ;
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: all 0.3 ease;
}

.contact .contact-content .card i{
    font-size: 40px;
    color:white;
}
.contact .contact-content .card .text{
    font-size: 20px;
    font-weight: 200;
    color: ghostwhite;
    margin: 0 0 30px 0;
}
.contact .contact-content .card:hover{
    background: crimson;
}
.contact .contact-content .card:hover .box{
    transform: scale(1.05);
}
footer{
    background: #111;
    padding: 20px 23px;
    color: #fff;
}
footer span a{
    color: crimson;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}

@media(max-width: 1100px){
    .home .max-width{
        margin-left: 0px;
    }
}
@media(max-width: 1040px){
    .about .about-content .left img{
        height: 300px;
        width: 300px;
    }
}
@media(max-width: 1009px){
    .max-width{
        padding: 0 80px;
    }
}
@media(max-width: 961px){
    
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left:-100%;
        top :0;
        text-align: center;
        padding-top: 80px;

        background: #111;
        transition: color 0.3s ease;

    }
    .navbar .menu.active{
        left: 0;
    }

    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .Text-2{
        font-size: 70px;
    }
    .home .home-content .Text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .max-width{
        max-width: 800px;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .about .about-content .right .text{
        text-align: center;
    }
    .about .about-content .right a{
        display: block;
        text-align: center;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .casd{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .links .links-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .contact .contact-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}
@media(max-width: 690px){
    .max-width{
        padding: 0 35px;
    }
    .home .home-content .Text-2{
        font-size: 60px;
    }
    .home .home-content .Text-3{
        font-size: 30px;
    }
    .home .home-content a{
        font-size: 20px;
        padding: 8px 24px;
    }
    .services .serv-content .card{
        width: 100%;
    }
    .skills .skills-content .casd{
        width: 100%;
    }
    .links .links-content .card{
        width: 100%;
    }
    .contact .contact-content .card{
        width: 100%;
    }
    
}
@media(max-width: 500px){
    .home .home-content .Text-2{
        font-size: 50px;
    }
    .home .home-content .Text-3{
        font-size: 27px;
    }
    .home .home-content a{
        font-size: 16px;
        padding: 6px 20px;
    }
    
}
