:root {
    /* // Colors // */
    --primary-bg-color: #DFF5FF;
    --text-color: #0037a4;
    --text-secondry-color: #4a84f9;
    --gray-color: #919191;

    /* // Font Sizes // */
    --Heading: 70px;
    --subHeading: 40px;
    --text-size: 18px;

    /* // Tablet screen font size // */
    --heading-m-: 58px;
    --sub-heading-m: 32px;
    --text-m-: 16px;

    /* // Mini tablet/ and Mobile screen font size // */
    --heading-s: 42px;
    --sub-heading-s: 24px;
    --text-s: 14px;
}

/* =====> Globale classes <===== */
* {
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: var(--primary-bg-color);
}

#wrapper {
    margin: 0 auto;
    max-width: 1900px;
    width: 100%;
    color: var(--text-color);
    line-height: 30px;
    font-size: var(--text-size);
}

.heading {
    font-family: "Prata", serif;
    font-optical-sizing: auto;
    color: var(--text-secondry-color);
    font-size: var(--Heading);
    font-weight: 900;
}

.projectListDescription li {
    padding: 5px 0;
}

/* =====> Dashboard <===== */
/* Nvigation bar */

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

nav ul {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 480px;
    gap: 10px;
    list-style-type: none;
    z-index: 999;
    border-radius: 50px;
    transition: 0.3s ease-in-out;
}

nav a {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    color: var(--text-color);
}

/* /// Blure background */
ul.stiky {
    background-color: rgba(0, 90, 225, 0.10);
    -webkit-background-color: rgba(0, 90, 225, 0.10);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
}

/* ////// HOME CONTENT ////// */
#dashboard-container {
    text-align: center;
}

#dashboard-container h1 {
    margin: 140px 0 120px 0;
}

#dashboard-container .sub-heading {
    font-family: "Prata", serif;
    font-optical-sizing: auto;
    color: var(--text-secondry-color);
    font-size: var(--subHeading);
    font-weight: 600;
    margin: 30px 0;
    line-height: 50px;
}

#dashboard-container .dash-content {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.dash-content .content-container {
    width: 40%;
    text-align: left;
}

/* ////// Home-Iamge ////// */
.img-box {
    position: relative;
    height: 400px;
    width: 400px;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
}

.img-box::before {
    content: '';
    position: absolute;
    inset: -10px 140px;
    background: linear-gradient(315deg, #3636ff, #feb326);
    transition: 0.5s;
    animation: animate 4s linear infinite;
}

.img-box:hover::before {
    inset: -20px 0px;
}

.img-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background-color: var(--primary-bg-color);
    border-radius: 50%;
    z-index: 1;
}

.img-content {
    position: absolute;
    inset: 13px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
    overflow: hidden;
}

.img-content img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/* ///////// PROFILE PICTURE ANIMATION //////////// */
@keyframes animate {
    0% {
        transform: rotate(0deg);

    }

    100% {
        transform: rotate(360deg);

    }

}

/* =====> About <===== */
#about-container {
    padding-top: 120px;

}

/* Heading  */
#about-container .about-heading {
    width: 100%;
    text-align: center;
    padding-bottom: 100px;
}

.about-heading p {
    padding: 24px 0;
    color: var(--gray-color);
}

/* /// About content /// */
#about-container .about-content {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.about-content .about-img {
    width: 600px;
    overflow: hidden;
}

.about-content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about-content .about-right-side {
    width: 40%;
}

.about-right-side .about-upper-text {
    display: flex;
    width: 100%;
    padding-bottom: 22px;
    gap: 120px;
}

.about-upper-text h3 {
    font-size: 24px;
}

.about-upper-text p {
    font-size: 18px;
    color: var(--gray-color);
}

.about-lower-text a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    margin-top: 20px;
    padding: 16px 32px;
    border-radius: 10px;
    background-color: var(--text-color);
}

.about-lower-text a i {
    position: relative;
    left: 4px;
    top: 2px;
}

.about-lower-text a:hover {
    background-color: #042d7f;
}

/* =====> Experience <===== */
#experience-container {
    padding: 120px 0;
}

/* // Heading // */
#experience-container .expereince-heading {
    width: 100%;
    text-align: center;
    padding-bottom: 100px;
}

#experience-container .experience-content {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
}

.experience-content .project {
    width: 96%;
    padding: 12px;
    margin: 24px 0;
}

.project img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project .description {
    padding: 0 16px;
    font-size: 18px;
    line-height: 28px;
}

.description h3 {
    font-size: 24px;
    padding: 14px 0;
}

.description a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    padding: 10px 18px;
    background-color: var(--text-color);
    margin: 10px 5px 0 0;
    border-radius: 5px;
}

.description a:hover {
    background-color: #042d7f;
}

.description a i {
    position: relative;
    top: 2px;
}

/* =====> Contact <===== */
/* // Background Animation // */

#contact-container {
    place-content: center;
    height: 400px;
    width: 100%;
    background-image: linear-gradient(45deg, #44ddff, #efcfff);
    background-size: 300%;
    animation: bg-animation 5s infinite alternate;
}

@keyframes bg-animation {
    0% {
        background-position: left;
    }

    100% {
        background-position: right;
    }
}

/* //// Background Animation End  */

#contact-container .contact-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.contact-content .copyright {
    font-size: 14px;
    color: var(--text-secondry-color);
}

.contact-content .elsewhere p,
.contact-content .elsewhere a,
.contact-content .email p,
.contact-content .email a {
    display: block;
}

.contact-content .elsewhere p,
.contact-content .email p {
    font-weight: 600;
}

.contact-content .elsewhere a,
.contact-content .email a {
    font-size: 16px;
    text-decoration: none;
    color: var(--text-color);
    padding: 5px 0;
}

.contact-content .elsewhere a:hover,
.contact-content .email a:hover {
    color: var(--text-secondry-color);
}

/* ////////////////////////////// Media Quereis ////////////////////////// */
/* Medium devices (tablets, small laptops) */
@media (max-width: 1024px) {

    /* =====> Dashboard <===== */
    #dashboard-container h1 {
        margin: 120px 0 100px 0;
        font-size: var(--heading-m-);
    }

    #dashboard-container .sub-heading {
        font-size: var(--sub-heading-m);
        margin: 16px 0;
    }

    /* ////// Home-Iamge ////// */
    .img-box {
        height: 350px;
        width: 350px;
    }

    /* /// Dashboard Content /// */
    .dash-content .content-container {
        width: 45%;
    }

    /* =====> About <===== */
    #about-container {
        padding-top: 100px;

    }

    .about-heading h1 {
        font-size: var(--heading-m-);
    }

    .about-content .about-img {
        width: 520px;
    }

    .about-content img {
        height: 280px;
    }

    .about-right-side .about-upper-text {
        padding-bottom: 24px;
        gap: 80px;
    }

    .about-upper-text h3 {
        font-size: 18px;
    }

    .about-upper-text p {
        font-size: 14px;
    }

    .about-lower-text a {
        font-size: 15px;
        margin-top: 16px;
        padding: 12px 24px;
        border-radius: 10px;
    }

    /* =====> Experience <===== */
    .expereince-heading .heading {
        font-size: var(--heading-m-);
    }

    .project img {
        width: 100%;
        height: 300px;
    }

    .experience-content .project {
        padding: 12px;
        margin: 20px 0;
    }

    .project .description {
        padding: 0;
        font-size: 16px;
    }

    .description a {
        padding: 10px 18px;
        background-color: var(--text-color);
        margin: 10px 5px 0 0;
        border-radius: 5px;
    }

}

/* Small devices (larger phones, small tablets) */
@media (max-width: 768px) {

    /* =====> Dashboard <===== */
    /* // Navigation Font Size // */
    nav a {
        font-size: 14px;
    }

    nav ul {
        width: 460px;
    }

    #dashboard-container h1 {
        font-size: var(--heading-s);
        margin: 110px 0 80px 0;
    }

    #dashboard-container .sub-heading {
        font-size: var(--sub-heading-s);
        line-height: 34px;
        margin: 12px 0;
    }

    .content-container p {
        font-size: var(--text-s);
        line-height: 25px;
    }

    /* ////// Home-Iamge ////// */
    .img-box {
        width: 320px;
        height: 320px;
    }

    .img-box:hover::before {
        inset: -16px 0px;
        /* scaled hover effect */
    }

    .img-content {
        inset: 10px;
        /* was 13px, reduced for balance */
    }

    .img-box::after {
        inset: 2px;
    }

    .img-box::before {
        inset: -8px 120px;
    }

    /* =====> About <===== */

    #about-container .about-heading {
        padding-bottom: 70px;
    }

    .about-heading h1 {
        font-size: var(--heading-s);
    }

    .about-heading p {
        font-size: var(--text-s);
        padding: 12px 0;
    }

    .about-content .about-img {
        width: 450px;
    }

    .about-content img {
        height: 260px;
    }

    .about-right-side .about-upper-text {
        padding-bottom: 20px;
        gap: clamp(60px, 5vw, 90px);
    }

    .about-upper-text h3 {
        font-size: 16px;
    }

    .about-upper-text p {
        font-size: 12px;
    }

    .about-lower-text p {
        font-size: var(--text-s);
        line-height: 25px;
    }

    .about-lower-text a {
        font-size: 14px;
    }

    /* =====> Experience <===== */
    #experience-container {
        padding-top: 100px;
    }

    #experience-container .expereince-heading {
        padding-bottom: 60px;
    }

    .expereince-heading .heading {
        font-size: var(--heading-s);
    }

    .experience-content .project {
        padding: 10px;
        margin: 16px 0;
    }

    .project img {
        width: 100%;
        height: 250px;
    }

    .project h3 {
        font-size: 20px;
        padding: 12px 0;
    }

    .project .description {
        font-size: var(--text-s);
        line-height: 25px;
    }

    /* =====> Contact <===== */
    .contact-content .elsewhere a,
    .contact-content .email a {
        font-size: var(--text-s);
    }

    .contact-content .elsewhere p,
    .contact-content .email p {
        font-size: 16px;
    }

    .contact-content .copyright {
        font-size: 10px;
    }
}

/* Small phones / large phones */
@media (max-width: 576px) {

    /* // Navigation // */
    nav ul {
        width: 90%;
    }

    nav a {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* =====> Dashboard <===== */
    .dash-content {
        flex-direction: column;
        align-items: center;
        row-gap: 40px;
    }

    .dash-content .content-container,
    .dash-content .img-container {
        width: 85%;
    }

    /* // Home Image // */
    .img-container .img-box {
        width: 100%;
        height: 400px;
        border-radius: 50px 50px 0 0;

    }

    .img-content {
        border-radius: 50px 50px 0 0;
        inset: 0;
    }

    .img-box::before {
        background: none;
        animation: none;
    }

    /* ////////// END /////////// */
    #dashboard-container h1 {
        margin: 80px 0 70px 0;
    }

    /* =====> About <===== */
    #about-container .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-content img {
        width: 100%;
        object-fit: cover;
        margin-bottom: 24px;
    }

    .about-content .about-right-side,
    .about-content .about-img {
        width: 85%;
    }

    .about-content .about-upper-text {
        justify-content: space-between;
        gap: 0;
    }

    .about-lower-text a {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* =====> Expereince <===== */
    #experience-container .experience-content {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Extra small devices (phones) */
@media (max-width: 450px) {

    /* // Navigation // */
    nav ul {
        width: 95%;
    }

    nav a {
        padding: 10px 16px;
    }

    /* // Contact // */
    #contact-container .contact-content {
        flex-direction: column;
    }

    .contact-content .elsewhere,
    .contact-content .email {
        padding-bottom: 16px;
    }

    .contact-content .email {
        order: 0;
    }

    .contact-content .elsewhere {
        order: 1;
    }

    .contact-content .copyright {
        order: 2;
    }

}

/* /////////// Scroll Animation /////////// */
/* // Animation for Images // */
#about-container img,
#experience-container img {
    display: block;
    width: 100%;
    will-change: transform, opacity;
    transform-origin: center center;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 120ms linear, opacity 120ms linear;
}

/* /////////// Loading Animation /////////// */
#dashboard-container>h1,
.dash-content {
    transform: scale(0.8);
    opacity: 0;
    animation: scaleIn 1.5s ease forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes scaleIn {
    0% {
        -webkit-transform: scale(0.8);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}