/*
Simple self-made theme for the dostert.co website.
Author: Philippe Dostert
*/

/* -------- Import font files ------------------------------------------- */

@font-face {
  font-family: 'Roboto';
  src: url('font/roboto/roboto_light_latin.woff2') format('woff2');
  font-weight: 300;
}

@font-face {
  font-family: 'Roboto';
  src: url('font/roboto/roboto_regular_latin.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('font/roboto/roboto_bold_latin.woff2') format('woff2');
  font-weight: 700;
}

/*------- Reset --------------------------------------------------------- */

html, body, h1, p, ul, li, div {
  padding: 0;
  border: 0;
  margin: 0;
}

/* ------- Define styles ------------------------------------------------ */

html {
  min-height: 100%;
  min-width: 100%;
  background-image: url("img/blur.jpg");
  background-color: #30485f;
  background-position: center top;
  background-size: cover;
  font-family: Roboto, Arial, sans-serif;
  font-weight: normal;
}

#card {
  width: 20rem;
  margin: 3vh auto 3vh auto;
  border-radius: 0.6rem;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

#card h1 {
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background-color: #f44336;
  color: #fff;
  font-size: 2.5rem;
  font-weight: lighter;
}

#card section {
  background-color: #fff;
  color: #000;
  text-align: justify;
}

#card section img {
  margin: 0 auto;
  width: 100%;
  height: auto;
}

#card section p {
  padding: 1rem;
}

#card section p a {
  color: #f44336;
  font-weight: bold;
  font-style: normal;
  text-decoration: underline dotted;
  transition: all 0.6s;
}

#card section p a:hover {
  color: #f44336;
  transition: all 0.2s;
}

#card address {
  padding: 1rem;
  background-color: #efefef;
  color: #555;
}

#card address p {
  margin: 0;
  color: #f44336;
  font-size: 0.8rem;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

#card address li {
  margin: 0.6rem 0.6rem 0 0;
  list-style: none;
  display: inline-block;
}

#card address li a svg {
  width: 2rem;
  fill: #555;
  text-decoration: none;
  transition: all 0.6s;
}

#card address li a svg:hover {
  fill: #f44336;
  transition: all 0.2s;
}

/* For anything larger than smartphone screens */
@media (width >= 35rem) {
  #card {
    width: 25rem;
  }
  #card address li a svg {
    width: 2.4rem;
  }
}
