/* =========================================================
   THE BAD BOYS ZINE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700;900&family=Sedgwick+Ave+Display&display=swap');


/* =========================================================
   COLOUR PALETTE
   ========================================================= */

:root {
  --black: #080909;
  --dark: #111313;
  --brick: #191b1b;
  --brick-light: #252727;

  --white: #f4f4f1;

  --red: #ff3035;
  --yellow: #ffe05a;
  --green: #00d65b;

  --purple: #5825a5;
}


/* =========================================================
   PAGE
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;

  background-color: var(--black);

  color: var(--white);

  font-family:
    "Roboto Condensed",
    Arial,
    sans-serif;

  overflow-x: hidden;
}

/* =========================================================
   SCROLLBAR STYLING
   ========================================================= */

/* Firefox scrollbar */
html, body {
  scrollbar-color: rgba(255, 255, 255, 0.7) transparent;
  scrollbar-width: thin;
}

/* Chrome/Safari/Edge scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   BRICK WALL BACKGROUND
   ========================================================= */

body {

  background-color: #111313;
}


/* =========================================================
   HEYZINE
   ========================================================= */

.fp-iframe {

  display: block;

  width: 100vw !important;

  height: 100vh !important;

  border: none !important;

  background: url('images/background.png');

  background-size: cover;

  background-position: center;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.7);
}


/* =========================================================
   IMAGE CONTAINER
   ========================================================= */

.image-container {
  width: 90%;
  max-width: 900px;
  background-color: rgba(244, 244, 241, 0.85);
  padding: 20px;
  margin: 30px auto;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 100%;
}

.guide-text {
  margin: 0;
  font-size: 30px;
  color: #080909;
  font-weight: 500;
}

.image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* =========================================================
   DOWNLOAD BOX SECTION
   ========================================================= */

.download-boxes {

  position: relative;

  display: flex;

  width: 100%;

  box-sizing: border-box;

  gap: 14px;

  padding: 20px 20px 10px 20px;

  overflow: hidden;
}


/* =========================================================
   DOWNLOAD BOX
   ========================================================= */

.download-box {

  position: relative;

  flex: 1;

  min-width: 0;

  height: 260px;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  box-sizing: border-box;

  color: white;

  text-decoration: none;

  background-size: cover;

  background-position: center;

  border: 4px solid var(--white);

  transition: transform 0.3s ease;

}

/* Colored overlays matching border colors */
.download-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.download-box:nth-child(1)::before {
  background-color: rgba(255, 48, 53, 0.5);
}

.download-box:nth-child(2)::before {
  background-color: rgba(255, 224, 90, 0.5);
}

.download-box:nth-child(3)::before {
  background-color: rgba(0, 214, 91, 0.5);
}


/* =========================================================
   BOX HOVER
   ========================================================= */

.download-box:hover {
  transform: scale(1.05);
  z-index: 10;
}

.download-box:hover::before {
  opacity: 0.30;
}


/* =========================================================
   GRAFFITI COLOUR STRIP
   ========================================================= */

.download-box:nth-child(1) {

  border-color: var(--red);
}

.download-box:nth-child(2) {

  border-color: var(--yellow);
}

.download-box:nth-child(3) {

  border-color: var(--green);
}


/* =========================================================
   TEXT AREA
   ========================================================= */

.download-overlay {

  position: relative;

  z-index: 3;

  width: 100%;
  height: 100%;

  box-sizing: border-box;

  padding: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;
}


/* =========================================================
   MAIN DOWNLOAD TITLE
   ========================================================= */

.download-overlay h2 {
  margin: 0;

  font-family:
    "Sedgwick Ave Display",
    cursive;

 font-size: clamp(40px, 5vw, 72px);

  font-weight: 400;

  line-height: 0.9;

  /* This is important */
  letter-spacing: -0.02em;

  /* Don't force the font into uppercase */
  text-transform: none;

  color: white;

  -webkit-text-stroke: 2px rgba(0,0,0,0.9);
}


/* Different graffiti colours for each box */

.download-box:nth-child(1)
.download-overlay h2 {

  color: var(--red);
}

.download-box:nth-child(2)
.download-overlay h2 {

  color: var(--yellow);
}

.download-box:nth-child(3)
.download-overlay h2 {

  color: var(--green);
}


/* =========================================================
   COMMENT SECTION
   ========================================================= */

/*finnicky warning comment sign*/

.image-requirement-text {
  margin: 0 0 15px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  display: block;
}



#HCB_comment_box {

  position: relative;

  box-sizing: border-box;

  width: 100%;

  padding: 45px max(20px, 5vw) 70px;

  background:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.8)
    );

  color: var(--white);
}


/* =========================================================
   COMMENT INPUTS
   ========================================================= */

#HCB_comment_box input,
#HCB_comment_box textarea {

  box-sizing: border-box;

  border-radius: 0 !important;

  border: 3px solid var(--white) !important;

  background: #101111 !important;

  color: white !important;

  font-family:
    "Roboto Condensed",
    Arial,
    sans-serif !important;
}


#HCB_comment_box textarea {

  min-height: 140px;

  resize: vertical;
}


#HCB_comment_box input:focus,
#HCB_comment_box textarea:focus {

  outline: none !important;

  border-color: var(--yellow) !important;
}


/* =========================================================
   COMMENT BUTTON
   ========================================================= */

#HCB_comment_box button,
#HCB_comment_box .btn {

  border-radius: 0 !important;

  border: 3px solid white !important;

  color: white !important;

  background: #101111 !important;

  font-family:
    "Roboto Condensed",
    Arial,
    sans-serif !important;
}


#HCB_comment_box button:hover,
#HCB_comment_box .btn:hover {

  outline: none !important;

  border-color: var(--yellow) !important;

}


/* =========================================================
   LINKS
   ========================================================= */


   /*ts kinda freaky, delete if doesn't change text size/colour in comment box EXCEPT for the yellow*/

#HCB_comment_box a {

  color: var(--yellow);

}

#HCB_comment_box h1,
#HCB_comment_box h2,
#HCB_comment_box h3 {
  font-size: 28px !important;
}

#HCB_comment_box label {
  color: rgba(255, 255, 255, 0.9) !important;
}

#HCB_comment_box input[type="checkbox"] + label {
  color: rgba(255, 255, 255, 0.9) !important;
}




/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .download-boxes {

    flex-direction: column;

    padding: 14px;

    gap: 14px;
  }


  .download-box {

    flex: none;

    width: 100%;

    height: 200px;
  }


  .download-overlay h2 {

    font-size: 42px;
  }


  #HCB_comment_box {

    padding:
      35px
      18px
      55px;
  }


  #HCB_comment_box::before {

    font-size: 34px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .download-box {

    height: 170px;
  }

  .download-overlay h2 {

    font-size: 34px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .download-box {

    transition: none;
  }

  .download-box:hover {

    transform: none;
  }

}