/* Basic styling for UI */

body {
  /*font: 16px "Titillium Web", sans-serif;*/
  /*font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';*/
  font-family: 'Arial', 'sans-serif';
  margin: 0;
  background-color: #fdfdfd;
}

img {
  width: 400px;
  border-radius: 2px;
}

@media (max-width: 1600px) {
  img {
    height: 250px;
    width: 250px;
    object-fit: contain;
  }
}

header {
  text-align: center;
  margin: 0 20px;
}

h1 {
  color: #777380;
  font-weight: 200;
  font-size: 35px;
}

h2 {
  font-size: 20px;
  font-weight: normal;
}

h3 {
  color: #777380;
  font-weight: 200;
}

h4 {
  color: #777380;
  font-weight: 200;
}

/* Flex-related code */

.flex {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center; /* Or space-between or space-around */
}

.flex > section {
  align-items: center;
  display: flex;  
  -webkit-flex: 1 1 0;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  flex-direction: column;
  text-align: center;
  max-width: 400px;  
  background: #fff;
  padding: 1em;
  margin: 0.5em;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flex > section:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.flex > section > p {
  flex-grow: 1;
}

.flex > section a {
  text-decoration: none;
}

.flex ul {
  list-style-type: none;  
  justify-content: space-between;
  padding: 0;  
}

.flex ul li {
  background: #eee;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.3em 0.6em;
  margin: 10px 0;  
}

.flex aside {
  width: 100%;
}

/* Styles for the title and subtitle */

.subtitle {
    color: #777380;
    font-size: 20px;
    font-weight: 200;
}

.updateDate {
    color: #777380;
    font-size: 16px;
    font-weight: 200;
}
