/* Variables */
:root {
  /* font styles */
  --title-font: 'Rajdhani', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  /* text colours */
  --text-color: #fff;
  --alt-text-color: #141414;
  /* theme colours */
  --bg-color: #141414;
  --red: #EA3546;
  --orange: #f4951f;
  --green: #d0Ed57;
  --purple: #662E9B;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
}

figure,
ul,
p,
a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  color: var(--text-color);
}

article a {
  color: var(--orange);
  font-weight: bold;
}

.bar,
.pin {
  outline: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

img {
  width: 100%;
}

.full-width:last-child {
  margin-top: 16px;
}

@media only screen and (min-width: 1200px) {
  .full-width {
    width: 100%;
    margin: 0;
    position: unset;
    display: unset;
  }
}

@media only screen and (min-width: 1200px) {
  a {
    position: relative;
    text-decoration: none;
    padding-bottom: 4px;
  }
  a::before {
    content: "";
    position: absolute;
    display: block;
    transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    background-color: var(--orange);
    bottom: 0px;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
  }
  a::before {
    left: 0;
    transform-origin: 0%;
  }
  a::after {
    right: 0;
    transform-origin: 100%;
  }
  a:hover::before,
  a:hover::after {
    transform: scaleX(1);
  }
}

/* Typography */
html {
  line-height: 1.4;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  padding: 0;
  margin: 0;
}

h1 {
  text-transform: uppercase;
  font-size: 2.5rem;
}

@media only screen and (min-width: 1200px) {
  h1 {
    font-size: 5rem;
  }
}

h2 {
  font-size: 2rem;
}

.semibold {
  font-weight: 500;
}

.subtitle {
  font-family: var(--title-font);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

p {
  margin: 24px 0;
}

mark {
  background-color: var(--orange);
  padding: 0 3px;
}

header img,
footer img {
  width: 80px;
}

@media only screen and (min-width: 1200px) {
  nav {
    display: flex;
    justify-content: space-between;
    padding: 40px 80px 0;
  }
}

nav .nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  left: -100vw;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--text-color);
  top: 0;
  z-index: 150;
}

@media only screen and (min-width: 1200px) {
  nav .nav-center {
    height: unset;
    width: unset;
    position: unset;
    background-color: unset;
  }
}

nav img {
  margin: 16px;
}

@media only screen and (min-width: 1200px) {
  nav ul {
    display: flex;
  }
}

nav li {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  font-family: var(--title-font);
  text-transform: uppercase;
  background-color: white;
  margin: 16px;
}

@media only screen and (min-width: 1200px) {
  nav li {
    font-size: 1.5rem;
    margin: 0 0 0 20px;
    background: none;
  }
}

nav li a {
  color: var(--alt-text-color);
  padding: 10px 16px;
  display: block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

@media only screen and (min-width: 1200px) {
  nav li a {
    padding: 10px 15px;
    position: relative;
    color: var(--text-color);
  }
}

nav li a:hover {
  outline: 3px solid #f7b057;
  background-color: var(--orange);
  color: white;
  outline-offset: 5px;
}

@media only screen and (min-width: 1200px) {
  nav li a:hover {
    outline: none;
    background: transparent;
  }
}

@media only screen and (min-width: 1200px) {
  nav a::before,
  nav a::after {
    content: "";
    position: absolute;
    display: block;
    transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    background-color: var(--orange);
    bottom: 0px;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
  }
  nav a::before {
    left: 0;
    transform-origin: 0%;
    margin: 5px;
  }
  nav a:hover::before {
    transform: scaleX(1);
  }
}

nav .open {
  left: 0;
}

/* Hamburger menu */
.nav-bars {
  position: fixed;
  right: 0;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 200;
  margin: 16px;
  top: 0;
  /* Menu bars animating to cross */
}

@media only screen and (min-width: 1200px) {
  .nav-bars {
    opacity: 0;
    pointer-events: none;
  }
}

.nav-bars .bar {
  --height: 4px;
  display: block;
  height: var(--height);
  width: 100%;
  background-color: var(--text-color);
  position: absolute;
  left: 0;
  transition: 150ms ease-in-out;
  border-radius: 1px;
}

.nav-bars .bar:first-child {
  top: 0;
}

.nav-bars .bar:nth-child(2) {
  top: calc(50% - (var(--height) / 2));
}

.nav-bars .bar:nth-child(3) {
  top: calc(100% - var(--height));
}

.nav-bars.cross .bar:first-child {
  top: calc(50% - (var(--height) / 2));
  transform: rotate(-45deg);
  opacity: 0;
}

.nav-bars.cross .bar:nth-child(2) {
  top: calc(50% - (var(--height) / 2));
  transform: rotate(45deg);
  background-color: var(--orange);
}

.nav-bars.cross .bar:nth-child(3) {
  top: calc(50% - (var(--height) / 2));
  transform: rotate(-45deg);
  background-color: var(--orange);
}

.sliderContainer h2 {
  font-family: var(--title-font);
  text-transform: uppercase;
  font-size: 2.5rem;
}

@media only screen and (min-width: 1200px) {
  .sliderContainer h2 {
    font-size: 4rem;
  }
}

@media only screen and (min-width: 1600px) {
  .sliderContainer h2 {
    font-size: 6rem;
  }
}

.sliderContainer h3 {
  font-family: var(--title-font);
  font-size: 2.5rem;
  margin: 0;
}

.sliderContainer main {
  margin: 0;
}

.sliderContainer article {
  margin: 0;
  border-top: 1px solid var(--orange);
}

.sliderContainer header article {
  background: transparent;
  border: none;
}

.sliderContainer figure {
  position: relative;
  display: flex;
  height: 60vh;
  outline: none;
}

@media only screen and (min-width: 1200px) {
  .sliderContainer figure {
    height: 100vh;
  }
}

.sliderContainer figure img {
  object-fit: cover;
  outline: none;
}

.sliderContainer figure figcaption {
  position: absolute;
  border: none;
  padding: 0;
}

.title {
  font-family: var(--title-font);
  text-shadow: 2px 2px 2px var(--alt-text-color), 0 0 5px var(--alt-text-color);
  text-align: left;
}

.title > div {
  display: block;
  margin: 60px 40px;
  position: relative;
}

@media only screen and (min-width: 1200px) {
  .title > div {
    margin: 15vh 10vw;
  }
}

.title > div::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 100%;
  background-color: var(--text-color);
  box-shadow: 2px 2px var(--alt-text-color);
  margin-left: -20px;
  margin-top: -20px;
  padding: 20px 0;
  border-radius: 1px;
  left: 0;
}

@media only screen and (min-width: 1200px) {
  .title > div::before {
    border-radius: 2px;
    width: 6px;
    margin-left: -40px;
    margin-top: -40px;
    padding: 40px 0;
  }
}

.title .subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: none;
}

@media only screen and (min-width: 1200px) {
  .title .subtitle {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .title .subtitle {
    font-size: 2rem;
  }
}

.title .random {
  color: var(--orange);
}

.sliderPins {
  position: fixed;
  z-index: 100;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media only screen and (min-width: 1200px) {
  .sliderPins {
    right: 32px;
  }
}

.sliderPins .pin {
  display: block;
  width: 1.5em;
  height: 1.5em;
  background-color: var(--text-color);
  color: transparent;
  border-radius: 50%;
  cursor: pointer;
  margin: 1em 0;
}

.sliderPins .pin:hover, .sliderPins .pin:focus {
  background-color: var(--orange);
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.sliderPins .pin:active {
  background-color: var(--red);
  outline: 3px solid var(--red);
}

@media only screen and (min-width: 1600px) {
  .sliderPins .pin {
    width: 2em;
    height: 2em;
    margin: 1.5em 0;
  }
}

#about,
#contact {
  border: none;
  height: auto;
}

#home {
  background-image: url("../images/hero_bg.jpg");
  height: 100vh;
  background-size: auto;
  background-position: 65% 50%;
}

#about {
  margin: 16px;
  padding-top: 80px;
}

@media only screen and (min-width: 1200px) {
  #about {
    margin: 40px 5vw;
    padding-top: 5vw;
  }
}

main {
  margin: 0 16px;
}

main article {
  margin: 20px 0 80px;
}

main article ul {
  margin: 16px;
}

main article li {
  list-style: disc;
  padding: 8px;
}

@media only screen and (min-width: 1200px) {
  main article.page-grid {
    margin: 40px 5vw 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
  }
  main article.page-grid .content-warning {
    grid-column: 2 / 4;
    margin: 10vh 0;
  }
  main article.page-grid .half-grid {
    grid-column: span 2;
  }
  main article.page-grid .half-grid figure {
    margin-bottom: 35px;
  }
  main article.page-grid .full-grid {
    grid-column: span 4;
  }
  main article .list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  main article .list-grid figure img {
    max-width: calc(100% - 30px);
  }
}

@media only screen and (min-width: 1600px) {
  main article {
    margin: 80px 10vw;
    gap: 120px;
  }
}

main section {
  margin: 0 0 40px;
}

@media only screen and (min-width: 1200px) {
  main section {
    margin: 0;
  }
}

p + figure {
  margin: 12px 0px;
}

@media only screen and (min-width: 1200px) {
  figure img {
    margin: 0;
    outline: 3px solid var(--orange);
    outline-offset: 8px;
  }
}

figure figcaption {
  text-align: center;
  border-bottom: 1px solid var(--orange);
  padding: 12px 0;
}

.hero {
  margin: 0 auto;
  margin-bottom: 30px;
}

@media only screen and (min-width: 1200px) {
  .hero figure {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 60px;
  }
  .hero img {
    height: 60vh;
    object-fit: cover;
  }
  .hero figcaption {
    position: absolute;
    padding: 10px 15px;
    background-color: var(--bg-color);
    border-bottom: 3px solid var(--orange);
    bottom: -45px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .hero {
    width: 1200px;
    margin-bottom: 100px auto;
  }
  .hero img {
    height: 65vh;
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0 8px;
  border: 3px solid var(--text-color);
  outline: none;
  border-radius: 3px;
}

.contact-form input:required,
.contact-form textarea:required {
  border: 3px solid red;
}

.contact-form textarea {
  margin: 8px 0 8px;
  min-height: 200px;
  border-radius: 3px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 3px solid var(--orange);
}

.contact-form button,
.contact-form input[type=submit] {
  background: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--alt-text-color);
  border: none;
  padding: 12px;
  grid-row: span 1;
}

.contact-form button:hover,
.contact-form input[type=submit]:hover {
  background: var(--purple);
  color: var(--text-color);
}

.contact-form label {
  text-transform: uppercase;
  font-size: 1rem;
}

.gallery figure {
  display: flex;
  position: relative;
}

.gallery figure img {
  max-height: 75vh;
  object-fit: cover;
  margin: 0;
  padding: 0 8px;
  outline: none;
}

.gallery figure figcaption {
  position: absolute;
}

.splide__track {
  margin-top: 20px;
}

@media only screen and (min-width: 1200px) {
  .splide__track {
    outline: 3px solid var(--orange);
    outline-offset: 10px;
  }
}

.splide__track li {
  padding: 0;
}

.splide__arrow {
  background: var(--alt-text-color);
  height: 2.5em;
  top: 50%;
  width: 2.5em;
  transform: translateY(-50%);
}

@media only screen and (min-width: 1200px) {
  .splide__arrow {
    width: 3.5em;
    height: 3.5em;
  }
}

.splide__arrow svg {
  fill: var(--text-color);
  height: 1.4em;
  width: 1.4em;
}

@media only screen and (min-width: 1200px) {
  .splide__arrow svg {
    width: 1.8em;
    height: 1.8em;
  }
}

.splide__arrow:hover:not(:disabled) {
  opacity: .9;
  outline: 3px solid var(--orange);
}

.splide__arrow:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.splide__arrow--prev {
  left: 1em;
}

@media only screen and (min-width: 1200px) {
  .splide__arrow--prev {
    left: 1.5em;
  }
}

@media only screen and (min-width: 1600px) {
  .splide__arrow--prev {
    left: 2em;
  }
}

.splide__arrow--next {
  right: 1em;
}

@media only screen and (min-width: 1200px) {
  .splide__arrow--next {
    right: 1.5em;
  }
}

@media only screen and (min-width: 1600px) {
  .splide__arrow--next {
    right: 2em;
  }
}

.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  background-color: var(--orange);
}

.splide__pagination {
  bottom: .5em;
  left: 0;
  padding: 0 1em;
  position: absolute;
  right: 0;
  z-index: 1;
}

.splide__pagination__page {
  background: #ccc;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin: 3px;
  opacity: .7;
  padding: 0;
  position: relative;
  transition: transform .2s linear;
  width: 8px;
}

.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.4);
  z-index: 1;
}

.splide__pagination__page:hover {
  cursor: pointer;
  opacity: .9;
}

.splide__pagination__page:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide.is-focus-in .splide__pagination__page:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  gap: 16px;
  font-family: var(--title-font);
  font-size: 1rem;
  color: #757575;
  font-weight: 600;
  text-transform: uppercase;
}

@media only screen and (min-width: 1200px) {
  footer {
    align-items: flex-end;
    margin-right: 10%;
    margin-top: 120px;
  }
}

footer p {
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 1200px) {
  .slider-footer {
    margin-right: 40px;
  }
}
/*# sourceMappingURL=style.css.map */