/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

html {
  margin: 0;
  height: 100%;
  cursor: url(/cursor.png), auto;
  overflow-x: hidden;
}

body {
  background-color: rgb(0, 0, 0);
  background-image: url(/background.png);
  background-size: 100px;
  color: rgb(255, 255, 255);
  overflow-x: hidden;
}

a {
  color: rgb(0, 255, 255);
}

h1 {
  margin: 0;
}

h2 {
  margin: 0;
}

.container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-top: 10px;
  gap: 10px;
}

.box {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-style: dotted;
  border-width: 1px;
  border-color: rgb(0, 0, 255);
  background-color: rgb(0, 0, 51);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;

  @media (min-width: 650px) {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.green-font {
  color: rgb(0, 255, 0);
}

.hide-at-500 {
  @media (max-width: 500px) {
    display: none;
  }
}

.show-at-500 {
  display: block;

  @media (min-width: 500px) {
    display: none;
  }
}

.lightning-divider {
  height: 18px;
  margin-bottom: -4px;

  @media (max-width: 425px) {
    width: 100%;
  }
}


/*
* --------------------------------------------------
* header
* --------------------------------------------------
*/

.header-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;

  @media (max-width: 650px) {
    padding-right: 30px;
    padding-left: 30px;
  }

  @media (max-width: 500px) {
    flex-direction: column;
  }
}

/*
* --------------------------------------------------
* visitor counter
* --------------------------------------------------
*/

.visitor-counter-container {
  display: flex;
  align-items: center;
  gap: 7px;
}

.visitor-counter {
  display: flex;
  align-items: center;
  gap: 5px;
}

.visitor-counter-number {
  font-family: "Courier New";
  color: rgb(0, 255, 0);
  background-color: black;
  padding-left: 2px;
  padding-right: 2px;
  border-color: grey;
  border-width: 1px;
  border-style: solid;
}

/*
* --------------------------------------------------
* sapphire medallion
* --------------------------------------------------
*/

.sapphire-medallion-container {
  position: relative;
}

.sapphire-medallion-sparkles {
  width: 50%;
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 30%;
}

.sapphire-medallion {
  width: 100%;
}

/*
* --------------------------------------------------
* deck list
* --------------------------------------------------
*/

.deck-list-container {
  display: flex;
  flex-direction: column;
  padding: 1px;
  gap: 1px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(150, 150, 150);
  width: 366px;

  @media (max-width: 860px) {
    width: 100%;
  }
}

.deck-list-header {
  background-color: red;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(150, 150, 150);
  padding: 3px;
}

.deck-list-columns {
  display: flex;
  flex-direction: row;
  gap: 1px;
}

.deck-list-column {
  border-style: solid;
  border-width: 1px;
  border-color: rgb(150, 150, 150);
  padding: 3px;
  width: 175px;

  @media (max-width: 430px) {
    width: 100%;
  }
}

/*
* --------------------------------------------------
* home
* --------------------------------------------------
*/

.home-button-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-box-grid {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  gap: 10px;

  @media (min-width: 1040px) {
    align-items: stretch;
    flex-direction: row;
  }
}

.home-content-grid {
  display: flex;
  flex-direction: column;
  gap: 0px;

  @media (min-width: 650px) {
    align-items: top;
    flex-direction: row;
    gap: 10px;
  }
}

.home-tournaments-block {
  padding-right: 0;

  @media (min-width: 700px) {
    padding-right: 30px;
  }
}

.home-upcoming-set-summary {
  font-style: italic;

  @media (min-width: 650px) {
    width: 300px;
  }
}

.home-tournaments-gif-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0px;
  margin-bottom: -2px;

  @media (max-width: 650px) {
    display: none;
  }
}

.home-top-hr {
  display: none;

  @media (min-width: 650px) {
    display: block;
  }
}

.home-articles-container {
  padding-right: 0;

  @media (min-width: 700px) {
    padding-right: 30px;
  }
}

.home-single-article-container {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  overflow: hidden;
}

.home-article-author {
  padding-left: 5px;

  @media (max-width: 500px) {
    display: none;
  }
}

/*
* --------------------------------------------------
* tournaments - show
* --------------------------------------------------
*/

.tournament-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tournament-deck-list-image-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;

  @media (max-width: 860px) {
    flex-direction: column;
  }
}

.tournament-image-link {
  display: block;
  width: 366px;
  font-size: 0;

  @media (max-width: 425px) {
    width: 100%;
  }
}

.tournament-image {
  width: 100%;
  height: 100%;
  object-fit: cover;

  @media (max-width: 425px) {
    height: 100%;
    width: 100%;
  }
}

.tournament-deck-list-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tournament-report-title-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 10px;
}

.tournament-report-title-container img {
  height: 85px;

  @media (max-width: 425px) {
    display: none;
  }
}

.tournament-report-title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.tournament-report-title h2 {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}

.tournament-report-title h3 {
  margin-top: 5px;
  margin-bottom: 0;
  text-align: center;
  color: red;
}

.tournament-report {
  max-width: 758px;
  column-count: 2;
  column-gap: 16px;

  @media (max-width: 860px) {
    max-width: 370px;
    column-count: 1;
  }

  @media (max-width: 425px) {
    width: 100%;
  }
}

.tournament-report p {
  font-size: 16px;
  line-height: 18px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.tournament-report h2 {
  line-height: 36px;
}

.tournament-report-image-callout {
  font-style: italic;
  text-align: center;
}

.tournament-report-burn-divider {
  height: 36px;
  width: 100%;
  margin-bottom: -4px;
}

.tournament-report-wizard-divider {
  height: 18px;
  width: 360px;
  margin-bottom: -4px;

  @media (max-width: 425px) {
    width: 100%;
  }
}

.tournament-report-sword {
  height: 90px;
  margin: 0;
  margin-bottom: -4px;

  @media (max-width: 425px) {
    height: 100%;
    width: 100%;
  }
}

.tournament-report-verdant-force-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 310px;

  @media (max-width: 400px) {
    flex-direction: column;
    align-items: baseline;
    width: 100%;
    gap: 18px;
  }
}

/*
* --------------------------------------------------
* tournaments - index
* --------------------------------------------------
*/

.tournaments-index-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
