:root {
  --color-background: rgba(255,255,255,0.9);
  --color-hover: rgba(0,0,0,0.1);
  --color-accent: blue;

  --color-heading: #FFF;
  --color-text: #333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  font-weight: normal;
}

/** style global **/

body {
  min-height: 100vh;
  color: var(--color-text);

  background-image: url("/img/garden/back3.gif"),  url("/img/garden/back2.gif"), url("/img/garden/back.gif");
  background-attachment: scroll;
  background-position: top center, top center;
  background-repeat: no-repeat, repeat-y, repeat;
  background-color: #1d2c33;
  
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  font-size: 15px;
  line-height: 1.5;
  font-weight: normal;
  text-align: center;
  
  padding: 1rem;
}

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

a,
input {
  transition: background-color 0.2s, opacity 0.2s;
}

input:focus-visible,
a:focus-visible,
button:focus-visible {
  outline-style: dashed;
  outline-color: var(--color-accent);
  outline-offset: 1px;
  outline-width: 2px;
  box-shadow: none;
}

ul,
li {
  padding:0;
  margin:0;
  list-style-type: none;
}

h1,
h2 {
  text-align:center;
}

main {
  max-width: 1000px;
  margin: 0 auto;
}

/** Header **/

header {
  display:flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: auto;
}

header img {
  filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.6));
}

header a:hover img {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.9));
}

/** Featured Links handling **/

nav.featured {
  height: 31px;
  flex-grow: 1;
}

nav.featured ul {
  display:flex;
  justify-content: space-around;
  align-content: center;
}

nav.featured ul li {
  display: block;
}

h1 {
  color: var(--color-heading);
  font-weight: 200;
  font-size:3rem;
  text-shadow:0px 1px 1px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

main input {
  padding:0.66rem 1.5rem;
  border-radius:9999px;
  border:none;
  width:80%;
  max-width:640px;
  margin-bottom:1rem;
  background-color:var(--color-background);
  box-shadow:0px 2px 1px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  opacity:0.8;
}

main input:hover, main input:focus-visible {
  opacity: 1;
}

.moreLink {
  margin-top: 1.5rem;
}

.moreLink a {
  display:inline-block;
  padding: 0.33rem 1.33rem;
  margin:0rem 0.33rem;
  border-radius:9999px;
  background-color: var(--color-accent);
  color:white;
  box-shadow:0px 2px 1px rgba(0,0,0,0.3);
  margin-bottom:1rem;
  backdrop-filter: blur(6px);
  transition: transform 0.05s linear;
}

.moreLink a:hover,
.featured a:hover {
  transform: scale(1.1);
}

main form {
  margin-bottom: 2rem;
}

/** Columns Links handling **/

#portal {
  display:grid;
  grid-template-columns: auto 300px;
  grid-gap: 1rem;
}

.linklist {
  background-color:var(--color-background);
  box-shadow:0px 2px 1px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  border-radius:6px;
  padding:0.66rem;
  text-align:left;
  z-index: 1;
  margin-bottom: 1rem;
}

.linklist a {
  display:block;
  border-radius:3px;
  padding:0.11rem 0.33rem;
  width:100%;
}

strong {
  font-weight: bolder;
}

.linklist ul.vrac,
.linklist .vrac li {
  display:inline-block;

}

.linklist a:hover {
  background-color:var(--color-hover);
}

.emoji {
  padding-right: 0.45rem;
  text-shadow: 0px 1px 1px rgba(0,0,0,0.4);
}

footer img {
  margin: 6px;
}