html {
    height: 100%;
}

body {
    height: 100%;
    background-color: black;
    font-family:'Italianno', cursive;
}

#wrapper {
    height: 100%;
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr 0.5fr; 
    grid-template-rows: auto; 
    grid-gap: 50px; 
}

.rubrik3 {
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    font-size: 9vw;
    color: white;
    z-index: 2;
    font-family: 'Italianno', cursive;
}

.Compass2 {
    grid-column: 1;
    grid-row: 1;
    width: 7vw;
    height: 7vw;
    overflow: auto;
    z-index: 2;
    align-self: center;
    margin-left: 55%;
    margin-bottom: 1vw;
}  

.banner2 {
    grid-column: 1/6;
    grid-row: 1;
    overflow: hidden;
    width: 100%;
    height: 100%
}

#link {
    grid-column: 1;
    grid-row: 2;
    width:100%;
    height: 15vw;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin: 0 auto; 
    display: block;
}
 
#PText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 2;
    text-align: left;
    width: 100%;
    font-size: 5vw;
}

#SquareBild {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2vw;
}

#Square2{
    grid-column: 2/5;  
    background-color: grey;
    display: flex;
    justify-content: center;
    border-radius: 2vw;
    max-height: 15vw;
    position: relative;
}

p{
    font-size: 5vw;
    text-align: left;
    color: rgb(255, 255, 255);
    margin-left: 5vw;
}

.tillbaka {
    z-index: 999;
    color: rgb(255, 255, 255);
    width: 7vw;
    height: 3vw;
    font-size: 3vw;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

@media only screen and (max-width: 600px) {

    body {
        height: 100%;
        background-color: black;
        font-family:'Italianno', cursive;
    }
    
    #wrapper {
        height: 100%;
        display: grid;
        grid-template-columns: 0.5fr 1fr 1fr 1fr 0.5fr; 
        grid-template-rows: auto; 
        grid-gap: 10px; 
    }
    
    .rubrik3 {
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        font-size: 12vw;
        color: white;
        z-index: 2;
        font-family: 'Italianno', cursive;
        margin-top: 14vw;
    }
    
    .Compass2 {
        grid-column: 1;
        grid-row: 1;
        width: 12vw;
        height: 12vw;
        overflow: auto;
        z-index: 2;
        align-self: center;
        margin-left: 5vw;
        margin-bottom: 10vw;
    }  
    
    .banner2 {
        grid-column: 1/6;
        grid-row: 1;
        overflow: hidden;
        width: 100%;
        height: 80%
    }
    
    #link {
        grid-column: 1;
        grid-row: 2;
        width:100%;
        height: 25vw;
        z-index: 1;
        position: relative;
        overflow: hidden;
        margin: 0 auto; 
        display: block;
    }
     
    #PText {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -120%);
        z-index: 2;
        text-align: left;
        width: 100%;
        font-size: 8vw;
        }
    
    #SquareBild {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 2vw;
    }
    
    #Square2{
        grid-column: 1/6;  
        background-color: grey;
        display: flex;
        justify-content: center;
        border-radius: 2vw;
        max-height: 25vw;
        position: relative;
    }
    
    p{
        font-size: 5vw;
        text-align: left;
        color: rgb(255, 255, 255);
        margin-left: 5vw;
    }

    .tillbaka {
        z-index: 999;
        color: rgb(255, 255, 255);
        width: 7vw;
        height: 3vw;
        font-size: 5vw;
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        margin-bottom: 12.5vw;
    }

}