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;

    h1 {
        color: rgb(121, 121, 121);
        margin-right: 0.5%;
    }

    h1::first-letter {
        color: rgb(74, 128, 74);
    }
}

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;
    z-index: -1px;
    filter: blur(3px);
}

body {
    font-family: monospace;
    color: black;
    display: grid;
}

main{
    margin-top: 70px;
    z-index: 2;

    h1::first-letter{
       color: rgb(74, 128, 74);
    }
    h2::first-letter{
       color: rgb(74, 128, 74);
    }
    h3::first-letter{
       color: rgb(74, 128, 74);
    }
    a::first-letter{
        color: rgb(74, 128, 74);
    }
    p::first-letter{
        color: rgb(74, 128, 74);
    }


    div{
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 20px;

        display: flex;
        justify-content: flex-start;
        flex-direction: column;

        width: 100%;
        padding-bottom: 1%;
        margin-bottom: 1%;

        h1{
            margin-top: 1%;
            margin-left: 1%;
            margin-right: 1%;
            padding:2px 5px;
            border-radius: 10px;
            width: auto;

            padding-bottom: 0%;
            margin-bottom: 0%;

            color: rgb(121, 121, 121);
            background-color: rgba(0, 0, 0, 0.3);

            font-size: 35px;
        }

        h2{
            margin-left: 1%;
            margin-right: 1%;
            padding: 2px 5px;
            border-radius: 10px;
            width: auto;

            padding-bottom: 0%;
            margin-bottom: 0%;

            color: rgb(121, 121, 121);
            background-color: rgba(0, 0, 0, 0.3);

            font-size: 30px;
        }

        h3{
            margin-left: 1%;
            margin-right: 1%;
            padding:2px 5px;
            border-radius: 10px;
            width: auto;

            padding-bottom: 0%;
            margin-bottom: 0%;

            color: rgb(121, 121, 121);

            font-size: 20px;
        }

        p{
            margin-left: 1%;
            margin-right: 1%;
            padding:2px 5px;
            border-radius: 10px;
            width: auto;

            margin-bottom: 0%;

            color: rgb(121, 121, 121);

            font-size: 15px;
            font-weight: bold;
        }

        img{
            margin-top: 5%;
            margin-left: 1%;
            margin-right: 1%;

            width: 20%;
        }

        div{
            margin-top: 1%;
            margin-left: 1%;
            margin-right: 1%;
            padding:2px 5px;
            border-radius: 10px;
            width: auto;

            background-color: rgba(0, 0, 0, 0.3);
            padding-bottom: 5%;
        }
    }
}

.center{
    text-align: center;

    img{
        width: auto;
    }
}

.flex-row{
    flex-direction: row;
    justify-content: space-evenly;
}

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;
}