/* 
 * ==========================================================================
 * App styling | Yasmine
 * ---------------------
 * ==========================================================================
*/

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

html {
  box-sizing: border-box;
  font-size: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Arial", Helvetica, sans-serif;
  font-size: 16px;
  background-color: #f0eace;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
  padding: 20px
}

h1,
h2,
h3 {
  font-weight: bold;
}

.logo,
.header,
.footer {
  position: relative;
  z-index: 1;
}

html,
body,
.header,
.logo,
.footer {
  width: 100%;
}

.header {
  background-color: #16250ccf;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;

  padding: 0 20px;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  flex: 1;
  opacity: 0;

  transition: opacity 1500ms ease;
}

.header:before {
  content: " ";
  background: linear-gradient(
    to bottom,
    #4e6d2500 -25%,
    #16250ccf 50%,
    rgba(1, 1, 1, 0.9) 100%
  );
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.brand {
  position: relative;
}

.logo {
  height: auto;
  max-width: 100%;
}

.logo-type {
  fill: #f0eace;
}

.logo-text {
  fill: #9b8579;
}

.logo-element.top {
  fill: #fefbe7;
}

.logo-element.center {
  fill: #f0eace;
}

.logo-element.bottom {
  fill: #80aa63;
}

.logo-type {
  animation: anim-appear 2s linear alternate both 0s, anim-scale 2s linear running both 0s;
  transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-text {
  animation: anim-appear 3s linear alternate both 2s;
}

.logo-elements {
  animation: anim-appear 1s linear alternate both 2s, anim-scale 2s linear running both 2s;
}

.logo-element.top {
  animation: anim-scale 3s linear alternate both 1s;
}

.logo-element.center {
  animation: anim-scale 2s linear alternate both 1s;
}

.logo-element.bottom {
  animation: anim-scale 1s linear alternate both 1s;
}

.logo-type,
.logo-text,
.logo-elements,
.logo-element,
.menu-link {
  transform-origin: center center;
}

.logo-type,
.logo-text,
.logo-elements,
.logo-element.top,
.logo-element.center,
.logo-element.bottom,
.menu-link {
  will-change: transform, opacity;
}

.menu-link {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 9999;
  display: block;
  background: snow;
  border-radius: 100%;
  padding: 0;
  margin: 0;
  animation: anim-appear 3s linear alternate both 2s;
  transition: fill 500ms cubic-bezier(0.68, 0.55, 0.265, -1.55);
}

.menu-link:hover .icon-svg svg {
  fill: black;
  transition: fill 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-link .icon-svg svg {
  width: 64px;
  height: 64px;
  fill: brown;
}

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  backface-visibility: hidden;
  transform-origin: center bottom;
  animation: anim-reveal 1s linear alternate both 4s;
  transition: all 250ms ease;
  will-change: transform, opacity, max-height;
}

.footer a {
  font-size: 15px;
  text-decoration: none;
  color: inherit;
  display: flex;
  opacity: 0.8;
  transition: all 250ms ease;
  transform: scale(1.000);
  will-change: transform;
}

.footer a:hover {
  color: #80aa63;
  transform: scale(1.100);
}

.list {
  padding: 40px 20px 20px 20px;
  margin: 0;
  list-style: none;
  display: inherit;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
}

.list li {
  padding: 10px;
}

.icon {
  display: inherit;
}

.icon-svg svg {
  width: 16px;
  height: 16px;
}

.icon-svg svg.red {
  fill: firebrick;
}

.icon-svg svg.green {
  fill: #80aa63;
}

.icon-svg svg.grey {
  fill: #444444;
}

.icon-svg svg.black {
  fill: #222222;
}

.icon + span {
  margin-left: 5px;
}

.page {
  align-items: start;
}
.page h1 {
  text-transform: uppercase;
  font-size: 24px;
}
.page .icon {
  display: inline-block;
  vertical-align: middle;
}
.page p {
  width: 100%;
  font-size: 12px;
}
.page-error {
  background: #f0cece;
}
.page-offline {
  background: #d8cef0;
}

/* 
 * ==========================================================================
 * Media queries
 * -------------
 * ==========================================================================
*/

@media (min-width: 768px) {
  .list {
    flex-direction: row;
  }
  .icon+span {
    white-space: pre;
  }
}

@media screen and (min-width: 480px) {}
@media (orientation: landscape) {}
@media (min-aspect-ratio: 1/1) {}
@media (min-aspect-ratio: 2/1) {}

/* 
 * ==========================================================================
 * JS classes
 * ----------
 * ==========================================================================
*/

.no-js .header {
  opacity: 1;
}

.image-is-loaded .header {
  opacity: 1;
}

/* 
 * ==========================================================================
 * Animation keyframes
 * -------------------
 * ==========================================================================
*/

@keyframes anim-scale {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes anim-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes anim-reveal {
  from {
    max-height: 0%;
    transform: translate3d(0%, 100%, 0%);
    opacity: 0;
  }
  to {
    /* flex: inherit; */
    max-height: 100%;
    transform: translate3d(0%, 0%, 0%);
    opacity: 1;
  }
}

/* 
 * ==========================================================================
 * Normalize CSS v8.0.0 | MIT License | github.com/necolas/normalize.css
 * ---------------------------------------------------------------------
 * ==========================================================================
*/

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* 
 * ==========================================================================
 * Helper classes
 * --------------
 * ==========================================================================
*/

.hidden {
  display: none !important;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.visuallyhidden.focusable,
.visuallyhidden:active,
.visuallyhidden:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

.invisible {
  visibility: hidden;
}
