ul {
    margin: 0;
}
body{
    margin: 0;
    min-height: 100vh;
}
#wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#headline{
    display: flex;
    height: 15%;
    background-color:cornflowerblue;
    align-items: center;
    justify-content: space-between;    
}
#middle-headline a:link{
    display: block;
    text-decoration: none;
    color: white;
    font-family: 'cocogoose';
    font-size: 70px;
}
#middle-headline a:visited{
    color: white;
}
#middle-headline {
    display: flex;
    justify-content: flex-start;
    margin-left: 10%;
    flex-grow: 1;
}
#left-headline {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}
#right-headline {
    flex-grow: 1;
}
#logga {
    display: block;
    height: 80%;
    margin-left: 15px;
}
#content{
    display:flex;
    flex-direction: row;
    flex-grow: 1;
}
#left{
    display: none;
    }
#right{
    display: none;
    }
#main{
    display: flex;
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
}
#window{
    display: block;
    width: 70%;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,0.5);
    padding: 10px;
    background-color: white;
    margin-top: 5px;
    border-radius: 3px;
    max-width: 700px;
    max-height: 200px;
}
#namn{
    padding: 2px 2px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f8f8f8;
}
#information{
    width: 100%;
    height: 90px;
    padding: 2px 2px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f8f8f8;
    resize: none;
    margin: 4px 1px;
}
#publicera{
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 8px 30px;
    text-decoration: none;
    cursor: pointer;
    color: black;
}
#previous-posts{
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}
.post-window{
    display: flex;;
    width: 70%;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,0.5);
    padding: 10px;
    background-color: white;
    margin-top: 5px;
    border-radius: 3px;
    max-width: 700px;
    flex-direction: column;
}
#namn-post-window{
    display: block;
}
#text-image-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}
#information-post-window{
    display: block;
    padding: 7px;
}
#bild-post-window{
    display: flex;
    height: 220px;
}

.bild{
    height: 220px;
}
@media screen and (min-width: 812px){
    #left{
        display: block;
        flex-grow: 1;
        background-color: white;
        border-right-style: groove;
    }
    #right{
        display: block;
        flex-grow: 1;
        background-color: white;
        border-left-style: groove;
    }
    #main{
        display: flex;
        flex-grow: 2;
        background-color: white;
    }
}
@media screen and (max-width: 650px) {
    #headline a:link{
        font-size: 45px;
    }
    #logga{
        height: 70%;
    }
    #window{
        width: 90%;
    }
    .post-window{
        width: 90%;
    }
}
@media screen and (max-width: 450px) {
    #headline a:link{
        font-size: 30px;
    }
    #logga{
        height: 60%;
    }