:root {
    --blue-dark: rgb(10, 25, 47);
    --blue-light: rgb(55, 206, 196);
    --magenta: #ff00cc;
    --purple: #7928ca;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    background-color: var(--blue-dark);
}
.visuallyHidden{
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}
a {
    text-decoration: none;
    color: var(--blue-light);
}

p {
    color: white;
}

.globalHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.globalHeader.scrolled {
    opacity: 0.5;
}

.logo {
    width: 3%;
}

.menu {
    display: none;
}

.globalNav {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 1rem;
}

.cursor-glow {
    position: fixed;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(55, 206, 196, 0.25) 0%, transparent 80%);
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease;
    filter: blur(80px);
}

main {
    width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
}

.presentation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.greeting {
    background-color: rgba(55, 206, 196, 0.25);
    padding: .5rem 1rem;
    border-radius: .5rem;
    width: max-content;
    font-weight: 999;
}

.title {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 500;
}

.title span {
    color: var(--blue-light);
    font-weight: 999;
}

.presentationButtons {
    display: flex;
    gap: 2rem;
}

.presentationButtons button {
    border-radius: 1000px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    padding: .5rem 1rem;
    color: white;
    font-weight: bold;
    background-color: var(--blue-dark);
    cursor: pointer;
}

.contactme button {
    background: linear-gradient(to bottom right, var(--purple) 35%, var(--blue-light) 100%);
}

.cv button::before {
    content: '';
    position: absolute;
    z-index: -1;
    height: 107%;
    width: 102%;
    border-radius: 1000px;
    background: linear-gradient(to bottom right, var(--magenta), var(--blue-light));
}

.cv button:hover {
    z-index: 0;
    box-shadow: 40px 0 100px var(--magenta), -40px 0 100px var(--blue-light);
    transform: scale(1.05);
    transition: .5s all ease-in-out;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.sectionTitle {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    color: var(--blue-light);
}

.experience {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    border-radius: .5rem;
    padding: 1rem;
    border-left: 3px solid rgba(193, 13, 199, 0.19);
}

.experience:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: #aca1a111;
    transition: all .3s;
}

.jobTitle {
    font-size: 1.25rem;
    color: var(--blue-light);
    opacity: 0.8;
}

.date {
    color: var(--blue-light);
    opacity: 0.5;
}

.jobDescription {
    max-width: 80ch;
}

.toolsUsed {
    list-style: none;
    display: flex;
    gap: 2rem;
    max-width: 80ch;
    flex-wrap: wrap;
    color: white;
}

.toolsUsed li {
    padding: .5rem 1rem;
    background-color: rgba(124, 52, 146, 0.788);
    border-radius: 1rem;
}

.aboutme {
    align-items: center;
}

.aboutme img {
    width: 175px;
    height: 175px;
    border-radius: 1000px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.socialNetworks {
    display: flex;
    gap: 0.25rem;
}

.socialNetworks a {
    color: gray;
    padding: .75rem;
    font-size: 1.5rem;
}

.me {
    text-align: center;
    font-size: 1.25rem;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.me p {
    color: rgb(155, 150, 150);
}

.me span {
    color: rgb(228, 220, 220);
}

@media screen and (max-width:768px) {
    .logo {
        width: 20%;
    }

    .menu {
        display: block;
        width: 20%;
        right: 0;
    }

    .globalNav a {
        display: none;
    }

    .globalNav.responsive {
        position: absolute;
        height: 100vh;
        right: 0;
        top: 0;
        z-index: 999;
        width: 50%;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        animation: responsiveNavBar .3s ease-in-out;
        background-color: rgba(55, 206, 196, 0.247);
    }

    .globalNav.responsive a {
        display: block;
        color: white;
    }

    .globalNav.responsive .menu {
        width: 30%;
        align-self: flex-end;
        margin-right: .5rem;
    }

    main {
        width: 90%;
    }

    .title {
        font-size: 2rem;
    }

    .section {
        width: 100%;
    }
    .me{
        width: 100%;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .logo {
        width: 8%;
    }
}

@keyframes responsiveNavBar {
    0% {
        right: -50%;
    }

    100% {
        right: 0;
    }
}