:root {
  --color-signal: #fe7cfc;
  --content-width: 720px;
  --color-title: #f90309;
  --color-black: #040404;
  --color-white: white;
  font-size: 18px;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Klima;
  src: url('klima/klima-regular-web.woff2');
  font-display: swap;
}

@font-face {
  font-family: Klima;
  src: url('klima/klima-bold-web.woff2');
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: Klima;
  src: url('klima/klima-regular-italic-web.woff2');
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Klima;
  src: url('klima/klima-bold-italic-web.woff2');
  font-style: italic;
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: Folsom;
  src: url('folsom-black-web.woff2');
  font-weight: black;
  font-display: swap;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Klima;
  min-height: 100vh;
}

h1 {
  font-size: 3rem;
}

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

h2 {
  font-size: 2.5rem;
}

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

p {

  line-height: 1.8;
}

main {
  padding-top: 220px;
  background-color: var(--color-signal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;

}

main>* {
  max-width: var(--content-width);
  padding-left: 4px;
  padding-right: 4px;
}


header {
  width: 100%;
  background-color: var(--color-signal);
  color: var(--color-title);
  text-transform: uppercase;
  font-family: Folsom;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: -206px;
  overflow: visible;
  overflow-wrap: break-word;
  hyphens: auto;
}

header section {
  max-width: var(--content-width);
  padding-bottom: 5rem;
  z-index: 100;
  background-color: var(--color-signal);
  background-image: url('flosse.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: bottom;
  height: 430px;
  padding-right: 5px;
  padding-left: 5px;
  display: flex;
  flex-direction: column;
}


footer {
  background-color: var(--color-black);
  width: 100%;
  color: var(--color-white);
  margin-top: 3rem;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

}

footer a {
  color: var(--color-white);
}

.share-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

button {
  background-color: var(--color-title);
  color: var(--color-white);
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.5) 1px 3px 1px;
  cursor: pointer;
  transition: all linear 100ms;
}

button:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.5) 5px 3px 1px;
}

.lang-switch {
  align-self: flex-end;
}
