@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap');


html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    position: relative;
    line-height: 1.6;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.padding-td {
    padding: 2rem 0 2rem 0;
}

.padding-lr {
    padding: 0 1rem 0 1rem;
}

.heading {
    font-size: 2.5rem;
    line-height: 1;
}

.p-font-size {
    font-size: 21px;
}

.p-font-size-2 {
    font-size: 27px;
}


#navbar .navbar-div {
    /* position: absolute; */
}

#navbar {
    background-color: #0077B6;
    height: 4rem;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: end;
    align-items: center;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#navbar a img {
    margin: 0rem 1rem 0 2rem;
    background-color: #0077B6;
    width: 2rem;
    display: flex;
    justify-content: center;
    height: 100%;
}

#navbar nav {
    margin: 0rem 7rem 0 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

#navbar nav ul {
    display: flex;
}

#navbar nav ul li {
    margin: 0rem 1rem 0rem 1rem;
    color: white;
    font-size: 18px;
    text-wrap: nowrap;
}

#navbar nav ul .nav-link.active li {
    color: #0077B6;
    transition: color 1s ease;

}

.nav-link {
    z-index: 1;
}

.nav-link.active li {
    color: #0077B6;
    font-weight: bold;
}


#hamburger-menu {
    display: none;
    cursor: pointer;
}



.indicator {
    position: absolute;

    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 0;
}

#about {
    display: flex;
    text-align: center;
}

#about .about-div {
    padding: 2rem 5rem 2rem 5rem;
}

#about .about-div p {
    font-size: 27px;
}

#about .my-name {
    padding: 5rem 0 0 0;

}

#about h1 {
    font-size: 7.5rem;
    margin: 0;
    line-height: 1;
}

#about .links ul {
    display: flex;
    justify-content: center;
}

#about .links ul i {
    font-size: 2.0rem;
    margin: 0 0.5rem 0 0.5rem;
    padding: 0.7rem;
    align-items: center;
    text-align: center;

}

#about .links .resume {
    font-size: 1.8rem;
    margin: 0 0.5rem 0 0.7rem;
    padding: 0.8rem;
}


#about .links ul li {
    background-color: #0077B6;
    padding: 0.4rem 0rem;
    margin: 0.3rem;
    color: white;
    text-align: center;
    align-items: center;
    border-radius: 100px;
}

#about .summary {
    font-size: 27px;
}


#work-experience {
    display: flex;
    text-align: center;
}

#work-experience #work-div {
    padding: 2rem 5rem 2rem 5rem;
}

#work-experience #work-div #info p {
    line-height: 0;
}

#education .ed-list .first-college {
    font-size: 27px;
}

#education .ed-list .college {
    font-size: 27px;
    padding-top: 1.5rem;
}



#work-experience #work-div #info {
    display: flex;
    flex-direction: column;
    text-align: start;
}

#work-experience #work-div #info .cd {
    display: flex;
    justify-content: space-between;
}

#education .content {
    text-align: start;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 2rem 5rem 2rem 5rem;
}

#education #marks-p {
    line-height: 0;
}

#education .content .ed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.content .ed-list div h2 {
    font-size: 2rem;
    padding-top: 1rem;
}

.content .ed-list div p {
    line-height: 1;
}

#skills-s .sk-container {
    text-align: center;
    padding: 2rem 5rem 2rem 5rem;
}

.sk-container .skill-set i {
    padding: 1rem;
    font-size: 4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.sk-container .skill-set i:hover {
    transform: scale(1.2);
}

.sk-container .skill-set p {
    padding: 0;
    /* margin: 0; */
}

#projects .project-div {
    padding: 2rem 5rem 2rem 5rem;
}

#projects .heading {
    text-align: center;
}

#projects .project-list {
    display: flex;
    justify-content: center;
}


#projects .project-list .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease;
    font-family: 'Raleway', sans-serif;
}

.modal .modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    max-width: 80%;
    height: auto;
    position: relative;
    top: -100px;
    border-radius: 10px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s forwards;
    opacity: 0;
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;

    }
}

@keyframes slideUp {
    from {
        top: 100px;
        opacity: 1;
    }

    to {
        top: -100px;
        opacity: 0;
    }
}


.modal .container {
    display: flex;
    justify-content: center;
}

.modal .container img {
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    align-items: center;
}

.modal h2 {
    font-size: 3.5rem;
    text-align: center;
    margin: 0 0 1rem 0;
}

.modal .container .note {
    filter: drop-shadow(10px 10px 20px (0, 0, 0, 0.6));
}


.modal .container button {
    padding: 1rem 3rem;
    margin: 0.5rem;
    background-color: white;
    color: #0077B6;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    outline: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
}

.modal .container button:hover {
    color: white;
    background-color: #0077B6;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);

}

#projects .project-list .project-box {
    /* border: 1px solid rgb(200, 200, 200); */
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    cursor: pointer;
}

#projects .project-list .project-box img {
    max-width: 100%;
    border-radius: 10px 10px 10px 10px;
    height: auto;
}

#projects .project-list .project-box p {
    font-size: 19px;
    padding: 0 1rem 0 1rem;
}

#projects #project-list .add {
    width: 15rem;
    height: 15rem;
}


#projects .more {
    position: relative;
    /* border: 1px solid rgb(200, 200, 200); */
    border-radius: 10px;
    margin: 0.5rem;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 50rem;
    height: 5rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#projects .more:hover {
    transform: scale(1.02);
    background-color: #0077B6;
}

#projects .more i {
    font-size: 3rem;
}

#projects .more:hover i {
    opacity: 0;
}

#projects .more::after {
    content: "For More projects, Click here";
    font-size: 1.2rem;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#projects .more:hover::after {
    opacity: 1;
}


.card {
    position: relative;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 46, 46, 0.5);
    transition: left 0.5s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card:hover .overlay {
    left: 0;
}

.contents {
    position: relative;
    padding: 20px;
    z-index: 1;
}


#contact .contact-div {
    padding: 2rem 5rem 2rem 5rem;
}


#contact .contact-div .heading {
    text-align: center;
}

#contact .contact-div .qoute-line {
    text-align: center;
    line-height: 0;
}


#contact .contact-div .main-part {
    display: flex;
    justify-content: center;
}

#contact .contact-div .form input,
textarea {
    width: 100%;
    height: 3rem;
}

#contact .contact-div .form .f-name {
    padding: 0 1rem 0 0rem;
}

.form label {
    font-size: 21px;
}

.form input,
textarea {
    margin: 5px 0 15px 0;
    font-size: 21px;
    font-family: 'Raleway', sans-serif;
    border: 1px solid gray;
    border-radius: 4px;
}


.form .submit button {
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 50%;
    height: 4rem;
    margin-top: 15px;
    font-size: 21px;

    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    color: #0077B6;
    background-color: white;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;



}

/* .pip {
    transition: transform 0.2s ease;
}

.pip:hover {
    transform: scale(1.04);
} */


.form .submit button:hover {
    background-color: #0077B6;
    color: white;
    background-color: #0077B6;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
}

/* .pop {
    transition: transform 0.3s ease;
}

.pop:hover {
    transform: scale(1.1);
} */

.back-to-top {
    font-family: 'Raleway', sans-serif;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 4rem;
    height: 4rem;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #0077B6;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 100px;
    border: 5px solid white;
}

.back-to-top .arrow-up {
    font-size: 1.5rem;
}

#footer .footer-div {
    background-color: #0077B6;
    padding: 0;
    margin: 0;
    height: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-div p {
    margin: 0;
    color: white;
}

#footer {
    padding: 2rem 0 0rem 0;
}


@media (max-width:799px) {


    #navbar .navbar-div {
        display: flex;
        float: right;
        padding-left: 38rem;
    }

    #navbar nav {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #navbar nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: #0077B6;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 10;
    }

    .indicator {
        display: none;
    }

    #navbar nav ul li {
        padding: 10px;
        color: white;
        font-size: 18px;
        list-style: none;
    }

    #navbar nav ul.active {
        transform: translateX(0);
    }

    #navbar nav ul .nav-link.active li {

        color: #fff;
        transition: color 1s ease;
    }

    .nav-link.active li {
        color: #ffffff;
        font-weight: bold;
    }


    #hamburger-menu {
        display: block;
        margin-right: 2rem;
    }

    #hamburger-menu div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }

    #about .summary {
        font-size: 24px;
        padding: 0 4rem 0 4rem;
    }

    .content .ed-list div p {
        font-size: 20px;
        line-height: 2;
    }


    #education .ed-list .first-college {
        font-size: 24px;
    }

    #education .ed-list .college {
        font-size: 24px;
    }

    #education #marks-p {
        font-size: 20px;

    }


    #projects .project-list {
        display: flex;
        flex-direction: column;
    }

    #projects .project-list-2 {
        display: flex;
        flex-direction: column;
    }

    #projects .project-list-3 {
        display: flex;
        flex-direction: column;
    }

    #projects .project-list-2 .project-box {
        border-radius: 10px;
        width: 100%;
        height: 100%;
        margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    }

    #projects .project-list-3 .project-box {
        border-radius: 10px;
        width: 100%;
        height: 100%;
        margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    }

    #projects .project-list .project-box {
        border-radius: 10px;
        width: 100%;
        height: 100%;
        margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    }


    #projects .project-list .project-box p {
        font-size: 32px;
        padding: 0 1rem 0 1rem;
        text-align: center;
    }

    #projects .project-list-2 .project-box p {
        font-size: 32px;
        padding: 0 1rem 0 1rem;
        text-align: center;
    }

    #projects .more i {
        font-size: 2rem;
    }

    #projects .more a {
        margin: 2rem;
    }


    #projects .more {
        width: 100%;
    }

    #projects .more::after {
        font-size: 1rem;
    }
}

/* @media (max-width:375px) {


    

    #about {
        display: flex;
        text-align: center;
    }

    #about .about-div {
        padding: 2rem 3rem;
    }

    #about h1 {
        font-size: 4.5rem;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    #about .summary {
        font-size: 20px;
        padding: 0;
    }

    #work-experience {
        
        display: flex;
        text-align: center;
    }

    #work-experience #work-div #info {
        text-align: center;
    }

    #work-experience #work-div {
        margin: 5rem;
        display: flex;
        padding: 2rem 3rem;
        text-align: center;
    }

    #navbar nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: #0077B6;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 10;
    }

    #navbar .navbar-div {
        display: flex;
        float: right;
        padding-left: 23rem;
    }

    #education{
        display: flex;
        text-align: center;
    }

    #ed-container{
        padding: 2rem 3rem;
        text-align: center;
    }

     #about h1 {
        font-size: 4.5rem;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    #about .about-div p {
        font-size: 24px;
    }

    #about .summary {
        font-size: 20px;
        padding: 0 3rem 0 3rem;
    }

    #work-experience #work-div #info p {
        line-height: 2;
    }

    #education .content .ed-list .ed p {
        line-height: 2;
    }

    #education .content .ed-list .college p {
        line-height: 2;
    }

    #navbar {
        background-color: #0077B6;
        height: 4rem;
        display: flex;
        position: fixed;
        top: 0;
        width: 100%;
        justify-content: space-between;
        align-items: center; 
        z-index: 10;
        padding: 0 1rem; 
        text-align: center;
    }
    
    #navbar .navbar-div {
        display: flex;
        justify-content: flex-end; 
        width: 100%; 
        padding-left: 0; 
        padding-right: 1rem; 
    }

    #hamburger-menu {
        display: block;
        margin-right: 2rem;
    }

    #hamburger-menu div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }

    .modal .container {
        display: block;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    .modal .container img {
        max-width: 100%;
        height: auto;
        margin: 0;
        border-radius: 10px;
        overflow: hidden;
    }

    .modal .container .note {
        display: block;
        font-size: 5rem;
        text-align: center;
    }

    #projects .more{
        width: 100%;
    }

    #projects .more::after{
        font-size: 1rem;
    }

    #footer .footer-div p {
        margin: 0;
        text-align: center;
        color: white;
    } 

    .back-to-top {
        bottom: 66px;
    }

} */


@media (max-width:480px){
    #about {
        width: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 2rem 5rem;
    }

    #about .about-div{
        padding: 0;
    }

    #about h2{
        font-size: 7rem;
    }

    #work-experience{
        width: 200%;
    }

    #work-experience #work-div {
        padding: 2rem;
    }

    #education{
        width: 200%;
    }

    #skills-s{
        width: 200%;
    }

    #projects{
        width: 200%;
    }

    #contact{
        width: 200%;
    }

    #footer{
        width: 200%;
    }

    #navbar nav ul.active {
        height: 100%;
    }

    .modal .container {
        flex-direction: column;
    }

    .modal .container img {
        max-width: 90%;
        margin: 0;
    }

    .modal .container .text{
        font-size: 1.8rem;
    }

    .modal .container a button {
        font-size: 1.8rem;
    }

    .modal .container span button{
        font-size: 1.8rem;
    }
}
