/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
body{
  /*background: #fff2af;*/
  /*background-image: url("../img/map-background.jpg");*/
  /*background-repeat: no-repeat;*/
  /*background-size: contain;*/
  /*color: #222;*/
  /*font-size: 1em;*/
  width: 100vw;
  height: 100vh;
}
.info-icon-rest{
  position: absolute;
  top: 36px;
  left: 42px;
  width: fit-content;
  color: #555555;

}
.info-content-rest {
  position: absolute;
  top: 36px;
  left: 0;
  width: 25vw;
  height: fit-content;
  background: whitesmoke;
  color: black;
  text-align: left;
  padding: 12px;
  z-index: 99;
}

.hidden{
  display:none;
}
.dont-refresh{
  position: absolute;
  top: 22px;
  right: 42px;
  width: fit-content;
  color: #555555;
}
.intro{
  display: inline-block;
}
.intro p {
  display: inline;
}
.trade p {
  display: inline;
}
.upgrade-ship {
  margin: 50px;
}
.upgrade-ship p {
  display: inline;
}
.top-bank-section {
  margin: 30px;
}
.top-bank-section p {
  display: inline;
}
.pirate-info {
  display: inline;
  margin: 30px;
}

.row{
  display: flex;
  width: 100%;
}
.one-column{
  width: 100%;
  text-align: center;

}
.two-column{
  width: 50%;
  display: inline-block;
  text-align: center;
}
button{
  margin: 3px 3px 3px 9px !important;
}
input{
  width: 5em;
  margin: auto 3px;
}
.start{
  margin-top: 200px;
  text-align: center;
}
.menu{
  margin: 50px;
}
.trade {
  margin-top: 50px;
  text-align: center;

}
.rest {
  margin-top: 100px;
  text-align: center;

}
.travel, .bank, .shipyard, .pirates {
  margin-top: 50px;
  text-align: center;
}
  /*display: none;*/
html {
  background: #fff2af;
  background-image: url("../img/map-background.jpg");
  background-repeat: no-repeat;
  /*background-size: contain;*/
  background-size: 100vw 100vh;
  color: #222;
  font-size: 1em;
  /*line-height: 1.4;*/
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

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

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

