/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* Portfolio Site Style Production Sheet */

/* Site colors

background (kiesel): #f5f5f5
backround grid items : #fff
box-shadow: 5px 8px 8px rbg 0 123 255/50%
button primary :
  background-color: #0af;
  border-color: #0af;
button secondary :#896b4c;
button secondary font:  #fff;
active link: #405962
active page: #0af primary;
body text-items link: #337ab7;

 */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a,
a:link,
a:hover,
a:visited,
a:active {
  text-decoration: none;
}

a:hover,
a:active {
  color: #405962;
}

.text-primary {
  color: #0af;
}

body {
  background-color: #f5f5f5;
  color: inherit;
  font-family: 'Lora', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin: 150px 20px 20px;
}

.body-text {
  text-decoration: underline;
}

.body-text__item {
  color: #337ab7;
  font-weight: 2em;
  text-decoration: underline;
}

/* Buttons */
.button,
button {
  margin: 10px 20px 0 0;
  padding: 15px 20px;
  max-width: 100%;
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background-color: #666;
  border: solid #666 2px;
  border-radius: 5px;
}

.button__primary {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  background-color: #0af;
  border-color: #0af;
  text-decoration: none;
  margin-top: 10px;
  padding: 15px 20px;
  font-weight: lighter;
  border-radius: 5px;
}

.button__secondary {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  background-color: #896b4c;
  border-color: #896b4c;
  text-decoration: none;
  margin-top: 10px;
  padding: 15px 20px;
  font-weight: lighter;
  border-radius: 5px;
}

.button__tertairy {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  background-color: #0af;
  border-color: #0af;
  text-decoration: none;
  padding: 15px 20px;
  font-weight: lighter;
  border-radius: 5px;
}

/* .contact-form__button {
  background-color: #e0b354;
  color: #2b2b2b;
}
  */
button:hover,
button:focus {
  cursor: pointer;
  opacity: 0.8;
}

/* carousel */
.carousel-inner {
  overflow: hidden;
  z-index: -1;
}

header {
  font-size: 20px;
  font-weight: 300;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0px;
  overflow: hidden;
  width: 100%;
  background-color: #f5f5f5;
}

h1,
.h1 {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
}

h2,
.h2 {
  margin: 15px 0;
  padding: 0;
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 500;
}

h3,
.h3 {
  margin: 12px 0;
  padding: 0;
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

hr {
  display: block;
  unicode-bidi: isolate;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}

/* Header */
header {
  font-family: 'Rajdhani', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: #f5f5f5;
}

.main-nav li a {
  float: right;
  margin-left: 30px;
  padding: 10px;
  display: block;
  text-transform: lowercase;
}

/* Navigation section */
.navbar {
  padding-top: 20px;
  width: 100%;
  background-color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  position: fixed;
  z-index: 10;
}

.navbar-brand {
  margin-left: 20px;
  margin-right: 16rem;
}

.navbar-nav {
  width: 100%;
  display: inline-flex;
  float: right;
  margin-left: 12rem;
  margin-inline-start: 5rem;
}

.navigation-list {
  list-style-type: none;
  float: right;
}

.nav-item {
  margin-left: 20px;
  padding: 10px;
  display: block;
  text-transform: lowercase;
}

.navigation-list li a {
  display: inline-block;
  margin-left: 30px;
  padding: 20px 10px;
  margin-inline: 1rem;
  text-transform: lowercase;
}

.nav-btn {
  margin-top: 3px;
  padding: 0;
  width: 30px;
  float: right;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.navigation-list__item--active {
  text-decoration: none;
}

.page-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 20px;
  margin: auto;
  border-bottom: 1px;
  text-transform: lowercase;
}

.page-header__item {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 200px;
  flex: 0 1 200px;
}

.page-header__item:last-child {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: right;
}

.text-outline {
  color: #00222e;
  font-weight: bold;
  letter-spacing: 1px;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #00222e;
}

.text-italic {
  font-style: italic;
}

/* Profile Section */
.profile,
.contact,
.about {
  max-width: 700px;
  padding-top: 90px;
  margin-top: 20px;
  margin: 0 auto;
}

.profile__portrait {
  float: left;
  width: 250px;
  margin-right: 100px;
  margin-top: 5px;
  height: auto;
  border-radius: 2%;
  margin-bottom: 50px;
}

.hero__portrait {
  max-width: 100%;
  position: relative;
  height: auto;
  opacity: 90%;
  margin-bottom: 2em;
  z-index: -1;
}

.article__portrait {
  max-width: 60%;
  position: relative;
  height: auto;
  opacity: 70%;
  margin-bottom: 2em;
  z-index: -1;
}

.casestudy__portrait_right {
  float: right;
  width: 300px;
  margin-left: 100px;
  margin-top: 10px;
  height: auto;
  border-radius: 2%;
  margin-bottom: 50px;
}

.casestudy__portrait_left {
  float: left;
  width: 300px;
  margin-top: 20px;
  margin-right: 100px;
  height: auto;
  border-radius: 2%;
  margin-bottom: 50px;
}

.profile_body {
  font-size: 24px;
}

#logo_Jol {
  height: 70px;
  margin: 16px 0;
}

.viewprojects__button {
  display: block;
  text-align: center;
}

/* About Page */
.about {
  width: 100%;

  /* display: block; */
  text-align: center;
}

.list_item {
  list-style-type: none;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
}

ul {
  display: block;
  list-style-type: none;
  text-decoration: none;
}

.experience-table {
  margin: 0 auto;
  margin-bottom: 5%;
}

.contact {
  display: block;
  text-align: left;
  padding-top: 20px;
}

.contact-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: end;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  border: 1px;
}

.contact-form__label {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9em;
  text-align: left;
}

.contact__input {
  font-family: 'Lora', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8em;
  border-radius: 6px;
  border: 2.5px solid #e1e3e3;
  display: inline-block;
  padding: 0.75em 1.5em;
}

.contact__input:focus {
  border-color: #0af;
}

.button__form {
  display: left;
  margin-left: auto;
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Article Section */
.article {
  max-width: 700px;
  display: block;
  padding-top: 90px;
  text-align: cleft;
  margin-bottom: 5%;
  margin-top: 20px;
  margin: 0 auto;
}

.article-title {
  display: block;
  text-align: left;
  padding-top: 10px;
  margin-bottom: 5%;
}

.image-title-right {
  display: right;
  margin-left: 220px;
  text-align: right;
}

.image-title-left {
  display: block;
  display: left;
  margin-right: 330px;
  text-align: left;
}

.images-block {
  display: right;
  margin-left: 220px;
  text-align: right;
}

/* Work Section */
.work {
  display: block;
  padding-top: 30px;
  text-align: center;
}

.screenshot {
  width: 100%;
  margin-bottom: 5%;
  border: 2px solid#0af;
}

.video {
  margin-bottom: 5%;
}

/* Grid fallback */
.grid__item {
  display: inline-block;
  width: 33%;
}

/* Styling CSS grid */
.grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin-top: 2em;
}

.grid__item {
  padding: 10px;
  margin-top: 40px;
  width: auto;
}

/* .grid__item:hover {
  background-color: #edc655;
  padding: 10px;
  opacity: 80%;
}
 */
.grid__item:last-child {
  -ms-grid-column: 3;
  grid-column: 3 / 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / 3;
}

.project-card {
  background-color: white;
  padding-bottom: 2em;
  border-radius: 0.25em;
  box-shadow: 5px 8px 8px rgb(0 123 255 / 50%);
}

.project-sm-card {
  background-color: white;
  padding-bottom: 2em;
  border-radius: 0.25em;
}

/* styles for hometown animation */
.sun {
  -webkit-animation-duration: 4s;
  animation-duration: 4s;
  -webkit-animation-name: color-change;
  animation-name: color-change;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.cloud-front {
  -webkit-animation-duration: 30s;
  animation-duration: 30s;
  -webkit-animation-name: cloud-move;
  animation-name: cloud-move;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.cloud-back {
  -webkit-animation: 34s cloud-move-reverse infinite alternate linear;
  animation: 34s cloud-move-reverse infinite alternate linear;
}

/* keyframes hometown animation */
@-webkit-keyframes color-change {
  from {
    fill: #edc655;
  }

  to {
    fill: #f76414;
  }
}

@-webkit-keyframes cloud-move {
  from {
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
  }

  to {
    -webkit-transform: translate(200px, 50px);
    transform: translate(200px, 50px);
  }
}

@-webkit-keyframes cloud-move-reverse {
  from {
    -webkit-transform: translate(446px, 48px);
    transform: translate(446px, 48px);
  }

  to {
    -webkit-transform: translate(100px, 48px);
    transform: translate(100px, 48px);
  }
}

@media all and (max-width: 500px) {
  .grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

@media all and (min-width: 500px) and (max-width: 750px) {
  .grid {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

/* @media all and (max-width: 750px) {
  .grid {
    grid-gap: 10px;
  }

  .grid__item:last-child {
    grid-column: auto / auto;
    grid-row: auto / auto;
  } */
h1 {
  font-size: 2em;
}

/* Footer */

.page-footer {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8em;
  clear: both;
  text-align: right;

  /* position: fixed; */
  bottom: 0;
  left: 0;
  justify-content: right;
  width: 100%;
  background-color: var(--background-primary);
  padding: 2em;
}

.transition {
  font-family: 'Montserrat', 'Helvetica Neue LT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  justify-content: left;
  font-size: 0.8em;
  text-align: left;
}

/* SVG Home-town animation */

/* .city-pic {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: left;
}  */
.lighttower-illustration {
  max-height: 500px;
  display: block;
  margin: 0 auto;
}

/* Media Queries */

@media all and (max-width: 320px) {
  .page-header {
    width: 40%;
  }

  .grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-column-gap: 1em;
  }

  .main_navigation {
    width: 60%;
  }

  .navbar-toggler-icon {
    float: right;
  }
}

.lighttower-illustration {
  max-height: 300px;
  float: center;
}

@media all and (max-width: 500px) {
  .lighttower-illustration {
    max-height: 300px;
    float: center;
  }

  .grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-column-gap: 1em;
  }
}

@media all and (max-width: 750px) {
  .grid {
    grid-gap: 10px;
  }

  .grid__item:last-child {
    grid-column: auto / auto;
    grid-row: auto / auto;
  }
}
