@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --sectionHeight: 100vh;

    --background: black;
    --primary: #00a2ff;
    --accent: #355394;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    color: var(--text);
    box-sizing: border-box; /* Helps manage padding and borders inside of box dimensions */
}

body {
    background: var(--background);
    font-family: 'Source Code Pro', monospace;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* HERO SECTION */
.hero {
    height: fit-content;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid var(--accent);
}

.heroContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.maintitle {
    font-size: 12vw; /* Responsive font size */
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-animation {
    width: 100%;
    max-width: 300px; /* Ensures it doesn't become too large */
}

.heroBtnContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.heroBtn {
    padding: 12px 24px;
    background: var(--accent);
    border-radius: 15px;
    border: none;
    color: var(--text);
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.heroBtn:hover {
    background: var(--primary);
}

.primaryBtn {
    background: var(--primary);
}

/* ABOUT ME SECTION */
.aboutme {
    height: max(85vh, fit-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-bottom: 5px solid var(--accent);
}

.sectionTitle {
    font-size: 8vw;
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aboutme-text {
    width: 90%; /* Limit width for readability */
    max-width: 600px; /* Limit maximum width */
}

.intro-text {
    text-align: center;
    margin: 20px 0;
}

/* Responsive design adjustments for larger screens */
@media only screen and (min-width: 650px) {
    .maintitle {
        font-size: 100px; /* Fixed size for large screens */
    }

    .hero-animation {
        max-width: 500px;
    }

    .heroBtnContainer {
        gap: 20px;
    }

    .heroBtn {
        width: 200px;
    }

    .sectionTitle {
        font-size: 60px;
    }

    .aboutme-text {
        font-size: 18px;
        padding: 20px;
    }
}