/* Global ----------------------------------*/

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body{
  background-color: #F2F4F7;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.shadow{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.spacer_big{
  height: 30px;
}

.spacer_small{
  height: 10px;
}

.post  .description, .contact a{
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2; 
}

h2{
  font-size: 28px;
  font-weight: 600;
  color: #333333;
  padding-left: 18px;
  padding-right: 18px;
}

a{
  color: #3366CC;
  text-decoration: none;
}

a:hover{
  color: #003296;
  text-decoration: underline;
}

/* Header ----------------------------------*/

header{
  position: fixed;
  width: 100%;
  height: 65px;
  background-image: url("../img/header_bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #2e2e2e;
  z-index: 50;
}

header img{
  height: 100%;
  position: absolute;
  bottom: 0px;
  right: 50%;
  transform: translateX(50%);
}

#visitor_count{
  font-size: 16px;
  font-weight: 600;
  color: #636363;
  width: 100%;
  text-align: center;
}


/* Structure ----------------------------------*/

.container{
  z-index: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
}

.spacer_block{
  height: 20px;
}

/* Post ----------------------------------*/

.post{
  position: relative;
  border-radius: 9px;
  background-color: #ffffff;
}

.post  .description{
  color: #000000;
  padding-left: 18px;
  padding-right: 18px;
}

.post  .date{
  font-size: 15px;
  font-weight: 700;
  color: #4F4F4F;
  padding-left: 18px;
  padding-right: 18px;
}

.post  img{
  display: block;
  width: 100%;
}

/* Contact ----------------------------------*/

.contact{
  position: relative;
  border-radius: 9px;
  background-color: #ffffff;
}

.contact h2{
  text-align: center;
}

.contact_container {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.contact_column {
  display: flex;
  flex-direction: column;
}

/* Responsive ----------------------------------*/

@media screen and (min-width: 0px) and (max-width: 1500px) {

.container{
  width: 650px;
}

.contact_container {
  width: 70%;
}

header{
  height: 60px;
}

.spacer_block{
  height: 18px;
}

.spacer_big{
  height: 25px;
}

.spacer_small{
  height: 8px;
}

.post  .description, .contact a{
  font-size: 16px;
}

h2{
  font-size: 22px;
  padding-left: 16px;
  padding-right: 16px;
}

.post  .description{
  padding-left: 16px;
  padding-right: 16px;
}

.post  .date{
  font-size: 12px;
  padding-left: 16px;
  padding-right: 16px;
}
}

@media screen and (min-width: 0px) and (max-width: 690px) {

.container{
  width: calc(100% - 20px);
}

#visitor_count{
  font-size: 14px;
}

.spacer_block{
  height: 12px;
}

.contact_container {
  width: 400px;
}

header{
  height: 50px;
}

.post  .date{
  font-size: 14px;
}
}

@media screen and (min-width: 0px) and (max-width: 450px) {

.contact_container {
  width: 350px;
}
}

@media screen and (min-width: 0px) and (max-width: 380px) {

.contact_container {
  width: 290px;
}

.contact a{
  font-size: 13px;
}
}