/*CASE OVERVIEW PAGE*/

.header-case {
  border-bottom: 0.5px solid #f1d2d2;
}

.header-case nav a {
  color: #f1d2d2;
}

.hero-case {
  background-color: #e7522a;
}

.hero h1 {
  color: #f1d2d2;
}

.video-div {
  display: flex;

  justify-content: center;

  padding: 56.25% 0 0 0;

  position: relative;

  margin: 4rem 0;
}

.case-grid {
  max-width: 1300px;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  grid-auto-rows: 1fr;

  column-gap: 2rem;

  justify-content: right;
}

@media (max-width: 830px) {
  .case-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px;
  }
}

@media (max-width: 470px) {
  .case-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0px !important;
  }
}

.case-grid a {
  text-decoration: none;

  border-bottom: 1px solid #787878;

  margin-bottom: 4rem;
}

.case-div img {
  width: 100%;

  /* max-height: 400px; */

  display: flex;

  align-items: center;

  transition: transform 0.2s;
}

.case-div:hover {
  text-decoration: underline;

  text-decoration-color: black;
}

.case-div:hover img {
  transform: scale(1.04);
}

.case-text {
  padding: 2rem 0;
  padding-left: 10px;
}

@media (max-width: 475px) {
  .case-text {
    padding-left: 10px;
    padding-top: 0;
  }
}

.case-text h2 {
  font-size: 30px;

  color: black;
}

.case-text h3 {
  font-size: 43px;

  color: black;

  text-transform: uppercase;
}

/*Attempt to create the rotated text*/

/* .case-text h4 {

  font-family: hero-new,sans-serif;

  font-weight: 700;

  text-transform: uppercase;

  transform: rotate(90deg);

  position: relative;

  top: 0;

  right: 0;

  transform-origin: bottom right;

} */

/*CONTACT PAGE*/

.contact-hero {
  background-color: #f1d2d2;

  height: 100vh;

  width: 100%;

  display: flex;

  /* padding: 5rem 0 0; */
}

@media (max-width: 775px) {
  .contact-hero {
    flex-direction: column;
  }
  .contact-info {
    width: 100% !important;
    padding: 0 !important;
  }
  .map {
    width: 100% !important;
  }
}

.contact-info {
  width: 40%;

  background-color: #e7522a;

  padding: 1.5rem;
}

.contact-text {
  padding-left: 2rem !important;
}

.contact-info div {
  padding: 1rem 0;
}

.contact-info h1 {
  text-transform: uppercase;

  font-size: 50px;

  font-weight: 500;

  color: #f1d2d2;

  padding: 3rem 0;
}

.contact-info h2 {
  font-family: hero-new, sans-serif;

  font-weight: 500;

  font-size: 40px;

  color: #f1d2d2;

  text-transform: uppercase;
}

.contact-info a,
.contact-info p {
  color: #f1d2d2;
  font-size: 25px;
}

@media (max-width: 900px) {
  .contact-info a,
  .contact-info p {
    font-size: 22px;
  }
}

.map {
  width: 60%;

  height: 100%;
}

.sub-main {
  padding: 2rem 0;
}

.sub-main h1 {
  font-family: louvette-display, serif;
  text-align: center;
  color: unset;

  font-weight: unset;

  padding: 2rem 0;

  font-size: 60px;
}

@media (max-width: 830px) {
  .sub-main h1 {
    line-height: 49px;
  }
  .sub-main {
    padding: 0 !important;
  }
}

.staff-grid {
  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  column-gap: 2rem;

  row-gap: 2rem;
  align-items: center;
}

@media (max-width: 1270px) {
  .staff-grid {
    grid-template-columns: repeat(2, 375px);
    margin: 0 !important;
  }
}

@media (max-width: 830px) {
  .staff-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 470px) {
  .staff-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.staff-div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.staff-div img {
  width: 100%;
  border-radius: 50%;
}

@media (max-width: 830px) {
  .staff-div img {
    max-height: 515px;
    width: 80%;
  }
}

.staff-text {
  display: flex;

  flex-direction: column;

  align-items: center;

  padding-top: 1rem;
}

.staff-text h2 {
  color: #e7522a;

  font-family: hero-new, sans-serif;

  font-weight: 500;

  font-size: 30px;
}

.staff-text h3 {
  color: unset;

  font-weight: unset;
}

.staff-text a {
  color: #e7522a;
}

/*TA BORT DENNA OM DU VILL HA CITATEN PÅ KONTAKTSIDAN*/

.quote {
  display: none;
}

/*CASE PAGES*/

.next-prev-case {
  text-decoration-color: #e7522a;
}

.next {
  text-align: right;
}

.prev {
  text-align: left;
}
