@font-face {
  font-family: Louvette;
  src: url(./assets/fonts/Louvette\ Deck\ Semi\ Bold.otf);
}

body {
  margin: 0;
  padding: 0;
}

section {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

main {
  max-width: 100% !important;
}

img {
  max-width: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

h1 {
  font-family: hero-new, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #e7522a;
  line-height: 37px;
}

h2 {
  font-family: louvette-display, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 60px;
}

h3 {
  font-family: hero-new, sans-serif;
  font-weight: 700;
  font-style: normal;
  /* font-size: clamp(30px, 4vw, 43px); */
  margin: 0 0;
}

p {
  font-family: hero-new, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
}

header {
  background-color: #f1d2d2;
  width: 100%;
  border-bottom: 0.5px solid #f1d2d2;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 0;
}

header a {
  padding: 2rem;
}

.logo {
  width: 350px;
}

header a {
  padding: 2rem;
}

header nav {
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

header nav a {
  color: #e7522a;
  text-decoration: none;
  font-family: hero-new, sans-serif;
  font-weight: 700;
  font-size: x-large;
  padding: 0 1rem;
}

header nav a:hover {
  color: #0b1431;
}

.mobile-hidden .rex {
  width: 35px;
}

.menu-btn {
  display: none;
}

.showreel {
  display: flex;
  align-self: flex-end;
  padding: 2rem 0;
}

.showreel img {
  width: 20px;
}

#showreel-btn,
.rex-btn,
.mobile-rex-btn {
  cursor: pointer;
  color: #e7522a;
  background-color: transparent;
  border: none;
  font-family: hero-new, sans-serif;
  font-weight: 700;
  font-size: x-large;
}

#showreel-btn:hover {
  text-decoration: underline;
}

.modal,
.rex-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(231, 82, 42, 0.7);
}

.news-title h1 {
  text-align: center;
  max-width: 100%;
  color: #e7522a;
  font-family: hero-new, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 70px);
  padding-bottom: 70px;
}

.center-items {
  margin-left: 50px;
  margin-right: 50px;
}

/* Undersidor */

.news-hero {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1300px;
  margin-top: 20px;
  padding-left: 60px;
  padding-right: 60px;
}

.news-date {
  display: flex;
  margin-bottom: 280px;
}

.news-date p,
.news-date-3,
.news-date-2 {
  font-family: Louvette;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
}

.news-date-2 {
  margin-top: 35px;
  margin-bottom: 20px;
}

.news-date-3 {
  margin-bottom: 15px;
}

.news-text-wrapper {
  padding-left: 20px;
}

.news-heading {
  max-width: 100%;
  font-family: hero-new, sans-serif;
  margin-bottom: 5px;
  margin-top: 5px;
  font-weight: 800;
  font-size: clamp(26px, 5vw, 70px);
  line-height: clamp(40px, 5vw, 80px);
}

.readmore_news_btn {
  font-size: clamp(16px, 3vw, 18px);
  font-family: "hero-new";
  font-weight: 300;
  text-decoration: underline !important;
  transition: 0.6s ease;
}

.readmore_news_btn:hover {
  letter-spacing: 0.5px;
}

.news-img-container {
  max-width: 635px;
  max-height: 357px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.border-bottom {
  border-bottom: 0.5px solid #787878;
}

.news-image-container {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;

  gap: 30px;
}

.image-card {
  border-bottom: 0.5px solid #787878;
  max-width: 100%;
  width: 100%;
  padding-bottom: 20px;
  transition: 0.6s ease;
  max-width: 635px;
  overflow: hidden;
}

.image-card .card-inner {
  padding: 15px;
}

.card-inner p {
  line-height: 30px;
}

.image-card .card-inner h3 {
  font-size: clamp(30px, 4vw, 43px);
}

.news-title a,
.card-inner a {
  text-decoration: none;
  color: black;
}

.news-title:hover .news-text-wrapper h2 {
  text-decoration: underline;
  cursor: pointer;
}

.news-heading:hover {
  text-decoration: underline;
  cursor: pointer;
}

.image-card h3:hover {
  text-decoration: underline;
}

.image-card img {
  transition: transform 1.5s ease;
  max-height: 357px;
  max-width: 635px;
  height: 100%;
  width: 100%;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card img:hover > h3 {
  text-decoration: underline;
}

.image-card:hover .card-inner h3 {
  text-decoration: underline;
  cursor: pointer;
}

.news-hero-img {
  position: relative;
  max-width: 1300px;
}

.news-hero-img img {
  max-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  max-height: 600px;
  width: 100%;
}

.news-hero-title {
  position: absolute;
  margin-left: -155px;
  top: -346px;
  max-width: 900px;
}

.news-hero-title h1 {
  font-size: 130px;
  line-height: 130px;
  text-transform: uppercase;
  color: #e7522a;
}

.news-hero-title-smaller {
  position: absolute;
  margin-left: -155px;
  top: -335px;
  max-width: 1300px;
}

.news-hero-title-smaller h1 {
  font-size: 122px;
  line-height: 130px;
  text-transform: uppercase;
  color: #e7522a;
}

.branding-grid {
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(4, 0.1fr);
  gap: 65px;
  padding-left: 60px;
  padding-right: 60px;
  place-content: center;
}

.branding-grid div {
  display: flex;
  justify-content: center;
  padding: 12px 25px;
  background-color: #f1d2d2;
  color: #e7522a;
}

.branding-grid div p {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  margin: 0;
}

.news-description {
  max-width: 850px;
}

.news-description p {
  line-height: 30px;
}

.branding-description {
  display: flex;
  flex-direction: column;
  padding-inline: 60px;
}

@media (max-width: 1130px) {
  .branding-description {
  
    padding-inline: 30px;
  }
}

@media (max-width: 600px) {
  .branding-description {
  
    padding-inline: 0px;
  }
}

.branding-description p {
  line-height: 30px;
}

@media (max-width: 600px) {
  .branding-description p {
    font-size: 17px;
  }

  .branding-description h2 {
    font-size: 35px;
  }
}

.branding-description p,
h2 {
  max-width: 650px;
}

.branding-description h2 {
  margin-bottom: 0;
}

.branding-description .quote {
  font-size: clamp(33px, 5vw, 52px);
  font-weight: 100;
  max-width: 562px;
}

/*FOOTER*/
footer {
  width: -webkit-fill-available;
  background-color: #e7522a;
  margin-top: 1rem;
}

.img-div {
  padding: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 2rem;
  align-items: center;
}

.img-div > img {
  max-width: 15rem;
  justify-self: center;
}

.some-container {
  border-top: 0.5px solid #f1d2d2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.some-div-footer {
  width: 60%;
  display: flex;
  justify-content: space-evenly;
}

@media (max-width: 600px) {
  .some-div-footer {
    flex-direction: column;
    align-items: center;
  }
}

.some-div-footer > a {
  text-decoration: none;
  font-family: hero-new, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #f1d2d2;
  font-size: 1.17em;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* MEDIA */

@media (max-width: 1600px) {
  .news-hero-title {
    margin-left: -38px;
  }

  .news-hero-title-smaller {
    margin-left: -38px;
  }

  .branding-description {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media screen and (min-width: 1025px) {
  .desktop-hidden {
    display: none;
  }

  .img-section:hover .image {
    opacity: 0.15;
  }

  .img-section:hover .middle {
    opacity: 1;
  }

  .middle {
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    visibility: visible;
    z-index: 2;
  }

  .middle div h2 {
    color: white;
    text-transform: uppercase;
    font-family: hero-new, sans-serif;
    font-weight: 700;
    font-size: 40px;
    padding: 2rem 0;
  }

  .middle div h3 {
    color: #e7522a;
  }
}

@media (max-width: 1440px) {
  .news-hero-title-smaller h1 {
    font-size: 106px;
    line-height: 115px;
  }
  .news-hero-title-smaller {
    top: -293px;
  }
}

@media (max-width: 1025px) {
  .news-hero-title-smaller h1 {
    font-size: 90px;
    line-height: 107px;
  }

  .news-hero-title-smaller {
    top: -265px;
  }
}

@media (max-width: 968px) {
  .branding-grid {
    gap: 30px;

    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 830px) {
  .img-div {
    padding: 2rem;
  }
  .img-div > img {
    max-width: 10rem !important;
  }
}

@media (max-width: 767px) {
  .news-hero-title h1 {
    font-size: 90px;
    line-height: 90px;
  }

  .news-hero-title-smaller h1 {
    font-size: 50px;
    line-height: 62px;
  }

  .center-items {
    margin-left: 30px;
    margin-right: 30px;
  }

  .branding-grid {
    grid-template-columns: repeat(2, 0.1fr);
  }

  .news-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .news-hero-title {
    top: -237px;
    margin-left: 0;
  }

  .news-hero-title-smaller {
    top: -152px;
    margin-left: 0;
  }

  .news-hero {
    margin-left: 30px;
    margin-right: 30px;
  }

  .news-date {
    margin-bottom: 200px;
  }
}

.emailTo {
  text-decoration: none;
  color: #000;
}

.flex-05 {
  flex: 0.5;
}

.p-bold {
  font-weight: 600;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .news-hero-title {
    margin-left: 0px;
  }

  .news-hero-title-smaller {
    margin-left: 0px;
  }

  .branding-description {
    margin-left: 40px;
    margin-right: 40px;
  }

  .news-image-container {
    flex-direction: column;
  }

  .news-hero {
    margin-left: 0;
    margin-right: 0;
  }

  .news-date {
    margin-bottom: 130px;
  }

  .news-hero-title {
    top: -148px;
    max-width: 400px;
    margin-left: 30px;
  }

  .news-hero-title-smaller {
    top: -134px;
    margin-left: 30px;
  }

  #news-title-small-text {
    margin-left: 15px;
  }

  .news-hero-title h1 {
    font-size: 65px;
    line-height: 60px;
  }

  .news-hero-title-smaller h1 {
    font-size: 45px;
    line-height: 55px;
    max-width: 85vw;
  }
}

@media (max-width: 560px) {
  .img-div {
    grid-template-columns: repeat(2, 1fr);
  }

  .img-div > img {
    max-width: 10rem !important;
  }
}

@media (max-width: 500px) {
  .branding-grid div {
    padding: 8px 18px;
  }

  section {
    padding: 25px 0;
  }

  .branding-grid div p {
    font-size: 14px;
  }

  .branding-grid {
    grid-template-columns: repeat(2, 0.1fr);
    gap: 30px;
    padding: 25px 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-hero-title h1 {
    font-size: 50px;
  }

  .news-hero-title-smaller {
    top: -102px;
    margin-left: 30px;
  }

  .news-hero-title-smaller h1 {
    font-size: 30px;
    line-height: 45px;
    max-width: 85vw;
  }
}

@media (max-width: 480px) {
  .showreel {
    position: absolute;
    right: 10px;
  }
}

#news-title-small-text {
  top: -200px;
}

#news-title-medium-text {
  top: -240px;
}

@media (max-width: 1400px) {
  #news-title-medium-text {
    top: -110px;
  }
}

@media (max-width: 1200px) {
  #news-title-medium-text {
    top: -105px;
  }
}

@media (max-width: 900px) {
  #news-title-medium-text {
    top: -75px;
  }
}

@media (max-width: 900px) {
  #news-title-medium-text {
    top: -108px;
  }
}

#news-title-small-text h1 {
  font-size: clamp(35px, 5vw, 65px);
  line-height: clamp(45px, 6vw, 85px);
}

#news-title-medium-text h1{
  font-size: clamp(35px, 5vw, 85px);
  line-height: clamp(45px, 6vw, 95px);
}

@media (max-width: 900px) {
  #news-title-small-text {
    top: -127px;
  }

  /* #hero-sparks_small::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.58);
  } */
}

@media (max-width: 600px) {
  #news-title-small-text {
    top: -102px;
    max-width: 92vw;
  }

  #news-title-small-text h1 {
    font-size: 30px;
    color: #e9aaaa !important;
  }
}


#p-bigger {
  font-size: clamp(20px, 3vw, 25px);
  line-height: clamp(30px, 3vw, 35px);
}



.news_video-container {
  position: relative;
  width: 100%;
}

.news_video-container iframe {
  position: relative;
}

@media (max-width: 650px) {
  .news_video-container iframe  { 
      position: relative;
      top: 0;
      left: 0;
      width: 100%;
      max-height: 241px;
  }
}


@media (max-width: 400px) {
  .news_video-container iframe  { 
      position: relative;
      top: 0;
      left: 0;
      width: 100%;
      max-height: 180px;
  }
}


@media (min-width: 600px) {
  .md-show {
    display: inline-block;
   
  }

  .md-hide {
    display: none;
  }
}

@media (max-width: 600px) {
  .md-show {
    display: none;

  }
  .md-hide {
    display: contents;

  }
}


.news-image-container_grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}




@media (min-width: 800px) {
  .news-image-container_grid {
  grid-template-columns: repeat(2, 1fr);
  }

 
}


@media (max-width: 1350px) {
  .news-image-container_grid .image-card {
    padding-bottom: 150px;
  }

  .news-image-container_grid .image-card .card-inner {
    padding-bottom: 45px;
  }
  
}

@media (max-width: 800px) {
  .news-image-container_grid .image-card {
    padding-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .news-image-container_grid .news-img-container {
    max-height: 175px;
  }
}