/* -----------GENERAL----------- */

:root {
  --primary: #bea30c;
  --secondary: #fff;
  --third: #8a8d8d;
  --main-font: "Lato", sans-serif;
  --secondary-font: "Roboto Condensed", sans-serif;
}
html {
  font-family: var(--main-font);
}
a {
  text-decoration: none !important;
}
.casestudies-parent::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
  display: block;
}
.section-header h1 {
  position: fixed;
  top: 50px;
  right: 50px;
  border-right: var(--primary) 5px solid;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: right;
  font-size: 1.6em;
  font-family: var(--main-font);
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  color: var(--primary) !important;
}
.logo-parent {
  position: fixed;
  top: 70px;
  left: 70px;
  z-index: 1000;
}
.logo-parent img {
  width: 200px;
}
.logo-parent .mobile-logo {
  opacity:0;
  width: 0;
}
/* -----------CASE STUDIES----------- */

.casestudies-parent h1 {
  font-family: var(--main-font);
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: var(--secondary);
  padding-left: 20px;
}
.casestudies-parent h2 {
  font-family: var(--main-font);
  font-size: 1.3em;
  padding-bottom: 5px;
  padding-left: 20px;
  font-weight: 300;
  font-style: normal;
  color: var(--third);
}
.casestudies-parent h3 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.2rem;
  font-size: 1em;
  color: var(--primary);
  padding-left: 20px;
}
.casestudies-parent p {
  font-family: var(--main-font);
  padding-bottom: 10px;
  padding-top: 20px;
  padding-left: 20px;
  color: var(--secondary);
  font-weight: 100;
  font-size: 1.1em;
}
.casestudies-parent img {
  width: 100%;
  border: 2px solid #bea30c;
  margin-bottom: 30px;
}
.project-link {
  display: inline-block;
  color: var(--primary);
  padding: 6px 30px;
  border: var(--primary) 2px solid;
  cursor: pointer;
  margin-left: 20px;
  font-family: var(--main-font);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-decoration: none;
}
.project-link:hover {
  color: var(--secondary);
  border: var(--secondary) 2px solid;
}
/* -----------MEDIA QUERIES----------- */

@media screen and (max-width:1050px) {
  section {
    background-attachment: scroll !important;
  }
  .logo-parent {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
  }
  .logo-parent img {
    width: 150px;
  }
  .logo-parent .mobile-logo {
    opacity:1;
    width: 50px;
  }
  .logo-parent .desktop-logo {
    opacity:0;
    width: 0;
  }
  .section-header h1 {
    position: absolute;
    top: 30px;
    right: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.3em;
  }
  .casestudies-parent {
    padding-top: 100px;
  }
  .casestudies-parent .container {
    padding: 20px;
  }
}