#projekt-grid{
    grid-column: 2 / 10;
    grid-row: 10 / 21;
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(2px);
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    z-index: 70;
    border: 1px black solid;
    border-radius: 50px;
    justify-content: center;    
}

.projekt-title{
    grid-column: 1 / 5;
    grid-row: 1 / 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(40px, 15vw, 130px);
    font-family: "Jersey 10", sans-serif;
}

.projekt{
    background-color: rgba(202, 202, 202, 1);
    width: 90%;
    height: 88%;
    z-index: 100;
}

.projekt1-div{
    grid-row: 2 / 4;
    grid-column: 1 / 3;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt2-div{
    grid-row: 2 / 4;
    grid-column: 3 / 5;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt3-div{
    grid-row: 4 / 6;
    grid-column: 1 / 3;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt4-div{
    grid-row: 4 / 6;
    grid-column: 3 / 5;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt5-div{
    grid-row: 6 / 8;
    grid-column: 1 / 3;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt6-div{
    grid-row: 6 / 8;
    grid-column: 3 / 5;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

/* .projekt7-div{
    grid-row: 0 / 0;
    grid-column: 0 / 0;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt8-div{
    grid-row: 0 / 0;
    grid-column: 0 / 0;
    display: flex;
    align-items: top;
    justify-content: space-around;
}

.projekt9-div{
    grid-row: 0 / 0;
    grid-column: 0 / 0;
    display: flex;
    align-items: top;
    justify-content: space-around;
} */

.projekt-overlay{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 100;
}

.projekt-bild{
    object-fit: fill;
    width: 100%;
    height: 100%;
    display: block;
}
.projekt-text{
    position: absolute;
    align-self: center;
    background-color: rgba(185, 176, 176, 0.9);
    color: white;
    left: 0;
    right: 0; 
    height: 20%;
    text-align: center;
    font-family: "Jersey 10", sans-serif;
    font-size: 3vw;
    transition: 0.4s ease;
}

.projekt-overlay:hover .projekt-text{
    height: 100%;
    content: "det här är min figma design på detta portfolio";
}

.hidden-text{
    display: none;
}

.projekt-overlay:hover .hidden-text {
    display: block;
    font-size: 2vw;
}