/* component - utilities */

body {
  margin: 0;
  background-color: #0d1316;
}

/* component - nav bar */

.list-reset {
  margin: 0 auto;
  list-style-type: none;
  text-indent: 0;
  padding: 0;
  width: 100%;
}

.nav-bar {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.75);
  width: calc(100% - 30px);
  padding: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-family: roc-grotesk-extrawide, sans-serif;
  font-weight: 300;
  font-size: 0.2em;
  text-transform: uppercase;
  z-index: 1;
}

@media (min-width: 600px) {
  .nav-bar {
    font-size: 0.75em;
  }
}

@media (min-width: 1000px) {
  .nav-bar {
    font-size: 1em;
  }
}

.menu-button {
  display: inline-block;
  width: 30%;
  text-align: center;
}

@media (min-width: 425px) {
  .list-reset {
    width: 80%;
  }
}

@media (min-width: 1000px) {
  .list-reset {
    width: 70%;
  }
}

@media (min-width: 1500px) {
  .list-reset {
    width: 60%;
  }
}

@media (min-width: 2000px) {
  .nav-bar {
    font-size: 1.5em;
  }
}

.menu-button a {
  text-decoration: none;
  color: #AA1712;
  transition: 0.3s ease;
}

.menu-button:hover {
  font-weight: 700;
}

.menu-button:active {
  text-decoration: underline;
}

/* component - hero */

.logo-box {
  width: 75%;
  justify-content: center;
  margin: 0 auto;
  display: block;
  padding: 100px 0 30px 0;
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
   -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
     -o-animation: fadein 1s; /* Opera < 12.1 */
        animation: fadein 1s;
}

@media (min-width: 375px) {
  .logo-box {
    width: 70%;
  }
}

@media (min-width: 425px) {
  .logo-box {
    width: 60%;
  }
}

@media (min-width: 600px) {
  .logo-box {
    width: 50%;
  }
}

@media (min-width: 1000px) {
  .logo-box {
    width: 300px;
    padding-top: 250px;
  }
}

@media (min-width: 1200px) {
  .logo-box {
    width: 400px;
  }
}

.logo-box img {
  width: 100%;
  margin: 0 auto;
  transition: 0.3s ease;
}

.logo-box img:hover {
  opacity: 0.5;
}

.logo-box img:active {
  opacity: 0.75;
}

.logo-box #page-one:hover {
  opacity: 1;
}

.logo-box #page-one:active {
  opacity: 1;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-family: roc-grotesk-extrawide, sans-serif;
  font-style: normal;
  text-transform: uppercase;
  color: #AA1712;
}

h1 {
  font-size: 0.75em;
}

h2 {
  font-weight: 300;
  font-size: 0.2em;
  line-height: 0.3em;
  text-align: right;
}

h2 a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

h2 a:hover {
  font-weight: 700;
}

h2 a:active {
  text-decoration: underline;
}

@media (min-width: 600px) {
  h1 {
    font-size: 1em;
  }
  h2 {
    font-size: 0.75em;
    line-height: 0.6em;
  }
}

@media (min-width: 1000px) {
  h2 {
    font-size: 0.8em;
    line-height: 0.5em;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 1.3em;
  }
}

hr.headerline {
  border: none;
  border-top: 1px solid #AA1811;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 0;
}

.hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#sharkhero {
  background-image: url(../images/animal-aquarium-aquatic-1700656.jpg);
}

#sharksmokehero {
  background-image: url(../images/acrylic-art-background-1639144.jpg);
}

#jellyhero {
  background-image: url(../images/animal-hd-wallpaper-ocean-1139438.jpg);
}

#flapflaphero {
  background-image: url(../images/animals-aquarium-aquatic-889929.jpg);
}

#seahero {
  background-image: url(../images/cold-high-angle-shot-motion-1646311.jpg);
}

#surfhero {
  background-image: url(../images/surfboard-man.jpg);
}

#wavehero {
  background-image: url(../images/waves.jpg);
}

#fishpilehero {
  background-image: url(../images/fishpile.jpg);
}

@media (min-width: 1000px) {
  .hero-image {
    height: 800px;
  }
}

/* component - about text */

.about-text {
  width: 75%;
  margin: 25px auto;
  padding: 25px;
  background-color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 375px) {
  .about-text {
    width: 70%;
  }
}

@media (min-width: 425px) {
  .about-text {
    width: 60%;
    padding: 35px;
  }
}

@media (min-width: 600px) {
  .about-text {
    width: 50%;
    font-size: 1.1em;
  }
}

@media (min-width: 725px) {
  .about-text {
    width: 50%;
    padding: 50px;
  }

  .about-text.is-project {
    margin-bottom: 100px;
  }

}

@media (min-width: 1000px) {
  .about-text {
    margin: 0;
    height: 450px;
    position: absolute;
    padding: 0;
    padding-left: 50px;
    padding-top: 198px;
    padding-bottom: 100px;
    padding-right: 5%;
    top: 52px;
    right: 0;
    width: 200px;
    font-size: 1.3em;
    background-color: rgba(0, 0, 0, 0.75);
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
   -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
     -o-animation: fadein 1s; /* Opera < 12.1 */
        animation: fadein 1s;
  }

  .about-text p {
    border-right: 1px #AA1712 solid;
    padding-right: 20px;
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: 8%;
  }
}

@media (min-width: 1500px) {
  .about-text {
    padding-right: 10%;
    padding-left: 100px;
  }
}

.about-text p {
  font-family: orpheuspro, serif;
  font-weight: 400;
  color: #AA1712;
  font-size: 0.75em;
  margin: 0;
}

.about-text p a {
  color: #AA1712;
  transition: 0.3s ease;
}

.about-text p a:hover {
  font-weight: 700;
}

.about-text p a:active {
  color: white;
}

@media (min-width: 2000px) {
  .about-text {
    width: 450px;
    padding-right: 10%;
    top: 64px;
    height: 438px;
  }
  .about-text p {
    font-size: 1em;
  }
}

hr.aboutline {
  border: none;
  border-top: 1px solid #AA1712;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 0;
}

@media (min-width: 1000px) {
  hr.aboutline {
    border: 0px;
    margin: 0;
  }
}

.italic {
  font-style: italic;
}

/* component - grid */

.project-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 0;
}

@media (min-width: 425px) {
  .project-grid {
    margin-bottom: 100px;
  }
}

.project-item {
  display: inline-block;
  width: 50%;
  overflow: hidden;
  max-height: 200px;
  background-color: #141e23;
  position: relative;
  transition: 0.3s ease;
}

.project-item:first-child {
  background-color: #AA1811;
  width: 100%;
}

@media (min-width: 600px) {

  .project-grid {
    width: 80%;
    justify-content: space-between;
  }

  .project-item {
    width: 45%;
    margin-top: 25px;
  }

  .project-item:first-child {
    width: 100%;
  }

}

@media (min-width: 725px) {
  .project-item {
    width: 48%;
  }

  .project-item:first-child {
    width: 100%;
    max-height: 300px;
  }

  .project-grid {
    margin-bottom: 150px;
  }
}

@media (min-width: 1000px) {
  .project-grid {
    margin-bottom: 250px;
  }

  .project-item {
    width: 48%;
  }

  .project-item:first-child {
    width: 100%;
    min-height: 400px;
  }
}



.project-item img {
  width: 100%;
  mix-blend-mode: screen;
}

.project-item:hover {
  background-color: #565D60;
}

.project-item:active {
  background-color: darkgray;
}

.project-title {
  position: absolute;
  text-transform: uppercase;
  font-family: roc-grotesk-extrawide, sans-serif;
  color: white;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* component - fade-in styles */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* component - project page */

.project-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 150px;
}

@media (min-width: 425px) {
  .project-container {
    width: 80%;
    margin: 0 auto;
  }
}

@media (min-width: 725px) {
  .project-container {
    width: 70%;
    font-size: 1em;
  }
}

@media (min-width: 1000px) {
  .project-container {
    margin-top: 150px;
  }

  .project-container p {
    font-size: 1.1em;
  }
}

@media (min-width: 1300px) {
  .project-container {
    width: 60%;
  }
}

@media (min-width: 1500px) {
  .project-container {
    width: 50%;
  }
}

p {
  font-family: orpheuspro, serif;
  font-weight: 400;
  color: #AA1712;
  font-size: 0.75em;
}

 @media (min-width: 1200px) {
   .project-container p {
     font-size: 1.3em;
   }
 }


.project-pic-wide {
  width: 100%;
  display: inline-block;
  border-bottom: 4px #AA1712 solid;
  margin-bottom: 25px;
}

.project-pic-wide img {
  max-width: 100%;
}


.project-text-wide {
  width: 90%;
  margin: 10px auto 25px;
}

@media (min-width: 725px) {
  .project-text-wide {
    width: 80%;
    margin-bottom: 100px;
  }
}

.project-pic-narrow {
  width: calc(50% - 24px);
  margin-bottom: 100px;
  border-right: 4px #AA1712 solid;
}

@media (min-width: 425px) {
  .project-pic-narrow {
    width: 40% - 4px;
  }
}

@media (min-width: 600px) {
  .project-pic-narrow {
    width: 60%;
  }
}

.project-pic-narrow img {
  max-width: 100%;
  display: inline-block;
}

.project-text-narrow {
  width: 45%;
  display: inline-block;
  margin-right: 10px;
  margin-left: 20px;
  height: auto;
}

@media (min-width: 425px) {
  .project-text-narrow {
    width: 40%;
  }
}

@media (min-width: 600px) {
.project-text-narrow {
    width: 30%;
  }
}

@media (min-width: 1500px) {
  .project-container p {
    font-size: 1.5em;
  }
}


.project-text-narrow.left {
  text-align: right;
  margin: 0;
  margin-right: 20px;
  margin-left: 10px;
}

.project-pic-narrow.left {
  border-right: none;
  border-left: 4px #AA1712 solid;
}

/* component - footer */

.footer {
  background-color: rgba(0, 0, 0, 0.5);
  font-family: orpheuspro, serif;
  font-weight: 400;
  font-style: italic;
  color: #AA1712;
  padding: 15px;
  padding-bottom: 100px;
}

.nav-bar.bottom {
  position: relative;
  padding-bottom: 25px;
}

/* component - about */

h3 {
  font-size: 1.1em;
  text-align: center;
  font-weight: 300;
}

.skills {
  width: 100%;
  margin: 10px;
  font-family: roc-grotesk-extrawide, sans-serif;
  font-weight: 300;
  font-size: 0.9em;
  color: #AA1712;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  margin-bottom: 15px;
  display: inline-block;
}

.skill-list {
  text-indent: 0;
  font-family: orpheuspro, serif;
  font-weight: 400;
  font-size: 0.8em;
}


@media (min-width: 1000px) {
  .skills {
    width: 20%;
  }
}

@media (min-width: 1500px) {
  .skills {
    width: 25%;
    font-size: 1.1em
  }
}
