@import"https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap";

:root {

    --main: rgb(59, 130, 246);
    --gray: rgb(177, 177, 177);
    --dark-gray: rgb(88, 88, 88);
    --darker-gray: rgb(38, 38, 38);
    --darker-main: rgb(45, 113, 224);
}

html {
    scroll-behavior: smooth
}

a,
p,
h1,
h2,
h3,
h4,
li {
    color: #fff;
    transition: ease .15s;
    margin: 0;
    text-decoration: none;
    list-style: none
}

body {
    background-color: black;
    width: 100%;
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 0;
    margin: 0;
}



::-webkit-scrollbar {
    background: none;
    width: .6rem
}

::-webkit-scrollbar-thumb {
    background-color: #fff
}

::-webkit-scrollbar-track {
    background-color: transparent
}

div.backdrop div {
    z-index: -100;
}

.blurred {
    position: fixed;
    inset: 0;
    height: 100vh;
    backdrop-filter: blur(82px);
    z-index: -50;
}

.backdrop .spot-1 {
    position: fixed;
    top: 20%;
    left: 10%;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-image: linear-gradient(to right, #1d6cff, rgba(36, 255, 189, 0.705));
    animation: move1 30s infinite;
}

.backdrop .spot-2 {
    position: fixed;
    top: 40%;
    right: 10%;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background-image: linear-gradient(to right, #a332ff, rgba(224, 228, 6, 0.705));
    animation: move2 30s infinite;
}

.backdrop .spot-3 {
    position: fixed;
    bottom: 20%;
    left: 40%;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-image: linear-gradient(to right, #1768ff, rgba(207, 17, 255, 0.705));
    animation: move3 30s infinite;
}

@keyframes move1 {
    0% {
        position: fixed;
        top: 20%;
        left: 10%;
    }

    50% {
        position: fixed;
        top: 80%;
        left: 90%;
    }

    100% {
        position: fixed;
        top: 20%;
        left: 10%;
    }
}

@keyframes move2 {
    0% {
        position: fixed;
        top: 40%;
        right: 10%;
    }

    50% {
        position: fixed;
        top: 40%;
        right: 90%;
    }

    100% {
        position: fixed;
        top: 40%;
        right: 10%;
    }
}

@keyframes move3 {
    0% {
        position: fixed;
        bottom: 20%;
        left: 40%;
    }

    50% {
        position: fixed;
        bottom: 80%;
        left: 80%;
    }

    100% {
        position: fixed;
        bottom: 20%;
        left: 40%;
    }
}


.email--container {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    right: 5rem;
    z-index: 5;
    transition: ease .2s;
}

.email--container::after {
    content: '';
    display: block;
    width: 1px;
    height: 7rem;
    margin-top: 0.6rem;
    background-color: white;
}

.email--link {
    position: absolute;
    bottom: 14.6rem;
    color: white;
    transform: rotate(90deg);
}

.email--link:hover {
    transform: rotate(90deg) translateX(-4px);
}

@media only screen and (max-width: 768px) {
    .email--container {
        right: -4rem
    }
}

.social-container {
    opacity: 1;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    left: 5rem;
    z-index: 5;
    transition: ease .2s;
}

.social-link {
    color: white;
}

.social-icon {
    width: 1.4rem;
    height: 1.4rem;
    padding: 0.4rem 0;
    transition: ease 0.2s;
}

.social-icon:hover {
    transform: translateY(-4px);
}

.social-container::after {
    content: '';
    display: block;
    width: 1px;
    height: 7rem;
    margin-top: 0.6rem;
    background-color: white;
}


@media only screen and (max-width: 768px) {
    .social-container {
        left: -4rem
    }
}

main {
    padding: 0 120px
}

@media only screen and (max-width: 768px) {
    main {
        padding: 0 40px;
    }
}


section.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 900px) {
    section.hero {
        flex-direction: column-reverse;
    }

    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .greeting {
        transform: translateX(-80px);
    }

    .contact {
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width: 600px) {
    .greeting {
        transform: translateX(0px);
    }

    .intro {
        font-size: 14px;
    }
}

.greeting,
.name,
.job {
    font-size: 55px;
    font-weight: 600;
}

@media only screen and (max-width: 1220px) {

    .greeting,
    .name,
    .job {
        font-size: 40px;
    }
}

@media only screen and (max-width: 1020px) {

    .greeting,
    .name,
    .job {
        font-size: 35px;
    }
}

@media only screen and (max-width: 600px) {

    .greeting,
    .name,
    .job {
        font-size: 25px;
    }
}

.lt,
.gt {
    color: var(--main)
}

.intro {
    color: var(--gray);
    letter-spacing: 0.11 rem;
}

.contact {
    margin-top: 2.5rem;
}

.contact button {
    background: transparent;
    color: var(--main);
    border: 1px solid var(--main);
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem;
    border-radius: 0.2rem;
    margin: 0 0.4rem;
    cursor: pointer;
    transition: ease .2s;
}

.contact button:hover {
    color: white;
    transform: scale(1.04);
}

.profile-pic {
    border-radius: 100%;
    width: 250px;
    height: 250px;
}

@media only screen and (max-width: 1020px) {
    .profile-pic {
        width: 200px;
        height: 200px;
    }
}

@media only screen and (max-width: 600px) {
    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .contact button {
        font-size: 0.9rem;

    }
}