.intro {
    height: 500px;
    background-image: url(../img/camp.jpg);
    background-size: 100%;
}

h2 {
    margin: 25px 0;
}

.project-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    .img {
        width: 500px;
        height: 400px;
        background-size: cover;
    }

    .text {
        position: relative;
        display: flex;
        flex-direction: column;
        max-width: 500px;
        height: 400px;
        padding: 15px;
        background-color: white;

        h3 {
            font-size: 32px;
            margin-top: 10px;
            letter-spacing: 1px;
        }

        .button {
            width: fit-content;
            align-self: flex-end;
            position: absolute;
            bottom: 15px;

            &:hover {
                border: 1px solid var(--main-green);
            }
        }
    }

    &:nth-child(even) {
        flex-direction: row-reverse;
    }

    .turkey {
        background-image: url(../img/turkey-shelter.jpg);
    }

    .nc {
        background-image: url(../img/nc.jpg);
    }

    .milton {
        background-image: url(../img/hurricane-milton.jpg);
    }

}

@media only screen and (max-width: 480px) {
    .img, .text {
        width: 375px !important;
    }

    .text {
        height: auto !important;
    }

    .img {
        height: 300px !important;
    }
}

@media only screen and (max-width: 550px) {
    .intro {
        width: 100%;
        height: 300px;
        background-size: 700px;
    }
}

@media only screen and (max-width:800px) {

    .intro {
        background-size: cover;
    }

}

