/* Reset browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic typography */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Background Styling */ 
body {
    background: linear-gradient(135deg, #B066FE, #63E2FF);
}

/* Header */
header {
    background-color: #333;
    padding: 1rem;
    justify-content:space-around;
    padding-top: 3rem;
}

header h1 {
    color: #fff;
    margin-bottom: 1rem;
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline;
    margin: 0 0.5rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #ccc;
}

header nav ul li a.active {
    border-bottom: 2px solid #fff;
}

/* Sticky navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    padding-top: 0.8rem;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    min-height: 4rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
}

.home-link:hover h1 {
    color: #ccc;
}

#mobile-logo {
    display: none;
}

.home-logo {
    height: auto;
    max-height: 6rem;
    max-width: 90%
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.6rem, 1.6rem, 4vw);
    margin-right: 1rem;
}

header nav ul li {
    margin: 0 0.5rem;
}


/* Sections */
.body-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

#banner {
    padding-top: 3.75rem;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: 5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.125);
    background-image: linear-gradient(to right, #8bb8ec, #c89cf6);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text; /* Don't forget this for compatibility with Safari */
}

section:first-of-type {
    margin-top: 2rem;
}

#about::before {
    content: "";
    display: block;
    height: 90px; /* height of your navbar or the desired offset */
    margin: -90px 0 0; /* negative value of the height */
}

#data-science::before {
    content: "";
    display: block;
    height: 90px; /* height of your navbar or the desired offset */
    margin: -90px 0 0; /* negative value of the height */
}

section {
    padding: 2rem;
}

section h2 {
    margin-bottom: 1rem;
}

section article {
    margin-bottom: 1rem;
}

.projects a {
    color: black;
}

.projects p {
    line-height: 1.2;
}

.projects li {
    margin-left: 16px;
}

.icon-container {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 0;
}

i.devicon {
    font-size: 4rem; 
    margin: 1rem 1rem;
}

i.devicon:hover {
    color: black; /* Any color you prefer */
}

/* Footer */
footer {
    background-color: #000000;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #9a9a9a;
}

@media only screen and (max-width: 768px) {
    body {
        max-width: 100%;
    }
    h1 {
        font-size: 3rem;
    }
    .sticky-nav {
        max-width: 100%;
        box-sizing: border-box;
    }
    #mobile-logo {
        height: 60px;
        width: auto;
        display: inline;
    }
    .home-logo {
        display: none;
    }
    header nav ul {
        margin-right: 0.4rem;
    }
    
}

/* Hover Effects */
a, button {
    transition: all 0.3s ease;
}

a:hover {
    transform: scale(1.05);
}

.card-style {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-style:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
