* {
    box-sizing: border-box;
}

/* Style the body */
body {
    font-family: Arial;
    color: black;
    margin: 0;
}

/* Header/logo Title */
.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 10px;
    text-align: center;
    background: white;
}

.header-itm {
    align-self: center;
    background-color: white;
    padding: 5px;
    color: black;
}

.header-left {
    flex: 30%;
    background-color: white;
    padding: 20px;
    color: black;
}

.ul-table {
	display: table;   /* Allow the centering to work */
    margin: 0 auto;
    color: black;
}

/* Main column */
.header-middle {
    flex: 40%;
    background-color: white;
    padding: 20px;
    color: black;
}

/* Main column */
.header-right {
    flex: 30%;
    background-color: white;
    padding: 20px;
    color: black;
}

/* Style the top navigation bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

/* Style the navigation bar links */
.navbar a, div {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    text-align: center;
}


/* Change color on hover */
.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.img-container {
  max-width: 2000px;
  display: flex;
  align-items: center;
  -webkit-justify-content: center;
  /* Safari */
  justify-content: center;
}

.img-container-wrap {
    max-width: 200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    /* Safari */
    justify-content: center;
  }

.item {
  padding: 10px;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Column container */
.row {  
    display: flex;
    flex-wrap: wrap;
}

.main-all {
    flex: 100%;
    background-color: white;
    padding: 20px;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.main-left {
    flex: 30%;
    background-color: white;
    padding: 10px;
    color: black;
}

/* Main column */
.main-right {
    flex: 70%;
    background-color: white;
    padding: 10px;
    color: black;
}

/* Fake image, just for this example */
.scale-img {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    background-color: white;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    color: black;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
    .row, .navbar, .header {   
        flex-direction: column;
    }
}