@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("assets/cursor.png"), auto;
}

a, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #89CFF0;
}

html {
    height: 100%;
    overflow: hidden;
    scroll-behaviour: smooth;
}

body {
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    background: linear-gradient(135deg, #0D0D0D, #1A0033, #3D0066);
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.navigation {
    position: fixed;
    top: 2vh;
    left: 0;
    right: 0;
    margin: auto 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
}

.navigation .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1vh 2vw;
    border-radius: 48px;
    backdrop-filter: blur(10px);
}

.navigation .buttons button {
    background: rgba(179, 102, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #B366FF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.navigation .buttons button:hover {
    transform: scale(1.2);
}

.navigation.visible {
    animation: slide-in-up 1s ease-in-out forwards;
    visibility: visible;
}

.navigation.invisible {
    animation: slide-out-up 1s ease-in-out forwards;
    visibility: hidden;
}

.section {
    padding: 128px;
    margin-bottom: 40vh;
}

.home {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-bottom: 0;
}

.home .title {
    font-size: 48px;
}

.home .title .left {
    display: inline-block;
}

.home.visible .title .left {
    animation: slide-in-up 1s ease-in-out forwards;
}

.home.invisible .title .left {
    animation: slide-out-left 1s ease-in-out forwards;
}

.home .title .right {
    display: inline-block;
}

.home.visible .title .right {
    animation: slide-in-down 1s ease-in-out forwards;
}

.home.invisible .title .right {
    animation: slide-out-right 1s ease-in-out forwards;
}

.home .title .highlight {
    font-size: 64px;
    color: #B366FF;
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 70vh;
    width: 80%;
}

.about .left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.about .left .title {
    font-size: 48px;
}

.about .left .text .highlight {
    color: #B366FF;
}

.about .left .resume {
    margin-bottom: 2vh;
}

.about .right {
    height: 80%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.about .image {
    height: 100%;
    object-fit: contain;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 64px;
}

.about.visible .left {
    animation: slide-in-left 1s ease-in-out forwards;
}

.about.invisible .left {
    animation: slide-out-left 1s ease-in-out forwards;
}

.about.visible .right {
    animation: slide-in-right 1s ease-in-out forwards;
}

.about.invisible .right {
    animation: slide-out-right 1s ease-in-out forwards;
}

.skills {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.skills .title {
    font-size: 48px;
    margin-bottom: 6vh;
}

.skills .items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    width: 70%;
    gap: 2vh;
}

.skills .items .item  {
    height: 10vh;
    padding: 1.2vh;
    object-fit: contain;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 128px;
}

.skills .items .item.head {
    border: 4px solid rgba(255, 255, 255, 0.4);
}

.skills.visible .title {
    animation: slide-in-left 1s ease-in-out forwards;
}

.skills.invisible .title {
    animation: slide-out-left 1s ease-in-out forwards;
}

.skills.visible .items {
    animation: slide-in-right 1s ease-in-out forwards;
}

.skills.invisible .items {
    animation: slide-out-right 1s ease-in-out forwards;
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.projects .title {
    font-size: 48px;
    margin-bottom: 6vh;
}

.projects .items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.projects .items .item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 64px;
    padding: 2vh 5vw;
    margin-bottom: 6vh;
    width: 90%;
}

.projects .items .item .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-right: 5vw;
    gap: 3vh;
}

.projects .items .item .info .name {
    font-size: 32px;
}

.projects .items .item .techs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
    flex-wrap: wrap;
}

.projects .items .item .techs .image {
    height: 4vh;
    object-fit: contain;
}

.projects .items .item .image {
    height: 32vh;
    object-fit: contain;
}

.projects.visible .title {
    animation: slide-in-left 1s ease-in-out forwards;
}

.projects.invisible .title {
    animation: slide-out-left 1s ease-in-out forwards;
}

.projects.visible .items {
    animation: slide-in-right 1s ease-in-out forwards;
}

.projects.invisible .items {
    animation: slide-out-right 1s ease-in-out forwards;
}

.experiences {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.experiences .title {
    font-size: 48px;
    margin-bottom: 6vh;
}

.experiences .items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.experiences .items .item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 64px;
    padding: 2vh 5vw;
    margin-bottom: 6vh;
    width: 90%;
}

.experiences .items .item .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-right: 5vw;
    gap: 3vh;
}

.experiences .items .item .info .name {
    font-size: 32px;
}

.experiences .items .item .techs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
    flex-wrap: wrap;
}

.experiences .items .item .image {
    height: 32vh;
    object-fit: contain;
}

.experiences.visible .title {
    animation: slide-in-left 1s ease-in-out forwards;
}

.experiences.invisible .title {
    animation: slide-out-left 1s ease-in-out forwards;
}

.experiences.visible .items {
    animation: slide-in-right 1s ease-in-out forwards;
}

.experiences.invisible .items {
    animation: slide-out-right 1s ease-in-out forwards;
}

@keyframes slide-in-left {
    0% {
	opacity: 0;
	transform: translateX(-120vw);
    }

    100% {
	opacity: 1;
	transform: translateX(0);
    }
}

@keyframes slide-in-right {
    0% {
	opacity: 0;
	transform: translateX(120vw);
    }

    100% {
	opacity: 1;
	transform: translateX(0);
    }
}

@keyframes slide-in-up {
    0% {
	opacity: 0;
	transform: translateY(-120vh);
    }

    100% {
	opacity: 1;
	transform: translateY(0);
    }
}

@keyframes slide-in-down {
    0% {
	opacity: 0;
	transform: translateY(120vh);
    }

    100% {
	opacity: 1;
	transform: translateY(0);
    }
}

@keyframes slide-out-left {
    0% {
	opacity: 1;
	transform: translateX(0);
    }

    100% {
	opacity: 0;
	transform: translateX(-120vw);
    }
}

@keyframes slide-out-right {
    0% {
	opacity: 1;
	transform: translateX(0);
    }

    100% {
	opacity: 0;
	transform: translateX(120vw);
    }
}

@keyframes slide-out-up {
    0% {
	opacity: 1;
	transform: translateY(0);
    }

    100% {
	opacity: 0;
	transform: translateY(-120vh);
    }
}
