
:root {
    --primary-color: #2795fb;
    --secondary-color: #3ca1ff;
    --nav-color: #3ca1ff80;
    --project-info-color: #3ca1ff90;
    --nav-a-hover-color: #ffffff90;
    --scrollbar-color: #ffffff00;
    --about-photo-desc-hover: #3ca1ff80;
    --notification-bg-color: #3ca1ff99;
    --form-text-color: #00000080;
    --white: #ffffff;
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html {
    overflow-x: hidden;

}

html,
body {
    
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--white) !important;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: var(--white);
}

html::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--nav-color);
}

body {
    font-family: "Montserrat", sans-serif;
}

main {
    min-width: 100vw;
}

.background {
    overflow-x:hidden;
}

.background-main {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    z-index: -10;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    height: 100vh;
    width: 110%;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.background-second-1 {
    width: 30vh;
    height: 30vh;
    position: absolute;
    z-index: -9;
    top: 50%;
    left: 7%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    animation: showBubbles 1.4s ease-out forwards,
        moveUpDown 8s ease-in-out infinite;
    animation-delay: 0s, 2s;
    box-shadow: 3px 3px 5px var(--nav-color);
}

.background-second-2 {
    width: 30vh;
    height: 30vh;
    position: absolute;
    z-index: -9;
    top: 15%;
    right: 28%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    animation: showBubbles 1.2s ease-out forwards,
        moveUpDown 6s ease-in-out infinite;
    animation-delay: 0s, 2s;
    box-shadow: 3px 3px 5px var(--nav-color);
}

.background-second-3 {
    width: 30vh;
    height: 30vh;
    position: absolute;
    z-index: -9;
    top: 49%;
    right: 8%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    animation: showBubbles 1.4s ease-out forwards,
        moveUpDown 7s ease-in-out infinite;
    animation-delay: 0s, 2s;
    box-shadow: 3px 3px 5px var(--nav-color);
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0vh);
    }
    50% {
        transform: translateY(10vh);
    }
    100% {
        transform: translateY(0vh);
    }
}

@keyframes showBubbles {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    85% {
        transform: translateY(2vh);
    }
    100% {
        transform: translateY(0vh);
    }
}

.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    margin: 0 14vh;
    padding: 3vh 2vh;
    position: sticky;
    top: 2vh;
    border-radius: 5vh;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, all 0.5s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.sticky {

    z-index: 9;
    background: var(--nav-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: var(--white);
    font-size: 3.2vh;
}

#typing-effect {
    font-size: 3.2vh;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}

.letter {
    opacity: 0;
    display: inline-block;
    animation: typing 0s forwards;
}

@keyframes typing {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
}

.letter:nth-child(1) {
    animation-delay: 1.1s;
}
.letter:nth-child(2) {
    animation-delay: 1.2s;
}
.letter:nth-child(3) {
    animation-delay: 1.3s;
}
.letter:nth-child(4) {
    animation-delay: 1.4s;
}
.letter:nth-child(5) {
    animation-delay: 1.5s;
}
.letter:nth-child(6) {
    animation-delay: 1.6s;
}
.letter:nth-child(7) {
    animation-delay: 1.7s;
}
.letter:nth-child(8) {
    animation-delay: 1.8s;
}
.letter:nth-child(9) {
    animation-delay: 1.9s;
}
.letter:nth-child(10) {
    animation-delay: 2s;
}
.letter:nth-child(11) {
    animation-delay: 2.1s;
}
.letter:nth-child(12) {
    animation-delay: 2.2s;
}
.letter:nth-child(13) {
    animation-delay: 2.3s;
}
.letter:nth-child(14) {
    animation-delay: 2.4s;
}
.letter:nth-child(15) {
    animation-delay: 2.5s;
}
.letter:nth-child(16) {
    animation-delay: 2.6s;
}
.letter:nth-child(17) {
    animation-delay: 2.7s;
}
.letter:nth-child(18) {
    animation-delay: 2.8s;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4.4vh;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 3vh;
    transition: 0.3s;
}

nav ul li {
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--nav-a-hover-color);
}

.contact-btn:hover {
    color: var(--white);
    background-color: var(--secondary-color);
}

.contact-btn {
    border-radius: 3vh;
    color: var(--primary-color);
    background-color: var(--white);
    padding: 1.5vh;
    padding-right: 2.5vh;
    padding-left: 2.5vh;
    font-size: 2.6vh;
    font-weight: bold;
    margin-left: 1.5vh;
    transition: 0.3s;
    animation: btnCon 1s;
    animation-delay: 2.5s;
    margin: auto;
}

@keyframes btnCon {
    0% {
        color: var(--primary-color);
        background-color: var(--white);
    }
    50% {
        color: var(--white);
        background-color: var(--secondary-color);
        transform: scale(1.5);
    }
    100% {
        color: var(--primary-color);
        background-color: var(--white);
    }
}

.hamburger {
    z-index: 9;
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.hamburger .bar {
    z-index: 9;

    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 5px;
    transition: 0.3s;
}
.bar {
    margin-top: 5px;
}

#nav-menu {
    display: none;
}

#nav-menu ul {
    display: flex;
    gap: 4.4vh;
}

.profile {
    height: 85vh;
    text-align: center;
    margin-top: 5vh;
    padding: 5vh;
    padding-bottom: 0;
    border-radius: 1.5vh;
    color: var(--white);
    position: relative;
}

.profile img {
    width: 22vh;
    height: 22vh;
    border-radius: 50%;
    margin-bottom: 3vh;
}

.profile h2 {
    font-size: 3vh;
}

.profile h1 {
    font-size: 3.2vh;
    margin: 1vh 0;
}

.profile p {
    font-size: 2.6vh;
    margin-bottom: 2vh;
}

.social-icons a {
    margin: 0 1vh;
}

.social-icons img {
    width: 4.4vh;
    height: 4.4vh;
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.arrow {
    position: relative;
    top: 20vh;
    width: 0;
    height: 0;
    margin: auto;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid var(--primary-color);
    animation: bounce 2s infinite;
    transition: 0.5s;
    cursor: pointer;
}

.arrow:hover {
    transform: scale(1.1);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1.6vh);
    }
}

.line {
    position: absolute;
    z-index: -99;
    top: 0;
    right: 0;
    width: 0.6vh;
    height: 40vh;
    background: var(--primary-color);
    transform: rotate(60deg);
    transform-origin: top right;
    animation: moveLine 6s linear infinite;
    animation-delay: 0.5s;
}

.line2 {
    animation: moveLine2 6s linear infinite;
}

@keyframes moveLine {
    0% {
        transform: rotate(60deg) translateX(100vh) translateY(-100vh);
    }
    100% {
        transform: rotate(60deg) translateX(-50vh) translateY(900vh);
    }
}
@keyframes moveLine2 {
    0% {
        transform: rotate(60deg) translateX(150vh) translateY(-150vh);
    }
    100% {
        transform: rotate(60deg) translateX(0vh) translateY(950vh);
    }
}

.floating {
    opacity: 0;
    transition: 1s;
    position: absolute;
    background-color: transparent;
    z-index: 2;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.floating-visible {
    opacity: 1;
    animation: float-visible 4s;
}

.floating-1 {
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;

    left: 14vh;
    bottom: -30vh;
    width: 8vh;
    height: 8vh;
    border: 1.2vh solid var(--secondary-color);
    animation: float-1 10s infinite;
}

.floating-2 {
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;

    right: 18vh;
    bottom: -90vh;
    width: 9vh;
    height: 9vh;
    border-radius: 50%;
    border: 1.2vh solid var(--secondary-color);
    animation: float-2 8s infinite;
}

.floating-3 {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: -1;

    right: 20vh;
    bottom: -15vh;
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    background-color: var(--secondary-color);
    animation: float-3 12s infinite;
}

.floating-4 {
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    left: 20vh;
    bottom: -85vh;
    width: 8vh;
    height: 8vh;
    background-color: var(--secondary-color);
    animation: float-4 11s infinite;
}

@keyframes float-visible {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes float-1 {
    0%,
    100% {
        transform: translate(0%, 0%) rotate(45deg) translateY(0vh);
    }
    50% {
        transform: translate(50%, 50%) rotate(-20deg) translateY(-7vh);
    }
}

@keyframes float-2 {
    0%,
    100% {
        transform: translate(0%, 0%) rotate(45deg) translateY(0vh);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateY(-10vh);
    }
}

@keyframes float-3 {
    0%,
    100% {
        transform: translate(0%, 0%) rotate(0deg) translateY(0vh);
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) translateY(12vh);
    }
}
@keyframes float-4 {
    0%,
    100% {
        transform: translate(0%, 0%) rotate(0deg) translateY(8vh);
    }
    50% {
        transform: translate(50%, 50%) rotate(65deg) translateY(2vh);
    }
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 100vh;
    min-width: 100vw;
    align-items: center;
}

.about-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    top: 4vh;
}

.about-title {
    color: var(--primary-color);
    font-size: 5vh;
}

.about-strip {
    background-color: var(--primary-color);
    margin-top: 1vh;
    height: 0.5vh;
    width: 20vh;
    transition: all 0.8s ease;
    opacity: 0;
    transform: translateX(-15vh);
}

.about-strip-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.about-photo-visible {
    opacity: 1 !important;
    animation: photoAnim 1s;
}

.about-photo {
    opacity: 0;
    display: block;
    border-radius: 50%;
    background-color: var(--secondary-color);

    overflow: hidden;
    border: 2vh solid var(--primary-color);
    height: 57vh;
    width: 57vh;
    z-index: 2;
    position: relative;
    right: -6vh;
}

.about-photo img {
    width: 100%;
    background-size: cover;
    background-position: center;
}

.about-photo-desc {
    display: flex;
    position: absolute;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 2.6vh;
    color: var(--white);
    font-weight: 600;
    padding: 0 2vh;
    width: 100%;
    height: 100%;
    background-color: var(--about-photo-desc-hover);
    transition: 0.6s ease;
    cursor: default;
    opacity: 0;
}

.about-photo:hover .about-photo-desc {
    opacity: 1;
}

@keyframes photoAnim {
    0% {
        transform: scale(1) translateX(60vh) rotate(00deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateX(0vh) rotate(0deg);
        opacity: 1;
    }
}

.about-card-visible {
    opacity: 1 !important;
    animation: cardAnim 1s;
}

.about-card {
    opacity: 0;
    display: block;
    z-index: -2;
    background-color: var(--primary-color);
    height: 45vh;
    width: 120vh;
    border-top-right-radius: 4.4vh;
    border-bottom-right-radius: 4.4vh;
    position: relative;
    left: -6vh;
}

@keyframes cardAnim {
    0% {
        width: 0vh;
        transform: translateX(20vh);
    }
    30% {
        width: 0vh;
        transform: translateX(20vh);
    }
    100% {
        transform: translateX(0vh);
    }
}

.about-desc-visible {
    animation: descAnim 1.5s;
}

.about-desc {
    opacity: 1;
    text-align: left;
    z-index: 2;
    margin: 10vh 6vh;
    margin-left: 15vh;
    font-size: 3vh;
    font-weight: normal;
    color: var(--white);
}

.project {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    max-height: 100vh;
    min-width: 100vw;
    align-items: center;
}
.project-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    top: 4vh;
}

.project-title {
    color: var(--white);
    font-size: 5vh;
}

.project-strip {
    background-color: var(--white);
    margin-top: 1.2vh;
    height: 0.5vh;
    width: 20vh;
    opacity: 0;
    transform: translateX(-25vh);
    transition: all 0.8s ease;
}

.project-strip-visible {
    opacity: 1 !important;
    transform: translateX(0);
}

.project-body {
    display: flex;
    flex-wrap: wrap;
    gap: 2.8vh;
    width: 140vh;
    justify-content: space-between;
    margin: auto;
}

.project-item {
    width: calc(50% - 2vh);
    height: 36vh;
    background-color: var(--white);
    display: flex;
    position: relative;
    color: white;
    font-size: 2vh;
    border-radius: 4.4vh;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.project-item.visible {
    opacity: 1;
    transform: scale(1);
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -10vh;
    width: 100%;
    height: 10vh;
    background-color: var(--project-info-color);
    transition: bottom 0.3s ease-in-out;
    padding: 1.5vh;
    text-align: center;
}

.project-item:hover .project-info {
    bottom: 0;
}

.title {
    font-size: 2.5vh;
    margin: 0;
}

.desc {
    font-size: 2vh;
    color: var(--desc-color);
    margin: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: var(--black);
    cursor: pointer;
}

iframe {
    width: 100%;
    height: 60vh;
    border: none;
    border-radius: 2vh;
}

#gear-icon {
    overflow: hidden;
    z-index: -99;
    position: absolute;
    right: -35vh;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-height: 100vh;
    padding: 6vh 2vh;
}



.skill-header {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    align-items: center;
    top: -4vh;
    margin-bottom: 4vh;
}

.skill-title {
    font-size: 5vh;
    color: var(--secondary-color);
}

.skill-strip {
    background-color: var(--primary-color);
    margin-top: 1vh;
    height: 0.5vh;
    width: 14vh;
    transition: all 0.8s ease;
    opacity: 0;
    transform: translateX(-15vh);
}

.skill-strip-visible {
    opacity: 1;
    transform: translateX(0);
}

.skill-body {
    transform: translateX(-15vh);

    display: flex;
    flex-direction: column;
    gap: 2vh;
    width: 100%;
    max-width: 70vw;
}

.skill-item {
    height: auto;
    padding: 2vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5vh;
    color: var(--white);
    position: relative;
    opacity: 0;
    cursor: default;

    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-item:hover {
    transform: scale(1.05);
}

.skill-visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5vh;
}

.skill-icon {
    font-size: 2.5vh;
    margin-right: 1vh;
}

.skill-name {
    font-size: 2.2vh;
    color: var(--white);
    flex-grow: 1;
}

.skill-value {
    font-size: 2.4vh;
    font-weight: bold;
}

.skill-bar {
    width: 100%;
    height: 3vh;
    background-color: var(--secondary-color);
    position: relative;
    border-radius: 0.4vh;
}

.skill-level-hidden {
    width: 0 !important;
}

.skill-level {

    height: 100%;
    background-color: var(--nav-a-hover-color);
    position: relative;
    top: 0;
    left: 0;
    border-radius: inherit;
    transition: 0.8s;
    z-index: 2;
}

.level-1 {
    width: 46%;
}

.level-2 {
    width: 40%;
}

.level-3 {
    width: 32%;
}

.level-4 {
    width: 50%;
}

.education-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    top: 4vh;
}

.education-title {
    color: var(--primary-color);
    font-size: 5vh;
}

.education-strip {
    background-color: var(--primary-color);
    margin-top: 1vh;
    margin-bottom: 5vh;
    height: 0.5vh;
    width: 28vh;
    transition: all 0.8s ease;
    opacity: 0;
    transform: translateX(-15vh);
}

.education-strip-visible {
    opacity: 1;
    transform: translateX(0);
}

.education {
    min-height: 100vh;
}

.education-body {
    position: relative;
    max-width: 1000px;
    margin: 5vh auto;
    padding: 2vh 0;
}

.education-body::after {
    content: "";
    position: absolute;
    width: 0.4vh;
    background-color: #4a90e2;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.2vh;
}

.education-container {
    padding: 1vh 4vh;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.education-container-visible {
    opacity: 1;
    transform: translateY(0);
}

.education-left {
    left: 0;
}

.education-right {
    left: 50%;
}

.education-container::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 2.2vh;
    width: 2.5vh;
    z-index: 1;
    right: -1.7vh;
    border: solid transparent;
    border-width: 1vh;
    border-right-color: var(--white);
    transform: rotate(135deg);
}

.education-right::before {
    left: -1.6vh;
    right: auto;
    border-left-color: var(--white);
    border-right-color: transparent;
}

.education-container::after {
    content: "";
    position: absolute;
    width: 2vh;
    height: 2vh;
    right: -1vh;
    background-color: var(--secondary-color);
    border: 0.3vh solid var(--white);
    top: 1.5vh;
    border-radius: 50%;
    z-index: 1;
}

.education-right::after {
    left: -1.4vh;
}

.education-left::after {
    right: -1.4vh;
}

.education-content {
    padding: 2vh 3vh;
    background-color: var(--primary-color);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0.2vh 1vh rgba(0, 0, 0, 0.1);
    text-align: left;
}

.education-left .education-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.education-right .education-content {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.education-content h2 {
    color: var(--white);
    margin-bottom: 1vh;
    font-size: 3.8vh;
}

.education-content p {
    color: var(--white);
    margin: 0;
    font-size: 2.6vh;
}

.contact {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 100vh;
    max-height: 100vh;
    color: var(--white);
}

.contact-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    top: 4vh;
}

.contact-title {
    color: var(--white);
    font-size: 5vh;
    font-weight: 600;
}

.contact-strip {
    background-color: var(--white);
    margin-top: 1vh;
    height: 0.5vh;
    width: 24vh;
    transition: all 0.8s ease;
}

.contact-strip-visible {
    opacity: 1;
    transform: translateX(0);
}

form {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 80vw;
    color: white;
}

form label {
    font-size: 2.8vh;
    font-weight: 600;
    margin: 3vh 0;
    margin-bottom: 0;
}

form input {
    height: 6vh;
    border-radius: 2vh;
    margin: 1vh 0;
    padding: 1vh 2vh;
}

form .message-input {
    height: 12vh;
    border-radius: 2vh;
    margin: 1vh 0;
    padding: 1vh 2vh;
    resize: vertical;
    overflow-y: auto;
}

textarea.message-input {
    height: 12vh;
    border-radius: 2vh;
    margin: 1vh 0;
    padding: 1vh 2vh;
    resize: none;
    overflow-y: auto;
}

form input,
form textarea {
    color: var(--form-text-color);
    height: 6vh;
    border-radius: 2vh;
    margin: 1vh 0;
    padding: 1vh 2vh;
    border: 2px solid transparent;
    font-family: "Montserrat", sans-serif;
    transition: 0.6s;
}

form input:focus,
form textarea:focus {
    outline: none;
    border: none;
}

form button {
    background-color: var(--secondary-color);
    color: var(--white);
    margin: 4vh auto;
    padding: 2vh 8vh;
    border: none;
    border-radius: 5vh;
    transition: 0.6s;
    font-size: 2.8vh;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

form button:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.notification {
    opacity: 0;
    position: fixed;
    bottom: 1vh;
    right: -30vh;
    margin: 2vh;
    padding: 4vh 5vh;
    border-radius: 2vh;
    background-color: var(--notification-bg-color);
    transition: 0.5s ease; 
}

.notification-content {
    display: flex;
    color: var(--white);
    justify-content: space-around;
    flex-direction: column;
    padding-right: 8vh;
}

#notification-title {
    font-size: 2.5vh;
    font-weight: 800;
}
  
#notification-message {
    font-size: 2vh;
}

footer {
    position: relative;
    text-align: center;
    font-weight: 500;
}

@keyframes descAnim {
    0% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .about-card {
        width: 90vh;
    }
    .about-desc {
        margin: 4vh 4vh;
        margin-left: 15vh;
    }
}

@media (max-width: 950px){
    .project-body {
        width: 100%;
        justify-content: space-around;
    }

    .project-item {
        width: calc(50% - 20vh);
        height: 36vh;
        background-color: var(--white);
        display: flex;
        position: relative;
        color: white;
        font-size: 2vh;
        border-radius: 4.4vh;
        overflow: hidden;
        opacity: 0;
        transform: scale(0.3);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

@media (max-width: 899px) {
    header {
            min-width:100vw;
        z-index: 10;
        padding: 3vh 3vh;
        margin: 0;
        top: 0;
        bottom: 0;
        border-radius: 0;
    }

    .hamburger {
        display: flex;
        z-index: 99;
    }

    nav {
        display: none;
    }

    #nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 8;
        top: 0;
        right: 0;
        background: var(--nav-color);
        width: 250px;
        height: 100vh;
        padding-top: 8vh;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    #nav-menu.active {
        transform: translateX(0);
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 5vh;
        margin-top: 8vh;
    }

    .floating-1 {
        left: 4vh;
    }

    .floating-2 {
        opacity: 0;
        right: 2vh;
    }

    .floating-3 {
        right: -2vh;
    }

    .floating-4 {
        opacity: 0;
        left: 2vh;
    }

    .about-body {
        flex-direction: column;
    }

    .about-header {
        margin: 5vh 0;
        top: 0;
    }
    
    #gear-icon {display:none;} 

    .about-photo {
        height: 30vh;
        width: 30vh;
        right: 0;
        bottom: -2vh;
    }
    .about-photo-visible {
        animation: photoAnim 1.5s ease;
    }
    .about-card-visible {
        animation: cardAnim 2s ease;
    }
    .about-desc-visible {
        animation: descAnim 2.5s ease;
    }
    

    .about-card {
        height: 69vh;
        width: 90vw;
        border-top-right-radius: 4.4vh;
        border-top-left-radius: 4.4vh;
        border-bottom-right-radius: 0;
        left: 0;
        top: -14vh;
    }

    .about-desc {
        text-align: center;
        margin: 2vh 4vh;
        margin-top: 18vh;
        font-size: 2.2vh;
    }

    @keyframes photoAnim {
        0% {
            transform: scale(1) translateY(40vh) rotate(360deg);
            opacity: 0;
        }
        60% {
            transform: scale(1) translateY(-5vh) rotate(00deg);
            opacity: 1;
        }
        100% {
            transform: scale(1) translateX(0vh) rotate(0deg);
            opacity: 0;
        }
    }

    @keyframes cardAnim {
        0% {
            width: 0vh;
            transform: translateX(0vh);
        }
        65% {
            width: 0vh;
            transform: translateX(0vh);
        }
        100% {
            transform: translateX(0vh);
        }
    }
}

@media (max-width: 768px) {
    body {
    }
    .background-main {
        z-index: -10;
        overflow: hidden;
        bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 140vh;
        transform: 0;
    }

    .background-second-1 {
        width: 25vh;
        height: 25vh;
        top: 54%;
        left: 10%;
        border-radius: 50%;
    }

    .background-second-2 {
        width: 25vh;
        height: 25vh;
        top: 70%;
        right: 15%;
        border-radius: 50%;
    }

    .background-second-3 {
        width: 25vh;
        height: 25vh;
        top: 39%;
        right: 12%;
        border-radius: 50%;
    }
    .profile {
        height: 59vh;
    }

    .arrow {
        top: 5vh;
        border-top: 25px solid var(--white);
    }

    .profile {
        margin: 15vh 0;
        height: 60vh;
    }

    .about-title {
        font-size: 3.5vh;
    }
    .project-title {
        font-size: 3.5vh;
    }
    .skill-title {
        font-size: 3.5vh;
    }
    .education-title {
        font-size: 3.5vh;
    }
    
    #gear-icon {display:none !important;} 

    .project-body {
        justify-content: space-around;
        width: 100%;
        gap: 2vh;
    }

    .project-info {
        bottom: 0vh;
    }

    .project-item {
        width: calc(50% - 4vh);
        border-radius: 2vh;
    }

    .skill-body {
        transform: translateX(0);
        max-width: 90vw;
    }

    .project-title {
        font-size: 4vh;
    }
    .skill-bar {
        height: 2.5vh;
    }
    .skill-name {
        margin: 0 0.2vh;
    }

    .education-body::after {
        left: 3.1vh;
    }

    .education-container {
        width: 100%;
        padding-left: 7vh;
        padding-right: 2.5vh;
    }

    .education-container::before {
        left: 6vh;
        border: none;
    }

    .education-left::after,
    .education-right::after {
        left: 1.8vh;
    }

    .education-right {
        left: 0%;
    }

    .education-left .education-content,
    .education-right .education-content {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
}
