@import url("https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap");
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul, ol {
  list-style: none;
  padding: 0;
}

/* Set core body defaults */
body {
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration-skip-ink: auto;
  text-decoration: none;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

:root {
  --plyr-color-main: hsl(163, 10%, 49%);
  --plyr-control-spacing: 5px;
  --plyr-audio-controls-background: none;
}

body {
  padding-block: 1rem;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
  background: #F5DFF1;
  background: linear-gradient(5deg, rgb(245, 223, 241) 0%, rgb(228, 245, 223) 100%);
  color: hsl(326, 10%, 49%);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-size: 1.2rem;
}

.container {
  max-width: 40rem;
  margin-inline: 2rem;
}

a {
  color: #752E68;
  text-decoration: dotted underline;
}

header .container {
  display: flex;
  align-items: end;
}
header .brand {
  font-size: 2rem;
}
header .social-links {
  display: flex;
  gap: 1rem;
  margin: 0;
}

main {
  flex-grow: 1;
}
main h2 {
  font-weight: 400;
  font-size: 3rem;
}
main p:not(.posts p) {
  margin-block-end: 1rem;
}
main .posts > li {
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}
main .posts > li .photos {
  position: absolute;
  left: calc(-150px - 1rem);
  top: 2rem;
}
main .all-posts {
  font-weight: 400;
  font-size: 2rem;
  text-align: right;
}
main:has(.hero) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.post-header a {
  text-decoration: none;
}
.post-header h3 {
  font-size: 1.4rem;
  font-weight: 200;
}
.post-header .tags {
  margin-block: 0.25rem;
  width: fit-content;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.post-header .tags a {
  background-color: #752E68;
  color: hsl(326, 80%, 98%);
  padding: 0 0.25rem;
}
.post .photos {
  display: grid;
  gap: 1rem;
}
.post .photos img {
  max-width: 150px;
}
.post-content p {
  margin-bottom: 1rem;
}
.post-content ul {
  list-style-type: disc;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
.post-content .photos {
  grid-template-columns: repeat(4, 1fr);
}
.post-content .photos img {
  max-width: 100%;
}
.post-content .plyr {
  margin-bottom: 1rem;
  max-width: 500px;
}

footer {
  color: hsl(326, 10%, 49%);
  text-align: right;
}

/*# sourceMappingURL=main.css.map */