@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono|Noto+Serif|Amatic+SC&display=swap');
/*
   Table Times Tabletop Style Sheet
   Author: Koh Heng Woon
   Date:   7 May 2019
   
   Filename: Styles.css

*/

/* HTML and Body Styles */

html{ /*Cool stuff in the background*/
    background-color: #ffdf5d;
    background-image: url("../images/dice.png");
    background-repeat: repeat;
    min-width: 420px;
}
body{
    color: #3a0201;
    margin: auto;
}
#mainstuff{
    max-width: 1200px; 
    background-color: rgba(255, 255, 255, 0.6);/*Slightly transparent white bg*/
}

/*Header styles*/
#top{
    background-color: #fe9900;
    color: #ffffff;
    -webkit-text-stroke: 0.5px #ffffff;
    font-family: 'IBM Plex Mono', monospace;
}

#top > button{
    background-color: #ffffff;
}

#top .active, #top .active a:link, #top .active a:visited{
    background-color: #ffc46c;
    color: #ffffff;
}

#top > h1{ 
    font-family: Papyrus, 'Amatic SC', serif;
    font-size: 2em;
    padding: 0 0 0 0;
}

#top a:link, #top a:visited{
    font-family: 'Comic Sans MS', 'IBM Plex Mono', sans-serif;
    text-decoration: none;
    color: #ffffff;
}

nav#top a:hover, nav#top a:focus{
    background-color: #ffdf5d;
    text-decoration: underline;
}

/* Navigation (Main) Styles */
#side {
    background-color: #fffae9;
    border: 2px solid #fe9900;
    font-family: 'Comic Sans MS','IBM Plex Mono', sans-serif;
    font-size: 1.17em;
    line-height: 1.5em;
    border-radius: 5px;
    margin: 0.8em;
    padding: 10px;
    position: sticky;
    top: 30px;
}

#searchbutton{
    display: inline-block;
    color: #fe9900;
    background-color: #ffffff;
    border: 1.7px solid #fe9900;
    border-radius: 20px;
    cursor: pointer;
}
#searchbutton:hover{
    color: #ffce00;
    border-color: #ffce00;
}
#searchbar{
    margin: 0 10px 0 0;
}
#side > ul{
    margin: 7px 0 0 0;
}
ul.flex-column > h2{
    font-family: Papyrus, 'Amatic SC',  serif;
    font-size: 1.2em;
    text-decoration: underline;
    margin: 5px 0 0 0;
}
.dropdown-divider{
    border-color: #fe9900;
}
#side a:link, #side a:visited{
    text-decoration: none;
    color: #fe9900;
}
#side a:hover, #side a:focus{
    color: #ffc46c;
    text-decoration: underline;
}

/*About popup*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 2px solid #fe9900;
  width: 80%; /* Could be more or less, depending on screen size */
}

.modal-content>img{
    margin: auto;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*About page*/
.FAQ > h3{
    color: #fe9900;
    font-family: 'IBM Plex Mono', monospace;
}

th{
    background-color: #fe9900;
    color: #fefefe;
}

/* Blog Posts Styles */
article { /* Boxes on the right column of the page */
    color: #3a0201;
    background-color: #fffae9;
    border: 2px solid #fe9900;
    font-family: 'Noto Serif', serif;
    border-radius: 20px; /*Rounds the corners*/
}
article> h2, .article>h2{
    color: #fe9900;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.5em;
    font-weight: 9000;
    padding-bottom: 5px;
}

.cover{
    border-radius: 7px;
    border-width: 10px;
    border: 2px solid #fe9900;
}

.postcontent{
    color: #382322;
    background-color: #fff4c6;
    box-shadow: 0 2px 8px 0 rgba(116, 107, 59, 0.6);
    padding: 5px;
    margin-top: 10px;
    line-height: 1.6;
}

.post{
    padding: 14px;
    margin: 0.5em;
    line-height: 1.4em;
}

article.post a:link{
    color: #fe9900;
    text-decoration: none;
}
article.post a:visited{
    color: #fe9900;
    text-decoration: none;
}
article.post a:hover, article.post a:focus{
    color: #ffce00;
    text-decoration: underline;
}

/* Contact */
#contentstart > .container h2{
    color: #fe9900;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.5em;
    font-weight: 9000;
    padding-bottom: 5px;
}

.contactbox{
    color: #3a0201;
    background-color: #fff7d7;
    font-family: 'IBM Plex Mono', monospace;
    text-decoration: bold;
    margin: 10px 0 10px 0;
}

.contactbox>h2{
    color: #fe9900;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2em;
    line-height: 1.5em;
}

input[type=text], input[type=email], select, textarea { /*Text input boxes*/
    color: #3a0201;
    width: 90%;
    padding: 7px 20px;
    margin: 4px 10px 4px 10px;
    display: inline-block;
    border: 1px solid #ffce00;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

#additionalinfo{
    width: 95%;
}

input[type=checkbox], input[type = radio] { 
    font-family: 'IBM Plex Mono', monospace;
    margin: 0px;
    width: 15px;
}

input[type=checkbox], input[type=radio]{
    height: 20px;
    width: 20px;
    margin: 5px;
}

#choice1{
    left:50%;
}

input[type=submit] { /*Submit button*/
    width: 100%;
    background-color: #fe9900;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

input[type=submit]:hover {
    background-color: #ffce00;
}

.contactfield{
    background-color: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(116, 107, 59, 0.6);
    padding: 7px;
    margin: 7px 0 5px 0;
}

.postcontent#results{
    font-family: 'Noto Serif', serif;
    line-height: 1.7em;
}

/* Footer Styles */
footer{
    background-color:#fe9900;
    background-image: url("../images/table.png");
    background-size: 100% 40%;
    background-position: bottom center;
    background-repeat: no-repeat;
    color: #ffffff
}

#leftfoot, #rightfoot{
    background-color: rgb(255,247,215, 0.4);
    border-radius: 10px;
    margin: 10px 10px 25px 10px;
    padding: 10px;
    line-height: 1.5em;
}

nav.foot {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5em;
    margin-bottom: 20px;
}

nav.foot a:link{
    text-decoration: none;
    color: #ffffff;
}
nav.foot a:visited{
    color: #ffffff;
}
nav.foot a:hover, nav.left a:focus{
    color: #ffffff;
    text-decoration: underline;
}