#project-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;

    width: 950px;
    height: 570px;
    border: solid 2px rgba(207, 207, 255, 0.5);
    border-radius: 10px;
    backdrop-filter: brightness(70%) blur(5px);
    text-align: center;
    font-family: "Nunito", sans-serif;
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    0% {
        transform: translate(-50%, -25%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

#project-container h2 {
    color: rgba(207, 207, 255, 1);
}

#item-container {
    overflow: scroll;
    width: 94%;
    height: 80%;
    padding-left: 20px;
    padding-right: 20px;
    display: grid;
    grid-template-columns: auto auto;
    place-items: center;
    row-gap: 50px;
}

.project {
    background-image: linear-gradient(to bottom, rgba(207, 207, 255, 0.25), rgba(207, 207, 255, 0.05));
    border-radius: 10px;
    display: inline-block;
    width: 400px;
    height: 450px;
    text-align: left;
}

.project img {
    border-bottom: solid 2px rgba(207, 207, 255, 0.25);
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-bottom: 10px;
    width: 400px;
    height: 300px;
    object-fit: cover;
    background-color: rgba(207, 207, 255, 0.25);
}

a {
    color: rgba(207, 207, 255, 1);
}

.project a {
    font-weight: bold;
    color: rgba(207, 207, 255, 1);
    font-size: 1.5rem;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.project p {
    color: rgba(207, 207, 255, 1);
    font-size: 1.2rem;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.cog {
    grid-column: 1 / -1;
    width: 80%;
    padding-bottom: 10px;
    border-bottom: solid 2px rgba(207, 207, 255, 0.25);
    font-weight:bold;
}

@media (max-width:950px) {
    #project-container {
        width: 600px;
    }

    #item-container {
        grid-template-columns: auto;
    }
}

@media (max-width: 700px) {
    #project-container h2 {
        color: rgba(207, 207, 255, 1);
        font-size: 2rem;
    }

    #project-container {
        width: 100%;
        height: 90%;
        border-radius: 0px;
        border-left: none;
        border-right: none;
    }

    #item-container {
        width: 100%;
        padding: 0px;
        height: 83%;
    }

    .project {
        width: 100%;
        border-radius: 0px;
    }

    .project img {
        width: 100%;
        border-radius: 0px;
    }
}