:root {
    --st-pink: #BD53FF;
    --st-green: #53FF92;
  }

@font-face {
    font-family: 'Title';
    src: url('../fonts/Barriecito-Regular.ttf')  format('truetype');
}

@font-face {
    font-family: 'Main';
    src: url('../fonts/OpenSans-Light.ttf')  format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Main';
    src: url('../fonts/OpenSans-LightItalic.ttf')  format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Main';
    src: url('../fonts/OpenSans-Bold.ttf')  format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Main';
    src: url('../fonts/OpenSans-BoldItalic.ttf')  format('truetype');
    font-weight: bold;
    font-style: italic;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

html, body {
    min-height: 100%;
    margin: 0;
}

body {
    background: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: url('../background_day.jpg');
    color: #fff;
    margin: 0;
    font-family: 'Main', sans-serif;
    font-size: 130%;
}
body.nightMode {
    background-image: url('../background_night.jpg');
}

h1, h2, h3 {
    font-family: 'Title', cursive;
    text-transform: uppercase;
    color: var(--st-green);
}

h1 {
    font-size: 350%;
    line-height: 150%;
  }
  h2 {
    font-size: 250%;
    line-height: 150%;
  }
  @media only screen and (max-width: 600px) {
    h1 {
      font-size: 250%;
      line-height: 125%;
    }
    h2 {
      font-size: 200%;
      line-height: 100%;
    }
  }
  
  .text-shadow {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 1),
                  0 0 3rem rgba(0, 0, 0, 0.5);
  }
  h1.text-shadow {
    text-shadow: 5px 5px 0px rgba(0, 0, 0, 1),
                  0 0 5rem rgba(0, 0, 0, 0.5);
  }

a {
    color: #fff;
    text-decoration: orange underline;
}

a:hover {
    color: orange;
    text-decoration: none;
}

p.projectClaim {
    font-family: 'Title';
    font-size: 1.6rem;
    letter-spacing: 0.05rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 2rem 0;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999;
}

.audioControl {
    display: inline-block;
    position: absolute;
    left: 1rem;
    top: 1rem;
    cursor: pointer;
    font-size: 130%;
}
.audioControl i {
    text-shadow: 2px 2px 0 #000;
}
.audioControl i:hover {
    color: orange;
}

.town {
    display: inline-block;
    position: relative;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.town img {
    min-height: 5rem;
    max-width: 100%;
}

.town .text {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 2px 2px 0px #000;
    font-size: 1.5rem;
}

.panel {
    padding: 1.5rem 2rem;
    border-radius: 0.25vw;
    background: rgba(29, 85, 83, 0.65);
}

.panel.fullHeight {
    height: 100%;
}