@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;

}
html{
    scroll-behavior: smooth;

}


li {
    list-style-type: none;
}

p {
    line-height: 1.5;
    font-size: 18px;
}

a {
    text-decoration: none;

}

button {
    cursor: pointer;
}

section {
    background-color: #6d8196;
    transition: all 325ms ease;
}

input,
textarea {
    width: 100%;
    background-color: #242424;
    color: #fff;
    outline: none;
    border: 4px solid#c0c4cc;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 40px;
    transition: all 300ms ease;

}

textarea {
    resize: vertical;
    height: 100px;
    margin-top: 16px;

}

input:hover,
textarea:hover {
    border-color: #dcdfe6;

}

input:focus,
textarea:focus {
    border-color: #8a00c4;
}

label {
    font-size: 14px;
    font-weight: bold;
}

.container {
    padding: 50px 0;
    width: 100%;
}



.row {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

.click {
    cursor: pointer;
}

.click {
    transition: all 300ms;
}

.click:hover {
    transform: scale(1.1);
}

.click:active {
    transform: scale(0.8);
}


.title {
    font-size: 88px;
    margin-bottom: 12px;
    text-align: left;
    line-height: 1;
}

.purple--text {
    color: #8A00C4 !important;
    text-shadow:
        0 0 .25px #8A00C4,
        0 0 .75px #8a00c4,
        0 0 1px #8a00c4,
        0 0 .84px #8a00c4;
    font-weight: bold;
    animation: neonGlow 3250ms infinite alternate;
    -webkit-text-stroke: 1px #242424;
    /* helps stay visible */

}

.purple {
    color: #8a00c4;
    text-shadow: 0 0 1.25px #8a00c4;
}

.link__hover-effect {
    position: relative;
}

.link__hover-effect::after {
    content: "";
    position: absolute;
    bottom: -3px;
    height: 3px;
    width: 0;
    right: 0;
    background-color: #242424;
    transition: all 300ms ease;
}

.link__hover-effect--white::after {
    background-color: #8a00c4;
}

.link__hover-effect--black::after {
    background-color: #8a00c4;
}

.link__hover-effect:hover:after {
    left: 0;
    width: 100%;
}


nav,
.scroll,
.header {
    opacity: 1;
    visibility: visible;
    transition: all 600ms 650ms;
}

.modal--open nav,
.modal--open .scroll,
.modal--open .header {
    opacity: 0;
    visibility: hidden;
    transition: all 400ms;
}

.dark-theme .title,
.dark-theme .section__title,
.dark-theme .section__sub-title,
.dark-theme .nav__link--anchor,
.dark-theme .fa-circle-half-stroke,
.dark-theme .header__para {
    color: #00f0ff;
}

.dark-theme section {
    background-color: #242424;

}

.dark-theme #personal-logo {
    filter: none;
}

.dark-theme .scroll__icon {
    border-color: #fff;
}

.dark-theme .scroll__icon:after {
    border-color: #fff;
}

.dark-theme .mail__btn {
    background-color: #00f0ff;
    color: #8a00c4;
}



/* Landing page */

#landing-page {
    min-height: 100vh;
}

.header {
    position: absolute;
    padding: 0 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
}

.social__list {
    margin-top: 16px;
    display: flex;
}

.social__link {
    background-color: #8A00C4;
    color: #fff;
    padding: 6px;
    width: 32px;
    height: 32px;
    font-size: 20px;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* makes it a circle */
}

.header__para {
    font-size: 25px;
    line-height: 2;
    max-width: 450px;
}

.mail__btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background-color: #242424;
    color: #fff;
    position: fixed;
    bottom: 32px;
    right: 40px;
    z-index: 50;
}

.scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll__icon {
    width: 20px;
    height: 30px;
    border: 2px solid #242424;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scroll;
}

.scroll__icon:after {
    content: "";
    width: 4px;
    height: 6px;
    background-color: #242424;
    border-radius: 2px;
    animation: scroll 1000ms infinite alternate-reverse;
}

@keyframes scroll {
    0% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(-3px);
    }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px #8a00c4, 0 0 10px #8a00c4, 0 0 15px #8a00c4, 0 0 20px #8a00c4;
        filter: brightness(1.2) drop-shadow(0 0 4px #8a00c4);
    }

    50% {
        text-shadow: 0 0 10px #8a00c4, 0 0 20px #8a00c4, 0 0 30px #8a00c4, 0 0 40px #8a00c4;
        filter: brightness(1.5) drop-shadow(0 0 8px #8a00c4);

    }

    100% {
        text-shadow: 0 0 5px #8a00c4, 0 0 10px #8a00c4, 0 0 15px #8a00c4, 0 0 20px #8a00c4;
        filter: brightness(1.2)drop-shadow(0 0 4px #8a00c4);

    }

}

span {
    color: #8a00c4;
    font-weight: bold;
    animation: neonGlow 1s infinite alternate;
}


/* Nav */


nav {
    padding: 0 20PX;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
}

#personal-logo {
    width: 100px;
    height: 100px;
    filter: invert(1);
}

.nav__link--list {
    display: flex;
}

.nav__link {
    margin: 0 12px;

}

.nav__link--anchor {
    font-size: 16px;
    color: #242424;
    font-weight: 700;
}

.fa-solid {
    font-size: 22px;
}


/* Modal */

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1100px;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    visibility: hidden;
    z-index: -1;
    transition: visibility 1s, z-index 1s, box-shadow 0.5s ease;
}

.modal--open .modal {
    z-index: 60;
    box-shadow: 0 20px 80px rgb(0, 0, 0, 0.55);
    visibility: visible;
}

.modal--open .modal__about,
.modal--open .modal__contact {
    transform: translateX(0%);
}


.modal__half {
    width: 50%;
    padding: 40px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: all 300ms ease-in;
}

.modal__about {
    background-color: #d3d3d3;
    transform: translateX(-110%);


}

.modal__languages {
    display: flex;
    flex-wrap: wrap;
}

.modal__language {
    width: 25%;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 300ms ease;
}

.modal__language:hover .language__name {
    transform: scale(1);
}

.modal__language:hover {
    filter: brightness(80%);
    transform: scale(0.9);
}

.language__name {
    position: absolute;
    bottom: -10px;
    color: #242424;
    transform: scale(0);
    transition: all 300ms ease;
}

.modal__language--img {
    width: 100%;
}

.modal__contact {
    background-color: #242424;
    color: #fff;
    transform: translateX(110%);
}

.modal__title {
    font-size: 26px;
}

.modal__sub-title {
    margin: 12px 0 24px 0;
    font-size: 16px;
}

.modal__para {
    margin-bottom: 12px;
    line-height: 1.75;

}

.form__item {
    margin-bottom: 20px;

}

.form__submit {
    background-color: #8a00c4;
    border: 2px solid #8a00c4;
    color: #fff;
    text-shadow:
        0 0 .25px #8A00C4,
        0 0 .5px #8A00C4,
        0 0 .75px #8a00c4;
    font-size: 16px;
    font-weight: bold;
    animation: neonGlow 3250ms infinite alternate;
    -webkit-text-stroke: 1px #242424;
    /* helps stay visible */
    width: 100%;
    max-width: 240px;
    padding: 12px 24px;
    font-size: 20px;
    transition: all 300ms ease;
}

.form__submit:hover {
    border-color: #8900c48e;
    background-color: transparent;
}

.form__submit:active {
    border-color: #8900c48e;
    color: #8900c48e;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.modal__overlay--loading {
    background-color: #3b0e4e;
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; */
    animation: neonGlow 1300ms infinite;
    /* z-index: -1; */

}

.modal__overlay--success {
    background-color: #3fa111;
    animation: neonGlow 3000ms infinite;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    padding: 24px;


}

.modal__overlay--visible {
    z-index: 1;
    display: flex;

}

.fa-gear {
    font-size: 100px;
    animation: gear 1500ms infinite;

}

@keyframes gear {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal__exit {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 36px;
    z-index: 100;
}


/* Projects */

.project {
    padding-bottom: 100px;
}

.section__title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
}

.project__img {
    width: 100%;
}

.project__img:hover .project__img {
    transform: scale(1.07);
    filter: blur(4px);
    transition: all 600ms ease;
}

.project:hover .project__img {
    transform: scale(1.07);
    filter: blur(4px);
    transition: all 600ms ease;
}

.project__wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 80px 0 rgb(0, 0, 0, 0.45);
    overflow: hidden;
}

.project__description {
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(100%);
    /*whenever you do top 50% you need to translateY -50%. Left 50%, translateX 50%. */
    color: #fff;
    max-width: 550px;
    opacity: 0;
    transition: opacity 300ms, transform 450ms ease;

}


.project__wrapper:hover .project__description {
    opacity: 1;
    transform: translateY(-50%);
}

.project__wrapper:hover .project__wrapper--bg {
    opacity: 0.7;
}

.project__wrapper--bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1c1d25;
    opacity: 0;
}

.project__description--title {
    font-size: 40px;
}

.project__description--sub-title {
    margin-top: 24px;
}

.project__description--link {
    color: #fff;
    font-size: 20px;
    margin-right: 16px;
}

.project__description--para {
    margin: 16px 0;

}

/* Footer */

footer {
    position: relative;
    background-color: #242424;
    display: flex;
    padding: 6% 0;
}

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

}

.footer__logo--img {
    width: 70px;
}

.footer__social--list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    max-width: 500px;
    margin: 28px 0;

}

.footer__social--link {
    padding: 28px;
    margin: 0 20px;
}

.footer__copyright {
    padding-top: 48px;
}

.footer__social--link,
.footer__copyright {
    color: #fff;
}

/* 

shapes
on first row
top = 15vh

on second row
top = 50vh

on third row
top = 80vh

shapes on first column
left = 5vw

shapes on second column
left = 50vw

shapes on third column
left = 80vw


*/

.shape {
    position: fixed;

}

.shape--0 {
    top: 15vh;
    left: 5vw;
}

.shape--1 {
    top: 15vh;
    left: 50vw;
}

.shape--2 {
    top: 15vh;
    left: 80vw;
}

.shape--3 {
    top: 50vh;
    left: 5vw;
}

.shape--4 {
    top: 50vh;
    left: 50vw;
}

.shape--5 {
    top: 50vh;
    left: 80vw;
}

.shape--6 {
    top: 80vh;
    left: 5vw;
}

.shape--7 {
    top: 80vh;
    left: 50vw;
}

.shape--8 {
    top: 80vh;
    left: 80vw;
}


/* responsiveness */
/* small phones, tablets, large smart phones */

@media(max-width: 768px) {
    .title {
        font-size: 80px;
    }
    .header__para {
        font-size: 20px;
    }
    .modal {
        top: 0;
        left: 0;
        height: auto;
        transform: none;
        width: 100%;
        flex-direction: column-reverse;
        border-radius: 0;
    }
    .modal__half {
        width: 100%;

    }
}

/* small phones */
@media(max-width: 480px) {
    .title{
        font-size: 52px;
    }
    .header__para{
        font-size: 18px;
    }
    .nav__link:first-child{
        display: none;
    }
    .project__description--para{
        display: none;
    }
    .project__description{
        left: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .project__description--sub-title{
        margin-bottom: 8px;
    }
    .modal__half{
        padding: 40px;
    }

}