*, *::before, *::after {
  box-sizing: border-box;
}

ul:where([role="list"]),
ol:where([role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

:root {
	--clr-primary: #282828;
	--clr-secondary: #FFB800;
  --clr-background: #ededed;
	--clr-link-hover: #e6a600;

  --ff-serif: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  color: var(--clr-primary);
	font-family: var(--ff-serif);
  font-weight: 400;
	background-color: var(--clr-background)
}

main {
  margin-left: 1rem;
  margin-right: 1rem;

  @media (min-width: 650px) {
    margin-left: 20rem;
    margin-right: 20rem;
  }
}

.site-footer {
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 1rem;

  @media (min-width: 650px) {
    margin-left: 20rem;
    margin-right: 20rem;
  }
}

h1 {
  line-height: 2.5rem;
}

.section-title {
  text-decoration: underline;
  text-decoration-color: var(--clr-secondary);
}

a {
  color: var(--clr-primary);
}

a:focus,
a:hover {
  text-decoration-color: var(--clr-secondary);
  text-decoration-thickness: 2px;
}

.splash {
  background-image:
    url('data:image/svg+xml,<svg width="1440" height="372" viewBox="0 0 1440 372" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0h1440v74.7L1211.92 372 0 137.369z" fill="%23fff"/><path d="M0 0h1440v50.5L1204 344 0 125.5z" fill="%23ffb800"/></svg>'),
    url('data:image/svg+xml,<svg width="1440" height="442" viewBox="0 0 1440 442" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1440 442H-31v-77.146L258.5 0 1440 325z" fill="%23fff"/><path d="M1440 422.5H0V343L261.5 45 1440 343z" fill="%23282828"/></svg>');
  background-repeat: no-repeat, no-repeat;
  background-position: top left,bottom left;
  background-size: 100% 30vh;
  padding-left: 10vw;
	padding-top: 20vh;
  width: 100%;
  min-height: 40vh;

  @media (min-width: 650px) {
    padding-top: 25vh;
    background-size: 100% 40vh;
    min-height: 50vh;
  }
}

.splash__heading {
  font-size: 2.5rem;
  color: var(--clr-secondary);

  @media (min-width: 650px) {
    font-size: 3rem;
  }
}

.splash__heading--offest {
  padding-left:.8rem;
}

.splash__divide {
  border-top: .2rem dashed;
  border-bottom: none;
  width: 15rem;
  margin: 1rem 0;

  @media (min-width: 650px) {
    width: 20rem;
  }
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin: 1.5rem 0;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-list li {
  border: var(--clr-primary) 2px solid;
  padding: .6rem;
}

.nav-list a {
  color: var(--clr-primary);
  text-decoration: none;
}

.nav-list a:focus,
.nav-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--clr-link-hover);
  text-decoration-thickness: 4px;
}

.proects {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  gap: 0;
}

.projects__item {
  display: grid;
  gap: 0;

  @media (min-width: 650px) {
    grid-template-columns: 100px 1fr;
  }}

.projects__item svg{
  display: hidden;
  margin: auto;
  max-width: 50px;
  max-height: 50px;

  @media (min-width: 650px) {
    max-width: 50%;
    max-height: 50%;
  }
}

.proects__content {
  display: grid;
  align-content: start;
  justify-content: start;
  padding:1rem;
}

.posts__list li:where(:not(:first-child)) {
  margin-top: 3rem;
}
