/*! some original values are commented out just to see how it was
or to quickly set back the previous style.

change or add color variables in a :root selector, please.

any questions? -> github.com/nicesoul
*/

:root {
  --color-yellow: #f1dd7f;
  --color-orange: #e7ae44;
  --color-blue: #2fbed0;
  --color-green: #2fd096;
  --color-violet: #7173f8;

  --color-primary: #69d1d8;
  --color-background: #f4f5fa;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin: 0;
  text-align: center;
  background-color: #f4f5fa;
}

a {
  color: white;
  font-size: 20px;
  max-width: 400px;
  /*line-height: 1.2;*/
  font-weight: 400;
}

@media screen and (max-width: 400px) {
  a {
    font-size: 16px;
  }
}

p,
h1,
h2,
h3 {
  color: #333;
}

p {
  font-size: calc(16px + 0.3vw);
}

hr {
  border: none;
  height: 2px;
  background-color: var(--color-primary);
}

#title {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #69d1d8;
  padding: 10px 0;
}

#title-container>a {
  font-size: 22px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

#title-container>a:hover,
#title-container>a:focus {
  text-decoration: underline;
  opacity: 0.8;
}

#title-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: auto;
  height: 33px;
}

#description {
  padding-top: 10px;
   background-color: white;
   border-bottom: 3px solid #ebebeb;
   margin-bottom: 10px;
   /*border-bottom: 2px solid var(--color-primary) */
}

#description-container {
  margin: 10px auto;
   padding: 8px;
   max-width: 400px;
   /*width: 100%;*/
  /* overflow: hidden; */
  /* transition-duration: 0.5s; */
  /* font-style: italic; */
}
.italic {
    font-style: italic;
    font-weight: 200;
}

/* === end discussion === */

.buttons-container {
  margin: 20px auto;
  max-width: 600px;
}

.link {
  margin: 10px;
  display: inline-block;
  width: calc(100% - 16px);
  padding: 6px 0;
  border-radius: 4px;
  cursor: pointer;
  transition-duration: 0.2s;
  text-decoration: none;
}

.link:hover,
.link:focus {
  opacity: 0.6;
}

.link:nth-of-type(1) {
  background-color: var(--color-orange);
}

.link:nth-of-type(2) {
  background-color: var(--color-blue);
}

.link:nth-of-type(3) {
  background-color: var(--color-green);
}

.link:nth-of-type(4) {
  background-color: var(--color-violet);
}

#map-title {
  width: 100%;
  padding: 10px;
  /* color: #2fbed0; */
}

#map-container {
  height: min(900px, 90vh);
  width: min(1600px, 90vw);
  margin: 0 auto;
}

#map {
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
}

/* Language */

.language-hidden {
  display: none;
}

#language-button {
  position: absolute;
  top: 0;
  left: 12px;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  /*border-radius: 50%;*/
  overflow: hidden;
  transition-duration: 0.2s;
  width: 28px;
  margin-top: 2px;
  padding: 0;
}

#language-button:hover {
  opacity: 0.5;
}

/* Footer */
footer {
  background-color: white;
  width: 100%;
  padding: 5px;
  border-top: 3px solid #ebebeb;
  font-size: 14px;
  margin-top: 20px;
}

#footer-container {
  margin: auto;
  max-width: 900px;
  padding: 10px;
}
