/**
  Andrew Hamel - Voice Actor
  Copyright (c) 2022 - All Rights Reserved.
*/

body {
  font-family: Arial, helvetica, sans-serif;
  background: url('../img/landscape-bg.jpg') top center fixed;
  background-size: cover;
}

div#container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

div#container header {
  display: flex;
  flex-flow: wrap;
  font-size: 1.8em;
  background: url('../img/leather-texture.jpg') top center no-repeat;
  padding: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 0.25em solid #26160d;
  filter: drop-shadow(0 5px 2px #666);
}

div#container header div a {
  text-decoration: none;
  color: #fff;
}

div#container header div.email {
  text-align: left;
  flex: 3 0 60%;
}

div#container header div.phone {
  text-align: right;
  flex: 2 0 40%;
}

div#container div.content {
  display: flex;
  flex-flow: wrap;
  padding-bottom: 1em;
}

div#container div.content .name-tag {
  display: flex;
}

div#container div.content .name-tag img {
  width: 90%;
  height: auto;
  margin: 0 auto;
}

div#container div.content h1,
div#container div.content h2 {
  flex: 1 0 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

div#container div.content h1 {
  font-size: 3.5em;
}

div#container div.content h2 div {
  padding: 1em 0;
  background-image: linear-gradient(#542f1c, #bd9c8f);
  color: #fff;
  margin: 1em;
  border-radius: 0.5em;
}

div#container div.content div.demo {
  flex: 1 0 90%;
  padding: 0 1em 1em 1em;
}

div#container div.content div.demo h3 {
  width: 88%;
  margin: 1em auto;
}

div#container div.content div.demo audio {
  width: 90%;
  margin: 0 5%;
  filter: drop-shadow(0 0 0.25rem #bd9c8f);
}

footer {
  display: block;
  padding: 1em 0.5em;
  text-align: center;
  font-size: 1.35em;
  background: url('../img/leather-texture.jpg') top center no-repeat;
  color: #fff;
  border-top: 0.25em solid #26160d;
}

footer .to-top {
  padding: 0.25em 0.4em;
  background: #000;
  border-radius: 0.55em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border: 0.2em solid #000;
}

footer .to-top:hover {
  cursor: pointer;
  border: 0.2em solid #bd9c8f;
}

@media (max-width: 390px) {
  div#container {
    margin: 0 !important;
  }
  div#container header div {
    text-align: center !important;
  }
  div#container header div.email {
    font-size: 0.75em !important;
  }
  div#container header div.phone {
    font-size: 1.25em !important;
  }
  div.content > h1 {
    font-size: 3em !important;
  }
  footer {
    font-size: 0.75em;
  }
}
