html {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    height: 200%;
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
}

#background-rain {
    height: 100%;
    width: 100%;
    grid-row: 1/11;
    grid-column: 3/8;

}

#wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 2% 18% 18% 18% 18% 18% 8%;
    grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 5%;
    grid-gap: 20px;
    
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25%;
    background-color: #1e1e2f;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;

}





#bottombar {
grid-row: 11/12;
grid-column: 1/8;
background-color: rgb(0, 0, 0);
z-index: 201;
margin-top: -20px;
height: 200%;
position: relative;
border-top: #8804e4 2px solid;
}

#grid-2 {
    display: grid;
    grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
    grid-template-rows: 50% 50%;
    width: 100%;
    height: 100%;
}




#praire-dog {   
    grid-row: 1/3;
    grid-column: 1/2;
    object-fit: cover;
    height: 84%;
    width: 80%;
    margin-top: 8%;
    margin-bottom: 8%;
    border-radius: 50%;
    margin-right: 10%;
    margin-left: 10%;
}

#länk-text-1 {
    grid-row: 1/3;
    grid-column: 2/3;
    color: white;
    display: flex;
    justify-content: center;
    align-self: center;

}

/* ===== PROJEKT – GRUND ===== */

.projekt-link {
    z-index: 202;
    border-radius: 30px;
    transition: 0.2s ease;
}

.projekt-knapp {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: 200;
    transition: 0.2s ease;
}

.projekt-knapp img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/* Hover-effekt */
.projekt-knapp:hover {
    transform: scale(1.05);
}

/* Tomma platser */
.placeholder {
    background-color: rgb(175, 177, 255);
    opacity: 30%;
    border-radius: 10%;
    border: solid 2px rgb(45, 45, 136);
}

.placeholder {
    display: none;
}

/* Positioner i gridet */
.projekt-link:nth-of-type(1) {
    grid-row: 2/3;
    grid-column: 4/5;
}

.projekt-link:nth-of-type(2) {
    grid-row: 4/5;
    grid-column: 4/5;
}

/*om den är på andra raden */
.projekt-link:nth-of-type(3) {
    grid-row: 2/3;
    grid-column: 5/7;

    display: flex;
    justify-content: center;
    align-items: center;
}

.projekt-link:nth-of-type(3) .projekt-knapp {
    width: 50%;      
    height: 100%;
}

.projekt-link:nth-of-type(4) {
    grid-row: 4/5;
    grid-column: 5/7;

    display: flex;
    justify-content: center;
    align-items: center;
}

.projekt-link:nth-of-type(4) .projekt-knapp {
    width: 50%;
    height: 100%;
}

#discord-logo {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    height: 100%;
    width: 70%;
}

#tiktok-logo {
    grid-row: 2/3;
    grid-column: 3/4;
    height: 60%;
    width: 42%;
    border-radius: 30%;
    margin-left: 13%;
    border: solid 1px rgb(61, 61, 61);
}

#mening {
    grid-column: 4/10;
    grid-row: 2/3;
    color: white;
    font-size: 60%;
    margin-left: 5%;
    align-self: end;
    margin-bottom: 1%;
}

.sidebar-inner {
    position: relative;
    width: 100%;
    height: 75%;
    display: flex;
    flex-direction: column;
    gap: 5%;
}

#jag {
    width: 100%;
    height: 65%;
    background-color: rgb(106, 169, 241);
    border-radius: 10%;
    border: 2px solid blue;

}

#jag-text {
    font-size: clamp(10px, 0.8vw + 0.8vh, 32px);
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 700;
    color: rgb(0, 0, 116)
}

#jag-2 {
    width: 100%;
    height: 35%;
    background-color: rgb(106, 169, 241);
    border-radius: 15%;
    border: 2px solid blue;
}

#jag-text-2 {
    font-size: clamp(14px, 0.8vw + 0.8vh, 32px);
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 700;
    color: rgb(0, 0, 116)
}

.tull-2050 {
    height: 100%;
    width: 100%;
    border-radius: 30px;
    z-index: 201;
    opacity: 100%;
}

.webb-utveckling {
    height: 100%;
    width: 100%;
    border-radius: 30px;
    z-index: 203;
    opacity: 100%;
}

.cave-diving {
    height: 100%;
    width: 100%;
    border-radius: 30px;
    z-index: 203;
    opacity: 100%;
}