@font-face {
  font-family: 'artistfont';
  src: url('fonts/jaapokki-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/jaapokki-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/jaapokki-regular.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/jaapokki-regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/jaapokki-regular.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'tilefont';
  src: url('fonts/raleway_thin-webfont.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway_thin-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway_thin-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/raleway_thin-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway_thin-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'jobfont';
  src: url('fonts/fanwood-webfont.eot'); /* IE9 Compat Modes */
  src: url('fonts/fanwood-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/fanwood-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/fanwood-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/fanwood-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

html, body, #main-container {
}

.add-padding {
    padding-top: 15px;
    padding-bottom: 15px;
}

#main-container {
    padding-left: 10%;
    padding-right: 10%;
}

img {
    height: 100%;
    width: 100%;
}

#contact-container {
    height: 50%;
}

 #logo-bar {
    height: 100%;
    width: 100%;
 }

 #content-separator {
    width: 100%;
    height: 5px;
    display: block;
    background-color: #a51e22;
    clear: both;
 }


#job {
    padding-top: 1.5%;
    font-family: 'jobfont';
    font-size: 32px;
}

#author{
    font-family: 'artistfont';
    font-size: 40px;
}

h3 {
    width: 100%;
    text-align: center;
    font-family: 'tilefont';
}

h2 {
    text-align: center;
        font-family: 'jobfont';
}

#about {
    z-index: 1;
}

.modal-header {
    background-color: #e7e8ec;
}

.modal-body {
    background-color: #e7e8ec;
}

.modal-footer {
    background-color: #e7e8ec;
}

.modal .btn-primary {
    background: #525a5d;
    color: white;
    border-color: #525a5d;
}

.modal .btn-primary:hover {
    background: grey;
    color: white;
    border-color: grey;
}

.row.equal {
    display: flex;
    flex-wrap: wrap;
}
.equal > div[class*='col-'] {
  display: flex;
  flex-direction: column;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display:flex;
}

.gallery {
    width: 100%;
    height: 100%;
}

.face {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 100%;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;

      z-index: 1;
}
.face.back {
      display: block;
       -ms-transform: rotateY(180deg);
      -webkit-transform: rotateY(180deg);
      -moz-transform: rotateY(180deg);
      -o-transform: rotateY(180deg);
      transform: rotateY(180deg);
      /*box-sizing: border-box;*/
      color: white;
      background-color: #aaa;
}
