body {
    inset: 0;
    background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../images/fjord.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position:absolute;
    content:'';
    margin: 0;
    padding: 0;
}
.projectTitle{
    text-align: center;
    margin-top: 10vh;
    font-family: "Monoton", sans-serif;
    font-size: 380%;
}
.projectWidget {
    align-self: center;
    max-width: 84vw;
    margin: 40px auto;
    padding: 0 20px;
}

.projectList {
    display: grid;
    background-color: #fFffff99;
    border-radius: 10px;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 2%;
}

.projectDisplay {
    position: relative;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.projectName {
    text-align: center;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 6px 2px;
    border-radius: 8px;
    display: inline-block;
}

.projectText {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.projectUrl {
    border: 2px solid var(--yellow);
    align-self:flex-end;
    background-color: var(--dblue);
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.projectUrl:hover {
    background-color: var(--yellow);
    border: 2px solid var(--dblue);
}

hr {
    display: none; /* Hide the old separators */
}

/******************************************************* 


                    MOBILE STYLING                              


********************************************************/

@media (max-width: 600px) {
    .projectTitle{
        font-size: 220%;
    }

    .projectList {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media  (min-width: 600px) and (max-width: 992px) {
    .projectTitle{
        font-size: 220%;
    }

    .projectList {
        grid-template-columns: repeat(2, 1fr);
    }
}