/* ROOT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Handjet';
    src: url(./assets/Handjet-VariableFont.ttf) format('truetype');
}

:root {
    /*** COLORS ***/
    --primary-bg: #AED9E0;
    --secondary-bg: #FAF3DD;
    --mobile-menu-bg: #9ADBD2;
    --accent-1: #FFA69E;
    --accent-2: #3a6ea5;
    --accent-3: #6c5ce7;
    --text-heading: #0f0f0f;
    --text-body: #292929;
    --border-color: #292929;
    --hover-color: #0f4c75;
    --header-bg: #B8F2E6;
    --footer-bg: #B8F2E6;
    --header-links-color: #000000;
    --projects-font-size: 14px;

    /*** SIZING ***/
    --site-gutter: 3rem;
    --site-width: min(1920px, 100%);
    --content-width: min(1150px, 100%);

    /* Header */
    --header-width: min(1550px, 100% - var(--site-gutter) * 2);
    --header-height: 150px;
    --section-block-padding: 4rem;

    /*** FONT SIZING ***/
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.5rem;
    --text-font-size: 1.1rem;
    --button-font-size: 1rem;
    --nav-font-size: 2rem;
    --footer-nav-size: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

/* ROOT END */

/* GLOBAL ELEMENTS */
body {
    width: 100%;
}

p {
    color: var(--text-body);
}

a,
.btn,
i,
.icon {
    cursor: pointer;
    transition: all 0.5s ease;
}

h1,
h2,
h3,
span {
    color: var(--text-heading);
}

/* GLOBAL ELEMENTS END */

/* HEADER */
header {
    position: sticky;
    z-index: 1000;
    width: 100%;
    top: 0;
    box-shadow: 0 4px 5px -5px gray;
    background-color: var(--header-bg);
}

.header-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: var(--header-width);
    height: var(--header-height);
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}
.header-content i:is(.fa-person-walking-arrow-loop-left) {
    display: block;
    font-size: 3rem;
    color: var(--text-heading);
    transition: all 0.5s ease;
}
.header-content i:is(.fa-person-walking-arrow-loop-left):hover {
    transform: rotate(360deg);
    color: var(--accent-1);
}

.logo img {
    width: auto;
}

header .logo {
    width: 150px;
    cursor: pointer;
}

#logo-without-brand {
    display: none;
}

.menu-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4rem;
    font-size: var(--nav-font-size);
    font-weight: 600;
    list-style: none;
}

header .menu-links li a {
    font-family: 'Handjet', sans-serif;
    color: var(--header-links-color);
    text-decoration: none;
}

header .menu-links li a:hover {
    color: var(--accent-1);
    text-decoration: underline;
}

.burger-icon {
    display: none !important;
    font-size: 2rem;
}

/* HEADER END */

/* SECTIONS GLOBAL */
section {
    display: flex;
    padding-block: var(--section-block-padding);
    padding-inline: var(--site-gutter);
    margin: 0 auto;
    width: var(--site-width);
    justify-content: center;
    scroll-margin-top: var(--header-height) !important;
}

section:nth-of-type(odd) {
    background-color: var(--primary-bg);
}

section:nth-of-type(even) {
    background-color: var(--secondary-bg);
}

.content-container {
    display: flex;
    flex-direction: column;
    width: var(--content-width);
    justify-content: center;
    gap: 0.25rem;
}

.section-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}

.section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
}

.section__pic-container img {
    border-radius: 50%;
    box-shadow: 0 0 7px 3px gray;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section__pic-container img:hover {
    transform: scale(1.05);
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.title {
    font-size: var(--h1-font-size);
    line-height: 1.5;
    text-align: center;
}

.icon {
    height: 2rem;
}

.typed-cursor {
    font-size: 2rem;
    color: var(--text-heading);
}

/* SECTIONS GLOBAL END */

/** Profile **/
#profile .content-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

#profile .section__text {
    flex-direction: row;
    gap: 0.5rem;
}

.modern-text-focus {
    line-height: 2;
    font-family: 'Handjet', sans-serif;
    font-size: var(--nav-font-size);
}

#socials-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#socials-container .icon:hover {
    opacity: 0.5;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-block: 1rem;
}

.btn {
    font-weight: 600;
    font-size: var(--button-font-size);
    transition: all 0.5s ease;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    width: 10rem;
    text-decoration: none;
}

.btn-color-1,
.btn-color-2 {
    border: var(--border-color) 1px solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
    background: var(--accent-1);
    cursor: pointer;
    color: black;
}

.btn-color-1 {
    background: var(--secondary-bg);
    color: var(--text-heading);
}

.btn-color-2 {
    background: none;
}

.btn-container {
    gap: 1rem;
}

/* About Section */
.title:not(h1) {
    margin-bottom: 3rem;
}

.about-containers {
    gap: 2rem 2%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#about .details-container:not(.skills) {
    width: 50%;
    flex: auto;
}

.about-details-container {
    justify-content: center;
    width: 100%;
}

#experience .about-containers {
    align-items: stretch;
    width: 100%;
}

.education p {
    width: 100%;
}

.details-container--about {
    display: flex;
    flex-direction: column;
    width: 49%;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    border-radius: 1rem;
    height: auto;
    align-items: center;
    flex-grow: 1;
    padding: 2rem;
    box-shadow: 0 0 10px 1px gray;
    transition: all 0.7s ease;
}

.details-container--about:hover {
    background: whitesmoke;
}

.details-container--about .icon {
    width: 2rem;
    height: 2rem;
}

.details-container--about h4 {
    margin-bottom: 1rem;
}

.details-container--about .article-container {
    align-self: start;
    width: 100%;
}

.job-article--skills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1rem;
}

.job-article--skills span {
    display: none;
}

.job-article--skills .icon {
    width: 3rem;
    height: auto;
    cursor: pointer;
}

.job-article--skills>div {
    flex-basis: 30%;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

#current-skill {
    margin-top: 2rem;
    justify-content: center;
    font-family: 'Handjet', sans-serif;
    font-size: var(--nav-font-size);
    color: var(--accent-3);
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}



#about .about-details-container {
    max-width: 600px;
}

.about-containers,
.about-details-container {
    display: flex;
}

.section__pic-container:has(.about-pic) img {
    border-radius: 0.5rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.top-arrow {
    position: absolute;
    right: -5rem;
    top: 2.5rem;
    transform: rotate(180deg);
}

.text-container {
    gap: 1rem;
    display: flex;
    justify-content: center;
    height: fit-content;
}

.text-container * {
    font-family: 'Handlee', sans-serif;
    font-size: 1.25rem;
}

.text-container,
.details-container {
    padding: 1.5rem;
    flex: 1;
    background: lightgray;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
    flex-wrap: wrap;
    box-shadow: 0 0 10px 1px gray;
    transition: background 0.5s ease;
}

.details-container {
    height: 100%;
}

.details-container p {
    text-align: left;
    ;
}

/* Experience Section */
.details-container:hover {
    background: ghostwhite;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: space-around;
}

.article-container-skills {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    flex-direction: row;
}

article {
    display: flex;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
}

article .icon,
.details-container .icon {
    cursor: default;
}

article p {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

article .skill {
    display: flex;
    gap: 1rem;
}

.job-article {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.job-article div:not(.job-article-text) {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-article-text {
    font-weight: 600;
}

.job-title {
    font-size: larger;
}

/* Projects Section */
.color-container {
    display: flex;
    justify-content: center;
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
}

.project-img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--border-color);
    border-radius: 1rem 1rem 0 50%;
}

.project-title {
    color: black;
    font-size: var(--text-font-size);
}

.project-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease;
}
.project-description li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.75em;
    font-size: var(--projects-font-size);
    line-height: 1.3;
}
.project-description li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1em;
    height: 1em;
    background-image: url('assets/checkmark.png'); /* Replace with your icon path */
    background-size: contain;
    background-repeat: no-repeat;
}
/* .project-description.hidden {
    display: none;
} */

.project-btn {
    color: black;
    text-align: center;
    justify-self: start;
}

.details-container>.btn-container {
    position: relative;
    align-self: flex-end;
}

/* Contact */

#contact {
    padding-bottom: calc(2 * var(--section-block-padding));
}

.contact-info-upper-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    border-radius: 1rem;
    border: var(--border-color) 1px solid;
    background: var(--secondary-bg);
    margin: 0 auto;
    padding: 1.5rem 3rem;
    box-shadow: 0 0 10px 1px gray;
    width: fit-content;
    gap: 1rem 2rem;
}

.contact-info-container a {
    display: flex;
    width: fit-content;
    gap: 1rem;
}

.contact-info-container p {
    font-size: var(--text-font-size);
}

.contact-info-container a {
    color: var(--text-body);
    transition: opacity 0.5s ease;
}

.contact-info-container a:hover {
    opacity: 0.75;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Footer Section */

footer {
    display: flex;
    width: 100%;
    min-height: var(--header-height);
    flex-direction: column;
    padding-block: var(--section-block-padding);
    padding-inline: var(--site-gutter);
    background-color: var(--footer-bg);
    justify-content: center;
    box-shadow: 0 -4px 10px -5px gray;
}

.contact-icon {
    width: 2.2rem;
}

footer .content-container {
    margin: 0 auto;
    gap: 2rem;
}

footer .menu-links * {
    text-decoration: none;
    color: var(--text-heading);
    font-size: var(--footer-nav-size);
    transition: all 0.5s ease;
}

footer .menu-links a:hover {
    text-decoration: underline;
    color: var(--accent-1);
}

footer .menu-links {
    width: fit-content;
}

.divider {
    display: flex;
    height: 2px;
    width: 100%;
    background-color: var(--border-color);
}

#copyright {
    font-weight: 700;
}

#footer-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-top: -1rem;
}

/* Skills visualizer */
#skills-visualizer {
    position: relative;
    text-align: center;

    width: 100%;
}

#skills-display--title {
    font-size: var(--nav-font-size);
    font-family: 'Handjet', sans-serif;
    color: var(--accent-3);
    font-weight: 600;
    letter-spacing: 2px;
    margin-block: 1.5rem;
}

#categories {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.category {
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    ;
    transition: all 0.3s ease;
}

.active-category {
    opacity: 1;
    transform: scale(1.1);
}

.category img {
    width: 60px;
    height: 60px;
}

#skills-display {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 1rem;
    width: 100%;
    align-content: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills {
    height: 300px;
}

.skill-label {
    font-family: 'Handlee', sans-serif;
    font-size: var(--text-font-size);
}

.skill-icon {
    width: 3rem;
    height: 3rem;
}

.skill-icon[alt="Oracle SQL icon"] {
    width: 5rem;
    height: auto;
    padding-block: calc((3rem - 12.3833px) / 2);
}

/* Education specifics */
.education {
    width: 100%;
}

.education .focus {
    font-size: larger;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.education-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

.dropdown-icon {
    font-size: 20px;
    transition: transform 0.5s ease;
}

.education-content {
    display: none;
    padding-block: 1rem;
}

.education-item.active .education-content {
    display: block;
}

.education-item.active .dropdown-icon {
    transform: rotate(45deg);
}

/* Swiper */
.swiper {
    width: 500px;
    height: 240px;
}

.swiper-slide {
    text-align: start;
    background-color: var(--primary-bg);
    box-shadow: 0 0px 15px gray;
    border-radius: 1rem;
    padding: 2rem;
}

#about .swiper-slide h3 {
    margin-bottom: 1rem;
}

#about .swiper-slide {
    gap: 2rem;
}

#about .swiper-outer {
    align-content: center;
}

.nav-con {
    width: 500px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5rem;
    padding-top: 2rem;
    margin-inline: auto;
}

.prev-a,
.next-a {
    display: flex;
    height: 4rem;
    width: 4rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.prev-a:hover,
.next-a:hover {
    transform: scale(1.2);
    opacity: 1;
}

.prev-a:hover {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
}

.prev-a {
    transform: rotate(180deg);
}

.highlight {
    font-weight: 600;
}

.swiper-slide p {
    font-size: 1rem;
}


/* Swiper Projects */
#projects {
    overflow: clip;
}
.swiper-projects {
    width: 100%;
    height: 100%;
}

.swiper-projects .swiper-slide {
    display: flex;
    flex-direction: column;
    text-align: left;
    background-color: var(--primary-bg);
    box-shadow: 0 0px 15px gray;
    border-radius: 1rem;
    padding: 0;
    width: 350px;
    /* min-height: 480px; */
    gap: 1.5rem;
    overflow: auto;
    transition: opacity 1s ease;
}
.swiper-projects .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
    opacity: 0.5;
}

#projects .nav-con {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5rem;
    padding-top: 1.5rem;
    margin-inline: auto;
}

.prev-proj,
.next-proj {
    display: flex;
    height: 4rem;
    width: 4rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.prev-proj:hover,
.next-proj:hover {
    transform: scale(1.2);
    opacity: 1;
}

.prev-proj:hover {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
}

.prev-proj {
    transform: rotate(180deg);
}

.highlight {
    font-weight: 600;
}

#projects .swiper-outer {
    width: 100%;
}

#projects .btn-container {
    justify-content: start;
    margin: 0;
}

.project-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    flex-grow: 1;
    gap: 1rem;
}


/* Attributions */
.attributions {
    margin-top: -1.75rem;
}
.attributions a {
    font-size: 0.75rem;
    color: var(--text-body);
    text-decoration: none;
}
.attributions a:hover {
    text-decoration: underline;
}
.credits-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}
.credits-section h1 {
    font-size: var(--h2-font-size);
}
.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.links-container a {
    color: var(--text-body);
    text-decoration: none;
    font-size: var(--text-font-size);
    transition: all 0.5s ease;
}
.links-container a:hover {
    text-decoration: underline;
    color: var(--accent-1);
}    
.credits-footer a:hover span {
    transition: all 0.5s ease;
}
.credits-footer a:hover span {
    text-decoration: underline;
    color: var(--accent-1);
}

#about .swiper-slide h3 {
    font-size: var(--h3-font-size);
    font-weight: 700;
}

/* About me quickfixes */
#about ul {
    list-style: none;
}
#about li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75em;
    font-size: var(--projects-font-size);
    line-height: 1.3;
}
#about li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.1rem;
    height: 1.1rem;
    background-image: url('assets/checkmark.png');
    background-size: cover;
    background-repeat: no-repeat;
}