@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;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

html{
    scroll-behavior: smooth;
}
/* navbar styling */

.navbar{
    position:fixed;
    width: 100%;
    z-index: 9;
    padding: 10px 0;
    font-family: 'Ubuntu', 'sans-serif';
    transition: all 0.3s ease-in;
}
.navbar.sticky{
    padding: 6px 0;
    background: #645CAA;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    font-size: 35px;
    color: crimson;
    font-weight: 600;
}
.navbar .logo span{
    color: black;
    transition: all 0.3s ease ;
}
/* .navbar.sticky .logo span{
    color: azure;
} */
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a:hover{
    color: black;
}
.navbar.sticky .menu li a:hover{
    transition: all 0.3s ease;
}
.navbar .menu li a{
    color: azure;
    font-size: 18px;
    font-weight: 300;
    margin-left: 35px;
    transition: color 0.3s ease;
}
.menu-btn {
    color: azure;
    font-size: 17px;
    cursor: pointer;
    display: none;
}
.navbar .menu-btn:hover{
    color: black;
}
.navbar.sticky .menu-btn:hover{
    color: black;
    transition: all 0.3s ease; 
}
.scroll-up-btn{
    position: fixed;
    height: 40px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 39px;
    color: white;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

/* home section styling */

.home{
    display: flex;
    /* background: url("photos/banner1.jpg") no-repeat center; */
    background-color: #9a9ade;
    height: 100vh;
    color: azure;
    min-height: 500px;
    
    justify-content:space-between;
    font-family: 'Ubuntu', 'sans-serif';
}
.home .max-width{
    margin: auto 0 auto 40px;
}

.home .home-content .left{
    width: calc(50% -30px);
    
}
.home .home-content .left .text-1{
    font-size: 30px;
}
.home .home-content .left .text-2{
    font-size: 50px;
    font-weight: 600;
    margin-left: -3px;
    margin: 10px 0;
}

.home .home-content .left .text-3{
    font-size: 35px;
    margin: 10px 0;
}
.home .home-content .left .text-3 span{
    color: crimson;
    font-weight: 600;
    font-size: 40px;
}
/* .home .home-content a{
    background: crimson;
    display: inline-block;
    color: azure;
    font-size: 20px;
    padding: 5px 20px;
    margin-top: 15px;
    border-radius: 10px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
 } 
.home .home-content a:hover{ 
    background: none;
    color: azure;
}  */

.home .right img{
    height: 460px;
    width: 430px;
    object-fit: cover;
    border-radius: 6px;
    margin-left: 148px;
    box-shadow: 0 0 100px whitesmoke;
  
}

.right{
    float: left;
    width: 50%;
}
/* Similar content styling applied on sections */
section{
    padding: 80px 0;
    background-color: #fff;
}
.about, .services, .skills, .works, .contact, .footer{
    font-family: 'Poppins', 'sans-serif';
}
/* .home .home-content */
.home .home-content,
.about .about-content,
.services .service-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 15px;
    font-family: 'Ubuntu', 'sans-serif';
}
section .title::before{
    content: "";
    position:absolute;
    bottom:0px ;
    left: 50%;
    width: 180px;
    height: 2px;
    background: black;
    transform: translateX(-50%);
}
section .title::after{
    position:absolute;
    bottom:-10px ;
    left: 50%;
    font-size: 14px;
    color: crimson;
    padding: 5px;
    background: #fff ;
    transform: translateX(-50%);
}

/* about section styling */


.about .title::after{
    content: "who i am"
}
.about .about-content .left img{
    object-fit:cover;
    height: 220px;
    width: 220px;
    border-radius: 10px;
    margin-top: 35px;
}
.about .about-content .right{
    width: 70%;
    margin-top: 50px;
}
.about .about-content .right .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: crimson;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    background: crimson;
    display: inline-block;
    color: azure;
    font-size: 15px;
    padding: 5px 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    background: none;
    color: crimson;
    font-weight: 600;
}

/* services section styling */
.services, .works{
    background-color: #B1B2FF;
}
.services .title::after{
    content: "What I Know";
    background: #B1B2FF;
}
.services .service-content .card{
    width: calc(32% - 25px);
    background:#fff;
    text-align: center;
    border-radius: 10px;
    padding: 20px 25px;
    margin-top: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #776ec5;
    
}
.services .service-content .card:hover{
    background:#9293de;
}
.services .service-content .card .box{
    transition: all 0.3s ease;
}
.services .service-content .card:hover .box{
    transform: scale(1.05);
}
.services .service-content .card i{
    font-size: 30px;
    color: rgb(169, 11, 42);
}
.services .service-content .card p{
    font-size: 15px;
}
.services .service-content .card .text{
    font-size: 20px;
    font-weight: 600;
    color: black;
    margin: 10px 0 7px 0;
}

/* skills section styling */

.skills .title::after{
    content: "What i Have";
}
.skills .skills-content .column{
    width: calc(50% - 30px);
    margin-top: 50px;
}
.skills .skills-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.skills .skills-content .left p{
    text-align: justify;
}
/* .skills .skills-content .left a{
    background: crimson;
    display: inline-block;
    color: azure;
    font-size: 15px;
    padding: 5px 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.skills .skills-content .left a:hover{
    background: none;
    color: crimson;
    font-weight: 600;
} */
.skills .skills-content .right p{
    background: crimson;
    display: inline-block;
    color: azure;
    font-size: 15px;
    padding: 5px 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.skills .skills-content .right p:hover{
    background: none;
    color: crimson;
    font-weight: 600;
}
.skills .skills-content .right .tab-titles{
    display: flex;
    margin:20px 0 40px;
}

.skills .skills-content .right .tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    /* bottom: 30px; */
}
.tab-links::after{
    content: "";
    width: 0;
    height: 2px;
    background: crimson;
    position:absolute;
    left: 0;
    bottom: -8px;
    transition: all 0.3s ease;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: crimson;
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
/* .skills .skills-content .right span{
    font-weight: 500;
    font-size: 18px;
}
.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgray;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.skills .skills-content .right .html::before{
    width: 80%;
}
.skills .skills-content .right .css::before{
    width: 60%;
}
.skills .skills-content .right .unix::before{
    width: 30%;
}
.skills .skills-content .right .python::before{
    width: 60%;
} */

/* my works section styling */

.works .title:after{
    content: "What i've done";
    background: #B1B2FF;
}
.works .carousel .card{
    background: #fff;
    border-radius: 6px;
    padding: 25px 35px;
    margin-top: 50px;
    text-align: center;
    transition: all 0.3s ease;
}
.works .carousel .card:hover{
    background:#D2DAFF;
}
.works .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.works .carousel .card:hover .box{
    transform: scale(1.05);

}
.works .carousel .card .box .text{
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0 7px 0;
}
.works .carousel .card img{
    height: 125px;
    width: 125px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid crimson;
}
.works .carousel .card:hover img{
    border-color: #645CAA;
}
.owl-dots{
    text-align: center;
    margin: 20px;
}
.owl-dot{
    height: 10px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid #221d53!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot.active:hover{
    background: #292456;
}

/* Contact section styling */

.contact .title:after{
    content: "Get in Touch";
}
.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .left .text{
    font-weight: 600;
    font-size: 20px;
    margin: 30px 0 20px 0;
}
.contact .contact-content .left p{
    text-align: justify;
    margin-bottom: 18px;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;  
}
.contact .contact-content .row .info{
    margin-left: 35px;
}
.contact .contact-content .row i{
    color: crimson;
    font-size: 25px;
}
.contact .contact-content .row .info .head{
    font-weight: 500;
}
.contact .right .text{
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}
.contact .right form .fields{
    display: flex;
}
.contact .right form .fields,
.contact .right form .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .email{
    margin-left: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}
.contact .right form .textarea textarea{
    padding-top: 10px;
    resize: none;
     
}
.contact .right form .button{
    height: 47px;
    width: 170px;
    
}
.contact .right form .button button{
    border-radius: 10px;
    width: 100%;
    height: 35px;
    border: 2px solid crimson;
    background: crimson;
    color: white;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact .right form .button button:hover{
    color: crimson;
    background: none;
}

/* Footer Styles */
.footer { 
	background-color: #000; 
	color: #fff; 
	padding: 2rem; 
} 

.footer-list-items { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	height: 50px; 
	width: 50px; 
	margin: 1rem 1rem 0 1rem; 
	border-radius: 50%; 
	background-color: crimson; 
} 

.footer-links { 
	font-size: 24px; 
	color: #fff; 
	text-decoration: none; 
} 

.social-links { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
} 

.footer-menu { 
	padding: 0 5rem; 
} 

.footer-menu .footer-menu-list { 
	display: flex; 
	list-style: none; 
} 

/* responsive media query start */
@media (max-width: 1250px) {
    .home .home-content .right img{
        height: 350px;
        width: 300px;
        object-fit: cover;
        border-radius: 6px;
        margin-left: 150px;
        
    }
}
@media (max-width: 1000px) {
    .about .about-content .left img{
        height: 250px;
        width: 250px;
    }
    
}
@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
    .home .home-content .text-2{
        font-size: 70px;
        text-shadow: rgb(220, 216, 199) 1px 0 10px;
    }
    .home .home-content .right {
        display: none;
    }
}
@media (max-width: 800px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
        color: #000;
    }
    .navbar .menu{
        position: fixed;
        height:max-content;
        width: 100%;
        left: 100%;
        top: 0;
        border-color: #000;
        border-radius: 8px;
        background: white;
        /* background-color:transparent; */
        text-align: center;
        padding-top: 50px;
        transition: all 0.3s ease;
    } 
    .navbar .menu.active{
        left: 5%;
        
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        color: rgb(183, 27, 27);
        display: inline-block;
        margin: 9px 0;
        font-size: 19px;
    }
    .navbar .menu li a:hover{
        color: rgb(9, 7, 7);
    }
    .home .home-content .text-2{
        font-size: 70px;
        text-shadow: rgb(220, 216, 199) 1px 0 10px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        /* margin: 0 auto 5px; */
    }
    .about .about-content .right{
        flex: 100%;
        margin-left: 10px;
    }
    .services .service-content .card{
        width: calc(50%-10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-top: 25px;
    }
}
@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
    }
    .services .service-content .card{
        width: 100%;
        margin-bottom: 10px;
    }
}
@media (max-width: 500px) {
    .home .right img{
        display:flex;
    }
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text{
        font-size: 19px;
    }
}
