:root {
  --color-accent: #FF5C6F;
}

html {
  background-color: black;
  color: white;
}
body {
  font-family: Times, serif !important;
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0px auto;
  padding: 2rem;
  line-height: 1.5rem;
}
header{
  width: 100%;
  display: flex;
  img {
    width: 30%;
  }
  hgroup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    h1{
      font-size: 3rem;
      margin: 0px;
    }
    h2 {
      margin: 0px;
    }
  }
}
nav {
  background-color: black;
  position: sticky;
  top: 0;
  z-index: 1312;
  padding-top: 1rem;
  menu {
    font-size: 1.4rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0px 2rem;
  }
  menu > li {
    list-style: none;
  }
}
main {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  article {
    padding-top: 5rem;
  }
}
h1 {
  color: white;
  line-height: 2rem;
}
h2,h3,h4,h5,h6,a {
  color: var(--color-accent);
}
a {
  text-underline-offset: 4px;
  font-weight: bold;
  &:hover {
    text-underline-offset: 7px;
  }
}

#banner{
  height: 12rem;
  width: 100%;
  img {
    height: 100%;
    width: 100%;
  }
}

#contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  & > * {
    margin: 0px;
  }
  h2 {
    width: 100%;
  }
  div {
    width: 50%;
  }
}

#logo {
  width: 7rem;
  aspect-ratio: 1/1;
  border-radius: 100%;
}

#copyleft {
  display: flex;
  gap: 1rem;
  align-items: center;
}

@media screen and (width <= 600px) {
  body{
    padding: 0.7rem;
  }
  h1,h2{
    line-height: 2.2rem;
  }
  header {
    gap: 0.3rem;
    & > * {
      scale: 0.7;
    }
    img {
      width: 30%;
      height: 30%;
    }
    hgroup {
      font-size: 1.6rem;
    }
  }
  nav {
    padding-top: 0.5rem;
  }
  nav > menu {
    flex-wrap: wrap;
    font-size: 1.2rem;
  }

  #contact {
    flex-direction: column;
    div {
      width: 100%;
    }
  }
}
