* {
  font-family: "montserrat", "sans-serif";
  margin: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: 100px;
  min-height: 100vh;
  height: 100%;
  flex-direction: column;
  display: flex;
  min-height: 100vh;
  height: 100%;
  flex-direction: column;
  display: flex;
}

header {
  position: fixed;
  display: flex;
  background: #181a1a;
  height: 100px;
  box-shadow: 10px 4px 50px 0px #181818;
  z-index: 1;
  top: 0;
  width: 100%;
}

.logo,
.nav-links {
  display: flex;
}

.logo {
  flex: 1;
  align-items: center;
}

.logo img {
  width: 140px;
  margin-left: 12px;
  transition: 0.2s;
}

.logo img:hover {
  opacity: 0.8;
}

nav {
  flex: 1;
  height: 100%;
}

.nav-links {
  justify-content: space-around;
  list-style: none;
  text-decoration: none;
  height: 100%;
  font-size: 20px;
  align-items: center;
}

.nav-link a {
  border-bottom: 1px #ffffff none;
  color: #ffffff;
}

.nav-link a:hover {
  padding-bottom: 5px;
  border-bottom: 2px solid #ffffff;
  -webkit-transition: all ease-out 0.2s;
  transition: 0.2s;
}

.nav-link a,
.nav-link:visited {
  text-decoration: none;
}

.nav-link a:active {
  color: #18d2d9;
  border-color: #18d2d9;
}

@media only screen and (max-width: 600px) {
  .logo img {
    width: 100px;
  }
}

.hero {
  background-image: url(/content/images/hero.jpg);
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
}

.text-hero {
  text-align: center;
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
}

.text-hero h1 {
  text-align: center;
}

.text-hero h2 {
  text-align: center;
  font-size: 20px;
  margin-top: -5px;
}

.arrow {
  border: solid #181a1a;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 10px;
  margin-top: 10px;
}

.down {
  transform: rotate(45deg);
}

main {
  margin-bottom: 150px;
}

.index-img {
  border-radius: 100%;
  margin: 50px auto 10px;
  max-width: 300px;
  display: block;
  box-shadow: 0 71px 31px -68px #181a1a;
}

.introduction {
  max-width: 20%;
  margin: 100px auto 0 auto;
}

@media screen and (max-width: 600px) {
  .introduction {
    max-width: 80%;
    text-align: left;
  }
}

.introduction h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

.introduction p {
  text-align: center;
}

.get-to-know {
  max-width: 550px;
  margin: 0 auto 150px;
}

.get-to-know h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

.get-to-know li {
  margin: 5px auto;
}

.some-work h1 {
  text-align: center;
  font-size: 30px;
}

.work-buttons-container {
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
}

.work-buttons {
  padding: 0.5em 3em;
  margin: 30px auto;
  font-weight: bold;
  text-align: center;
  border-radius: 20px;
  color: #ffffff;
  background-color: #181a1a;
}

@media screen and (max-width: 1050px) {
  .work-buttons-container {
    flex-direction: column;
  }

  .work-buttons {
    margin: 30px auto;
  }
}

.work-buttons:hover {
  background-color: rgb(6, 75, 87);
  transition: 0.2s;
}

.work-buttons:active {
  background-color: #18d2d9;
}

.past-works {
  display: block;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 15px;
  margin-top: 50px;
}

.work-item {
  width: 320px;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 2%;
  display: inline-block;
  vertical-align: top;
}

.work-image {
  width: 100%;
  height: 450px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 10px;
  transition: 0.2s transform;
}

.first-photography {
  background-image: url(./images/photography.jpg);
}

.illustrator {
  background-image: url(./images/keyleth.PNG);
}

.lexicon-logo {
  background-image: url(./images/lexicon_logo.png);
}

.pure-gold-poster {
  background-image: url(./images/puregold.png);
}

.second-photography {
  background-image: url(./images/portrait.jpg);
}

.trust-poster {
  background-image: url(./images/trust.png);
}

.products-item a:link {
  color: #000000;
}

.bold {
  font-weight: bolder;
}

/*Footer adapted from https://www.web-eau.net/blog/10-best-footer-html-css-snippets*/

.footer-basic {
  padding: 40px 0;
  background-color: #181a1a;
  color: #ffffff;
  margin-top: auto;
}

.footer-basic ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-basic li {
  padding: 0 10px;
}

.footer-basic ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.footer-basic ul a:hover {
  opacity: 1;
}

.footer-basic .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  margin-bottom: 0;
}

/* Individual work pages*/

.work-main {
  display: flex;
  flex-direction: column;
}

@font-face {
  font-family: lemon Milk;
  src: url("/content/lemonmilk-regular.otf");
}

.work-headline {
  max-width: 1000px;
  text-align: center;
  margin: 80px auto 50px;
  font-family: "lemon milk", sans-serif;
}

.work-logo {
  width: 30vw;
  margin: 20px 50%;
  transform: translateX(-50%);
}

#logo-video {
  margin: 50px auto 0 auto;
  width: 100%;
  height: 100%;
}

#infographic-video {
  width: 40%;
  height: 80%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.main-work-text {
  max-width: 800px;
  margin: 0 auto 100px;
}

.main-work-text p {
  margin-bottom: 20px;
}

.italic {
  font-style: italic;
  font-size: 12px;
}

.work-images-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.work-images-flex img {
  flex-direction: row;
  max-width: 60vw;
  border: 0;
}

@media only screen and (max-width: 1000px) {
  .work-headline {
    max-width: 70%;
    font-size: 25px;
  }

  .main-work-text {
    max-width: 70%;
  }

  .work-images-flex img {
    max-width: 100vw;
  }
}

@media only screen and (max-width: 600px) {
  .work-headline {
    font-size: 20px;
  }
}

/********/

.container {
  max-width: 1000px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 100px auto 50px auto;
  flex-wrap: wrap;
  row-gap: 50px;
}
.border {
  height: 369px;
  width: 290px;
  background: transparent;
  border-radius: 10px;
  transition: border 1s;
  position: relative;
}
.card {
  height: 379px;
  width: 300px;
  border-radius: 10px;
  transition: background 0.8s;
  overflow: hidden;
  background: #181818;
  box-shadow: 0 70px 63px -60px #181a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media only screen and (max-width: 1100px) {
  .container {
    flex-direction: column;
  }

  .card {
    max-width: 80%;
    max-height: 80%;
  }
}
.card h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  margin: 20px;
  opacity: 0;
  transition: opacity 1s;
}

.card .image {
  position: absolute;
  background-size: 360px;
  background-position: center;
  width: 100%;
  height: 100%;
}

.card0 .image {
  background: url("/content/works/oset/osetlogo.png") center center no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card0:hover .image {
  background: url("/content/works/oset/osetlogo.png") left center no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card0:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}

.card1:hover .image {
  background: url("/content/images/RAMlogo.png") left center no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card1:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}

.card1 .image {
  background: url("/content/images/RAMlogo.png") center center no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card2:hover .image {
  background: url("/content//works/galeforce/galeforcelogo.png") left center
    no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card2:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}
.card2 .image {
  background: url("/content/works/galeforce/galeforcelogo.png") center center
    no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card3:hover .image {
  background: url("/content/works/eggspresso/eggspressofront.png") left center
    no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card3:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}
.card3 .image {
  background: url("/content/works/eggspresso/eggspressofront.png") center center
    no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card4:hover .image {
  background: url("/content/works/munchies/munchieslogo.png") left center
    no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card4:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}
.card4 .image {
  background: url("/content/works/munchies/munchieslogo.png") center center
    no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card5:hover .image {
  background: url("/content/works/infographic/infographiclogo.png") left center
    no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card5:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}
.card5 .image {
  background: url("/content/works/infographic/infographiclogo.png") center
    center no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

.card6:hover .image {
  background: url("/content/works/accudrive/accudrivelogo.png") left center
    no-repeat;
  background-size: 600px;
  filter: blur(5px);
}
.card6:hover h2 {
  opacity: 1;
  color: #fff;
  transition: opacity 0.8s;
}
.card6 .image {
  background: url("/content/works/accudrive/accudrivelogo.png") center center
    no-repeat;
  transition: background 0.8s;
  background-size: 200px;
}

/* ABOUT */

.about-main h2 {
  text-align: center;
  margin-bottom: 15px;
  margin-top: 50px;
  font-size: 30px;
}

.about-main p {
  text-align: center;
}

.about-text-container {
  margin: 50px auto 0 auto;
  max-width: 800px;
}

.title-small {
  display: none;
}

@media only screen and (max-width: 1000px) {
  .about-text-container {
    max-width: 70%;
  }

  .about-main img {
    max-width: 40%;
  }
}

@media only screen and (max-width: 600px) {
  .about-text-container {
    max-width: 70%;
  }

  .about-main img {
    max-width: 60%;
  }

  .title-small {
    display: block;
  }

  .title-large {
    display: none;
  }
}

/*CONTACT*/

.contact-subheadline {
  width: 40%;
  max-width: fit-content;
  margin: 0 auto;
}

.contact-container {
  width: 452px;
  margin: 20px auto;
  height: 60px;
}

.contact-container img {
  width: 60px;
}

table {
  margin-top: 50px;
}

table tr td a {
  color: #181818;
}

tr {
  padding-bottom: 20px;
}

td {
  padding-right: 20px;
}

@media only screen and (max-width: 700px) {
  td h2 {
    font-size: 16px;
  }

  table {
    margin: 50px;
  }

  .contact-container img {
    width: 50px;
  }
}

.italic a,
.italic a:visited {
  color: #18d2d9;
}
