/* main */
#main {
    animation: loadReveal 1s 0.75s forwards;
    opacity: 0;
    width: 100%;
    height: 75vh;
    display: flex;
    justify-content: center;
}

#main .wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1440px;
}

#main .title {
    animation: scrollHide forwards;
    animation-timeline: view();
    animation-range-start: 80vh;
    animation-range-end: 180vh;
}

#main .icons span {
    animation: scrollScale forwards;
    animation-timeline: view();
    animation-range-start: 75vh;
    animation-range-end: 150vh;
}


#main .title {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* particles */
#main .icons span {
    position: absolute;
    color: var(--primary);
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

#particle-1 {
    font-size: 140px;
    bottom: 63%;
    left: 13%;
    rotate: -20deg;
}

#particle-2 {
    font-size: 64px;
    bottom: 62%;
    left: 10%;
    rotate: -5deg;
    opacity: 65%;
}

#particle-3 {
    font-size: 80px;
    bottom: 52%;
    left: 13%;
    rotate: 24deg;
    opacity: 50%;
}

#particle-4 {
    font-size: 140px;
    bottom: 40%;
    right: 13%;
    rotate: -24deg;
}

#particle-5 {
    font-size: 80px;
    bottom: 35%;
    right: 19%;
    rotate: 24deg;
    opacity: 50%;
}

#main .title .location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

#main .title .location h4 {
    font-weight: 500;
    font-size: 20px;
    opacity: 0.85;
}

#main .title p {
    width: 600px;
    color: var(--text-opacity);
}

/* projects */
#projects {
    opacity: 0;
    animation: loadReveal 1s 1.25s forwards;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 64px;
}

#projects .wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 960px;
}

#projects .container {
    z-index: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.25s;
    border-radius: 16px;
    padding: 40px 64px 40px 64px;
    background-color: var(--background-2);
    display: flex;
    gap: 64px;
}

#projects .container .content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#projects .container:hover {
    scale: 1.015;
    filter: brightness(1.1) drop-shadow(0 0 1.25rem var(--white-opacity));
}

#projects .container:hover .img-overlay {
    opacity: 0.05;
    filter: grayscale(0.5);
}

#projects .container .info {
    display: flex;
    gap: 8px;
}

#projects .img-overlay {
    transition: 0.25s;
    filter: grayscale(1);
    opacity: 0.025;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* #projects .container img {
    width: 50%;
    object-fit: contain;
} */

#projects .container button {
    margin-top: 12px;
}