/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #FFFFFF;
    --black: #36383F;
    --grey: #9e9e9e;
    --black2: #000000;
    
}

/* Reset */

*{
    margin: reverse;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color:var(--grey);
    color:black;
    font-family: "Poppins", sans-serif;
     background-image: url('a.png');
  background-repeat: no-repeat;
    background-position:left bottom;
     background-size:100px;
    margin-bottom: 100px;
  
    
}

/* GODTERI */

h1{
padding: 10px;
}

h2{
padding: 10px;
}

p{
padding: 10px;
}


.bildelogo{
padding: 10px;
}

/* GODTERI */


a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */

.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--black2);
    position: sticky;
    top: 0;
    width: 100%;
      border-radius: 25px;
       border-style: solid;
  border-color: black;

}

/* Logo */

.logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;
}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;
}

.menu a{
    display: block;
    padding: 30px;
    color: var(--white);
}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    
.nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
}

.menu li{
        float: left;
}

.menu a:hover{
        background-color: transparent;
        color: var(--grey);
}
  
.hamb{
        display: none;
}

}
