@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Metal+Mania&family=Orbitron:wght@400..900&family=Outfit:wght@100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #000000;
    --second-bg-color: #121212;
    --text-color: #fff;
    --main-color: rgb(9, 190, 203);

}

html {
    font-size: 62.5%;

}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
}


body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    margin-top: 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 1rem 5%;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, .2);
    background-size: cover;
    background-position: center;
    padding-bottom: 0px;
    z-index: 100;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

header:hover::before {
    left: 100%;
}

.logo {
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    text-transform: uppercase;
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.menu-icon {
    display: none;
}

@media (max-width:750px) {

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        gap: 0;
        overflow: hidden;
    }

    nav a.active {
        border-bottom: 0px;
    }

    nav a {
        padding: 20px;
        padding-top: 0;
    }

    nav a:hover {
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .menu-icon {
        display: block;
    }

    #menuList {
        transition: all 0.5s;
    }
}

@media(max-width:995px) {
    #menu-button {
        display: block;
        font-size: 3rem;
    }
}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home {
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
    background-color: black;
    margin-top: 2%;
}

.home .home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: var(--main-color);
}

.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p {
    font-size: 1.6rem;
}

.home-content a {
    font-size: 1.6rem;
    color: var(--main-color);
}

.home-img {
    border-radius: 50%;

}

.home-img img {
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--main-color),
        0 0 15px var(--main-color),
        0 0 50px var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.home-img img:hover {
    box-shadow: 0 0 15px var(--main-color),
        0 0 25px var(--main-color),
        0 0 70px var(--main-color);
    ;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: var(--main-color);
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--main-color);
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid var(--main-color);
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}

.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "GAUTHAM";
    color: var(--main-color);
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: #000000;
    border-left: 2px solid var(--main-color);
    right: -8px;
    animation: cursor .8s infinite, typing 20s steps(14) infinite;
}


@keyframes cursor {
    to {
        border-left: 2px solid #13121100;
    }
}

@keyframes words {

    0%,
    20% {
        content: "GAUTHAM";
    }

    21%,
    40% {
        content: "a Student";
    }

    41%,
    60% {
        content: "a Developer";
    }

    61%,
    80% {
        content: "an Auto enthusiast";
    }

    81%,
    100% {
        content: "a Gamer";
    }
}


@keyframes typing {

    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 8px);
    }
}


.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12rem;
}

.about .about-content {
    word-spacing: 10px;
}

.about-content p {
    font-size: 17px;
    line-height: 24px;
    font-family: "Outfit", "Edu AU VIC WA NT Hand", sans-serif, verdana;
    animation: slideLeft 1s ease forwards;
}

.about-content h1 {
    color: #fff;
    font-family: "Edu AU VIC WA NT Hand", "Poppins", sans-serif, verdana;
    padding-bottom: 10px;
    font-size: 50px;
    animation: slideRight 1s ease forwards;
}

.about-content .me {
    font-family: "Edu AU VIC WA NT Hand", "Poppins", sans-serif, verdana;
    font-size: 50px;
}

/*EDUCATION */

.edu-heading {
    font-size: 8rem;
    text-align: center;
    margin: 8rem 0;
}

.education {
    padding: 100px 15px;
    background: var(--second-bg-color);
}

.education h2 {
    margin-bottom: 5rem;
}

.edu-items {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.edu-items::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% - 1px);
}

.edu-item {
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.edu-item:last-child {
    margin-bottom: 0;
}

.edu-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.edu-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.edu-dot {
    height: 21px;
    width: 21px;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
    position: absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 10px;
}

.edu-date {
    font-size: 20px;
    font-weight: 900;
    color: white;
    margin: 6px 0 15px;
}

.edu-content {
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.edu-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--main-color);
}

.edu-content h3 {
    font-size: 20px;
    color: wheat;
    margin: 0 0 10px;
    line-height: 22px;
}

.edu-content p {
    color: white;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-align: start;
}

/* ASK ME */
.askme {
    background-image: url(images/askmebg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.askme-container {
    min-height: 500px;
    min-width: 600px;
    margin: auto;
    margin-top: 10%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    animation: slideRight .7s ease forwards;
}


.askme-field {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.askme-title {
    font-family: "Orbitron", "Outfit", sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0ef;
}

.askme-inputs {
    background-color: transparent;
    border: 2px solid #0ef;
    border-radius: 50px;
    width: 400px;
    height: 50px;
    outline: none;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffefef;
}

textarea {
    height: 140px;
    width: 400px;
    padding-top: 15px;
    border-radius: 20px;
    background-color: transparent;
    border: 2px solid #0ef;
    color: white;
    font-size: 20px;
}

.askme-inputs input::placeholder {
    color: rgba(255, 255, 255, 0.612);
}

.askme-inputs input {
    width: 400px;
    height: 50px;
    padding-left: 20px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    color: white;
}

.askme-inputs:focus {
    border: 2px solid #0ef;
}

.buttons {
    display: inline-flex;
    justify-content: space-evenly;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid transparent;
    transition: 0.3s ease;
    margin: auto;
}

button {
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 20px 30px;
    margin: 10px;
    transition: all 0.3s ease-in-out;

}

button:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}



@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width:995px) {
    .home {
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }
}

@media(max-width:995px) {
    .about {
        flex-direction: column-reverse;
        margin: 5rem 4rem;
        gap: 2rem;
    }

    .about .about-content h3 {
        font-size: 2.5rem;
    }

    .about-content h1 {
        font-size: 3rem;
    }

    .about-content .me {
        font-size: 3rem;
    }

    .about-img img {
        width: 50vw;
        margin-top: 4rem;
    }

    .askme-container {
        align-items: center;
        margin: auto;
        border-radius: auto;
        border: auto;
        width: auto;
        max-width: auto;
        min-width: 400px;

    }

    .askme-inputs {
        width: 350px;
    }

    textarea {
        height: 140px;
        width: 350px;

    }
}

@media(max-width:490px) {

    .edu-heading {
        font-size: 5rem;
    }

    .header {
        border: auto;
        margin: auto;
    }

    .menu-icon {
        padding-right: 30px;
    }

    .askme-container {
       
        width: auto;
        max-width: auto;
        min-width: auto;

    }

    .askme-inputs {
        width: auto;
    }

    .askme-inputs input {
        width: auto;
        font-size: 12px;
    }

    textarea {
        height: 140px;
        width: 250px;

    }

}

@media(max-width:991px) {
    .header {
        padding: 2rem 3%;
        width: auto;
    }

    .edu-items::before {
        left: 7px;
    }

    .edu-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .edu-item:nth-child(odd),
    .edu-item:nth-child(even) {
        padding-left: 37px;
    }

    .edu-dot {
        left: 0;
    }
}
