nav {
    background-color: rgb(39, 39, 39);
    box-shadow: 0px 3px rgb(59, 59, 59);
    font-family: monospace;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    z-index: 200;

    transition: transform 0.6s ease;
}

nav .circle-icon-cropper{
    margin-left: auto;
    outline-width: 2px;
    outline-style:solid;
    outline-color: rgb(92, 92, 92);
}

.circle-icon-cropper {
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;

    transition: color 0.6s ease;
}

.circle-icon-cropper:hover{
    outline-color: rgb(76, 119, 76);
}

#pfp {
    display: block;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: left;
    object-position: 65%;

    transition: width 0.6s ease, height 0.6s ease, object-position 0.6s ease;
}

#pfp:hover{
    width: 150%;
    height: 150%;
    object-position: 75%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url(bilder/snotackt-skog-image.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(3px);
}

body {
    font-family: monospace;
    color: black;
    display: grid;
}

img {
    position: relative;
    z-index: inherit;
    border-radius: 20px;

    transition: transform 0.6s ease, background-color 0.6s ease;
}

img:hover{
    transform: scale(1.1);
    background-color: rgba(61, 107, 57, 0.534);
}

#spel-container {
    z-index: 101;
    position: relative;
    top: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: white;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    width: 198dvh;
    height: 60dvh;
    text-align: center;
    padding: 10px 10px;
    border-radius: 20px;

    transition: color 0.6s ease;
}

#spel-container:hover {
    color: rgb(74, 128, 74);
}

#spel-container a {
    background-color: gray;
    color: black;
    text-decoration: none;
    font-size: larger;
    padding: 10px 5px;
    border-radius: 5px;
    box-shadow: 0px 6px rgb(59, 59, 59);
    margin: 50px;
    text-align: center;
}

#spel-container a:hover {
    background-color: rgb(161, 161, 161);
    box-shadow: 0px 4px rgb(12, 36, 11);
    color: rgb(76, 121, 76);
}

#spel-container h2 {
    font-size: 60px;
}

main {
    color: black;
    z-index: 100;
}

main h1 {
    z-index: 101;
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    font-weight: bold;

    transition: font-size 0.6s ease, color 0.6s ease;
}

main h1:hover {
    font-size: 70px;
    color: rgb(76, 121, 76);
}

.transparent-background {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;

    min-height: 30dvh;
    min-width: 90dvh;
    position: relative;
    display: flex;
}

a {
    background-color: gray;
    color: black;
    text-decoration: none;
    font-size: large;
    padding: 20px 10px;
    border-radius: 5px;
    box-shadow: 0px 4px rgb(59, 59, 59);
    margin: 3px;

    transition: background-color 0.6s ease, box-shadow 0.3s ease, color 0.3s ease;
}

a:hover {
    background-color: rgb(161, 161, 161);
    box-shadow: 0px 2px rgb(12, 36, 11);
    color: green;
}