/*
 * HorrorDriveThru css variabler START *
 */
/* Google importeret font */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;900&display=swap');

/* Ret disse variabler til for at ændre udseende af template */
:root {
  /* Colours */
  --color-primary: 0,6,106;
  --color-secondary: 159, 31, 24;
  --color-tertiary: 64, 134, 44;
  --color-text: 0,0,0;
  --color-text-gradient: linear-gradient(45deg,
    rgb(var(--color-primary)),
    rgb(var(--color-secondary)) 20%
  );
  --color-site-bg: 255,255,255;
  --color-alternative-bg: 17, 17, 17;
  /* Site */
  --site-bg: rgb(var(--color-site-bg));
  --site-color: rgb(var(--color-text));
  --max-width: 1800px;
  --locations-pattern-bg: url('https://sommerpicnic.dk/wp-content/themes/bstil-blank-theme/assets/horrordrivethru/pattern.png');
  --locations-pattern-bg-size: unset;
  /* Header */
  --header-color: white;
  --header-overlay: rgb(var(--color-secondary));
  /* Fonts, Typography */
  --ff-body: 'Arial', sans-serif;
  --ff-heading: var(--ff-body);
  --ff-heading-weight: 900;
}
/*
* HorrorDriveThru css variabler SLUT
* */
/*
* Default styling påtværs af template. Bør ikke
redigeres.
* */
html,
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ff-body);
  background-color: var(--site-bg);
  color: var(--site-color);
  font-size: 16px;
}

a {
  color: rgb(var(--color-tertiary));
}

.site {
  margin: auto;
  width: 100%;
}

.text-gradient {
  display: inline-block;
  flex: 0;
  background-image: var(--color-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400%;
  background-position: 0%;
}

.navigation {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: rgb(var(--color-secondary));
  padding: 16px 24px 16px 40px;
  border-radius: 0 0 0 24px;
}

@media (max-width: 960px) {
  .navigation {
    padding: 14px 12px 14px 20px;
  }
}

.navigation-trigger {
  display: none;
}

@media (max-width: 960px) {
  .navigation-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
  }
}

.navigation-trigger__line {
  width: 100%;
  height: 3px;
  background: var(--header-color);
  border-radius: 3px;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navigation--open .navigation-trigger__line {
  transform: rotate(45deg) translate(2px, 3px);
}

.navigation--open .navigation-trigger__line:nth-child(2) {
  transform: rotate(-45deg) translate(2px, -3px);
}

.navigation--open .navigation-trigger__line:nth-child(3) {
  transform: scale(0);
}

.navigation nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
	margin: 0;
}

@media (max-width: 960px) {
  .navigation nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    background: rgb(var(--color-secondary));
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.navigation--open nav {
  transform: translateX(0);
}

.navigation nav a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--header-color);
  transition: color 0.3s ease;
  position: relative;
  display: block;
}

.navigation nav a:after {
  display: block;
  position: absolute;
  bottom: -4px;
  content: '';
  background: currentColor;
  height: 3px;
  width: 0;
  transition: width 0.3s ease;
}

.navigation nav a:hover:after {
  width: 100%;
}

.header {
  height: 70vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--header-color);
  position: relative;
  background: rgb(var(--color-secondary));
}

.header:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--header-overlay);
  opacity: 0.24;
}

.header:after {
  /* Gradient fade out */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(var(--color-site-bg), 0) 0%,
    rgba(var(--color-site-bg), 1) 100%
  );
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: var(--max-width);
  width: 100%;
}

.header-content img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .header-content img {
    max-width: 240px;
    max-height: 240px;
  }
}

.header-content h1 {
  font-size: 2rem;
  font-family: var(--ff-heading);
  font-weight: var(--ff-heading-weight);
  position: absolute;
  top: 100%;
}

.locations {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 40px auto;
  width: calc(100% - 80px);
  padding: 0 40px;
	justify-content: center;
}

.locations:after {
  /* Gradient fade out */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(var(--color-site-bg), 0) 0%,
    rgba(var(--color-site-bg), 1) 100%
  );
}

.locations:before {
  content: '';
  background-image: var(--locations-pattern-bg);
  background-size: var(--locations-pattern-bg-size);
  background-position: 0 0;
  background-repeat: repeat;
  position: absolute;
  top: 50px;
  left: -50%;
  width: 200%;
  height: 100%;
  opacity: 0.16;
  z-index: -1;
  user-select: none;
  transform: rotate(-2deg);
}

@media (max-width: 960px) {
  .locations {
    width: calc(100% - 40px);
    padding: 0 20px;
  }
}

.locations-item {
  display: block;
  position: relative;
  text-decoration: none;
  color: rgb(var(--color-text));
  transition: color 0.3s ease;
  width: calc(25% - 1px);
}

@media (max-width: 1600px) {
  .locations-item {
    width: calc(33% - 1px);
  }
}

@media (max-width: 960px) {
  .locations-item {
    width: calc(50% - 1px);
  }
}

@media (max-width: 480px) {
  .locations-item {
    width: 100%;
  }
}

.locations > p {
  display: none;
}

.locations-item p {
  margin: 0;
}

.locations-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgb(var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .locations-item:hover:before {
    opacity: 0.32;
  }
}

.locations-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 3rem;
  z-index: 2;
  position: relative;
}

@media (max-width: 960px) {
  .locations-item-content {
    padding: 2rem 1rem;
  }
}

.locations-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.629s ease;
}

@media (hover: hover) {
  .locations-item:hover img {
    opacity: 1;
  }
}

.locations-item h2 {
  font-size: 2.5rem;
  font-family: var(--ff-heading);
  font-weight: var(--ff-heading-weight);
  text-transform: uppercase;
  margin: 0;
  padding: 0.5em 0.75em;
  position: relative;
}

@media (max-width: 1600px) {
  .locations-item h2 {
    font-size: 2rem;
    padding: 0.5em 0;
  }
}

@media (max-width: 960px) {
  .locations-item h2 {
    font-size: 1.2rem;
    padding: 0.5em 0;
  }
}

@media (hover: hover) {
  .locations-item:hover h2 {
    color: white;
    background: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
  }
}

.locations-item time {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--ff-heading);
}

@media (hover: hover) {
  .locations-item:hover time {
    color: #fff;
  }
}

.highlights {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 40px auto;
  width: calc(100% - 120px);
  padding: 0 60px;
}

@media (max-width: 960px) {
  .highlights {
    width: calc(100% - 40px);
    padding: 0 20px;
  }
}

.highlights-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 1rem;
	width: 100%;
}

.highlights-item-media {
  width: 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  border: 4px solid rgb(var(--color-secondary));
  padding: 8px;
}

/* Alternating order of media/content */
.highlights-item:nth-child(even) .highlights-item-media {
  order: 2;
  transform: rotate(2deg);
}

.highlights-item-content {
  width: 50%;
  padding: 3rem 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlights-item-content h2 {
  max-width: 600px;
  text-transform: uppercase;
}

.highlights-item-content p {
  max-width: 600px;
}

@media (max-width: 960px) {
  .highlights-item {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .highlights-item:nth-child(even) .highlights-item-media {
    order: unset;
  }

  .highlights-item-media {
    width: 100%;
  }

  .highlights-item-content {
    width: 100%;
    padding: 2rem 1rem;
  }
}

.sponsors {
  margin: 6rem 0 0;
  padding: 6rem;
  text-align: center;
  background: rgb(var(--color-alternative-bg));
}

@media (max-width: 960px) {
  .sponsors {
    padding: 4rem;
    margin: 6rem 0 0;
  }
}

.sponsors h2 {
  font-size: 2rem;
  font-family: var(--ff-heading);
  font-weight: var(--ff-heading-weight);
  text-transform: uppercase;
  margin: 0 0 4rem;
  position: relative;
  text-align: center;
  display: inline-block;
}

.sponsors-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

@media (max-width: 960px) {
  .sponsors-items {
    flex-direction: column;
    gap: 2rem;
  }
}

.sponsors-item {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
}

.sponsors-item img {
  display: block;
  width: 100%;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 2rem 0;
}

.footer address {
  font-style: normal;
  margin: 0 2rem;
}
.footer .contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .contact a {
  text-decoration: none;
  margin: 0 2rem;
}

.footer .social {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
}
.footer .social a {
  text-decoration: none;
}

.footer .social a img {
  width: 24px;
  height: 24px;
  margin: 0 0.5rem;
}

@media (max-width: 960px) {
  .footer {
    flex-direction: column;
  }

  .footer .contact {
    margin: 1rem 0;
    flex-direction: column;
  }

  .footer .contact a {
    margin: 0.5rem 0;
  }

  .footer .social {
    margin: 1rem 0;
  }
}


@media not (hover: hover) {
	.locations-item {
		margin-bottom: 2rem;
	}
	
  .locations-item img {
	  opacity: 1;
  }
	
	.locations-item:before {
		opacity: 0.32;
	}
}