@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root {
    --background-color: #000000;
    --second-color: #34aeff;
}

hr {
    margin: auto;
    width: 90%;
    height: 1px;
    background-color: var(--second-color);
    text-align: center;
}

h2 span:hover {
    color: white;
    transition: 2s ease;
}

button a:hover {
    color: #161616;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    animation: 1s ease-in fade-animation;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: auto;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: white;
}
.hobbies-card-1,
.hobbies-card-2,
.hobbies-card-3,
.project-card-1,
.project-card-2,
.project-card-3,
.PDF-card-1,
.PDF-card-2,
.PDF-card-3{
    cursor: pointer;
    background-color: rgb(7, 7, 7);
    border-radius: 10px;
}
h2{
    font-weight: 700;
}
h3{
    font-weight: 550;
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    color: var(--second-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.4rem;
    color: white;
    margin-left: 3rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--second-color);
    border-bottom: 3px solid var(--second-color);
}

/*TODO Nav Media Queries */

@media(max-width:995px) {
    nav {
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid var(--second-color);
        border-bottom: 3px solid var(--background-color);
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: var(--background-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid var(--second-color);
    }
}

.home {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    background-color: var(--background-color);
}
.home-content{
    margin-top: 5vh;
}

.home .home-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 3px;
    /* display: none; */
    animation: 2s ease-in fade-animation;
}

@keyframes fade-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes spin-animation {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    25% {
        transform: scale(1.05) translateY(-5px);
        /* opacity: 0.9; */
    }

    50% {
        transform: scale(1.1) translateY(-10px);
        /* opacity: 0.7; */
    }

    75% {
        transform: scale(1.05) translateY(-5px);
        /* opacity: 0.9; */
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.typing-text span{
    color: var(--second-color);
}

.home-content h3 {
    padding: 5px;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 450;
    animation: 2s ease-in fade-animation;
}

.home-content p {
    padding: 5px;
    font-size: 1.4rem;
    text-align: left;
    animation: 2s ease-in fade-animation;
}

.home-img img {
    position: relative;
    width: 28vw;
    margin-top: 5vh;
    mix-blend-mode: lighten;
    box-shadow: 0 0 25px solid var(--second-color);
    cursor: pointer;
    border: 5px solid var(--second-color);
    border-radius: 100%;
    transition: 0.2s linear;
    animation: spin-animation 10s ease-in-out infinite forwards;
    filter: drop-shadow(5px 5px 30px var(--second-color));

}

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
    transform: scale(1.1);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid var(--second-color);
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: var(--second-color);
    animation: 2s ease-in fade-animation;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: var(--second-color);
    box-shadow: 0 0 25px var(--second-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--background-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--second-color);
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid var(--second-color);
    transition: 0.3s ease;
    cursor: pointer;
    margin-left: 2px;
    animation: 2s ease-in fade-animation;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: var(--second-color);
    color: black;
    box-shadow: 0 0 25px var(--second-color);
}

.typing-text2 {
    font-size: 32px;
    font-weight: 500;
    min-width: 280px;
    animation: 2s ease-in fade-animation;
}

.typing-text2 span {
    position: relative;
    color: var(--second-color);
}

@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width:995px) {
    .home {
        flex-direction: column-reverse;
        margin: 4rem 1rem;
    }

    .home .home-content h3 {
        font-size: 2.2rem;
    }

    .home-content h1 {
        font-size: 3.1rem;
        text-align: left;
    }

    .home-content p {
        padding: 8px 10px;
        font-size: 1.2rem;
        /* text-align: left; */
    }


    .home-img img {
        width: 37vw;
        margin-top: 2rem;
        border: 2px solid var(--second-color);
    }

    .btn {
        margin-left: 5px;
        display: inline-block;
        padding: 1rem 1rem;
        background-color: var(--background-color);
        border-radius: 4rem;
        font-size: 1.5rem;
        color: var(--second-color);
        letter-spacing: 0.3rem;
        font-weight: 600;
        border: 2px solid var(--second-color);
        transition: 0.3s ease;
        cursor: pointer;
        margin-left: 5px;
    }
}

.social-icons a {
    display: inline-flex;
    /* justify-content: center; */
    /* align-items: center; */
    width: 3.6rem;
    height: 3.6rem;
    background-color: transparent;
    border: 0.2rem solid var(--second-color);
    font-size: 2rem;
    border-radius: 50%;
    /* margin: 3rem 1.5rem 5rem 0; */
    transition: 0.3s ease;
    color: var(--second-color);
    margin-left: 4px;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: var(--second-color);
    box-shadow: 0 0 25px var(--second-color);
}

.social-icons {
    margin-left: 0px;
}

@media screen and (max-width:400px) {
    .home-content p {
        margin: 4px 2px;
        /* padding: 4px 5px; */
        font-size: 1.1rem;
    }
.home .home-content h1{
    font-size: 3.2rem;
    margin-left: 2px;
}

    .home-content h1 {
        font-size: 10px;
        margin: 2px 3px;
    }

    .home-content h3 {
        font-size: 13px;
        margin: 3px 3px;
    }

    .social-icons {
        text-align: center;
        margin: 2px 5px;
    }



}


/* TODO Section-2-Hobbies */
#Section-2-Hobbies {
    width: 100%;
    height: 100%;
    padding-top: 50px;
}

.hobbies-container {
    display: flex;
    text-align: center;
    padding: 10px;
    justify-content: center;
    /* flex-wrap: wrap; */
}

#Section-2-Hobbies h2 {
    font-size: 35px;
    text-align: center;
    font-weight: 700;
    padding: 10px 5px;
    margin-top: 1vh;
    color: var(--second-color);
}

#Section-2-Hobbies hr {
    width: 100px;
    height: 2px;
    background-color: var(--second-color);
}

.hobbies-container h3 {
    font-size: 25px;
    padding: 10px;
    font-weight: 400;
    color: var(--second-color);
}

.hobbies-container p {
    padding: 5px 5px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
}

.hobbies-card-1,
.hobbies-card-2,
.hobbies-card-3 {
    width: 380px;
    height: 160px;
    margin: 10px;
    border: 3px solid var(--background-color);
    box-shadow: 3px 5px 6px 2px rgba(128, 128, 128, 0.418);
    transition: opacity 0.6s ease;
}

/* TODO Section-2-Hobbies End */


/* TODO Section-2 Media Qurries */
@media screen and (max-width:800px) {
    .hobbies-container {
        max-width: 90%;
        flex-wrap: wrap;
        margin: auto;
        gap: 10px;
    }

    .hobbies-card-1,
    .hobbies-card-2,
    .hobbies-card-3 {
        height: auto;
        width: 90%;
        border-radius: 5px;
    }

    #Section-2-Hobbies {
        padding-top: 20px;
    }
}

@media screen and (max-width:960px) {

    .hobbies-card-1,
    .hobbies-card-2,
    .hobbies-card-3 {
        height: auto;
    }
}

/* TODO Section-2 Media Qurries End */


/* TODO Section-3-Projects */
#Section-3-Projects {
    width: 100%;
    height: 100%;
    padding-top: 50px;
}

#Section-3-Projects h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    padding: 15px 10px;
    color: var(--second-color);
}

#Section-3-Projects hr {
    width: 100px;
    height: 2px;
    background-color: var(--second-color);
}

.project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-container h3 {
    font-size: 25px;
    padding: 10px;
    font-weight: 400;
    color: var(--second-color);
}

.project-container p {
    padding: 5px 5px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
}

.project-card-1,
.project-card-2,
.project-card-3 {
    width: 380px;
    height: 160px;
    margin: 10px;
    border: 3px solid var(--background-color);
    box-shadow: 3px 5px 6px 2px rgba(128, 128, 128, 0.418);
    transition: opacity 0.6s ease;
}


/* TODO Section-3-PDF End */


/* TODO Section-3-Media Qurries */
@media screen and (max-width:800px) {
    .project-container {
        max-width: 90%;
        flex-wrap: wrap;
        margin: auto;
        gap: 10px;
    }

    .project-card-1,
    .project-card-2,
    .project-card-3 {
        height: 30vh;
        width: 90%;
        border-radius: 10px;
    }

    #Section-3-Projects {
        padding-top: 10px;
    }
}

@media screen and (max-width:950px) {

    .project-card-1,
    .project-card-2,
    .project-card-3 {
        height: auto;
    }
}

/* TODO Section-3-Projects End */


/* TODO Section-4-Pdf */
#Section-4-PDF {
    width: 100%;
    height: 100%;
    padding-top: 50px;
}

#Section-4-PDF h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    padding: 15px 10px;
    color: var(--second-color);
}

#Section-4-PDF hr {
    width: 100px;
    height: 2px;
    background-color: var(--second-color);
}

.PDF-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
}

.PDF-container h3 {
    font-size: 25px;
    padding: 10px;
    font-weight: 400;
    color: var(--second-color);
}

.PDF-container p {
    padding: 5px 7px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
}

.PDF-card-1,
.PDF-card-2,
.PDF-card-3 {
    width: 380px;
    height: 210px;
    margin: 10px;
    border: 3px solid var(--background-color);
    box-shadow: 3px 5px 6px 2px rgba(128, 128, 128, 0.418);
    transition: opacity 0.6s ease;
}
.PDF-card-1,
.PDF-card-2,
.PDF-card-3, button{
    margin: 5px auto;
}

.section-4-btn {
    width: 100%;
    text-align: center;
}

.section-4-btn button {
    /* padding: 11px 33px; */
    /* margin-top: 40px; */
    margin: 30px auto;
    margin-top: 40px;
    border-radius: 10px;
    font-size: 15px;
    background-color: var(--second-color);
    color: white;
}

.section-4-btn button:hover {
    transform: scale(1.1);
    transition: 1s ease;
    color: var(--second-color);
    background-color: var(--background-color);
}

/* TODO Section-4-Pdf Media Qurries */
@media screen and (max-width:800px) {
    .PDF-container {
        max-width: 90%;
        flex-wrap: wrap;
        margin: auto;
    }

    .PDF-card-1,
    .PDF-card-2,
    .PDF-card-3 {
        height: auto;
        width: 90%;
        gap: 10px;
    }

    #Section-4-PDF {
        padding-top: 10px;
    }
}

@media screen and (max-width:1020px) {

    .PDF-card-1,
    .PDF-card-2,
    .PDF-card-3 {
        height: auto;
    }
}



/* TODO Section-4-Pdf Media Qurries END */

/* TODO Section-4-Pdf End */


#Section-5-About {
    width: 100%;
    height: 100vh;
}

button {
    padding: 10px 25px;
    border-radius: 10px;
    background-color: var(--background-color);
    color: var(--second-color);
    border: 2px solid var(--second-color);
    margin-bottom: 5px;
    transition: 1s ease-in-out;
}

button:hover {
    background-color: var(--second-color);
    color: var(--background-color);
    transition: 0.20s ease;
    transform: scale3d(1.03);
    box-shadow: 0 0 25px var(--second-color);

}

a {
    text-decoration: none;
    color: #65ec56;
}

/* TODO Section-5-About */
#Section-5-About {
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 10vh;
}

#Section-5-About h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    padding: 15px 10px;
    color: var(--second-color);
}

#Section-5-About hr {
    width: 100px;
    height: 2px;
    background-color: var(--second-color);
}

#Section-5-About p {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 10%;
}

@media screen and (max-width:500px) {
    #Section-5-About p {
        padding: 7px 30px;
    }

    #Section-5-About a {
        gap: 10px;
        margin: 10px 5px;
    }
}

#Section-6-Contact {
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 20px;
}

#Section-6-Contact h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    padding: 15px 10px;
    color: var(--second-color);
}

#Section-6-Contact hr {
    width: 100px;
    height: 2px;
    background-color: var(--second-color);
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 40vw;
    margin: 10px auto;
    /* margin-left: 24vw; */
    /* margin-top: 20px; */
    border-radius: 50%;
}

input {
    padding: 10px;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 5px;
    color: gray;
    background-color: var(--background-color);
    box-shadow: 3px 5px 6px 2px gray;
}

textarea {
    height: 110px;
    border-radius: 5px;
    padding: 10px;
    color: gray;
    background-color: var(--background-color);
    box-shadow: 3px 5px 6px 2px gray;
}

input:focus {
    border: 2px solid var(--second-color);
    box-shadow: 3px 5px 6px 2px var(--second-color);
}

textarea:focus {
    box-shadow: 3px 5px 6px 2px var(--second-color);
    border: 2px solid var(--second-color);
}

#Section-6-Contact button {
    padding: 10px 30px;
    /* margin: 20px 5px; */
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
}

@media screen and (max-width:750px) {
    form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 70vw;
        margin-left: 13vw;
        margin-top: 20px;
        border-radius: 5px;
    }

    input {
        padding: 10px;
        height: 32px;
        border: none;
        outline: none;
        border-radius: 10px;
        color: gray;
        box-shadow: 3px 5px 6px 2px gray;
    }

    textarea {
        height: 120px;
        border-radius: 5px;
        padding: 10px;
        color: gray;
        box-shadow: 3px 5px 6px 2px gray;

    }

    input:focus {
        box-shadow: 3px 5px 6px 2px var(--second-color);
        border: 2px solid var(--second-color);
    }

    textarea:focus {
        box-shadow: 3px 5px 6px 2px var(--second-color);
        border: 2px solid var(--second-col or);
    }

    #Section-6-Contact button {
        padding: 10px 30px;
        /* margin: 20px 5px; */
        font-size: 10px;
        margin-top: 15px;
        margin-bottom: 20px;
    }


}

.block a {
    width: 100%;
    height: auto;
    font-size: 17px;
    margin-bottom: 20px;
    text-decoration: underline;
    color: var(--second-color);
}

h1 {
    color: var(--second-color);
}

span {
    color: whitesmoke;
}
footer p{
    font-size: 17px;
    margin: 10px;
}