@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Signika:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* to scroll to the specific page section */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 8vmax;
}

body {
    /* background: linear-gradient(to left, rgba(155, 36, 234, 0.714), rgb(98, 215, 160), rgb(6, 57, 244)); */
    background: linear-gradient(to left, #273575, #7827a7, #7704d6);
    /* background: linear-gradient(to left, #3a1c71, #d76d77, #ffaf7b); */
    /* background: linear-gradient(to left, #000428, #004e92); */
    /* background: linear-gradient(to left, #fc00ff, #00dbde); */
}




h1 {
    font-size: 3vmax;
    color: #ffffff;
}

h2 {
    font-size: 1.6vmax;
    color: white;
}

h3 {
    font-size: 1.4vmax;
    color: white;
}

h4 {
    font-size: 1.2vmax;
    color: white;
}

p {
    font-size: 1.23vmax;
    color: white;
}

nav {
    height: 5.2vmax;
    width: 100%;
    /* background-color: #1a1f3d; */
    background: linear-gradient(to right, #344dba, #764ba2);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    position: fixed;
    top: 0;
    z-index: 20;
}


nav .nav-links ul {
    width: 55vw;
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    font-size: 1.5vmax;
    margin-bottom: 5px;
}

nav .nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s, transform 0.3s;
}

nav .nav-links a:hover {
    color: #80ffea;
}

nav .nav-links li:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

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


nav>a {
    margin-left: 4vmax;
}

nav #logo-img {
    width: 6vmax;
}


nav #logo-img:hover {
    animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* Header.. */

header {
    margin-top: 5.2vmax;
}

.profile {
    height: auto;
    /* background-color: aqua; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    padding: 3vmax 0 2vmax 0;
    gap: 2.3vmax;
    margin-bottom: 2vmax;

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease-out forwards;
}

/* to make profile appear gently */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile img {
    width: 15vmax;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid rgb(16, 40, 135);
    box-shadow: 0 0 20px rgba(16, 40, 135, 0.4);
    transition: transform 0.3s ease;
}

.profile img:hover {
    transform: scale(1.09);
}

.profile p {
    font-size: 1.6vmax;
    font-weight: 450;
    width: 60%;
}

.profile button {
    border-radius: 60px;
    background-color: white;
    font-size: 1.3vmax;
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 0.8vmax 1.4vmax 0.8vmax 1.4vmax;
    transition-duration: 0.4s;
    position: relative;
    margin-top: 1.4vmax;
}

.profile button:hover {
    transform: scale(1.03);
    border: 1px solid rgb(25, 25, 195);
    background-color: #3f5efb;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#typewriter-profile {
    font-family: monospace;
    /* white-space: nowrap; */
    overflow: hidden;
    /* border-right: 2px solid #fff; */
}

/* education */
.education {
    text-align: center;
    height: auto;
    /* background-color: rgb(135, 245, 62); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 1vmax 0 2vmax 0;
    margin-bottom: 3vmax;
    gap: 1vmax;
}

/* education card styling */

.education .edu {
    height: auto;
    width: 50%;
    /* background-color: rgb(11, 166, 255); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 1vmax 0 1vmax 0;
}

.education .edu:hover {
    transform: scale(1.02);
}

.edu .edu-top {
    height: auto;
    width: 98%;
    /* background-color: rgb(8, 173, 118); */
    /* background-color: rgba(255, 255, 255, 0.36); */
    background-color: rgba(255, 255, 255, 0.36);

    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.7vmax 1.5vmax 0.8vmax 1.5vmax;
    border-radius: 10px 10px 0 0;
}

.edu-top .vertical-line {
    height: 5vmax;
    width: 0.6px;
    background-color: rgb(143, 37, 218);
}

.edu-logo {
    margin-right: 4vmax;
}

.edu-logo img {
    width: 6vmax;
    transition-duration: 0.3s;
}

.edu-logo img:hover {
    transform: scale(1.05);
}

.edu .edu-bottom {
    height: auto;
    width: 98%;
    /* background-color: aquamarine; */
    background-color: rgba(255, 255, 255, 0.16);
    text-align: left;
    padding: 0.6vmax 1.5vmax 1vmax 1.2vmax;
    border-radius: 0 0 10px 10px;
}


/* skills */

.skills {
    height: auto;
    /* background-color: rgb(144, 85, 85); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    padding: 1vmax 0 3vmax 0;
    gap: 2vmax;
    margin-bottom: 3vmax;
}

.skills .skills-container {
    height: auto;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.19);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2vmax;
    padding: 1vmax 5vmax 1vmax 5vmax;
    /* margin: 1vmax 0 2vmax 0; */
    border-radius: 10px;
}

.skills .skills-container:hover {
    transform: scale(1.07);
}

.skills .skills-container .items {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vmax;
}

.items a {
    flex: 0 0 calc(20% - 1.5rem);
    /* 5 items per row */
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.items a img {
    width: 6vmax;
    filter: grayscale(50%) brightness(0.9);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.items a:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.17) rotate(5deg);
}


/* certifications */

.certifications {
    height: auto;
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 2vmax;
    margin-bottom: 4vmax;
}

.certificate {
    height: auto;
    width: 65%;
    /* background-color: rgb(50, 205, 174); */
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: start;
    border-radius: 10px;
    /* transition: transform 0.3s ease; */
    padding: 1.5vmax 1.5vmax 1.5vmax 1.2vmax;
    gap: 0.5vmax;
    transition-duration: 0.5s;
}

.certificate:hover {
    transform: scale(1.05);
}

.certificate .cert-pic {
    /* background-color: aqua; */
    height: auto;
    width: 40%;
}

.cert-pic img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cert-pic img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.certificate .cert-detail {
    width: 60%;
    /* background-color: rgba(209, 224, 206, 0.424); */
    background-color: #344dba97;

    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    padding: 1vmax;
}

.cert-detail .sub-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2vmax;
    margin-bottom: 0.3vmax;
}

.cert-detail .vertical-line {
    height: 8vmax;
    width: 0.6px;
    background-color: rgb(119, 172, 222);
}

.cert-detail .cert-logo {
    /* background-color: yellow; */
    height: auto;
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 1vmax;
}

.cert-logo img {
    width: 5vmax;
    border-radius: 5px;
    transition-duration: 0.5s;
}

.cert-logo img:hover {
    transform: scale(1.07);
}

.sub-detail button {
    padding: 0.5vmax 0.9vmax 0.5vmax 0.9vmax;
    border-radius: 25px;
    font-size: 1vmax;
    border: none;
    background-color: white;
    margin-top: 5vmax;
    cursor: pointer;
    transition-duration: 0.3s;
}

.sub-detail button:hover {
    transform: scale(1.03);
    border: 1px solid rgb(25, 25, 195);
    background-color: #3f5efb;
    color: white;
}



/* project.. */
.projects {
    /* text-align: center; */
    height: auto;
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 3vmax;
    margin-bottom: 4vmax;

}


/* project card styling*/

.projects .proj {
    height: auto;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
    padding: 1.5vmax 1.5vmax 1.5vmax 1.2vmax;
    gap: 0.5vmax;
}

.projects .proj:hover {
    transform: scale(1.02);
}


.proj #projPic {
    width: 48%;
    /* background-color: yellow; */
}

.proj #projPic img {
    height: 23vmax;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.proj #projPic img:hover {
    transform: scale(1.15);
    opacity: 1;
}

.proj #projDescription h2{
    text-align: center;
}

.proj #projDescription {
    height: auto;
    width: 55%;
    background-color: rgba(62, 124, 204, 0.67);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 10px;
    gap: 0.2vmax;
    padding: 0.7vmax;
}

.proj-techStack {
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 1.2vmax;
    margin: 1vmax 0 0.8vmax 0;
    /* background-color: yellow; */

}

.proj-techStack .tools {
    /* background-color: red; */
    display: flex;
    flex-wrap: wrap;
    gap: 1vmax;
}

.proj-techStack .git-link {
    /* background-color: aqua; */
}

.git-link i {
    font-size: 2.3rem;
    color: rgb(24, 24, 25);
}

.git-link i:hover {
    transform: scale(1.09);
}

.proj .proj-techStack button {
    border-radius: 60px;
    background-color: white;
    font-size: 1.12vmax;
    font-weight: 400;
    padding: 0.7vmax;
    border: none;
    cursor: pointer;
    transition-duration: 0.2s;
}

.proj .proj-techStack button:hover {
    background-color: #c6d5dc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.projects p {
    margin: 0.3vmax;
}




/* Footer */


footer {
    height: auto;
    margin-top: 10px;
    /* background-color: aqua; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vmax 0 0 0;
    gap: 1.8vmax;
}

footer h2 {
    font-size: 2.5vmax;
}

footer .contact {
    height: auto;
    width: 65%;
    background: linear-gradient(to top, rgba(25, 58, 107, 0.7), transparent);
    /* background-color: rgba(101, 134, 241, 0.939); */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 10px;
    padding: 1vmax 0 1vmax 0;
}


.contact .left {
    width: 48%;
    /* background-color: yellow; */
}

.contact .left img {
    width: 5vmax;
    border-radius: 50%;
    border: 2px solid rgb(16, 40, 135);
    cursor: pointer;
    transition: transform 0.5s;
}

.contact .left img:hover {
    transform: rotate(-5deg) scale(1.2);
}

.contact .right {
    height: auto;
    width: 30%;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8vmax;
}

.contact .social-links {
    height: auto;
    width: 90%;
    /* background-color: rgb(14, 143, 14); */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 0.5vmax 0 0.3vmax 0;
}

.contact .social-links .icon {
    font-size: 2.7vmax;
    transition: 0.3s;
    color: white;
}

.contact .social-links .icon:hover {
    text-shadow: 0 0 8px currentColor;
    transform: scale(1.2);
}

.social-links .fa-linkedin:hover {
    color: rgb(0, 102, 255);
    background-color: white;
}

.social-links .fa-github:hover {
    /* color: rgb(173, 20, 215); */
    color: black;
}

.social-links .fa-whatsapp:hover {
    color: rgb(73, 250, 91);
}

.contact .right .email {
    height: auto;
}

.contact .right .email button {
    height: auto;
    font-size: 1.4vmax;
    text-align: center;
    padding: 0.6vmax;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(to left, #0e84eb, #34ebf4);
    transition-duration: 0.3s;
}

.email button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer .credit {
    /* background-color: blueviolet; */
    color: rgb(104, 103, 103);
    width: 80%;
    text-align: center;
}