
html {
  background: #000;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wrapper {
  background-image: url('../images/cork-bg.jpg');
  background-repeat: inherit;
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-height: 1024px;
  box-shadow: inset 1em 1em 7em 6em #000;
  background-size: auto;
  background-position: 50%;
  font-family: "Times New Roman", Times, serif;
}

a {
  color: rgb(200, 0, 0);
}

a:hover {
  color: rgb(235, 0, 0);
}

h1 { 
  margin: 0; 
}

h1.logo {
  background-image: url('../images/logo.svg');
  width: 100px;
  height: 120px;
  background-size: 100%;
  display: block;
  background-repeat: no-repeat;
  background-position: 50%;
  color: rgba(0,0,0,0);
  font-size: 1rem;
  min-width: 160px;
  position: absolute;
  top: 29px;
}

.service-type {
  position: absolute;
  display: block;
  text-align: center;
  top: 30px;
  padding: 0;
  left: 37px;
  font-weight: bold;
}

.bicycle-based {
  position: absolute;
  display: block;
  text-align: center;
  top: 90px;
  padding: 0;
  left: 37px;
}

.repair-not-replace {
  position: absolute;
  display: block;
  text-align: center;
  top: 69px;
  padding: 0;
  right: 40px;
  font-weight: bold;
}

.sustainable {
  position: absolute;
  display: block;
  text-align: center;
  top: 30px;
  padding: 0;
  right: 37px;
}

.job-types {
  position: absolute;
  display: block;
  text-align: center;
  top: 160px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4em;
}

.contact-us {
  position: absolute;
  display: block;
  text-align: center;
  top: 210px;
  font-size: 1rem;
  color: #333;
  line-height: 1.4em;
}

/* Some positioning and ratios */
.card-container {
  max-width: 400px;
  position: relative;
}

.card-outer {
  display: flex;
  padding-top: 70%;
  position: relative;

  width: 100%;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Shadow behind the card note */
.card:before {
  box-shadow: -2px 2px 15px 0 rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.25);
  content: '';
  width: 90%;
  left: 5px;
  height: 75%;
  position: absolute;
  top: 30%;
}

/* The card note itself */
.card-content {
  background: linear-gradient( 180deg, rgb(172, 156, 138) 0%, rgb(206, 203, 190) 12%, rgb(255, 244, 244) 75%, rgb(255, 250, 243) 100% );
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  position: relative;

  clip-path: url(#cardClip);
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.container-inner {
  width: 40%;
  min-width: 400px; 
  transform:rotate(-3deg);
}

/* PUSH PIN */
.pushpin {
  margin: 0 auto -29px auto;
  position: absolute;
  width: 29px;
  height: 55px;
  z-index: 1;
  left: 49%;
  top: -12px;
}

.pushpin.tilted {
  -ms-transform:rotate(9deg);
  -moz-transform:rotate(9deg);
  -webkit-transform:rotate(9deg);
  -o-transform:rotate(9deg);
    transform:rotate(9deg);
}
.pinhead {
  background: darkgreen;
  width: 75%;
  height: 20%;
  border-radius: 100%;
  position: relative;
  left:12.5%;
  top:0;
}
.pinhead:after {
  content:'';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: green;
  position: absolute;
  top: -30%;
  left:0;
}

.pinbase {
  background: darkgreen;
  width: 100%;
  height: 25%;
  border-radius: 100%;
  position: relative;
  left:0;
  top:30%;
}
.pinbase:after {
  content:'';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: green;
  position: absolute;
  top: -30%;
  left:0;
}

.pinshaft {
  background: darkgreen;
  height: 30%;
  width: 50%;
  position: relative;
  border-radius: 0 ;
  top: -30%;
  left: 25%;
}

.pinshaft:after {
  content:'';
  width: 100%;
  height: 50%;
  border-radius: 50%;
  background: darkgreen;
  position: absolute;
  top: 75%;
}

.pinpoint {
  display: block;
  background: #999;
  height: 70%;
  width: 14%;
  position: absolute;
  border-radius: 0 0 20% 20%;
  z-index: -50;
  bottom: 0;
  left: 43%;
}

@media screen and (min-width: 512px) {
  .wrapper {
    box-shadow: inset 1em 1em 9em 11em #000;
  }
}

@media screen and (min-width: 1024px) {
  .wrapper {
    box-shadow: inset 1em 1em 8em 10em #000;
  }
}