@font-face {
  font-family: "FiraSans";
  src: url("FiraSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "FiraSans";
  src: url("FiraSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "FiraSans";
  src: url("FiraSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "FiraSans";
  src: url("FiraSans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

.border-gradient {
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(315deg,#6b0000 0%, #fa481b 100%) border-box;
  border: 3px solid transparent;
}

.center-p {
  text-align: center;
}

.errortext {
  color: #fa481b;
}

.indent {
  text-indent: 3rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

a {
  color: #fff5ef;
}

a:hover {
  cursor: pointer;
}

body {
  background:
    linear-gradient(315deg,rgba(0,0,0,0.4), rgba(0,0,0,0.0)),
    url("../img/back_blur.jpg") center / cover no-repeat;
  display: grid;
  place-items: center;
  font-family: 'FiraSans', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  height: 100vh;
}

main {
  background: linear-gradient(315deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.75) 100%);
  backdrop-filter: blur(100px);
  border-radius: 1.5rem;
  box-shadow: inset 0 0 6px 6px rgba(255, 255, 255, 0.05);
  color: #fff5ef;
  height: 75vh;
  max-width: 50vw;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 3rem;
}

main::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 600px) {
  body {
    background: black;
    display: revert;
    justify-content: revert;
  }
  main {
    border-radius: 0;
    height: revert;
    max-width: revert;
  }
  .border-gradient {
    background: black;
    border: 1px solid transparent;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media screen and (max-width: 800px) {
  nav {
    display: flex;
    flex-direction: column;
  }
}

#logo {
  display: flex;
  align-items: center;
}

#logo > span {
  height: min-content;
  margin: 0 .5rem 0 1rem;
  font-size: 3rem;
}

#logo * {
  height: 4rem;
}

#newsletter-link {
  text-align: right;
}

#about {
  margin-bottom: 0.5rem;
}

#info {
  display: flex;
  justify-content: space-evenly;
  font-size: 1.5rem;
}

@media screen and (max-width: 700px) {
  #info {
    display: flex;
    flex-direction: column;
  }
}

#time {
  border-radius: 20px;
  line-height: 0.25rem;
  outline: 2px dashed #fa481b;
  outline-offset: -8px;
  padding: 0.5rem 1.25rem;
  text-align: center;
  transform: rotate(-8deg);
  z-index: 1;
}

#place {
  border-radius: 60px;
  height: 100%;
  padding: 1.25rem 1.5rem;
  outline: 4px dotted #fa481b;
  outline-offset: -10px;
  text-align: center;
  transform: rotate(5deg);
  z-index: 1;
}

#video {
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border: none;
  display: block;
  height: 100%;
  margin: 0 auto;
  position: relative;
  transition-duration: 0s;
  transition-property: no;
  width: 100%;
}

summary {
  font-weight: 700;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  text-align: right;
}

/* mail.php */

#main-post {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#logo-large-link {
  display: grid;
  place-items: center;
  width: 100%;
}

#logo-large-link > * {
  width: 70%;
}

@media screen and (max-width: 700px) {
  #logo-large-link {
    margin-top: 2rem;
  }
  #logo-large-link > * {
    width: 100%;
  }
}

input {
  border-radius: 10px;
  color: #fff5ef;
  padding: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

input[type="email"] {
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #fa481b;
  border: 1px solid #6b0000;
}

input[type="submit"]:hover {
  cursor: pointer;
  text-decoration: underline;
}

/* 404 */

#errorcode {
  color: #fa481b;
  font-size: 7rem;
  font-weight: 900;
}
