@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Lora', sans-serif;
}

html{
    scroll-behavior: smooth;
}

.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/* Navbar Styling */
.navbar{
    position: fixed;
    width: 100%;
    padding: 20px 0 15px 0;
    z-index: 999;
    /* background-color: crimson;
     */
    transition: all 0.3s ease;

    border-bottom: 2px #0ef solid;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.navbar.sticky{
    padding: 15px 0 10px 0;
    background-color: crimson;
}

.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a{
    font-size: 35px;
    font-weight: 600;
    color: white;
}

.navbar .logo span{
    color: crimson;
    transition: all 0.3s ease;
}

.navbar.sticky .logo span{
    color: #1f242d;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
}

.navbar .menu li a{
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover{
    color: crimson;
}

.navbar.sticky .menu li a:hover{
    color:black;
}


/* menu button styling */

.navbar .menu-btn{
    color: white;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

/* Home */
.home{
    display: flex;
    background-color: #1f242d;
    height: 100vh;
    color: white;
    min-height: 500px;
}

.home .max-width{
    margin: auto 0 auto 40px;
}

.home .home-content .text-1{
    font-size: 27px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    transition: all 0.3s ease;
}

.home .home-content .text-2{
    font-size: 50px;
    font-weight: 600;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    transition: all 0.3s ease;
}

.home .home-content .text-3{
    font-size: 30px;
    margin: 5px 0;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    transition: all 0.3s ease;
}

.home .home-content .text-3 span{
    color: crimson;
    font-weight: 600;
}

.home .home-content a{
    display: inline-block;
    background-color: crimson;
    color: white;
    font-size: 25px;
    padding: 10px 20px;
    font-weight: 600;
    margin-top: 15px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
    opacity: 0; 
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home .home-content a:hover{
    background-color: whitesmoke;
    color: crimson;
    box-shadow: 0 0 20px #0ef;
}

.home .home-content .social-media a{
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 10px 10px 10px 0;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: calc(0.2s*var(--i));
}

.home .home-content .social-media a:hover{
    background-color: #0ef;
    color: #1f242d;
    box-shadow: 0 0 20px #0ef;
}


/* About section styling */
section{
    padding: 50px 0;
}

.about .title{
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 60px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.about .title:hover{
    font-size: 35px;
    font-weight: 1000;
    text-shadow: 0 0 10px crimson;
}

.about .line{
    border: none;
    /* border-top-style: dotted; */
    border-top-style: solid;
    /* border-width: 0.35rem; */
    color: black;
    width: 10%;
    margin: 0 auto;
    margin-top: -70px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}


.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{
    width: 300px;
    height: 325px;
    /* box-sizing: cover; */
    object-fit: cover;
    border: 5px solid black;
    border-radius: 20%;
    transition: all 0.3s ease;
}

.about .about-content .left img:hover{
    transform: scale(1.05);
}

.about .about-content .right{
    width: 55%;
}

.about .about-content .right .text{
    font-size: 25px;
    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{
    display: inline-block;
    background-color: crimson;
    color: white;
    font-size: 12px;
    padding: 7px 20px;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.about .about-content .right a:hover{
    background-color: whitesmoke;
    color: crimson;
    box-shadow: 0 0 20px crimson;
}

/* skill section styling */
.skill{
    background-color: black;
}

.skill .title{
    color: white;
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 60px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.skill .title:hover{
    font-size: 35px;
    font-weight: 1000;
    text-shadow: 0 0 10px crimson;
}

.skill .line{
    border: none;
    /* border-top-style: dotted; */
    border-top-style: solid;
    /* border-width: 0.35rem; */
    color: white;
    width: 10%;
    margin: 0 auto;
    margin-top: -70px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.skill .skill-content{
    display: grid;
    /* grid-gap: 20px; */
    grid-column-gap: 30px;
    grid-row-gap: 20px;
    grid-template-columns: auto auto;
}

.skill .skill-content .box{
    color: white;
    background-color: #1f242d;
    border: 2px solid crimson;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    opacity:0;
}

.skill .skill-content .box.left{
    transform: translateX(-100px);
}
.skill .skill-content .box.right{
    transform: translateX(100px);
}

.skill .skill-content .box.box-appear{
    opacity: 1;
    transform: translateX(0);
    transition: all 1s ease;
}

.skill .skill-content .box:hover{
    background-color: crimson;
    transform: scale(1.05);
}

.skill .skill-content .box .box-logo{
    font-size: 40px;
    padding-top: 15px;
    color: crimson;
    transition: all 0.3s ease;
}

.skill .skill-content .box:hover .box-logo{
    color: #1f242d;
}

.skill .skill-content .box .box-title{
    font-size: 25px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
    color: #0ef;
    transition: all 0.3s ease;
    /* height: 100px; */
}

.skill .skill-content .box:hover .box-title{
    color: white;
}

.skill .skill-content .box .box-text{
    padding: 0 10px 20px 10px;
    transition: all 0.3s ease;
}

.skill .skill-content .box:hover .box-text strong{
    color: #1f242d;
}

/* Progress section styling */

.progress .title{
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 60px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.progress .title:hover{
    font-size: 35px;
    font-weight: 1000;
    text-shadow: 0 0 10px crimson;
}

.progress .line{
    border: none;
    /* border-top-style: dotted; */
    border-top-style: solid;
    /* border-width: 0.35rem; */
    color: black;
    width: 12%;
    margin: 0 auto;
    margin-top: -70px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.progress .progress-content{
    background-color: #1f242d;
    color: white;
    border: solid crimson 3px;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 20px;
    transition: all 0.3s ease;

}

.progress .progress-content .progress-title{
    font-size: 15px;
    padding-bottom: 3px;
    text-align: center;
    /* padding-right: 10px; */
    transition: all 0.3s ease;
}

.progress .progress-content .progress-box{
    padding: 12px 20px;
    /* display: flex; */
    transition: all 0.3s ease;
}

.progress .progress-content .progress-full{
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 5px white;
    transition: all 0.3s ease;
}

.progress .progress-content .progress-text{
    color: black;
    background: transparent;
    z-index: 100;
    position: absolute;
    right: 48%;
    display: none;
    transition: all 0.3s ease;
}

.progress .progress-content .progress-bar{
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    /* text-align: center;
    color: black; */
    /* animation: bar 1s ease-in forwards; */
    width: 0;
    transition: all 1s ease;
}

.progress .progress-content .progress-bar.animate{
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    width: calc(1%*var(--j));
    transition: all 2s ease;
}

.progress .progress-content:hover{
    transform: scale(1.05);
}

.progress .progress-content .progress-box:hover{
    /* border: solid crimson 2px; */
    background-color: #0ef;
    box-shadow: 0 0 5px #0ef;
    border-radius: 10px;
}

.progress .progress-content .progress-box:hover .progress-text{
    display: block;
}

.progress .progress-content .progress-box:hover .progress-title{
    font-size: 18px;
    color: #1f242d;
    font-weight: 800;
}

.progress .progress-content .progress-box:hover .progress-full{
    transform: scale(1.05);
    box-shadow: 0 0 5px black;
}


/* achievement section styling */
.achievement{
    background-color: black;
}

.achievement .title{
    color: white;
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 60px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.achievement .title:hover{
    font-size: 35px;
    font-weight: 1000;
    text-shadow: 0 0 10px crimson;
}

.achievement .line{
    border: none;
    /* border-top-style: dotted; */
    border-top-style: solid;
    /* border-width: 0.35rem; */
    color: white;
    width: 20%;
    margin: 0 auto;
    margin-top: -70px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.achievement .achievement-content{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto;
}

.achievement .achievement-content .box{
    color: white;
    background-color: #1f242d;
    border: 2px solid crimson;
    border-radius: 6px;
    text-align: center;
    margin: 0 15vw 0 15vw;
    transition: all 0.3s ease;
}

.achievement .achievement-content .box:hover{
    background-color: crimson;
    transform: scale(1.05);
}

/* .achievement .achievement-content .box .box-logo{
    font-size: 40px;
    padding-top: 15px;
    color: crimson;
    transition: all 0.3s ease;
} */

.achievement .achievement-content .box:hover .box-logo{
    color: #1f242d;
}

.achievement .achievement-content .box .box-title{
    font-size: 25px;
    font-weight: 600;
    padding-top: 25px;
    padding-bottom: 20px;
    color: crimson;
    transition: all 0.3s ease;
    /* height: 100px; */
}

.achievement .achievement-content .box:hover .box-title{
    color: white;
}

.achievement .achievement-content .box .box-text{
    padding: 0 10px 20px 10px;
}

/* footer section styling */

footer{
    background-color: #0ef;
    color: #111;
    padding: 20px 25px;
    text-align: center;
    font-weight: 600;
    border-top: solid crimson 2px;
}

footer .name{
    color: crimson;
}

/* responsive media query start */
@media (max-width: 900px) {
    .max-width{
        padding: 0 50px;
    }

    .navbar .menu-btn{
        display: block;
        z-index: 999;
    }

    .navbar .menu-btn i.active:before{
        content: "\292B";
        /* background-color: white; */
    }

    .navbar .menu{
        height: 100vh;
        width: 100%;
        position: fixed;
        left: -100%;
        top: 0;
        background-color: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
        opacity: 99%;
    }

    .navbar .menu.active{
        left: 0;
    }

    .navbar .menu li{
        display: block;
    }

    .navbar .menu li a{
        font-weight: 600;
        display: inline-block;
        margin: 20px 0;
        font-size: 20px;
    }

    .home .home-content .text-2{
        font-size: 40px;
        font-weight: 600;
        margin: -3px 0;
    }
    
    .home .home-content .text-3{
        font-size: 27px;
        margin: 5px 0;
    }

    .home .home-content a{
        font-size: 20px;
        padding: 5px 15px;
    }

    .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%;
    }

    .about .about-content .right{
        text-align: center;
    }

    .about .about-content .left img{
        width: 200px;
        height: 225px;
    }
  
}

@media (max-width: 775px) {
    .skill .skill-content{
        grid-template-columns: auto;
    }

    /* .achievement .achievement-content{
        grid-template-columns: auto;
    }   */


}

@media (max-width: 650px) {
    .max-width{
        padding: 0 23px;
    }

    .home .home-content .text-1{
        font-size: 23px;
    }
    
    .home .home-content .text-2{
        font-size: 35px;
        font-weight: 600;
        margin: -3px 0;
    }
    
    .home .home-content .text-3{
        font-size: 23px;
        margin: 5px 0;
    }

    .home .home-content a{
        font: 18px;
        padding: 3px 12px;
    }

    .skill .skill-content{
        grid-template-columns: auto;
    }  
}

/* Keyframes animation */
@keyframes slideRight {
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes slideBottom {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes slideLeft {
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
    
}

/* @keyframes bar{
    0%{
        width: 0;
    }
    100%{
        width: calc(1%*var(--j));
    }
} */
