/* 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;
}

:root {
    --time: 100ms;
}

/* Begin CSS */
* {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  box-sizing: border-box;
}

body {
  background-color: #3200bf;
  color: #f2f2f2;
  padding: 1rem 1rem 2rem;
  width: 100%;
}

main {
  background-color: #5519d6;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem #2d0b75;
  line-height: 1.5rem;
  margin: 0 auto;
  max-width: 800px;
  padding: 2rem 2rem 3.2rem;
  width: 100%;
}

header { margin-bottom: 1rem; }

h1 {
  padding: 1rem 0;
  font-size: 3rem;
  line-height: 2.75rem;
  letter-spacing: -0.025em;
}

h2, h3 { line-height: 2rem; }

h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 400; 
}
h2.listicle { margin-top: 1rem; }
h2 + p { padding: 0.25rem 0; }

h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: inherit;
  margin-top: 1rem;
}

h4 { font-weight: bold; }
h5 { font-style: italic; }
h1 + h2, h1 + h3, h2 + h3 { margin-top: 0; }
h1 + h4 { margin-top: 2rem; }

h1, h2, h3, h4, h5, h6 {
  color: #fafafa;
  font-weight: bold;
}

p {
  font-size: 1.2rem;
  line-height: 1.75rem;
  padding: 0.5rem 0;
  text-align: left;
}

a {
  color: #16b6e2;
  font-size: 1.2rem;
  line-height: 1.75rem;
  opacity: 1;
  -webkit-transition: opacity var(--time) ease-in-out;
  -moz-transition: opacity var(--time) ease-in-out;
  -ms-transition: opacity var(--time) ease-in-out;
  -o-transition: opacity var(--time) ease-in-out;
  transition: opacity var(--time) ease-in-out;
}
a:hover { opacity: 0.7; }

.main-img-wrap {
  border-bottom: dashed 2px #2d0b75;
  border-top: dashed 2px #2d0b75;
  margin-top: 1.5rem;
  padding: 1.5rem 0;
  width: 100%;
}

.main-img {
  border: solid 0.5rem #FFB81C;
  border-radius: 1rem;
  height: auto;
  width: 100%;
}

.contact {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
}

@media screen and (max-width: 470px) {
  h1 {
    font-size: 2.5rem;
  }
  main {
    padding: 1rem 1rem 1.8rem;
  }
  .contact {
    flex-direction: column;
    gap: 0.25rem;
  }
}
