
body {
  background: #f9fdd3;
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: #ff0f87;
}

body { margin: 0; }
.topimg { display: block; width: 100%; height: auto; }
.responsivenav { width: 100%; }

body.blue {
  color: #0800a0;
}

body.blue a {
  color: #0800a0;
}

body.blue a:hover {
  color: #fa7ebc;
}



/* =========================
   Layout containers
   ========================= */

section,
header {
  width: 80%;
  max-width: 900px; 
  margin: auto;
  margin-bottom: 4rem; 
}
section + section {
  margin-top: 6rem;
}

/* =========================
   Typography
   ========================= */

/* 

   p: 1.125rem
   h3: 1.406rem
   h2: 2.812rem
   h1: 5rem
*/






header,
h1,
h2,
blockquote {
  font-family: "Share Tech Mono", monospace;
  
}

h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 0.7em;
  color: #ff0f87;
}

body.blue h1 {
  color: #0800a0;
}

h2 {
  font-size: 2.812rem;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 0.4em;
}

h3 {
  font-size: 1.406rem;
  line-height:1.3 ;
}

p {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  font-size: 1.125rem;
}


#logo p {
  font-size: 2.4rem; 
  line-height: 1;
}

blockquote {
  margin: 0;              /* stops default browser margins */
  padding: 0;             /* remove extra width-feel padding */
}

blockquote p {
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 0;              /* stops the quote pushing wider */
  max-width: 65ch;  
   margin-left: auto;
  margin-right: auto;
}

blockquote strong {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  margin-bottom: 3rem;
}      /* THIS is what constrains it */




/* =========================
   Navigation
   ========================= */

.responsivenav {
  background: #e6e87d;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  font-size: 2rem;
  color: rgb(56, 42, 0);
  padding-left: 50px;
}

#logo p {
  font-family: "Share Tech Mono", monospace;
  color: #0800a0;
}

nav {
  display: flex;
  padding: 1.5rem 0;
}

nav ul {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 1px;
  list-style-type: none;
  padding-right: 70px;
  color: rgb(0, 0, 0);
}

nav ul li {
  display: inline;
  margin: 5px;
}

nav a {
  border-bottom: none;
}

nav a:hover {
  color: #ff0f87;
  transition: all 0.03s ease-in-out;
}

/* =========================
   Images / media
   ========================= */

.gridimage {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.gridimage img {
  width: 300px;
  height: auto;
}

.wideimage img {
  width: 100%;
  height: auto;
  display: block;
}

.abcyo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.abcyo img {
  width: 50%;
  height: auto;
}

.topimg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* =========================
   Links
   ========================= */

a {
  color: #ff0f87;
  text-decoration: none;
  border-bottom: 1px dotted;
  font-weight: 600;
}

a:hover {
  color: #fa7ebc;
}

/* =========================
   Footer
   ========================= */

footer {
  background: #322e04;
  color: rgb(233, 233, 233);
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0;
}

footer a {
  color: #ff0f87; 
  padding: 0;
}
body.blue footer a {
  color: #ff0f87;
}

/* =========================
   Responsive
   ========================= */

  
  .responsivenav {
    padding: 12px 12px;
  }

 /* ===MOBILE FIXES ====== */ 

@media (max-width: 600px) {

  
  header,
  section {
    width: 92%;
    max-width: none;
    margin-bottom: 2.5rem;
  }

 
  .responsivenav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  #logo {
    padding-left: 0;
  }

  #logo p {
    font-size: 1.6rem;
    line-height: 1;
    margin: 0;
  }

  nav {
    width: 100%;
    padding: 0;
  }

  nav ul {
    padding-right: 0;
    margin: 0;
    text-align: left;
    letter-spacing: 0.5px;
  }

  nav ul li {
    display: block;
    margin: 0.35rem 0;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 0.5em;
  }

  h2 {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 0.6em;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1em;
  }

  blockquote {
    font-size: 1.15rem;
    line-height: 1.5;
    padding: 0.75rem 0;
  }

  blockquote p {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
  }

  .topimg {
    height: 220px;
  }

  .wideimage img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .gridimage {
    flex-direction: column;
    gap: 12px;
  }

  .gridimage img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .abcyo {
    height: auto;
    padding: 1rem 0;
  }

  .abcyo img {
    width: 85%;
    max-width: 360px;
  }
}