* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}


.navClass {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
}

.navClass a {
    color: #000;
    font-size: 20px;
    text-decoration: none;
 
}

.navClass a:hover {
    color: #FB6971;
    font-size: 30px;
    text-decoration: none;

}


.mainContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;

    max-width: 800px;

    margin: 0 auto;
}

.aboutContainer {
    background-color: #FF6F6F;
    border-radius: 20px;
    padding: 35px;
    height: fit-content;
    color: white;

    width: 450px;
    height: 439px;
    
    /* max-width: 450px; */
}

/* Title */
.aboutContainer p:nth-of-type(1) {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 500;
}

/* sub-text */
.aboutContainer p:nth-of-type(2) {
    font-size: 16px;
    margin-bottom: 25px;
}

.icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-btn {
    background-color: black;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.icons img {
    width: 45px;
    height: 45px;
    cursor: pointer;
    background-color: white;
    padding: 8px;
    border-radius: 50%;
}



figure {
    width: 100%;
    height: 100%;
}

figure img {
    width: 90%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.project1Container {
    background-color: #FFCF56;
    border-radius: 25px;
    padding: 25px;
    /* width: 90%; */
}

.project1Container p:first-of-type {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project1Subline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project1Subline p {
    font-size: 18px;
    color: #000;
}

.project1Subline img {
    width: 40px;
    height: 40px;
}


.project1Container>img {
    width: 100%;
    height: auto;
    display: block;
}

/* Renatus Project Styles */
.project2Container {
    background-color: #39437A;
    border-radius: 25px;
    padding: 25px;
    position: relative;

    /* width: 500px; */
    color: white;
}

.project2Container p:first-of-type {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project2Subline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project2Subline img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);

}



.project2Container>img {
    width: 334px;
    height: 246px;
    margin-top: 150px;

    /* TODO: make a media query to make this be repsonvie for mobile only */
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    color: #666;
    
}

footer hr {
    margin-bottom: 15px;
    border: none;
    border-top: 1px solid #ddd;
}

/* ABOUT ME PAGE */
ul {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    list-style-position: inside;
    padding: 0;
    line-height: 2;
}

.hobby {
    color: #5F7ED1;
    font-weight: 600;
}

h3 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
    color: #333;
}

.aboutMeText {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    width: 80%;
    color: white;
    background-color: #5F7ED1;
    padding: 2.5rem;
    border-radius: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(95, 126, 209, 0.3);

}

.aboutMeText p {
    margin-bottom: 1.5rem;
}


li {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 1;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

li:hover {
    transform: translateX(10px) !important;
    box-shadow: 2px 4px 8px rgba(0,0,0,0.15);
    background: #ffffff;
    cursor: pointer;
}
.csumbLogo{
    width: 10%;

}


/*MODALS*/

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    margin:  1% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}
.modal-image {
    width: 70%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}


/*ANIMATIONS*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.mainContainer,
.aboutMeText,
ul,
.project1Container,
.project2Container,
.aboutContainer {
animation: fadeIn 1.5s ease-out forwards;
}

li {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

li:nth-child(1) {
    animation-delay: 0.4s;
}

li:nth-child(2) {
    animation-delay: 0.8s;
}

li:nth-child(3) {
    animation-delay: 1.2s;
}

li:nth-child(4) {
    animation-delay: 1.6s;
}



/*PROJECTS */
.project{
    background-color: #FFCF56;
    border-radius: 25px;
    padding: 3%;
    
}

.project:nth-child(2n) {
    background-color: #39437A;
    color: white;
}

.project:nth-child(2n) img {
    filter: brightness(0) invert(1);
}

.project:nth-child(2n) .project1Subline p,
.project:nth-child(2n) .project2Subline p {
    color: white;
}

/*BACKGROUND ANIMATION*/
body {
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}



.circle {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
    transition: none;
    /* Remove smooth transition */
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(15px, 15px);
    }

    50% {
        transform: translate(-10px, 25px);
    }

    75% {
        transform: translate(-20px, 15px);
    }
}

/*FOR MOBILE DEVICES */
@media screen and (max-width: 768px) {
.mainContainer {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .aboutContainer {
        width: 100%;
        height: auto;
        padding: 25px;
    }

    .icons {
        margin-top: 30px;
    }

    .contact-btn{
        font-size: 12px;
    }

    figure {
        margin: 0 auto;
    }

    figure img {
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .project1Container,
    .project2Container {
        width: 100%;
    }

    .project1Container>img,
    .project2Container>img {
        width: 100%;
        height: auto;
        margin-top: 15px;
    }

    .csumbLogo {
        width: 20%;
    }

    .navClass {
        justify-content: center;
    }

    .navClass a {
        font-size: 1.125rem;
    }

    .navClass a:hover {
        font-size: 1.5rem;
    }
}



