@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #ffffff;
    --black: #000000;
    --gray: #85888C;
} 

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--white);
    font-family: "Poppins", sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
    margin-left: 15px;
}

h1 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-right: 15px;
	margin-left: 15px;
}

p{
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 15px;
  margin-left: 15px;
}

#page-container {
  position: relative;
  min-height: 100vh;
}
#content-wrap {
  padding-bottom: 2.5rem;
}

.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: relative;
    top: 0;
    width: 100%;
	}

.footer{
  padding: 5px;
  box-shadow: 1px 1px 5px 0px var(--gray);
  text-align: center;
  background-color: var(--black);
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 2.5rem;
  color: var(--white);
}

.rubrik{
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 50px;
	margin-bottom: 15px;
	margin-right: 15px;
	margin-left: 35px;
}

.bild{
	width: 80%;
	height: auto;
	border: 1px solid #545A89;
	margin-top: 15px;
	margin-bottom: 15px;
	margin-right: 15px;
	margin-left: 15px;
	}

.logga{
    width: 100%;
	height: auto;
}

.nav{
    width: 100%;
	height: 100%;
    position: sticky;
    background-color: var(--black);
    overflow: hidden;

}
.menu a{
    display: block;
    padding: 30px;
    color: var(--white);
}
.menu a:hover{
    background-color: var(--gray);
}
.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

.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;
}

.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;
}


.main {  
  float: left;
  width: 100%
   }


.main.right {
  background-color: --white;
  padding: 20px;
  width: 40%;
}


.main.left {
  display: flex;
  flex-direction: row;
  background-color: --white;
  padding: 20px;
  width: 60%;
}

.main.left2 {
  display: flex;
  flex-direction: column;
  background-color: --white;
  padding: 2.5rem;
  width: 60%;
}

.logos {
	position: absolute;
	right: 0px;
}	


.row::after {
  content: "";
  display: table;
  clear: both;
}

body:has(.side-menu:checked) {
  overflow: hidden;
}

@media (min-width: 850px) {
    .nav{
        max-height: 20%;
        position: relative;
        float: right;
		width: fit-content;
        background-color: transparent;
    }
    .menu li{
        float: left;
    }
    .menu a:hover{
        background-color: transparent;
        color: var(--gray);

    }

    .hamb{
        display: none;
    }
}
@media (max-width: 850px) {
	.main { 
	width: 100%;
   		}
	.main.left {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 35px;
  padding: 15px;
	}

.main.left2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 35px;
  padding: 15px;
	}
	
	.bild{
	    width: 80%;
	height: auto;
	}
	.logos {
	display: none;
	}
	
	}
