* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #eee;
    /* text a tad brighter */
    scroll-behavior: smooth;
}

#header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #eee;
    /* text a tad brighter */
    text-decoration: dashed;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #2a5c8a;
    /* animation color a tad darker  2a5c8a*/
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span {
    color: #66bbff;
    /* Softer blue to flow with the background */
    text-shadow: 0 0 10px rgba(102, 187, 255, 0.8), 0 0 20px rgba(102, 187, 255, 0.6);
    /* Glow effect */
    animation: glow 2s infinite alternate;
    /* Subtle glow animation */
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(102, 187, 255, 0.8), 0 0 20px rgba(102, 187, 255, 0.6);
    }

    to {
        text-shadow: 0 0 20px rgba(102, 187, 255, 1), 0 0 30px rgba(102, 187, 255, 0.8);
    }
}

/*.header-text h1 span {
    color: #2a2a8a;


}

*/

/* ---------about--------*/
#about {
    padding: 80px 0;
    color: #ffffff;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.about-col-2 p {
    color: white;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #368BC1;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 70%;
}

.tab-contents ul li {
    list-style: square;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #ffffff;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/*------------portfolio----------*/
#portfolio {
    padding: 50px 0;
    color: #FFFFFF;
}

/*find a way to implement the link to the github whenever I set that up*/
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #36d4f7);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.354s;
}

.layer h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

/*----------contact----------*/
#contact {
    background: #000;
    color: #fff;
    padding: 50px 0;
}

#contact .container {
    padding: 10px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-left {
    text-align: center;
}

.sub-title {
    font-size: 30px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-icon a {
    color: #82CAFF;
    /* Changing color to be consistent with the rest of the website */
    font-size: 30px;
    margin: 0 15px;
    text-decoration: none;
}

.social-icon a:hover {
    color: #36d4f7;
    /* Adjusting color to match the portfolio hover effect */
}

.btn {
    background-color: #368BC1;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    text-decoration: none;
}

.btn:hover {
    background-color: #0077B5;
}


/*-66cfe2-*/

html {
    scroll-behavior: smooth;
}

/* Updated background gradient and animation */
#header,
#about,
#portfolio,
#contact {
    height: 100vh;
    width: 100%;
    background: linear-gradient(-45deg, #2C3E50, #34495E, #1C2833, #1A5276);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    /* Slowed down the animation for a smoother effect */
}

#contact {
    height: auto;
    width: 100%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.more-projects {
    margin-top: 20px;
    text-align: center;
}

.more-projects p {
    font-size: 18px;
    margin-bottom: 10px;
}

.more-projects a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
}

.more-projects a i {
    margin-right: 5px;
}

/*

*/