html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
form,
label,
nav {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: "lores-21-serif", sans-serif;
  font-weight: 400;
  font-style: normal;
  vertical-align: baseline;
  box-sizing: border-box;
}

* {
  scroll-behavior: smooth;
}

html {
  --padding: 0px;
  padding: var(--padding);
  padding: var(--padding) calc(env(safe-area-inset-left) + var(--padding))
    var(--padding) calc(env(safe-area-inset-right) + var(--padding));
  background-color: black;
  height: 100vh;
  height: 100dvh;
}

body {
  display: flex;
  flex-direction: column;
  background: url("/img/logo.png") no-repeat center/66% auto fixed, #ccd3e0;
  line-height: 1;
  height: 100%;
}

@media screen and (min-width: 500px) {
  html {
    --padding: 2rem;
  }

  body {
    border-radius: 10px;
  }
}

@media screen and (min-aspect-ratio: 1/1) {
  body {
    background: url("/img/logo.png") no-repeat center/auto 66% fixed, #ccd3e0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

h2 {
  font-family: "lores-9-narrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

nav {
  display: flex;
  align-items: center;
  background-color: #dddddd;
  border-bottom: 1px solid #000;
  box-shadow: inset 0px -2px 0px 0px #999;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  font-size: 0.875rem;
  padding: 0 0.5rem;
}

nav > a,
nav > a:visited,
nav > a:active {
  transition-duration: 150ms;
  transition-property: background-color, border-color, color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  line-height: 1.875rem;
  padding: 0 0.625rem;
  position: relative;
  display: block;
  color: #000;
  height: 100%;
}

nav > a.active {
  background-color: #6b94db;
  border-color: #455880;
  color: #fff;
}

nav > a.active::after {
  opacity: 1;
}

nav #separator {
  align-self: flex-start;
  margin-left: auto;
}

nav #time {
  margin: 0 1rem;
}

nav #time span {
  display: inline-block;
  min-width: 0.46875rem;
  text-align: center;
}

.container {
  --cont-padding: calc(var(--padding) + 1.125rem);
  padding: 0 var(--cont-padding) var(--cont-padding) var(--cont-padding);
  overflow-y: auto;
  flex: 1;
}

main {
  display: flex;
  flex-direction: column;
  max-width: 48rem;
  gap: 1.875rem;
  margin: auto;
}

input,
textarea {
  font-family: "lores-21-serif", sans-serif;
  box-shadow: inset 0 0 0 1.5px #555555;
  border: 1.5px solid #dedede;
  box-sizing: border-box;
  display: block;
}

label {
  flex: 1;
  font-size: 1.125rem;
}

label input,
label textarea {
  width: 100%;
  resize: vertical;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  padding: 0.5rem;
}

button {
  border-image: url("/img/button.svg") 10 / 1;
  border-width: 10px;
  background: none;
  padding: 0;
}

button span {
  font-family: "lores-15", sans-serif;
  font-weight: 700;
  font-style: normal;
  background-color: #6b94db;
  text-transform: uppercase;
  font-size: 1.3125rem;
  padding: 0.25rem;
  display: block;
  color: white;
}

.column,
.row {
  gap: 1.25rem;
}

.column {
  display: flex;
  flex-direction: column;
}

.column.flex {
  flex: 1;
}

.row {
  display: flex;
}

.row.wrap {
  flex-wrap: wrap;
}

.window {
  display: flex;
  flex-direction: column;
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px #fff;
  background-color: #ccc;
  padding: 2.5px;
}

.window > span {
  border: 1.5px solid #9f9f9f;
  box-shadow: inset 0 0 0 1px #737373, inset 0 0 0 2.5px #ccc;
  background: url("/img/close.svg") no-repeat calc(100% - 2.5px),
    url("/img/grip.svg") repeat-x center;
  box-sizing: border-box;
  margin-bottom: 1.5px;
  text-align: center;
  padding: 2.5px;
  display: block;
}

.window > span h2 {
  background-color: #ccc;
  padding: 0 0.5rem;
  display: inline;
}

.window.square > div {
  aspect-ratio: 1/1;
}

.window > div {
  border: 1px solid #fff;
  box-shadow: inset 0 0 0 1px #000;
  background-color: #e7e7e7;
  padding: 1px;
  flex: 1;
}

.window > div > img {
  display: block;
  height: 100%;
  width: 100%;
}

.window > .marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  padding: 10px;
  background-color: black;
  color: white;
}

.marquee p {
  animation: marquee 20s linear infinite;
}

.about h1 {
  font-size: 3.75rem;
  margin-bottom: 1.25rem;
}

.about p {
  font-size: 1.375rem;
  line-height: 1.375;
}

.about > p + p {
  margin-top: 1.25rem;
}

#heros {
  margin: 1.875rem 0;
}

#heros > .window {
  flex: 1;
}

#hero_social {
  flex-direction: column-reverse;
}

#hero_social > .row > .window {
  /* max-width: 19rem; */
  min-width: 15.625rem;
  flex: 1;
}

.socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.25rem;
}

.socials > .window {
  max-width: 7.5rem;
  min-width: 6rem;
}

#contact > div {
  padding: 2rem;
}

#contact .row {
  gap: 0.75rem;
}

#home {
  margin-bottom: max(0px, calc(var(--padding) - 0.75rem));
}

@media screen and (min-width: 58.25rem) {
  #hero_social {
    flex-direction: row;
  }

  .socials {
    flex-direction: column;
    justify-content: flex-start;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
