@import url('./home.css');
@import url('./links.css');
@import url('./icons.css');

:root {
  /* --document-bg-colour: #862624; */
  --document-bg-colour: hsl(1.22, 57.65%, 33.33%);
  --text-colour: rgb(255,253,250);
  --text-colour-muted: rgba(255,253,250,0.4);
  --default-bg-colour: hsl(1.22, 57.65%, 13.33%);
  --main-tab-image-size: 100vw;
  height: 100%;
}

html, body {
  margin: 0;
  position: relative;
  height: 100%;
}

html {
  background-color: var(--document-bg-colour);
}

body {
  color: var(--text-colour);

  font-size: 1.05rem;
  font-family: 'Times New Roman', serif;
  letter-spacing: 0.04rem;
  line-height: 1.4rem;
  font-weight: 700;

  color: var(--text-colour);
}

body::before {
content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='10' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

  opacity: 0.15;
  mix-blend-mode: overlay;

  z-index: -1;
  pointer-events: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;

  align-items: center;

  width: 100%;
}

#header a img {
    margin-top: 2rem;
    margin-bottom: -1rem;
    width: calc(var(--main-tab-image-size) * 0.5);
    height: auto;
}

#header p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
}

#header {
    margin-bottom: -0.5rem;
}

h1 {
  margin-top: 4rem;
  margin-bottom: 0.5rem;

  font-size: 10vw;
  font-weight: 400;
  text-align: center;
}

@media (min-width: 768px) {
  :root {
    --main-tab-image-size: 50vw;
  }
  main {
    width: 50%;
    margin: 0 auto;
  }
  h1 {
    font-size: 5vw;
  }
}


a {
  text-decoration: none;
  color: var(--text-colour);
}

.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  border: none;

  background-color: var(--default-bg-colour);
  color: var(--text-colour);

  font-size: 1rem;
  font-family: inherit;

  padding: 0.8rem 1rem;

  width: fit-content;
}

.tab {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
}

.tab-block {
  display: flex;
  flex-direction: row;
  flex-grow: 1;

  background-color: var(--default-bg-colour);

  padding: 0.8rem;

  width: auto;
  height: auto;
}

.tab-title {
  flex-grow: 0;
  display: flex;
  flex-direction: row;
}

.tab-content {
  justify-content: right;
  align-items: center;
  text-align: right;
}

#contact {
  width: 100%;
}
#contact .tab-block {
  background-color: var(--default-bg-colour);
}
#contact .tab-content {
  font-size: 1rem;
}
