.title{
    margin-top: calc(var(--sectionSpace) * 0.75);
    color: #e2a2ec;
}

.projectsSection{
    margin-top: var(--eltSpace);
}

.projectBackground{
    display: grid;
    color: #e2a2ec;
    margin: calc(var(--sectionSpace) * 0.5) 0;
    padding: var(--eltSpace) 0;
}

.projectBackground#right{
    background-color: #e2a2ec;
    color: white;
}

a{
    text-decoration: none;
    color: inherit;
}

.project{
    display: flex;
    justify-self: center;
    justify-content: space-between;
    transition: transform 0.2s ease;
    width: 70vw;
    padding: var(--eltSpace);
    border-radius: 0.7rem;
}
@media (min-width: 750px) {
    .project:hover{
        color: #4d3851;
        transform: scale(101%);
        background-color: #e2a2ec;
    }

    #right > .project:hover{
        background-color: #f8cbff;
    }
}

.projectImage{
    /*width: 37vw;*/
    /*height: 10vh;*/
    aspect-ratio: 2/1.15;
    max-width: 29vw;
    /*min-height: 25vh;*/
    object-fit: cover;
    border-radius: 0.7rem;
    border : 0.2rem solid #f8dbff;
}

.projectText{
    width: 35vw;
    font-family: "Corbel";
    font-weight: lighter;
    font-size: calc(var(--titleFontSize) / 2.75);
    display:flex;
    flex-direction: column;
    justify-content:center;
    text-align: center;
}

h2{
    text-align: center;
    font-family: "MainFont";
    /*text-decoration: underline;*/
    font-weight: normal;
    font-size: var(--titleFontSize);
    margin-bottom: var(--eltSpace);
    margin-top: 0;
}

.projectTitle{
    text-decoration: underline;
    margin: 0;
    margin-bottom: calc(var(--eltSpace) / 2.5);
}


.projectDescription{
    color: black;
}

@media (min-width: 750px) {
    #right{
        flex-direction: row-reverse;
    }
}

@media (max-width: 750px) {
    .project{
        flex-direction: column;
        text-align: center;
    }

    .projectImage{
        width: 65vw;
        max-width: none;
    }

    .projectText{
        align-self: center;
        width: auto;
    }
}