body{
    font-family: Helvetica, Arial, Sans-Serif, serif;
    font-size: 0.7rem;
}
 body > p {
     text-align: center;
 }


.logo {
    display: block;
    float: left;
    width: 30%;
    text-align: center;
}

#hamburger{
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 100%;

}

#hamburgerimg{
    display: block;
    width: 4rem;
    margin: 0 auto;
}

.account{
    float: right;
    margin: 0 40px;
}

.menu{
    float: right;
    display: block;
    margin: 0 auto;
}

header {
    display: flex;
}

.heading {
    display: block;
    margin: 0 auto;
    text-align: center;
}

nav {
    display: flex;
    width: 100%;
    background: #784526;
    color: white;
}
nav a{
    float: right;
}
button, .button, input[type="submit"]{
    background: #784526;
    color: white;
    margin: 0.1rem 0.1rem;
    border: white solid thin;
    padding: 0.4rem 1rem;
    text-align: center;
    display: inline;
    cursor: grab;

}

.hoverButton:hover {
    background-color: darkgray;
    color: white;
    cursor: grab;
}
.disabledbutton{
    background-color: darkgray;
    color: lightgray;
    cursor: default;
}

.loneButton{
    box-shadow: 5px 5px 5px black;
}


main{
    padding: 0 0 1rem;

}

.mainBox{
    text-align: center;
    /*padding: 60px 0 80px;*/
    /* The image used */
    background-image: url("https://www.heho.uk/images/cliftonsuspensionbridge.jpg");

    /* Set a specific height */
    min-height: 500px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.flexContainer {
    display: flex;
    width: 100%;
}

.flexBox {
    flex: 7;
    text-align: center;
    padding: 1.5rem;

}
.flexBoxScrollArea{
    max-height: 1000px;
    overflow: auto;
}

.infoBox{
    margin: 20px;
    text-align: justify;
}

.mainBox h1 {
    width: 100%;
    margin: 20px auto 40px;
}
.mainBox h2 {
    width: 100%;
}

.scrollbox {
    max-height: 600px;
    overflow:auto;"
}

footer{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
footer p {
    margin: 20px;
}

#showRating{
    padding: 5px 20px;
}

#searchbox{
    background-color: cornsilk;
    padding: 2rem 3rem;
}

.overlaycontainer{
    width: 100%;
    height: 100%;
    position: relative;
}
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 5px;
    right: 5px;
    visibility: hidden;
    text-align: center;

}

#article {
    margin: 10px 25px;
    background-color: cornsilk;
    visibility: hidden;
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: thin black solid;
    box-shadow: saddlebrown 5px 5px 5px;

}

.post {
    margin: 10px 25px;
    background-color: burlywood;
    visibility: hidden;
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: thin black solid;
    box-shadow: saddlebrown 5px 5px 5px;

}

.closeX{
    position: absolute;
    top: 5px;
    right: 5px;
}