
.project-container {
    display: flex;
}

.project-link {
    transition: all .65s;
    color: unset;
    margin: .5rem auto 3rem;
}

.project-link:hover {
    transform: translateY(-10px) scale(1.01);
    transform-style: preserve-3d;
    color: unset;
}

.project-words {
    margin: auto;
}

.not-white {
    color: var(--color-dark);
}

/* For small screen devices (767px and below) */
@media only screen and (max-width: 767px) {
    .main-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .project-container {
        border-radius: 1rem;
        padding: 1rem;
    }

    .project-container {
        flex-direction: column;
    }

    h2 {
        font-size: 2rem;
    }

    .project-logo-image {
        margin: auto;
        padding: 0.5rem;
        max-width: 100%;
        height: auto;
    }

    .mobile-button {
        background-color: var(--color-white);
        border-radius: .25rem;
        display: flex;
        margin: 1rem auto 0;
        padding: .25rem .5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: bold;
        transition: all .5s;
    }

    .mobile-button:hover {
        transform: translateY(-2px);
        -webkit-box-shadow: 3px 3px 10px 3px #dddddd;
        -moz-box-shadow: 3px 3px 10px 3px #dddddd;
        box-shadow: 3px 3px 10px 3px #dddddd;
    }
}

/* Medium screen devices (768px and above) */
@media only screen and (min-width: 768px) and (max-width: 960px) {
    .project-container {
        border-radius: 1.5rem;
        padding: 1.5rem;
    }

    .project-container {
        flex-direction: row;
    }

    .project-logo-image {
        margin: .5rem .5rem 2rem 3rem;
        max-width: 100%;
        height: auto;
    }

    .project-words {
        margin: auto 1.5rem auto auto;
    }
}

/* Big screen devices (961px and above) + extra big screen devices (1200px and above) */
@media only screen and (min-width: 961px) {
    .project-container {
        border-radius: 2rem;
        padding: 2rem;
        flex-direction: row;
    }

    .project-logo-image {
        margin: .5rem .5rem 2rem 3rem;
        max-width: 250px;
        height: auto;
    }

    .main-content {
        margin: auto;
    }
}