/*Some google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}


/*NAVBAR*/
.navbar{
    position: fixed;
    width: 100%;
    /* background: palevioletred; */
    font-family: 'Ubuntu', sans-serif;
    padding: 0px 0px;
    z-index: 998;
    transition: all 0.3s ease;
}

.navbar.sticky{
    background: palevioletred;
    padding: 0px 0 8px;
}
.max-width{
    max-width: 1300px;
    padding: 0 90px;
    margin: auto;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/*navbar links*/
.navbar .menu li{

    list-style: none;
    display: inline-block;
    border-radius: 0 0 5px 5px;
    
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.navbar .menu li:hover{
    background-color: palevioletred;
    color: black
}

.navbar .menu li a{
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding-top: 22px;
    padding-bottom: 10px;
    text-align: center;
    display: block;

    transition-property: color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.navbar.sticky .menu li a:hover{
    color: black;
}

/* Nabvar dropdown button */
.menu-btn{
    color: white;
    font-size: 23px;
    cursor: pointer;
    padding-top: 12px;
    display: none;
}

/*Navbar logo*/
.navbar .logo{
    padding-top: 10px;
}
.navbar .logo a{
    color: white;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: palevioletred;

    transition: all 0.3s ease;
}

.navbar.sticky .logo a span{
    color: black;
}


/* HOME SECTION */
.home{
    display: flex;
    height: 100vh;
    background-image: url(Images/HarleyBackground.png);
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    min-height: 550px; /*Stop box going to small on small screens */
    
    /* for text inside */
    color: white;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width{
    margin: auto auto auto 40px;
}

.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -4px;
    
}
.home .home-content .text-3{
    font-size: 40px;
}
.home .home-content .text-3 .typed-color{
    color: palevioletred;
    font-weight: 600;
}

.home .home-content a{
    display: inline-block;
    background: palevioletred;
    color: white;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 5px;
    border: 2px solid palevioletred;

    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: palevioletred;
    background: none;
}

/* TITLES FOR EACH SECTION */
section .title{
    position: relative;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: black;

    transform: translateX(-50%);
}

section .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 20px;
    padding: 5px;
    background: white;
    color: palevioletred;

    transform: translateX(-50%);
}


/* ABOUT SECTION */
.section{
    padding: 100px 0;
}
.about{
    font-family: 'Poppins', sans-serif;
    padding: 80px 0;
}
.about .title::after{
    content: "Who Am I?";
}

.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: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;

}
.about .about-content .right .about-title{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}
.about .about-content .right .about-title span{
    color: palevioletred;
    font-weight: 800;
    text-decoration: underline;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    /* font-weight: 700;
    font-size: 18px;
    text-decoration: underline; */

    display: inline-block;
    background: palevioletred;
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 20px;
    margin-top: 20px;
    border-radius: 5px;
    border: 2px solid palevioletred;

    transition: all 0.3s ease;

}
.about .about-content .right a:hover{
    color: palevioletred;
    background: none;
}


/* SERVICES SECTION */
.services{
    padding: 30px 30px;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: black;
    margin-bottom: 50px;
}
.services .title::after{
    content: "What I Offer";
    background: black;
}
.services .title::before{
    background: white;
}
.services .services-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.services .services-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;

    transition: all 0.3s ease;
}
.services .services-content .card:hover{
    background: palevioletred;
}
.services .services-content .card .box{
    transition: all 0.3s ease;
}
.services .services-content .card:hover .box{
    transform: scale(1.05);
}
.services .services-content .card i{
    font-size: 50px;
    color: palevioletred;
    transition: all 0.3s ease;
}
.services .services-content .card:hover i{
    color: white;
}
.services .services-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

/* SKILLS SECTION */



/* RESPONSIVE ELEMENTS START */
/* Responive navbar */
@media (max-width: 1050px){
    
    .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;
        background: black;
        text-align: center;
        padding-top: 80px;

        transition: all 0.3s ease;
    }

    .navbar .menu.active{
        left: 0px;
    }

    .navbar .menu li{
        display: block;
        border-radius: 0;
    }

    .navbar .menu li a{
        display: inline-block;
        margin: 0px 0px;
        padding: 20px 20px;
        font-size: 25px;
        
    }
}

/* RESPONISVE PAGES*/
@media (max-width: 1100px){

     .max-width{
        /* max-width: 800px; */
        padding: 0 60px;
    } 

    /* Home Page */
    .home .max-width{
        margin: auto auto auto 0px !important;
    }
    .home .home-content a{
        font-size: 20px;
        padding: 8px 30px;
    }


    /* About Page */
    .about .about-content .column{
        width: 50%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: left;
        margin: 0 auto 60px;
    }
    
    .about .about-content .left img{
        height: 350px;
        width: 350px;
        object-fit: cover;
        border-radius: 6px;
    }



}

@media (max-width: 850px){
    .max-width{
        padding-left: 10px !important;
        padding-right: 20px !important;
    }

    /* About Page */
    .about .about-content .right{
        flex: 100%;
    } 
    .about .about-content .left{
        justify-content: center;
    } 

    /* Services page */

    .services .services-content{
        flex-direction: column;
    }
    .services .services-content{
        flex-direction: column;
    }
    .services .services-content .card{
        margin-bottom: 20px;
        width: 100%;
    }

    /* .services .services-content .card .text{
        font-size: 18px;
    }
    .services .services-content .card i{
        font-size: 40px;
    }
    .services .services-content .card p{
        font-size: 14px;
    } */
}

@media (max-width: 650px){
    .services .services-content{
        
    }
}
