/* 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: "Instrument Serif", Georgia, 'Times New Roman', Times, serif
 
}

main {
  grid-template-columns: 3fr 1fr;
  padding: 80px 80px 0;
 
}

header {
  display: grid;
  flex-direction: column;

}

h1 {
max-width: 70%;
  border-bottom: 1px solid #d4cbc0;
  padding-bottom: 20px;
  color: #463068;
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

h2 {
  color: hsl(319, 96%, 21%);;
  font-size: 8.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}

h3 {
 color: hsl(319, 96%, 21%);;
  font-size: 4.5rem;
  font-weight: 600;
  margin-bottom: 40px;
}

p {
  color: #444444;
  font-size: 1.4rem;
  font-weight: normal;
  font-family: "Outfit", 'Times New Roman', Times, serif;
}

nav {
  display: grid;
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
  width: 450px;
  transform: translateY(-10vh);
}


a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 35px;
  border: 2px solid #716d64;
  border-radius: 20px;
  text-decoration: none;
  color: #a53c89;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

a:hover {
  background: #9b997b;
  color: #f5f3f0;
}

a::after {
  content: '→';
  font-size: 2rem;
  margin-left: 20px;
}

footer {
  border-top: 2px solid #716d64;
  padding-top: 40px;
  
}

footer p {
  color: #a39a8d;
  font-size: 1rem;
  text-align: center;
  letter-spacing: .4px;
  
}

/*  Responsive */
@media (max-width: 1024px) {
    main {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        gap: 30px;
    }

    h1 {
        font-size: 2.2rem;
        max-width: 90%;
    }

    h2 {
        font-size: 6rem;
    }

    h3 {
        font-size: 3.5rem;
        margin-bottom: 30px;
    }

    p {
        font-size: 1.2rem;
    }

    nav {
        transform: translateY(0);
        max-width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }

    a {
        font-size: 1.5rem;
        padding: 20px 30px;
    }

    a::after {
        font-size: 1.8rem;
    }

    footer {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.8rem;
        max-width: 100%;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 4rem;
        margin-bottom: 8px;
    }

    h3 {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    p {
        font-size: 1.1rem;
    }

    nav {
        gap: 15px;
        margin-top: 30px;
    }

    a {
        font-size: 1.3rem;
        padding: 18px 25px;
        border-radius: 15px;
    }

    a::after {
        font-size: 1.6rem;
        margin-left: 15px;
    }

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

    footer p {
        font-size: 0.9rem;
    }
}


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

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 3rem;
    }

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

    p {
        font-size: 1rem;
    }

    nav {
        gap: 12px;
    }

    a {
        font-size: 1.1rem;
        padding: 15px 20px;
        border-radius: 12px;
    }

    a::after {
        font-size: 1.4rem;
        margin-left: 10px;
    }
}