/* Simple reset*/
* { margin: 0; padding: 0; }

html, body {
	height: 100%;
}

body {
  color: #222; 
  font-size: 18px;
  line-height: 28px; 
  font-family: 'Open Sans', sans-serif; 
  background-color:#fafafa; 
  font-weight: 400;
  text-align: center;
  /*background-color: #f2dfec;*/
  background-color: #f5ecf2;
  text-rendering: optimizeLegibility;
}

#container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

#container-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0;
}

.header__top {
  margin-bottom:16px;
}

a {text-decoration: none;}

.block h2 {
  font-size: 24px;
  color: #fff;
  margin-top: 12px;
  margin-bottom: 24px;
}

.blocks {
  margin-top: 48px;
}

.block {
  background-color: #009ae0;
  display: inline-block;
  padding: 20px;
  text-align: center;
  margin-bottom: 32px;
  border-radius: 45px;
}

.block img {
  max-height: 112px;
}

.footer {
  margin-top: 48px;
}

@media only screen and (min-width: 320px) {
	/* body:before { content: "Between 320 and 480"; } */
  .block {
    display: block;
    margin: 20px;
  }
}	

/* iPhone, etc landscape ---- */
@media only screen and (min-width: 480px) {
	/* MEDIUM */
	/* body:before { content: "Between 480 and 768"; }*/
}

/* iPad, tablets etc portrait ---- */
@media only screen and (min-width: 700px) {
 .block {
    display: inline-block;
    width: 42%;
    margin: 0;
    min-width: auto;
  }
  
  .block_left {
    margin-right: 10px;
  }

  .block_right {
    margin-left: 10px;
  }
}

@media only screen and (min-width: 940px) {
  #container {
    height: 100%;
  }
}