@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inder&family=Poppins:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: rgb(26, 26, 122);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    padding: 0 50px;
}

nav ul {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

nav .menu-btn {
    display: none;
}

nav .logo {
    color: rgb(221, 224, 229);
}

nav h1 span {
    color: rgb(63, 63, 197);
}

nav ul li {
    list-style: none;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
}

nav ul li a {
    position: relative;
    padding: 5px 18px;
    text-decoration: none;
    color: white;
    transition: all .4s ease;
}

nav ul li :hover {
    color: blueviolet;
    font-weight: 500;
}

nav ul li ::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: blueviolet;
    transition: width .3s ease;
}

nav ul li :hover::after {
    width: 100%;
}

.home-section .hero-section {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(to top left, rgb(108, 108, 141), #0e0671);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: white;
    padding: 0 177px;
}

.hero-section .intro-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-section .intro-section h1 span {
    color: rgb(63, 63, 197);
    font-weight: 600;
}

.hero-section .intro-section p {
    width: 53%;
    font-size: 20px;
    opacity: 0.7;
}

.hero-section .intro-section .btn-section button {
    background-color: rgb(224, 224, 44);
    outline: none;
    padding: 13px 10px;
    border-radius: 8px;
    margin-right: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.hero-section .intro-section .btn-section button a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 18px;
}

.hero-section .intro-section .btn-section button:hover {
    background-color: rgb(255, 255, 0);
    transform: scale(1.1);
}

.photo-section img {
    height: 80vh;
}

.about-section {
    background-color: #0f086ddc;
    min-height: 100vh;
    width: 100%;
    display: flex;
    color: white;
}

.about-section .about-me {
    display: flex;
    flex-direction: column;
    padding-top: 140px;
    padding-left: 80px;
}


.about-section .about-me h1 {
    font-size: 4em;
    margin: 20px 0;
}

.about-section .about-me p {
    font-size: 23px;
    opacity: 0.8;
    width: 67%;
}

.about-section .about-me .social-media-links {
    margin-top: 30px;

}

.about-section .about-me .social-media-links span svg {
    cursor: pointer;
    margin: 0 5px;
    border: none;
    border-radius: 115px;
    outline: none;
}

.skills-section {
    background-color: #0f086ddc;
    min-height: 100vh;
    width: 100%;
    padding-top: 100px;
}

.skills-section .skills-info {
    display: grid;
    grid-template-columns: 400px 400px;
    justify-content: space-evenly;
    align-items: center;
    margin: 100px 0px;
}

.skills-section h1 {
    font-size: 3.1rem;
    text-align: center;
    color: white;
}

.skills-section h1 span {
    color: rgb(63, 63, 197);
}

.skills-section .skills-info .skils-input {
    display: flex;
    flex-direction: column;
    color: white;
}

.skills-section .skills-info .skils-input .label-info {
    display: flex;
    justify-content: space-between;
    font-size: 21px;
    font-weight: 600;
}

.projects-section {
    background-color: #0f086ddc;
    min-height: 100vh;
    width: 100%;
    padding-top: 60px;
}

.projects-section h1 {
    font-size: 3.1rem;
    text-align: center;
    color: white;
}

.projects-section h1+div {
    display: grid;
    grid-template-columns: 400px 400px 400px;
    gap: 40px;
    padding: 50px 60px;
}

.projects-section .project-intro {
    background-color: rgb(253, 254, 255);
    color: white;
    outline: none;
    border-radius: 12px;
    transition: all .3s ease;
}

.projects-section .project-intro .project-img {
    background-color: rgb(58, 84, 170);
    padding: 0px 0px 7px 40px;
    border-radius: 12px;
    outline: none;
}

.projects-section .project-intro a {
    text-align: center;
}

.projects-section .project-intro a img {
    border-radius: 12px;
    height: 190px;
    width: 310px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.projects-section .project-intro h3 {
    padding: 11px 18px;
    margin-bottom: 5px;
    font-weight: 900;
    font-size: 23px;
    color: rgb(63, 63, 197);
}

.projects-section .project-intro .project-para {
    font-size: 20px;
    margin-bottom: 20px;
    padding: 0 20px;
    color: rgb(103, 100, 100);
}

.contact-section {
    background-color: #0f086ddc;
    height: 100vh;
    width: 100%;
}

.contact-section h1 {
    font-size: 3.1rem;
    text-align: center;
    color: white;
    padding-top: 54px;
}

.contact-section h1 span {
    color: rgb(63, 63, 197);
}

.contact-section h1+div {
    display: grid;
    grid-template-columns: 300px 200px 500px;
    padding: 60px;
    justify-content: center;
    align-items: center;
}

.contact-section .vertical-bar {
    transform: rotate(360deg);
    height: 440px;
    width: 3px;
    background-color: #161161;
    margin-left: 50px;
    opacity: 0.9;
}

.contact-section .social-icons {
    color: white;
    margin-top: -150px;
    margin-left: -43px;
}

.contact-section .social-icons .phone-svg {
    padding: 20px 10px;
    display: flex;
    gap: 20px;
}

.contact-section .social-icons .mail-svg {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
}

.contact-section .social-icons .mail-line {
    display: flex;
    flex-direction: column;
}

.contact-section .social-icons .linkedin-svg {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
}

.contact-section .social-icons .linkedin-line {
    display: flex;
    flex-direction: column;
}

.contact-section .social-icons .linkedin-line a {
    text-decoration: none;
}

.contact-section .social-icons p a {
    color: white;
}

.contact-section .social-icons .linkedin-line a:hover {
    text-decoration: underline;
}

.contact-section .social-icons .github-svg {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
}

.contact-section .social-icons .github-line {
    display: flex;
    flex-direction: column;
}

.contact-section .social-icons .github-line a {
    text-decoration: none;
}

.contact-section .social-icons .github-line a:hover {
    text-decoration: underline;
}

.contact-section .social-icons h2 {
    margin-bottom: 5px;
}

.contact-section .social-icons p {
    opacity: 0.7;
    color: white;
}

.contact-form .contact-form-input {
    display: flex;
    flex-direction: column;
    margin-bottom: 27px;
}

.contact-form .contact-form-input label {
    color: white;
    font-size: 18px;
    margin-bottom: 3px;
}

.contact-form .contact-form-input input {
    padding: 7px 10px;
    outline: none;
    border: none;
    border-radius: 4px;
}

.contact-form .form-btn {
    background-color: rgb(224, 224, 44);
    outline: none;
    padding: 11px 18px;
    border-radius: 8px;
    margin-right: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.3s ease-in-out;
}

.contact-form .form-btn:hover {
    background-color: rgb(255, 255, 0);
    transform: scale(1.1);
    opacity: 0.9;
}

footer {
    background-color: rgb(69, 69, 69);
    height: 25vh;
    width: 100%;
    text-align: center;
}

footer>div {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 17px;
}

footer>div a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
}

footer>div p {
    color: white;
    opacity: 0.8;
}

footer>div h1 {
    color: white;
}

footer>div h1 span {
    color: #0f086ddc;
}

@media screen and (max-width:500px) {
    header {
        width: 100%;
    }

    nav .menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        margin-top: 455px;
        padding: 30px;
        height: 49vh;
        width: 60%;
        position: absolute;
        right: 0;
        background-color: #211a83;
    }

    nav ul li {
        width: 100%;
        margin: 40px 0;
    }

    nav ul .active {
        display: block;
    }

    .home-section .hero-section {
        flex-direction: column;
        padding: 0;
        padding-bottom: 20px;
    }

    .home-section .hero-section img {
        height: 65vh;
    }

    .hero-section .intro-section {
        margin-top: 85px;
        margin-left: 20px;
    }

    .hero-section .intro-section p {
        width: 90%;
    }

    .about-section img {
        display: none;
    }

    .about-section {
        flex-direction: column;
    }

    .about-section .about-me {
        padding: 0px;
        margin-top: 100px;
        align-items: center;
    }

    .about-section .about-me p {
        width: 100%;
        padding: 0 20px;
    }

    .skills-section .skills-info {
        display: block;

    }

    .skills-section .skills-info .skils-input {
        padding: 57px 17px 0px 17px;
    }

    .projects-section h1+div {
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
    }

    .projects-section .project-intro .project-img {
        padding: 0;
    }

    .projects-section .project-intro a img {
        border-radius: 12px;
        height: 170px;
        width: 94%;
        margin-left: 8px;
    }

    .contact-section {
        min-height: 128vh;
    }

    .contact-section h1+div {
        display: block;
        margin: 0;
        margin-top: 120px;
    }

    .contact-section .contact-form {
        margin-top: 30px;
    }

    .contact-section .vertical-bar {
        display: none;
    }
}

@media (max-width:370px) {
   nav ul {
        display: none;
        padding: 30px;
        height: 62vh;
        width: 60%;
        position: absolute;
        right: 0;
        background-color: #211a83;
    }
    nav h1{
        margin-left: -40px;
        margin-right: 159px;
    }
    .skills-section .skills-info .skils-input {
        padding: 0 5px;
        margin: 40px 0;
    }

    .projects-section .project-intro {
        height: 78vh;
        width: 48vh;
    }

    .contact-section h1+div {
        height: 100vh;
        padding: 0 40px;
        margin-top: 50px;
    }

    .contact-section .contact-form {
        margin-top: 20px;
    }

    .contact-section .social-icons {
        margin: -2px;
    }
    .contact-section {
        min-height: 160vh;
    }
}