.project-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    grid-auto-rows: calc(100vw/3.5)
}

/* INFO TEXT============================= */
#d1 {
    cursor: pointer;
    position: relative;
    /* border: 2px dashed red; */
}

.info-title {
    /* border: 1px dashed blue; */
    transition: opacity 1s ease-in-out;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: 20px;
    font-weight: 400;
}

.info-text {
    /* border: 1px dashed red; */
    transition: opacity 1s ease-in-out;
    position: absolute;
    display: flex;
    left: 15%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: .9vw;
    padding: 0px 50px;
}

.info-text a{
    color: black;
}

.overflowed {
    align-items: normal !important;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
}
div.overflowed::after {
    content: "";
    display: block;
    height: 40px;
}
.hide {
    opacity: 0;
}
/* =================================================== */
#d2 {
    position: relative;
}

.project-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.my-carousel-bottom {
    max-width: 50%;
    margin: 0px auto;
    margin-top: 35px;
    margin-bottom: 200px;
}

.project-name {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-top: 50px;
}

@media screen and (max-width: 1400px) {

    #d1,
    #d3 {
        display: none !important;
    }

    .project-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        padding-left: 10%;
        padding-right: 10%;
        box-sizing: border-box;
    }

    #d2 {
        width: 100%;
    }

    .project-carousel {
        width: 100%;
    }

    .my-carousel-bottom {
        max-width: 50%;
        margin: 0px auto;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .project-name {
        margin-top: 25px;
    }
}