/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #436a7b;
  background-image: url('../images/bg_diamond.png');
	background-position: top;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #71E1FF;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #f1e3c9;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #EF3D50;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}


/* iPod Stuff? */

@font-face {
  font-family: "myriad";
  src: url("https://files.catbox.moe/s0igcb.OTF");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s;
  list-style: none;
}

.ipod {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  transform-style: preserve-3d;
  font-family: "myriad";
  background: #ececec;
  width: 240px;
  height: 360px;
  border-radius: 20px;
  position: relative;
  box-shadow: inset 5px 0px 15px 10px #00000090;
}

.ipod .screen {
  background: #fff;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translate(-50%, 0);
  width: 200px;
  height: 160px;
  border-radius: 8px;
  border: 2px solid #aaa;
  box-shadow: inset 0 0 0px 2px #222;
}

.ipod .controls {
  background: #fff;
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 0);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 0.5px solid #ccc;
  box-shadow: inset 0px 0px 5px 1px #00000050;
}

.ipod .controls:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ececec;
  box-shadow: inset 24px 24px 48px #c6c6c6, inset -24px -24px 48px #ffffff;
  border: 0.5px solid #ccc;
}

.ipod .controls .fa-fast-backward {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translate(0, -50%);
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
}

.ipod .controls .fa-fast-backward:active {
  color: #888;
}

.ipod .controls .fa-fast-forward {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
}

.ipod .controls .fa-fast-forward:active {
  color: #888;
}

.ipod .controls .menu {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%, 0);
  color: #aaa;
  font-size: 0.9em;
  font-weight: 700;
  border: 0;
  outline: 0;
  background: none;
  cursor: default; /* Keeps the menu button but disables interaction */
}

.ipod .controls .menu:active {
  color: #888;
}

.ipod .controls .play-pause-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  border: 0;
  outline: 0;
  background: none;
  color: #aaa;
  font-size: 1em;
  cursor: pointer;
}

.ipod .controls .play-pause-btn:active {
  color: #888;
}

.ipod .screen .music {
  padding: 15px;
  display: flex;
  gap: 15px;
}

.ipod .screen .music img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  -webkit-box-reflect: below 2px
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.09));
}

.ipod .screen .music .podcontent .name {
  font-size: 0.95em;
}

.ipod .screen .music .podcontent .singer {
  font-size: 0.55em;
  font-family: "myriad";
}

.ipod .screen .music .podcontent .date {
  font-size: 0.85em;
  font-weight: 700;
}

.ipod .screen .bar-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.85em;
  width: 100%;
  position: absolute;
  bottom: 30px;
}

.ipod .screen .bar-box .bar {
  width: 80px;
  height: 10px;
  font-family: "myriad";
  border: 1px solid #aaa;
}

.ipod .screen .bar-box .bar .progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #f2f6f8 0%,
    #d8e1e7 50%,
    #b5c6d0 51%,
    #e0eff9 100%
  );
}