/* || General setup */

html, body {
  margin: 0;
  padding: 0;
  height: 100%; 
  position: relative
  
}

html {
  background-image: url("images/Background-Casino.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-color: rgba(174,48,97,1);
}

body {
  position: relative;
  width:61em;
  margin: auto;
}

/* || typography */

h1, h2, h3, h4 {
  font-family: "Atkinson-Hyperlegible-Regular-102";
  color: #ffeebe;
}

p, input, li, table {
  font-family: "Atkinson-Hyperlegible-Regular-102";
  color: #ffffde;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}

p, li {
  list-style-type: none;
  display: inline-block;
}

/* || header layout */

header {
  margin-bottom: 10px;
  display: flex;
  flex-flow: row wrap;
}

header, nav, section {
  background-color: rgba(174,48,97,0.75);
  padding: 1.5%;
}

hr {
  color: rgba(80,206,174,1);
}

h2 {
  font-size: 28px;
  line-height: 0;
  margin: 0px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 20px;
  line-height: 0;
  margin-bottom: 0px;
}

header img {
  display: block;
  height: 60px;
}

nav {
  height: 30px;
  display: flex;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
  border: ridge;
  border-color: rgba(80,206,174,1);
  border-radius: 5px;
}

nav a, nav span, nav p {
  display: flex;
  font-size: 1.5rem;
  line-height: 25px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fef8f7;
  margin: auto
}

.square2 {
  height: 1em;
  width: 30em;
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: outset;
  border-color: rgba(80,206,174,1);
  border-width: 5px;
  border-radius: 5px;
  margin: auto;
  align-items: center;
  justify-content: center;
  display: block;
}

.square2:hover {
  background: linear-gradient(to bottom right, #EE9D50, #FFBE2B);
  border-style: outset;
  border-color: rgba(255,190,64,1);
  display: block;
}

.square2:active {
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: inset;
  border-color: rgba(80,206,174,1);
  display: block;
}

.square3 {
  height: 1em;
  max-height: 2em;
  width: 9em;
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: outset;
  border-color: rgba(80,206,174,1);
  border-width: 5px;
  border-radius: 5px;
  position: relative;
  left: 1.5em;
  top: -1.4em;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #fef8f7;
  text-decoration: none;
  margin-top: 0.1em;
  margin: auto
}

.square3:hover {
  background: linear-gradient(to bottom right, #EE9D50, #FFBE2B);
  border-style: outset;
  border-color: rgba(255,190,64,1);
  display: flex;
  color: #fef8f7;
}

.square3:active {
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: inset;
  border-color: rgba(80,206,174,1);
  display: flex;
}

.square4 {
  height: 1.5em;
  width: 3em;
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: outset;
  border-color: #50CEAE;
  border-width: 5px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #fef8f7;
  text-decoration: none;
  margin:auto
}

.square4:hover {
  background: linear-gradient(to bottom right, #EE9D50, #FFBE2B);
  border-style: outset;
  border-color: #FFBE2B;
  display: flex;
  color: #fef8f7;
}

.square4:active {
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: inset;
  border-color: rgba(80,206,174,1);
  display: flex;
  color: #fef8f7;
}

.square5 {
  height: 1.5em;
  width: 4.5em;
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: outset;
  border-color: #50CEAE;
  border-width: 5px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #fef8f7;
  text-decoration: none;
  margin:auto
}

.square5:hover {
  background: linear-gradient(to bottom right, #EE9D50, #FFBE2B);
  border-style: outset;
  border-color: #FFBE2B;
  display: flex;
  color: #fef8f7;
}

.square5:active {
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: inset;
  border-color: rgba(80,206,174,1);
  display: flex;
  color: #fef8f7;
}

.square6 {
  height: 1.5em;
  width: 4.5em;
  background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
  border-style: outset;
  border-color: #50CEAE;
  border-width: 5px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #fef8f7;
  text-decoration: none;
  margin:auto
}

.title {
  background-color: rgba(174,48,97,0.75);
  position: relative;
      padding-left: 10px;
      padding-right: 10px;
  border-style: ridge;
  border-width: 3px;
  border-color: #50CEAE;
  z-index: 10;
  box-shadow: 0 4px 4px rgba(20, 0, 0, 0.2);
}

.title::before{
    content: attr(data-taskbar);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom right, #40BE9D, #50CEAE);
    color: #fef8f7;
    display: flex;
    justify-content: flex-start;
    padding-left: 10px;
    align-items: center;
    letter-spacing: 1px;
    border-bottom: 2px ridge #50CEAE;
    z-index: 10;
    box-sizing: border-box;
    box-shadow: 
    
        inset 0px -4px 0px #40BE9D, /* Taskbar (Internal) Shadow */
        inset -4px 0px 0px #40BE9D, /* Taskbar (Side) Shadow */
        inset 0px 4px 0px #50CEAE,   /* Taskbar Highlight */
        inset 4px 0px 0px #50CEAE;   /* Taskbar (Side) Highlight */
}


    .title {
      padding-bottom: 10px;
      padding-top: 30px;
      margin-left: 0;
      align-items:center;
      box-sizing: border-box;
      overflow:auto;
        font-size: 16px;
        font-family: "Atkinson-Hyperlegible-Regular-102"
    }

/* || main layout */

main {
  display: flex;
  padding: 1.5%;
  line-height: 1.5;
}

article {
 margin-top: -30px;
 padding: 1.5%;
}

article table {
  font-size: 18px;
  color: white;
  text-align: justify;
	border-radius: 3px;
	border: 3px ridge;
  border-color: rgba(80,206,174,1);
  background-color: rgba(174,48,97,0.8);
  text-justify: inter-word;
}

article table p {
  text-align: center;
  text-justify: distribute;
	margin-top: 12.5px;
}

article li {
	font-size: 18px;
	line-height: 2em;
	text-align: left;
	margin-top: 7.5px;
	margin-bottom: 7.5px;
	margin-right: 20px;
	
}

article ul {
	font-size: 18px;
	border-radius: 3px;
	border: 3px ridge;
  border-color: rgba(80,206,174,1);
	margin-top: 22px;
	margin-left: 5px;
	margin-bottom: 0px;
  background-color: rgba(174,48,97,0.8);
}

article p {
  font-size: 18px;
  text-align: justify;
  text-justify: inter-word;
}

article img{
  width: auto;
  max-width:220px;
  max-height:220px;
  background-color: rgba(32,0,48,0.85);
	height: auto;
	margin-top: 22px;
	border-radius: 3px;
	border: 3px ridge;
  border-color: rgba(80,206,174,1);
	padding: 1%;
	display: block
}

article p {
  font-size: 18px;
  margin-bottom: 0px;
  text-justify: distribute;
	margin-right: 10px;
	margin-left: 10px;
}

.Window {
  top: 20px;
  left: -150px;
  display: flex;
  line-height: 20px;
  width: 12.5%;
  font-size: 18px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  margin: 0
}

.Window img{
  min-width: 80%;
  max-width: 80%;
  display: flex;
  text-align: center;
  align-items: center;
  color: #da6e6e;
  margin: auto;
}

.Window tr, .Window td{
  height: 59px;
}

.Window2 {
  top: 20px;
  right: -150px;
  display: flex;
  line-height: 20px;
  width: 12.5%;
  font-size: 16px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  margin: 0
}

.Window2 img{
  min-width: 85%;
  max-width: 85%;
  display: flex;
  text-align: center;
  align-items: center;
  color: #da6e6e;
  margin: auto;
}

.Window2 tr, .Window2 td{
  height: 53px;
}

.right {
  display: flex;
  line-height: 20px;
  height: auto;
  width: 12%;
  margin-left: 10px;
  margin-bottom: auto;
  font-size: 16px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 1.1em
}

.TextBox {
  line-height: 2em;
  font-size: 18px;
  text-align: justify;
  background-color: rgba(174,48,97,1);
  text-justify: inter-word;
}

.TextBox p {
  margin-top: 12.5px;
  font-family: "Atkinson-Hyperlegible-Regular-102";
  color: #ffffde;
}

aside table {
  margin-bottom: auto;
}

aside table {
  display: flex;
  width: 30%;
  text-align: center;
  color: #fddee6;
  align-items: center;
  margin: auto;
  flex-direction: column;
  justify-content: space-between;
}

aside tr, aside td {
      display: flex;
      height: 4.05em;
      flex-direction: column;
      justify-content: space-between;
}

aside table a {
  display: flex;
  text-align: center;
  color: #fddee6;
  align-items: center;
  text-decoration: none
}

aside table a:hover {
  display: flex;
  text-align: center;
  align-items: center;
  color: #da6e6e;
}

aside table img {
  width: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  color: #da6e6e;
  margin: auto;
}

footer img {
  margin-top: -5px;
}