/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ---------------------------------------------------
my design
--------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f5f3f0;
  font-family: "Outfit", 'Times New Roman', Times, serif;
  color: #716d64;;
}

main {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 80px 3fr ;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas:
    "header header "
    "aside  blockquote "
    "aside  article "
    "aside  article "
    "aside  footer ";
  column-gap: 60px;
  row-gap: 40px;
}

header { grid-area: header; }
article { grid-area: article; }
section { grid-area: section; }
footer { grid-area: footer; }


main > aside:nth-of-type(1) {
  grid-column: 1;
  grid-row: 3 / span 3;
  align-self: start;
  gap: 40px;
}

main > aside {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #a39589;
  letter-spacing: 1.5px;
}

main > aside a {
  display: grid;
  text-decoration: none;
  color: inherit;
  transform: rotate(-90deg);
  margin-bottom: 70px;
  padding-right: 150px;
  gap: 40px;
  height: 150px;
}

main > aside a:hover {
  color:#463068 ;
  }

main > aside span {
  writing-mode: vertical-rl;
 transform: rotate(180deg);
  letter-spacing: 2px;
  margin-top: auto;
}

article > p {
  margin-bottom: 18px;
  text-align: justify;
  font-size: 20px;
 letter-spacing: .4px;
  line-height: 1.6;
}
 a{
  text-decoration: none;
}
article a:hover{
  text-decoration: underline;
}
p span{
  color:rgb(90, 67, 87) ;
}
h1,h2,h3{
  font-family: "Instrument Serif", Georgia, 'Times New Roman', Times, serif;
} 

h1 {
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #463068;
  margin-bottom: 10px;
  border-bottom: 1px solid #d4cbc0;
  padding-bottom: 10px;
}

h2 {
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: hsl(319, 96%, 21%);;
  margin-top: 25px;
  line-height: 1.15;
}


h3{
  font-size: 23px;
  letter-spacing: 1px;
  font-weight: 300;
  color: hsl(319, 96%, 21%);
  margin-bottom: 20px;
  line-height: 1.15;
}


footer {
  border-top: 2px solid #d4cfc7;
  padding-top: 40px;
  margin: 50px 0;
}

footer p {
  color: #716d64;;
  font-size: 14px;
  text-align: center;
  letter-spacing: .4px;
}

/* Responsive */
@media (max-width: 1024px) {
  main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "aside"
      "blockquote"
      "article"
      "footer";
    padding: 40px 20px;
    margin: 40px auto;
  }
  
  main > aside {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
  }
  
  main > aside a {
    transform: none;
    margin-bottom: 0;
    padding-right: 0;
    height: auto;
    width: auto;
    font-size: 1.2rem;
  }
  
  main > aside span {
    writing-mode: horizontal-tb;
    transform: none;
    margin-top: 0;
  }

  blockquote {
    max-width: 100%;
    margin: 30px 0;
  }

  h2 {
    font-size: 36px;
  }

  article > p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 30px 15px;
    margin: 30px auto;
  }

  h1 {
    font-size: 20px;
    letter-spacing: 2px;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  h2 {
    font-size: 32px;
    margin-top: 15px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  main > aside {
    flex-wrap: wrap;
    gap: 20px;
  }

  main > aside a {
    font-size: 1rem;
  }

  blockquote {
    margin: 20px 0;
  }

  blockquote p span {
    font-size: 20px;
    padding: 10px 15px;
  }

  cite {
    font-size: 13px;
  }

  article > p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  footer {
    margin: 30px 0;
    padding-top: 30px;
  }

  footer p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 20px 12px;
    margin: 20px auto;
    row-gap: 25px;
  }

  h1 {
    font-size: 18px;
    letter-spacing: 1.5px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  main > aside {
    flex-direction: column;
    gap: 15px;
  }

  main > aside a {
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  main > aside span {
    font-size: 0.85rem;
    margin-top: 10px;
  }

  blockquote p span {
    font-size: 18px;
    padding: 8px 12px;
  }

  cite {
    font-size: 12px;
  }

  article > p {
    font-size: 14px;
    line-height: 1.5;
  }

  footer p {
    font-size: 11px;
    line-height: 1.4;
  }
}