/*
 *
 * Common tag styles
 *
 */

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: Libre+Baskerville;
  font-size: 12px;
  color: #333333;
  background-color: #dddddd;
}

h1, h2, h3, h4, h5 {
  margin: 0;
}

header, nav, footer, section, div {
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, embed, object, video {
  max-width: 100%;
}


/*
 *
 * Header
 *
 */

.header {
  min-height: 56px;
  font-family: Libre+Baskerville;
  position: fixed;
  top: 0;
  width: 100%;
}

.header__container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background-color: #ffffff;
  text-align: right;
  opacity: 0.8;
}

.header__logo {
  height: 80px;
  margin-right: 16px;
  margin-left: 8px;
  vertical-align: top;
  margin-top: 12px;
  position: relative;
}

.header__menu {
  position: absolute;
  right: 0;
  bottom: 0;
}


/*
 *
 * Top Level Navigation
 *
 */

.nav {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.nav__list {
  width: 100%;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
}

.nav__item, .current__item {
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  line-height: 14px;
  padding: 12px;
  text-transform: uppercase;
  font-size: 12px;
}

.current__item a {
  text-decoration: none;
  color: #ffad00;
  background-color: #0076cf;
}

.current__item a:hover {
  text-decoration: underline;
}

.nav__item a {
  text-decoration: none;
  color: #0076cf;
}

.nav__item a:hover {
  text-decoration: underline;
}


/*
 *
 * Main
 *
 */

 main {
   width: 100%;
   margin-left: auto;
   margin-right: auto;
   font-family: Oswald;
   font-weight: lighter;
 }


/*
 *
 * Main photo
 *
 */

.main__photo__container {
  width: 100vw;
  height: 65vw;
  line-height: 65vw;
}

.main__photo__container::after {
  content: "";
  background: center/100% no-repeat url("../img/background-1.jpg");
  opacity: 0.5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  width: 100vw;
  height: 65vw;
  padding-top: 0px;
  animation: rotateimages 40s cubic-bezier(0, 0, 0, 1) 5s infinite;
}

@keyframes rotateimages {
  0% { background: center/100% no-repeat url("../img/background-1.jpg"); }

  12.5% { background: center/100% no-repeat url("../img/background-2.jpg"); }

  25% { background: center/100% no-repeat url("../img/background-3.jpg"); }

  37.5% { background: center/100% no-repeat url("../img/background-4.jpg"); }

  50% { background: center/100% no-repeat url("../img/background-5.jpg"); }

  62.5% { background: center/100% no-repeat url("../img/background-6.jpg"); }

  75% { background: center/100% no-repeat url("../img/background-7.jpg"); }

  87.5% { background: center/100% no-repeat url("../img/background-8.jpg"); }

  100% { background: center/100% no-repeat url("../img/background-1.jpg"); }
}

.main__blurb {
  margin: auto;
  text-align: center;
  animation-duration: 3s;
  animation-name: slidein;
  font-weight: bold;
  font-size: 12px;
  color: #ffffff;
  padding-top: 0px;
}

.main__blurb em {
  background-color: #ffffff;
  color: #000000;
  font-style: normal;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}


/*
 *
 * Featured work
 *
 */

.project__label {
  font-size: 18px;
  text-align: left;
}

.project__description a {
  color: #000000;
  text-decoration: none;
  display: inline;
  margin-bottom: 16px;
}

.project__description a:hover {
  color: #0076cf;
  text-decoration: underline;
}

.project__description {
  margin-bottom: 16px;
  text-align: justify;
  color: #000000;
  font-size: 18px;
}

.featured__work {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.featured__work1 {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  order: 1;
  background-color: #ffffff;
  text-align: center;
}

.featured__work2 {
  width: 33%;
  box-sizing: border-box;
  padding: 16px;
  order: 2;
}

.featured__work3 {
  width: 33%;
  box-sizing: border-box;
  padding: 16px;
  order: 3;
  background-color: #eeeeee;
}

.featured__work4 {
  width: 33%;
  box-sizing: border-box;
  padding: 16px;
  order: 4;
}


/*
 *
 * Footer
 *
 */

.footer {
  width: 100%;
  background-color: #252525;
  color: #ffad00;
  font-size: 14px;
  font-family: Oswald;
  font-weight: lighter;
}

.footer__container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  padding-top: 10px;
}

.footer__container a {
  margin-left: auto;
  margin-right: auto;
  color: #ffad00;
  text-decoration: none;
}

.footer__container a:hover {
  text-decoration: underline;
  color: #0076cf;
}


.footer__logo__container {
  width: 20%;
  box-sizing: border-box;
  order: 1;
  padding: 10px;
}

.footer__contact__info {
  width: 65%;
  box-sizing: border-box;
  order: 2;
  padding-left: 10%;
  padding-top: 10px;
}

.footer__contact__info h2 {
  text-transform: uppercase;
  font-size: 12px;
}

.footer__social__logos {
  width: 15%;
  box-sizing: border-box;
  order: 3;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  padding-right: 20px;
  flex-direction: column;
}

.footer__social__logos a {
  width: 24px;
}

.footer__copyright {
  width: 100%;
  order: 4;
  border-top: 2px solid #cccccc;
}

.footer__copyright p {
  font-size: 10px;
}

.right {
  float: right;
  color: #cccccc;
  padding-right: 10px;
}


/*
 *
 * Seconday page styling
 *
 */

.page__title {
  text-align: left;
  color: #0076cf;
  font-size: 20px;
  padding-top: 150px;
  padding-left: 12px;
}

.page__header {
  text-align: left;
  color: #0076cf;
  font-size: 20px;
  padding-top: 24px;
  padding-left: 12px;
}

.contact__page, .basics__page, .about__page {
  font-size: 18px;
  background-color: #ffffff;
  padding-bottom: 24px;
}

.about__page h2 {
  padding-left: 12px;
  font-size: 18px;
}

.contact__page p {
  padding-left: 24px;
  padding-right: 24px;
}

.basics__page p {
  padding-left: 24px;
  padding-right: 24px;
}

.about__page p {
  padding-left: 24px;
  padding-right: 24px;
}

.about__container {
  overflow: hidden;
}

.bold {
  font-weight: bold;
}

.red {
  color: #ff0000;
}

.top {
  vertical-align: top;
}

.contact__container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.contact__left__column, .contact__right__column {
  width: 50%;
  padding: 10px;
}

.contact__form__container {
  margin-top: 10px;
}

.contact__form__table {
  margin-top: 22px;
}
.contact__form__table label {
  margin-right: 20px;
}

.contact__form__table td {
  vertical-align: top;
}

.contact__submit__button {
  border-radius: 5px;
  font-size: 14px;
}
.contact__submit__button:disabled {
  background-color: #cccccc;
  color: #000000;
  border: 2px solid #0076cf;
  opacity: 0.5;
}

.contact__submit__button:enabled {
  background-color: #0076cf;
  color: #ffad00;
  border: 2px solid #cccccc;
}

#description {
  width: 90%;
  height: 100px;
}

.portrait {
  float: left;
  margin-right: 20px;
  height: 100%;
}

.message {
  padding-top: 150px;
  padding-left: 20px;
  font-size: 24px;
  text-align: center;
}
