/* Main CSS, combines all into one import per page */

@import url('header.css');
@import url('cta.css');
@import url('footer.css');

@font-face {
  font-family: 'sargento_gorilaffp';
  src: url('/fonts/sgt_gorila-demo-ffp-webfont.woff2') format('woff2'),
       url('/fonts/sgt_gorila-demo-ffp-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --accent: hsl(359, 100%, 40%);
  --accent-highlight: hsl(359, 100%, 35%);
  --accent-shadow: rgba(153, 23, 25, 0.5);
  --white: hsl(0, 0%, 92%);
  --black: hsl(0, 8%, 3%);
  --black-highlight: hsl(0, 0%, 10%);
  --black-shadow: rgba(0,0,0,0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Anton', sans-serif;
  box-sizing: border-box;
  background-color: var(--black);
  margin: 0;
  padding: 0;
}

h1, h2, h3, .title, .header-text {
  font-family: 'sargento_gorilaffp', sans-serif;
}

::selection {
  background: none;
  color: var(--accent);
}

.red {
  color: var(--accent);
}

.red ::selection {
  background: none;
  color: var(--white);
}

#cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent-shadow); 
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

/* LINKS */

a.link {
  color: var(--accent);
  text-decoration: none; 
}

a.link:hover {
  color: var(--white);
  text-decoration: none; 
}



/* IMAGE */
.image-container {
  position: relative;
  width: 95vw;
  height: 100vh;
  margin: 0 auto; 
  overflow: hidden;
  border-radius: 2rem;
  border: 2px solid var(--white);
  box-shadow: 0px 0px 22px var(--accent);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.overlay-text h1 {
  white-space: wrap;
  font-size: 7em;
  margin: 0;
  text-shadow: 0px 0px 15px var(--accent);
}

.overlay-text p {
  font-size: 4em;
  margin-top: 10px;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* GENERAL WRAPPER */
.content-wrapper {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0;
  color: var(--white);
}

/* TITLE SECTION */
.title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(10px, 2vw, 20px);
  text-align: center;
  text-shadow: 0px 0px 15px var(--accent);
}

.title {
  color: var(--white);
  font-size: clamp(60px, 9vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 100%;
  width: 100%;
  text-transform: uppercase;
  margin: 0 auto;
  word-wrap: break-word;
}

.subtitle {
  font-size: clamp(40px, 9vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

/* MOBILE */
@media (max-width: 767px) {
    .overlay-text {
    max-width: 90vw;
    }

    .overlay-text h1 {
    white-space: wrap;
    font-size: clamp(2.5em, 80vw, 3em);
    text-shadow: 0 0 8px rgba(0,0,0,0.25);
    }

  .overlay-text p {
  font-size: clamp(2em, 90vw, 2.5em);
  text-shadow: 0 0 8px rgba(0,0,0,0.75);
  }

  .title {
    font-size: clamp(35px, 9vw, 50px);
  }

  .subtitle {
    font-size: clamp(35px, 9vw, 40px);
  }
}