@import "shrine.css";

body {
  background-color: black;
  background-image: url("../image/bg_boards.gif");
  background-size: 100%;
  background-attachment: fixed;
  font-family: sans-serif;
}

.container {
  text-align: center;
  background-color: orange;
  border: 3px rgb(211, 116, 0) solid;
  background-image: url("../image/bg_orange.gif");
  padding: 10px;
  border-radius: 50px;
}

p > a,
h2,
h1,
h3 {
  font-family: "CCSmash";
}

h2 {
  color: rgb(49, 36, 3);
  text-shadow: 2px 2px goldenrod;
  letter-spacing: 1px;
}

h2 + div.desc {
  border-top: 1px transparent solid;
}

h3 {
  text-shadow: 2px 2px rgba(1, 1, 1, 0.2);
  letter-spacing: 1px;
  text-align: center;
}
h1 {
  /* colour */
  color: white;
  /* stroke */
  text-shadow: 4px 4px black;
  -webkit-text-stroke-color: black;
  -webkit-text-stroke-width: 2px;
  font-size: 4em;
  margin: auto;
  width: 300px;
}

ul {
  padding: 0px;
  text-align: center;
  font-family: CCSmash;
}
nav li {
  display: inline;
  padding: 10px;
  font-size: 20px;
}

a {
  color: darkred;
  text-decoration: none;
}

a:hover {
  color: yellow;
}

.desc a {
  color: darkgreen;
}

.desc a:hover {
  color: green;
}

/* chip's width and length */
.chip {
  width: 22px;
  height: 22px;
}

/* floating animation */
.float {
  margin: auto;
  animation-name: float;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  position: relative;
}

@keyframes float {
  0% {
    top: -2px;
  }
  50% {
    top: 2px;
  }
  100% {
    top: -2px;
  }
}

/* custom chip showcase */
.display {
  height: 250px;
  background-color: rgb(36, 179, 0);
  margin: auto;
  border-right: 2px green solid;
  border-left: 2px green solid;
}

.display img {
  height: 100%;
}

article {
  width: 700px;
  margin: auto;
  padding-top: 10px;
}

.header {
  margin: 0px;
  padding: 5px;
  display: flex;
  align-items: center;
  background-color: gold;
  border: 2px rgb(161, 123, 25) solid;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding-left: 10px;
}

.desc {
  padding: 10px;
  padding-top: 0px;
  text-align: left;
  border: 2px green solid;
  background-color: rgb(133, 218, 49);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

@media (max-width: 768px) {
  body {
    background-image: none;
  }
  article,
  .container {
    width: auto;
    margin: 0px;
  }
}

/* CCSmash font */
@font-face {
  font-family: "CCSmash";
  src: url("./font/CCSmash.woff2") format("woff2"),
    url("./font/CCSmash.woff") format("woff");
}
