@font-face {
  font-family: "oi";
  src: url("/fonts/climate-crysis.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #ffe1a7;
  --mg: #ffaaaa;
  --fg: #ff4444;
  --light: white;
  --dark: black;
}

* {
  margin: 0;
  font-family: "oi";
  font-size: 16pt;
}

html {
  height: 100%;
  display: flex;
  justify-content: center;
}

body {
  line-height: 1;
  min-height: 100%;
  width: 480pt;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vertical {
  background: white;
  padding: 32pt;
  border-radius: 32pt;
}
.upper,
.lower {
  flex: 1;
}

.upper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header {
  width: 100%;
  /* background-color: var(--bg); */
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--fg);
}

h1 {
  width: 100%;
  height: 32pt;
  color: var(--fg);
  font-size: 32pt;
  line-height: 32pt;
  text-align: center;
  margin-bottom: 16pt;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.menu a {
  text-decoration: none;
  color: var(--fg);
  font-weight: bold;
  width: 100%;
  text-align: center;
  padding: 6pt;
}

.menu a:hover {
  background: var(--fg);
  color: white;
  outline: none;
}

.links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 16pt;
}

.links a {
  text-decoration: none;
  color: white;
  background: var(--fg);
  font-weight: bold;
  height: 24pt;
  width: 24pt;
  line-height: 24pt;
  border-radius: 12pt;
  text-align: center;
  padding: 6pt;
}

.links a:hover {
  background: var(--mg);
  color: var(--bg);
  outline: none;
}

.links #avito {
  background: #00aaff;
}

.links #telegram {
  background: #0088cc;
}

.links #pinterest {
  background: #e60023;
}

footer {
  width: 100%;
  margin-top: 24pt;
  display: flex;
  /* flex-direction: column; */
  gap: 24pt;
}

footer a {
  display: block;
  width: 100%;
  outline-style: solid;
  outline-offset: -2pt;
  outline-width: 2pt;
  box-sizing: border-box;
  text-wrap: nowrap;
  overflow: hidden;
}

@media screen and (orientation: portrait) {
  /* header {
      margin-top: 20pt;
    }
    
    p {
      width: 85%;
    }
    svg {
      margin-top: 20pt;
    } */

  svg {
    display: none;
  }

  #quote,
  #source {
    width: 85%;
  }
}

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