/* Fonts */

@font-face {
  font-family: "ArialBlack";
  src: url("../fonts/Arial-Black.ttf");
}

@font-face {
  font-family: "FuturaPTBook";
  src: url("../fonts/FuturaPTBook.otf");
}

@font-face {
  font-family: "FuturaPTMediumItalic";
  src: url("../fonts/FuturaMdBTMediumItalic.ttf");
}

@font-face {
  font-family: "FuturaPTBookItalic";
  src: url("../Fonts/FuturaBkBTBookItalic.ttf");
}

@font-face {
  font-family: "FuturaPTBold";
  src: url("../fonts/FuturaPTBold.otf");
}

/* Global */

html {
  font-size: 18px;
  line-height: 1.4;
  color: white; /*changed white*/
  box-sizing: border-box;
  background: black;
}

p {
  font-family: FuturaPTBook;
  font-size: 1.2rem;
  line-height: 1.5;
}

h1 {
  font-family: FuturaPTBookItalic;
  font-size: 3rem;
}

@media only screen and (max-width: 1024px) {
  h1 {
    font-size: 1.5rem;
  }
}

h2 {
  font-family: FuturaPTMediumItalic;
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
  font-family: FuturaPTMediumItalic;
  margin-bottom: 1.5rem;
}


/* Local Wrappers */

.main-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 13rem;
}

.paragraph-container {
  margin: 3rem auto;
  width: 20rem;
}

.heading-container {
  margin: 3rem auto;
}

.post-logic-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-container {
  width: 90%;
}


/* Header */

/* Desktop off switch */

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}


/* Header */

header {
  width: 100%;
  display: grid;
  grid: auto / 1.25fr auto minmax(600px, 900px) 1.25fr;
  align-items: center;
  position: fixed;
  z-index: 50;
  background: black; /*changed*/
}

/* Grid item 1 -- Box 2 */ /* Logo */

.logo-link {
  grid-column: 2 / span 1;
  width: 111px;
  height: 1.5rem;
  margin: 2rem;
}

.logo {
  background: url("../images/logo/Logo-white.png") no-repeat;
  background-size: contain;
  display: inline-block;
  width: 111px;
  height: 1.5rem;
  transition: background 250ms ease-in;
}

.logo:hover {
  background: url("../images/logo/Logo-Gold.png") no-repeat;
  background-size: contain;
  display: inline-block;
  width: 111px;
  height: 1.5rem;
}

/* Grid item 2 -- Box 3 */ /* Nav */

nav {
  grid-column: 3 / span 1;
  justify-self: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: ArialBlack;
}

nav li {
  margin-left: 2rem;
}

.link-animation {
  text-decoration: none;
  color: white; /*changed white*/
  position: relative;
}

.link-animation::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #BDB080;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease-in;
}

.link-animation:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.selected {
  border: 3px solid #BDB080;
  text-decoration: none;
  color: white; /*changed white*/
  padding: 4px;
  margin: -7px;
}

.home {
  display: none;
}

/* Tablet & Mobile Nav */


@media only screen and (max-width: 1024px) {

  /* Mobile 'On-Off' Switch */

  .nav-toggle-label {
    display: flex;
  }

  nav span {
    display: flex;
  }

  .link-animation::after {
    display: none;
  }

  .link-animation:hover::after {
    display: none;
  }

  /* Header position */

  header {
    display: flex;
    z-index: 999;
  }

  nav {
    position: absolute;
    text-align: left;
    top: 6rem;
    left: 0;
    background: white; /*changed white*/
    width: 100%;
    height: 812px;
    transform: scale(0, 1);
    transform-origin: right;
    transition: transform 750ms ease-in-out;
    display: flex;
    flex-direction: column;
    z-index: 400;
  }

  nav ul {
    margin-top: 5.5rem;
    padding: 0;
    list-style: none;
    display: block;
  }

  nav li {
    margin-bottom: 1.5rem;
    margin-left: 3rem;
  }

  nav a {
    color: white; /*changed white*/
    font-family: FuturaPTBold;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
  }

  .link-animation {
    color: black; /*changed*/
  }

  nav a:hover {
    color: #BDB080;
  }

  .selected {
    color: black; /*changed*/
    font-family: FuturaPTBold;
    text-decoration: none;
    font-size: 2.2rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
    position: relative;
    border: 0;
  }

  .selected::before {
    content: "";
    position: absolute;
    left: -10px;
    bottom: 20px;
    width: 11.5rem;
    height: 7px;
    background: #BDB080;
  }

  .home {
    color: black; /*changed*/
  }

  nav .home::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 12rem;
    height: 2px;
    background: white; /*changed white*/
  }

  li .white-spacer {
    width: 12rem;
    height: 2px;
    background: black; /*changed*/
    position: absolute;
    top: 5rem;
  }

  .nav-toggle:checked ~ nav {
    transform: scale(1);
    transform-origin: left;
  }

  .nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
    display: flex;
  }

  .nav-toggle:checked ~ nav span {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
  }

  /* Hamburger */

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    position: absolute;
    right: 0;
    margin-right: 3.5em;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: white; /*changed white*/
    height: 4px;
    width: 2em;
    position: relative;
    transition: background-color 250ms ease-out;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 9px;
    left: 9px;
  }

  .nav-toggle-label span::after {
    top: 9px;
    right: 9px;
  }

  .nav-toggle-label span:hover,
  .nav-toggle-label span:hover::before,
  .nav-toggle-label span:hover::after {
    display: block;
    background: #BDB080;
    height: 4px;
    width: 2em;
    position: relative;
  }

  .nav-toggle-label span:hover::before,
  .nav-toggle-label span:hover::after {
    content: '';
    position: absolute;
  }

  .nav-toggle-label span:hover::before {
    bottom: 9px;
    left: 0;
  }

  .nav-toggle-label span:hover::after {
    top: 9px;
    right: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span {
    display: block;
    background: #BDB080;
    height: 4px;
    width: 2em;
    position: relative;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    display: block;
    background: #BDB080;
    height: 4px;
    width: 2em;
    position: relative;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    display: block;
    background: #BDB080;
    height: 4px;
    width: 2em;
    position: relative;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    bottom: 9px;
    left: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    top: 9px;
    right: 0;
  }
}

/* Body */

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 9rem;
}


.spacer {
  height: 1.5rem;
  width: 100%;
}

p, .container span {
  font-size: 2rem;
  width: 53%;
  line-height: 1;
  font-family: FuturaPTBold;
  color: white;
  text-decoration: none;
}

#gold {
 color: #BDB080;
 font-size: 2rem;
 width: 53%;
 line-height: 1;
 font-family: FuturaPTBold;
}

.sub-footer {
  background-color: white;
  display: flex;
  justify-content: center;
  position: relative;
  top: 15rem;
}

.copy {
  margin: 1rem;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.copy p {
  font-family: FuturaPTMediumItalic;
  font-size: 1rem;
  color: black;
  display: flex;
  justify-content: flex-end;
  width: 90%;
}

#it {
  font-size: 2rem;
  width: 53%;
  line-height: 1;
  font-family: FuturaPTMediumItalic;
  color: white;
  text-decoration: none;
}
