:root
{
  height: 100%;
  font-family: 'StormTypeRegula', 'Garamond', 'EBGaramond', 'UrzaGaramond', 'Baskerville Old Face', 'Baskerville', 'Hoefler Text', 'Bookman Old Style', 'Georgia', serif;
}

body
{
  min-height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

a
{
  text-decoration: none;
  color: inherit;
}

a:hover + div.description
{
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
}

body>header
{
  display: none;
}

body>main
{
  position: relative;
  width: 1000px;
  height: 768px;
  margin-left: auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  padding-left: 0px;
  padding-top: 2px;
  padding-right: 0px;
  padding-bottom: 0px;
}

#freeHaven
{
  width: 100%;
  margin-left: auto;
  margin-top: 269px;
  margin-right: auto;
  margin-bottom: 0px;
  text-align: center;
  font-size: 28px;
}

#freeHaven .menuItem
{
  font-family: 'Hind';
  font-size: 16px;
}

#urzacz
{
  position: absolute;
  width: 128px;
  height: 115px;
  left: 50%;
  top: 576px;
  margin-left: -64px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}

#starsun
{
  display: block;
  position: absolute;
  width: 17px;
  height: 16px;
  top: 22px;
  right: 0px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#starsun:hover img:first-child
{
  display: none;
}

#starsun:hover img:last-child
{
  display: inline-block;
}

#star
{
  display: block;
  position: absolute;
  width: 17px;
  height: 16px;
  top: 22px;
  right: 69px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#star:hover img:first-child
{
  display: none;
}

#star:hover img:last-child
{
  display: inline-block;
}

#sun
{
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 22px;
  right: 33px;
  padding-left: 8px;
  padding-top: 0px;
  padding-right: 8px;
  padding-bottom: 0px;
}

#sun:hover img:first-child
{
  display: none;
}

#sun:hover img:last-child
{
  display: inline-block;
}

.description
{
  position: absolute;
  width: 256px;
  left: 16px;
  top: 604px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  text-align: left;
  font-family: 'Hind';
  font-size: 14px;
}

.hidden
{
  display: none;
}

.arrowable
{
  position: relative;
  margin-left: 32px;
  margin-top: 0px;
  margin-right: 32px;
  margin-bottom: 0px;
}

.arrowed::before
{
  display: block;
  position: absolute;
  left: -42px;
  top: -2px;
  bottom: 0px;
  width: 27px;
  background-position: center;
  background-repeat: no-repeat;
  content: '';
}

.arrowed::after
{
  display: block;
  position: absolute;
  right: -42px;
  top: -2px;
  bottom: 0px;
  width: 27px;
  background-position: center;
  background-repeat: no-repeat;
  content: '';
}


@media only screen and (max-width: 999px)
{
  body
  {
    min-width: 256px;
    padding: 16px;
    background: none;
    width: auto;
    line-height: 1.5;
    max-width: 969px;
  }

  a
  {
    display: inline-block;
    text-decoration: underline;
  }

  body>main
  {
    width: auto;
    height: auto;
    max-width: 550px;
    margin-left: auto;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    padding-bottom: 32px;
  }
  
  #urzacz
  {
    display: block;
    position: static;
    width: 128px;
    height: 115px;
    left: 0px;
    top: 0px;
    margin-left: auto;
    margin-top: 16px;
    margin-right: auto;
    margin-bottom: 0px;
  }
  
  #urzacz img
  {
    width: 128px;
    height: 115px;
    left: 0px;
    top: 0px;
  }

  #urzacz + .description
  {
    display: none;
  }
  
  #freeHaven
  {
    margin-left: 0px;
    margin-top: 32px;
    margin-right: 0px;
    margin-bottom: 0px;
    text-align: left;
    font-size: 32px;
  }

  #themes
  {
    position: absolute;
    right: 0;
    top: -8px;
  }

  #themes .description
  {
    display: none;
  }

  #themes a
  {
    display: inline-block;
  }

  #sun
  {
    display: inline-block;
    position: static;
  }

  #star
  {
    display: inline-block;
    position: static;
  }

  #starsun
  {
	  position: static;
	  display: inline-block;
  }
  
  .menuItem a
  {
    margin-top: 16px;
    font-family: 'StormTypeRegula', 'Garamond', 'EBGaramond', 'UrzaGaramond', 'Baskerville Old Face', 'Baskerville', 'Hoefler Text', 'Bookman Old Style', 'Georgia', serif !important;
    font-size: 24px;
  }

  .description
  {
    position: static;
    opacity: 1;
    width: auto;
    text-align: left;
    font-family: 'StormTypeRegula', 'Garamond', 'EBGaramond', 'UrzaGaramond', 'Baskerville Old Face', 'Baskerville', 'Hoefler Text', 'Bookman Old Style', 'Georgia', serif !important;
  }

  .arrowable
  {
    margin: 0px;
  }

  .arrowed::before
  {
    display: none !important;
    width: 0px !important;
  }

  .arrowed::after
  {
    display: none !important;
    width: 0px !important;
  }
}


@media only screen and (max-width: 400px)
{
  #freeHaven
  {
    font-size: 24px;
  }
  
  .menuItem a
  {
    font-size: 16px;
  }
}
