/*✧✧✧✧✧✧✧✧✧ INIT CONFIG ✧✧✧✧✧✧✧✧✧*/
@import url('https://fonts.googleapis.com/css2?family=Orbit&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=Text+Me+One&display=swap');
@import url('https://fonts.cdnfonts.com/css/donau-uppercase');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
}

:root {
    --font-cover: 'Donau Uppercase', sans-serif;
    --font-title: "Orbit", sans-serif;
    --font-text: "Text Me One", sans-serif;
    --color-text: #e0e0e0;
    --primary-color: #5ce1e6;
    --cor2: #95c6ff;
    --cor3: #0048ff;
}

body {
    color: var(--color-text);
    scroll-behavior: smooth;
}

section {
    min-height: 100vh;
    padding: 6rem 6% 2rem;
}

span {
    color: var(--primary-color);
    font-weight: 600;
}

p {
    font-size: 1.2rem;
    font-family: var(--font-text);
    color: var(--color-text);
    margin-top: 16px;
}

/*✧✧✧✧✧✧✧✧✧ MENU ✧✧✧✧✧✧✧✧✧*/
.sidebar {
    position: fixed;
    top: 150px;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    z-index: 1000;
}

/* LINES */
.sidebar .lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 12px 20px;
}

.line {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.13);
    transition: background 0.2s, box-shadow 0.2s;
}

.sidebar .line.short {
    width: 12px;
    margin-left: 4px;
}

.sidebar .line.active {
    background: rgb(211, 211, 211);
    box-shadow: 0 0 4px rgb(211, 211, 211);
}

/* Links */
.sidebar .nav-links {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    opacity: 0;
    left: -138px;
    pointer-events: none;
    transition: opacity 0.2s ease;
    list-style: none;
    margin: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sidebar .nav-links li {
    margin: 8px 0;
    font-family: var(--font-text);
}

.sidebar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.sidebar .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar:hover .nav-links {
    opacity: 1;
    pointer-events: auto;
    right: 0px;
}

/*✧✧✧✧✧✧✧✧✧ COVER ✧✧✧✧✧✧✧✧✧*/
.cover-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.cover-title {
    font-family: var(--font-cover);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 24rem;
    text-shadow: 0 0 20px rgba(255, 253, 253, 0.68);
    text-align: center;
    margin-bottom: 1rem;
}

.cover-caption {
    position: relative;
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 2.5rem;
    text-align: center;
}

/*✧✧✧✧✧✧✧✧✧ About Me ✧✧✧✧✧✧✧✧✧*/
.about-title {
    position: relative;
    top: -114px;
    font-size: 9rem;
    text-align: center;
    margin: 16rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--cor5);
    text-shadow:
        0 0 16px rgb(149, 198, 255),
        0 0 8px rgb(167, 191, 252);
    letter-spacing: 1.2rem;
    z-index: 12;
}

.about-h1 {
    position: relative;
    margin-bottom: 21px;
    font-size: 5rem;
    right: -359px;
    margin: 19px 360px;
    font-family: var(--font-title);
    color: var(--primary-color);
}

.about-p {
    position: relative;
    right: -359px;
    font-size: 1.2rem;
    margin: 19px 360px;
    font-family: var(--font-text);
    color: var(--color-text);
}

.img-wrapper img {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*border-radius: 277px;*/
}

.about-icon {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.about-icon::before,
.about-icon::after {
    content: '✦';
    position: absolute;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0.9;
    pointer-events: none;
}

.about-icon::before {
    top: 8px;
    left: 12px;
}

.about-icon::after {
    bottom: 10px;
    right: 14px;
}

.tabs {
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--cor3);
    margin-bottom: 20px;
    margin-top: -321px;
}

.tab-button {
    padding: 3px 29px;
    cursor: pointer;
    border: none;
    background: none;
    color: white;
    font-size: 26px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: var(--font-title);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}

.tab-content {
    display: none;
    animation: fade 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

/*✧✧✧✧✧✧✧✧✧ About Me ✧✧✧✧✧✧✧✧✧*/
.about-title {
    position: relative;
    top: -114px;
    font-size: 9rem;
    text-align: center;
    margin: 16rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--cor5);
    text-shadow:
        0 0 16px rgb(149, 198, 255),
        0 0 8px rgb(167, 191, 252);
    letter-spacing: 1.2rem;
    z-index: 12;
}

.about-h1 {
    position: relative;
    margin-bottom: 21px;
    font-size: 5rem;
    right: -359px;
    margin: 19px 360px;
    font-family: var(--font-title);
    color: var(--primary-color);
}



.about-p{
    position: relative;
    right: -359px;
    font-size: 1.2rem;
    margin: 19px 360px;
    font-family: var(--font-text);
    color: var(--color-text);
}

.img-about {
    position: relative;
    float: left;
    top: -273px;
    width: 297px;
    height: 290px;
    border-radius: 277px;
}

.about-icon {
    width: 288px;
    height: 230px;
    top: -246px;
    left: -288px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    position: relative;
    overflow: hidden;
}

.about-icon::before,
.about-icon::after {
    content: '✦';
    position: absolute;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0.9;
    pointer-events: none;
}

.about-icon::before {
    top: 8px;
    left: 12px;
}

.about-icon::after {
    bottom: 10px;
    right: 14px;
}

.about-content {
    position: relative;
    top: 95px;
}

/* Tabs */
.tabs {
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--cor3);
    margin-bottom: 20px;
    margin-top: -321px;
}

.tab-button {
    padding: 3px 29px;
    cursor: pointer;
    border: none;
    background: none;
    color: white;
    font-size: 26px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: var(--font-title);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}

.tab-content {
    display: none;
    animation: fade 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/*✧✧✧✧✧✧✧✧✧ FORMATION ✧✧✧✧✧✧✧✧✧*/
.formation-content {
    position: relative;
    top: 95px;
    margin: 46px 27px;
}

.formation-content h1 {
    font-size: 3rem;
    text-align: left;
    margin: 5px 0;
    font-family: var(--font-title);
    color: var(--primary-color);
}

.formation-content h2 {
    position: relative;
    right: -633px;
    font-size: 26px;
    margin: 5px 0;
    font-family: var(--font-title);
    color: var(--cor2);
}

.formation-content p {
    position: relative;
    left: -359px;
    font-size: 1.2rem;
    margin: 19px 360px;
    font-family: var(--font-text);
    color: var(--color-text);
}


/*✧✧✧✧✧✧✧✧✧ TOOLS ✧✧✧✧✧✧✧✧✧*/
.content-tool {
    position: relative;
    top: -6px;
    left: 1px;
    max-width: 600px;
}

.tools-list {
    position: relative;
    top: 95px;
    margin: 46px 27px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 49px;
    align-items: center;
}

.tools-list h3 {
    font-size: 4rem;
    align-items: center;
    font-family: var(--font-title);
    margin: 10px 23px;
}

.tools-list p {
    font-size: 1.2rem;
    font-family: var(--font-text);
    margin-bottom: 30px;
    text-align: left;
    max-width: 617px;
    margin-top: -13px;
}

.tool_img {
    position: relative;
    display: flex;
    top: 1rem;
    float: left;
    width: 184px;
    height: 184px;
    justify-content: space-between;

}



/*✧✧✧✧✧✧✧✧✧ PROJECTS ✧✧✧✧✧✧✧✧✧*/
.project-title {
    position: relative;
    top: -114px;
    font-size: 9rem;
    text-align: center;
    margin: 16rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--cor5);
    text-shadow:
        0 0 16px rgb(149, 198, 255),
        0 0 8px rgb(167, 191, 252);
    letter-spacing: 1.2rem;
    z-index: 12;
}

hr {
    position: relative;
    top: -304px;
    border: 0;
    height: 3px;
    background: var(--cor3);
    width: 1607px;
    margin: auto;
}

/*texts*/
.project-h1 {
    font-size: 3rem;
    text-align: left;
    margin: 5px 0;
    font-family: var(--font-title);
    color: var(--primary-color);
}

.project-text {
    position: relative;
    left: -359px;
    font-size: 1.2rem;
    margin: 19px 360px;
    font-family: var(--font-text);
    color: var(--color-text);
}


.project-h2 {
    text-align: left;
    font-size: 2rem;
    margin: 5px 0;
    font-family: var(--font-title);
    color: var(--cor2);
}

.project-img img {
    float: right;
    width: 35%;
    border-radius: 10px;
    margin-top: -562px;
    transition: transform 0.5s ease-in-out, drop-shadow 0.2s ease-in-out;
}

.project-img img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 15px 25px var(--primary-color));
}

li {
    font-size: 1.2rem;
    margin: 9px 22px;
    color: var(--color-text);
    font-family: var(--font-text);
}

/* slider styles */
.slider {
    width: 94vw;
    left: -8vw;
    height: 100vh;
    margin-top: -297px;
    position: relative;
}

.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.content {
    position: absolute;
    left: 225px;
    color: rgb(0, 0, 0);
}

.slider .list .item .content p:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h1 {
    font-size: 100px;
    margin: 0;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}

.slider .list .item.active h1 {
    animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
    animation-duration: 1.3s;
}

.arrows {
    position: absolute;
    top: 58%;
    right: 259px;
    z-index: 100;
}

.arrows button {
    background-color: rgba(0, 0, 0, 0.158);
    border: none;
    font-family: monospace;
    width: 49px;
    height: 42px;
    border-radius: 33px;
    font-size: x-large;
    color: var(--cor2);
    transition: .5s;
}


/*✧✧✧✧✧✧✧✧✧ CONTACTS ✧✧✧✧✧✧✧✧✧*/
.contact-title {
    position: relative;
    top: -114px;
    font-size: 9rem;
    text-align: center;
    margin: 16rem 0 0 0;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--cor5);
    text-shadow:
        0 0 16px rgb(149, 198, 255),
        0 0 8px rgb(167, 191, 252);
    letter-spacing: 1.2rem;
    z-index: 12;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: -10px;
    padding: 0 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 428px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
}

.icon-wrapper {
    width: 110px;
    height: 110px;
    background: rgba(20, 60, 140, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 1px solid rgba(100, 180, 255, 0.35);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 0 10px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before,
.icon-wrapper::after {
    content: '✦';
    position: absolute;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0.9;
    pointer-events: none;
}

.icon-wrapper::before {
    top: 8px;
    left: 12px;
}

.icon-wrapper::after {
    bottom: 10px;
    right: 14px;
}

.contact-icon {
    position: relative;
    width: 70px;
    height: 107px;
    left: -1px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.contact-item span {
    font-family: var(--font-text);
    color: var(--cor2);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 42, 110, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 32px;
    border-radius: 50px;
    border: 1px solid rgba(100, 180, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    display: block;
}

.icon-wrapper.email {
    background: rgba(30, 80, 180, 0.45);
}

.icon-wrapper.github {
    background: rgba(40, 40, 40, 0.5);
}

.icon-wrapper.linkedin {
    background: rgba(0, 110, 180, 0.45);
}


/*✧✧✧✧✧✧✧✧✧ SCROLLBAR ✧✧✧✧✧✧✧✧✧*/
::-webkit-scrollbar {
    scrollbar-width: thin;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}

::-webkit-scrollbar-track {
    background-color: var(--cor3);
}


/*✧✧✧✧✧✧✧✧✧ FOOTER ✧✧✧✧✧✧✧✧✧*/
.footer {
    color: white;
    position: relative;
    top: 67px;
    left: 751px;
    width: 100%;
    z-index: 98;
    font-family: var(--font-text);
    font-size: 22px;
}

#year {
    font-size: 19px;
    color: var(--cor1);
    font-family: var(--font-text);
    font-family: var(--font-text);
}