/* This is css for article 2 */


:root{
    --base-size:16px;
	--padding:12px;
	--body-black:#222222;
	--red:#DD1E26;
	--background:#FFF8E5;
}
body{
    background-color: var(--background);
}



header{
    background-color: var(--background);
}

h1{
    font-family: 'Anton';
    color: var(--background);
    -webkit-text-stroke: 1px #DD1E26;
    text-align: center;
    font-size: calc(var(--base-size)*2);
    text-transform: lowercase;
    padding-bottom: 0;
    margin-bottom: 0;
	background-color: var(--background);

}


.Title1, .Title2 {
    font-family: 'Climate Crisis';
    color: var(--red);
    text-align: center;
    text-transform: lowercase;
	background-color: var(--red); 
	color: var(--background);
	padding-left: var(--padding);
	padding-right: var(--padding);
	margin-top: var(--padding);
	position: relative;
	display: inline-block;
	transform: rotate(-5deg);
   }


   .Title1 {
	transform: rotate(-5deg);
   }

   .Title2 {
	transform: rotate(5deg);
    margin-bottom: calc(var(--base-size)*2);
   }


/* Stamp animation for middle text */
@keyframes stamp-effect-title1 {
  0% {
    transform: rotate(-7deg) translateY(-50px); /* Starts off-screen above */
    -webkit-text-stroke: 2px #DD1E26; /* Red stroke only */
    color: transparent; /* No fill */
    background-color: transparent; /* No background */
  }
  20% {
    transform: rotate(-7deg) translateY(0) scale(1.05); /* Slight squash as it lands */
    -webkit-text-stroke: 0; /* Remove stroke */
    color: #FFF; /* White text */
    background-color: #DD1E26; /* Red background */
  }
  100% {
    transform: rotate(-7deg) translateY(0); /* Stay in final position */
    -webkit-text-stroke: 0;
    color: #FFF;
    background-color: #DD1E26;
  }
}

@keyframes stamp-effect-title2 {
  0% {
    transform: rotate(8deg) translateY(-50px); /* Starts off-screen above */
    -webkit-text-stroke: 2px #DD1E26; /* Red stroke only */
    color: transparent; /* No fill */
    background-color: transparent; /* No background */
  }
  20% {
    transform: rotate(8deg) translateY(0) scale(1.05); /* Slight squash as it lands */
    -webkit-text-stroke: 0; /* Remove stroke */
    color: #FFF; /* White text */
    background-color: #DD1E26; /* Red background */
  }
  100% {
    transform: rotate(8deg) translateY(0); /* Stay in final position */
    -webkit-text-stroke: 0;
    color: #FFF;
    background-color: #DD1E26;
  }
}

.Title1 {
  animation: stamp-effect-title1 2s steps(1, end) infinite;
  display: inline-block;
}

.Title2 {
  animation: stamp-effect-title2 2s steps(1, end) infinite;
  animation-delay: 0.5s; /* Staggered for variation */
  display: inline-block;
}



   .NotTitle{
    letter-spacing: 2px;
    text-align: center;
  }


cite{
display: block;
}


  .quote-container {
    width: fit-content;
    background-color: var(--background);
    margin: 20px auto;
    padding: 20px;
    text-align: left;
  }
  
  blockquote {
    font-family: "Courier Prime", monospace; /* or your preferred font */
    font-size:var(--base-size);
    line-height: 1.6;
    color:var(--red);
    margin: var(--padding);
  }
  
  .top-bar,
  .bottom-bar {
    height: 10px; /* Adjust the height to match your design */
    background-color: var(--red);
    margin: 0 auto;
    width: 100%; /* Matches the width of the container */
    transform: rotate(-5deg);
  }
  
  .bottom-bar{
    transform: rotate(5deg);
  }

/* MOBILE MEDIA QUERIES */

  @media (max-width:800px) {

    header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100vh; 
      padding: 10px; 
      gap: calc(var(--padding)*5);
    }

    .NotTitle{
      font-size: calc(var(--base-size)*3);
      line-height: 1.5;

    }
  
    .Title1,.Title2{
      font-size: calc(var(--base-size)*2);
      padding: 16px 8px;
      display: inline-block; 
    }

    .Title1{
      margin-top: calc(var(--padding)*4);
    }
    
    cite {
      font-size: calc(var(--base-size)* 1.2);
  }


  .pull-quote {
    position: relative;
    text-align: left;
    margin: 80px 0;
    margin-left:var(--padding);
    width: 90vw;
    transform: rotate(-5deg);
    animation: pullQuoteMobile 6s ease-in-out infinite;
  }

  .pull-quote blockquote {
    font-family: 'Anton';
    font-size: 2rem; /* Adjust font size for readability */
    line-height: 1.2;
    color: transparent;
    -webkit-text-stroke: 2px #DD1E26;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pullQuoteMobile 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }


  @keyframes pullQuoteMobile {
    0%, 80% {
      transform: rotate(-5deg);
      color: transparent;
      -webkit-text-stroke: 1px #DD1E26;
    }
    85% {
      transform: rotate(0deg);
      color: #DD1E26;
      -webkit-text-stroke: 0;
    }
    100% {
      transform: rotate(-5deg);
      color: transparent;
      -webkit-text-stroke: 1px #DD1E26;
    }
  }
  

  }





/* DESKTOP QUERIES */

  @media (min-width: 800px) {
    /* navigation button on desktop only */
  .nav-button {
    display: block; 
  }

  header {
    position: relative;
    text-align: center;
    margin: 50px auto;
  }

  /* Main Title */
h1 {
  font-family: 'Anton', sans-serif;
  text-align: center;
  font-size: 28px; /* Adjust for subtitle */
  color: #DD1E26;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 40px;
}

cite:nth-of-type(1) {
margin-top: calc(var(--base-size)*6);
}

cite:nth-of-type(2) {
  margin-top: calc(var(--base-size)*2);
  }
  

/* Subtitle ('There is no such thing as') */
.NotTitle {
  font-size: 70px;
  letter-spacing: 3px;
  text-transform: lowercase;
  -webkit-text-stroke: 2px #DD1E26; /* Red outline */
  color: transparent;
  margin-bottom: 20px;
}

/* Main Title Blocks ('Neutral', 'Graphic Design') */
.Title1, .Title2 {
  font-family: 'Climate Crisis', sans-serif;
  font-size: 100px;
  color: #FFF9F4;
  background-color: #DD1E26;
  text-align: center;
  padding: 10px 40px;
  display: inline-block;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
}

.Title1 {
  transform: rotate(-8deg); /* Tilt for 'Neutral' */
}

.Title2 {
  transform: rotate(8deg); /* Tilt for 'Graphic Design' */
  margin-bottom: 20px;
}



/* Author and Date (Cite) */
cite {
  letter-spacing: 2px;
  display: block;
  margin-top: 10px;
}



  p {
    font-size: 20px;
    margin: 0 auto; /* Center horizontally */
    margin-top: 20px;
    width: 50vw; /* Limit the width to half the viewport */
  }

  p:nth-of-type(1) {
    margin-top: 120px;
  }




.pull-quote {
  position: relative;
  text-align: left;
  margin: 50px 0;
  margin-left: 60px;
  margin-top: calc(var(--padding)*8);
  margin-bottom: calc(var(--padding)*8);
  width: 70vw;
  transform: rotate(-5deg); 
  transition: transform 0.3s ease; 
}


.pull-quote blockquote {
  font-family: 'Anton';
  font-size: 3rem; 
  line-height: 1.2;
  color: transparent; 
  -webkit-text-stroke: 2px #DD1E26; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  transition: color 0.3s ease, transform 0.3s ease; 
  margin: 0;
  padding: 0;
}

.pull-quote:hover {
  transform: rotate(0deg); 
}

.pull-quote:hover blockquote {
  color: #DD1E26;
  -webkit-text-stroke: 0;
}

header {
  margin: 0 auto; /* Remove margin in front of nav */
}



.glyph-two .glyph div:nth-child(1) {
  transform: translateY(-5px); /* Move first line up */
  transition: transform 0.3s ease;
  background-color: #000000; 
}

.glyph-two .glyph div:nth-child(2) {
  transform: translateY(5px); /* Move second line down */
  transition: transform 0.3s ease;
  background-color: #000000; 
}


  }
