body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;

}

main {
    display: flex;
    justify-content: end;
    margin-top: 10vh;
}
a {
    text-decoration: none;
}
.spline_div {
    width: 30vw;
    height: 110vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
}

.project-container {
    max-width: 70vw;
}

.project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-top: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    transition: all 0.5s ease;
    height: 150px;
    width: 70vw;
}

.number {
    font-size: 100px;
    font-weight: 600; 
    width: 100%;
    font-family: "Bodoni Moda", serif;
    color: white;
    margin-bottom: 0;
    transition: opacity 0.5s ease;
}

.title {
    font-size: 45px;
    font-weight: 600; 
    font-family: "Bodoni Moda", serif;
    color: white;
    margin-bottom: 0;
    flex-grow: 1;
    text-align: right;
    transition: transform 0.5s ease;
    width: 100%;
}

.project-image {
    height: 300px;
    margin-right: 5%;
    width: 200px;
    transition: right 0.5s ease;
    transform: rotate(10deg);
    opacity: 0;
    object-fit: fill;
}

.project:hover .number {
    opacity: 0;
}

.project:hover .title {
    transform: translateX(-95%);
}

.project:hover .project-image {
    right: 5%;
    opacity: 1;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

h1 {
    font-size: 100px;
    font-weight: 600; 
    width: 100%;
    font-family: "Bodoni Moda", serif;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .project-container {
        max-width: 100vw;
        width: 100vw;
        position: absolute;
        left: 0;
        overflow: hidden;
    }

    .project {
        width: 100vw;
    }

    .spline_div {
        display: none;
    }

    .title {
        font-size: 15px;
        width: 40%;
        position: absolute;
        right: 5%;
    }

    .project-image {
        display: none;
    }

    .number {
        width: 10%;
    }

    .project:hover,
    .title:hover,
    .number:hover {
        pointer-events: none;
    }
    
}