@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');
@import url("https://use.typekit.net/yvm8vbi.css");

/* font info
Trajan Pro 3 Light
font-family: "trajan-pro-3", serif;
font-weight: 300;
font-style: normal;

Trajan Pro 3 Regular
font-family: "trajan-pro-3", serif;
font-weight: 400;
font-style: normal;

Trajan Pro 3 Bold
font-family: "trajan-pro-3", serif;
font-weight: 700;
font-style: normal;

Monserrat
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;

Havelock
font-family: "havelock-titling-variable",sans-serif;
font-variation-settings: 'wght' 300;
*/

:root {
  --backgroundColor: rgba(4,4,4,0.6);
  --backgroundColorThick: rgba(4,4,4,0.9);
  --accentColor: chocolate;
  --accentBGColor: rgba(210, 105, 30, 0.85); 
  --borderColor: #202020;
  --default-font: "montserrat", sans-serif;
  /*--heading-font: "trajan-pro-3", serif;*/
}

body {
  background-image: url('images/mbg-site-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  margin: 0px;
  padding: 0px 20px;
  font-family: var(--default-font);
  font-weight: 100;
}

header {
  text-align: center;
  background-color: var(--backgroundColor);
  margin: 0 10px;
  border-radius: 0 0 15px 15px;
  border-left: 2px;
  border-right: 2px;
  border-bottom: 2px;
  border-top: 0px;
  border-style: solid;
  border-color: var(--borderColor);
  padding: 20px 0;
}

main {
  max-width: 800px;
  margin: 20px auto;
}

.title-logo {
  text-align: center;
}

.title-logo img {
  max-width: 800px;
  width: 95%;
  height: auto;
  margin-bottom: 0;
}

.optix {
  font-family: "havelock-titling-variable",sans-serif;
  font-variation-settings: 'wght' 300;
  font-size: 1.9rem;
  line-height: 0.8;
}

.footy-cards{
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2rem;
}

.subtitle {
  text-align: center;
  font-size: 0.8rem;
}

h1, h2, h3, h4 {
  /*font-family: var(--heading-font);
  font-weight: 400;*/
  text-align: center;
}

h3 {
  margin: 0;
}

a {
  color: orange;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  background-color: var(--backgroundColor);
  margin: 0 10px;
  border-radius: 15px 15px 0 0;
  padding: 20px 0;
  border-left: 2px;
  border-right: 2px;
  border-top: 2px;
  border-bottom: 0px;
  border-style: solid;
  border-color: var(--borderColor);
}

hr {
  background-color: #202020;
  border: none;
  height: 1px;
}

.title {
  background-color: var(--accentBGColor);
  padding: 10px 0;
  border-radius: 15px 15px 0 0;
  text-align: center;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-text-box {
  flex-shrink: 0;
}

.item {
  background-color: var(--backgroundColor);
  padding: 5px 12px 5px 20px;
  border-radius: 0 0 15px 15px;
  margin-bottom: 20px;
  border-left: 2px;
  border-right: 2px;
  border-bottom: 2px;
  border-top: 0px;
  border-style: solid;
  border-color: var(--borderColor);
}

.item-link {
  width: 100%;
  text-align: center;
  padding-bottom: 10px;
}

.item-link a {
  font-size: 1.5rem;
  display: block;
  padding: 5px 0;
}

.promo-vid {
  text-align: center;
}

.nav-links {
  margin-top: 0;
  position: relative;
}

#nav-button {
  border: none;
  font-family: var(--default-font);
}

.nav-links a, .current-page, #nav-button, #dropdown-menu, .item a {
  padding: 5px 10px;
  margin: 0 5px;
  border-radius: 5px;
  font-size: .95rem;
}

.item a {
  left: auto;
  right: auto;
}

#dropdown-menu {
  position: absolute;
  left: 50%;
  background-color: var(--backgroundColorThick);
  border: 1px solid var(--borderColor);
  border-radius: 5px;
  top: calc(100% + 10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) translateX(-50%);
  transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
}

#dropdown-menu.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) translateX(-50%);
}

#dropdown-menu a, #dropdown-menu .current-page {
  display: block;
  padding: 5px 10px;
  margin: 10px 5px;
}

.arrow1 {
  font-size: .8rem;
}

.arrow2 {
  font-size: .7rem;
}

.nav-links a, #nav-button, .item a {
  color: white;
  background-color: var(--accentColor);
  transition: all 350ms linear;
  font-weight: 300;
}

.current-page{
  border: 1px solid;
  border-color: var(--borderColor);
  background-color: #151515;
}

.nav-links a:hover, #nav-button:hover, #nav-button.active, .item a:hover {
  background-color: white;
  color: var(--accentColor);
  text-decoration: none;
}

.promo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.promo-item {
  flex: 1 0 340px;
  margin: 0 5px;
}

.pullout {
  padding: 20px 60px 40px 60px;
  text-align: justify;
  text-justify: inter-word;
}

figcaption {
  color: darkgrey;
  font-size: 0.8rem;
  font-style: italic;
}

.figcaption-centred {
  text-align: center;
}

.copyright {
  color: darkgrey;
  font-size: 0.8rem;
  text-align: center;
}

footer img {
  width: 40px;
  height: 40px;
  margin: 0 5px;
}

footer img:hover {
  filter: saturate(0%) brightness(300%);
  transition: all 350ms linear;
}

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

  body {
    padding: 0 10px;
  }
  
  footer {
    font-size: 0.8rem;
    margin: 0;
  }

  header {
    margin: 0;
  }

  .pullout {
    padding: 20px 20px 40px 20px;
    font-size: .8rem;
  }

  
}
