:root {
  --color-1 : #74569b;
  --color-2 : #96fbc7;
  --color-3 : #f7ffae;
  --color-4 : #ffb3cb;
  --color-5 : #d8dbf8;
  

  --text-color : #4b4b4c;
  --text-font : 'ms ui gothic', sans-serif;
  --link-color : #28c072;
  --link-hover : #ec529f;
  --font-pink: #d85a9f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    scrollbar-color: var(--color-2) var(--color-1);
  scrollbar-width: thin;
}
a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
}
html {
  font-size: 16px;
}
body {
  font-family: var(--text-font);
  color: var(--text-color);
  background-image: url('img/site/bgstitches.gif');

  font-size: 17px;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  line-height: 25px;
}
.text-line-height {
  line-height: 20px;
}
h4 {
  font-size: 1.25rem;
  color: var(--font-pink);
  font-weight: 700;
}
/* Wrapper */
.wrapper {
  width: 55vw;
  height: 100%;
  max-height: max-content;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 1rem;
}

.container-main {
    background-color: white;
    background-image: url('img/site/dots.gif');
    height: 61vh;
    padding: 12px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 8px solid var(--color-3);
    box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
    
}

.contain-row {
  
  margin: 0 auto;
   display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
[class*=contain] {
    background-color: none;
}
.contain-sm{
 
    width: 10vw;
 
    height: 25vh;
}
.contain-m{
 
    width: 40vw;
    height: 25vh;
}
.contain-l {
  width: 100%;
  height: 80%;
;
}
[class*="box"] {
    background-color: white;
    border: 6px solid var(--color-2);
    box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
    padding: 20px;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
 
}
.box-side {
  padding: 2px;
  overflow-y: scroll;
  padding-top: 7px;
}
.box-main {
  overflow-y: scroll;
  height: 100%;
}

.box-blog {
  overflow-y: scroll;
  height: 100%;
}


.row {
  display: flex;
  flex-direction: row;
 
  gap: 10px;
}
.col {
  display: flex;
  flex-direction: column;
 
  gap: 10px;
 
}
.subheader {
  background-color: var(--color-4);
  border: 3px solid #e492bf;
  border-bottom: none;
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 3px 6px 0 rgba(0,0,0,0.11);
  font-size: 20px;
  font-weight: 800;
  color: floralwhite;
}
 .subheader-wing {
  margin: auto; 
  margin-left: 0; 
  margin-right: 10px;
  margin-right: 10px;
}
.header {
  background-color: white;
  height: 20vh;
  border: 6px solid var(--color-3);
  border-bottom: none;

  box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
}

.banner-img {
  background-image: url('img/site/starry.png');
  background-size: contain;
  background-position: center;
  width: 70%;
  height: 100%;
  background-size:  cover;
  background-position: center;
  border-right: 6px solid var(--color-3);
  display: inline-block;
}

.banner-text{
  float: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  height: 100%;
  padding: 20px;
 
}
.title {
  background-color: white;
  height: 65px;
  width: 400px;
  border: 6px solid var(--color-3);
  border-bottom: none;
  border-radius: 30px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
  padding: 5px;
 
    padding-left: 15px;
}

.title-text {
  color: var(--color-5);
	-webkit-text-stroke-width: 1.5px;
	-webkit-text-stroke-color: var(--color-1);
  font-size: 40px;
  font-weight: 300;
   text-transform: uppercase;
   cursor: pointer;
}

.gif-divider {
  display: block;
  width: 100%;
  height: 15px !important;
  background: url("img/site/heartsdivider.gif") repeat-x center;
  background-size: auto 100%;          
 margin-bottom: 20px;
   flex-shrink: 0;     /* fit height, repeat horizontally */
}
button {
      background-color: rgb(201, 201, 201);
  border-left: 3px solid #f0f0f0;
  border-top: 3px solid #ebebeb;
  border-right: 3px solid #474747;
  border-bottom: 3px solid #474747;
  padding: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 250px;
 
}
button:hover {
  background-color: #838383;
  border-left: 3px solid #202020;
  border-top: 3px solid #202020;
  border-right: 3px solid #838383;
  border-bottom: 3px solid #838383;
  cursor: pointer;
 
}

.footerbar {
  background-color: none;
  padding: 10px;
  text-align: center;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 700;
}
/* Media to make it responsive to smaller screens */
@media screen and (max-width: 600px) {
  .wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  [class*=contain] {
    width: 100%;
    padding: 5px;
    margin: 0;
 
  }
  .contain-m {
    width: 100%;
    padding: 5px;
    margin: 0;
  }
  .contain-sm {
    width: 100%;
    padding: 5px;
    margin: 0;
  }
  .title {
    width: 100%;
  }
  .banner-img {
    width: 100%;
  }
  .banner-text {
    width: 100%;
    display: none;
  }
}


.blog-container{
 
  width: 100%;
  height: 100%;
  display: flex;
 
  overflow-y: scroll;
  scrollbar-color: var(--color-) var(--color-1);
  scrollbar-width: thin;
}
.blog-side {
  width: 25%;
  height: 99%;
  padding: 7px;
  background-color: white;
  box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
  border: 6px solid var(--color-2);
  font-size: 0.7em;
  text-align: center;
  font-weight: 600;
  overflow-y: scroll;
  scrollbar-color: var(--color-4) var(--color-1);
  scrollbar-width: thin;
}

.blog-content {
  width: 74%;
  height: 99%;
  padding: 10px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: 20px;
  background-color: white;
  box-shadow: inset 1px 1px 5px 4px rgb(226, 226, 226);
  border: 6px solid var(--color-4);
 
 
  overflow-y: scroll;
  scrollbar-color: var(--color-4) var(--color-1);
  scrollbar-width: thin;
}
 
/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 0.7em;
  padding: 0;
  list-style-type: none;
}
#postlistdiv li {
  color: red;
  font-size: larger;
}
#recentpostlistdiv ul {
  font-size: 1.0em; 
  padding: 0;
  list-style-type: none;
  
 } 
#recentpostlistdiv a {
  display: inline-block;
}

.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  flex-shrink: 0;
 
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #384879;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
  font-family: 'ms ui gothic', sans-serif;
  font-weight: 600;
}
#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;
}

#content {
  padding: 10px ;
}

.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
  margin-bottom: 10px;
}

.blog-img {
  max-width: 100%;
  height: auto;
}

#blog-nav {
  padding: 20px;
  font-size: 0.8em;
      display: inline-block;
}
#blog-post {
  padding: 20px;
  font-size: 0.8em;
       
}

@media only screen and (max-width: 768px) {
.main {
  max-width: 100% ;width: 100%;
}
 
  #header {
    padding: 0;
  }
  #header ul {
    padding: 0;
    margin: 0;
  }
  #header li {
    display: block;
    margin-right: 0;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
  }
  #header li a {
    display: block;
    text-align: center;
  }
  #content {
    padding: 10px;
  }
  .blog-container {
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  .blog-side {
    width: 100%;
    height: 20%;
   }

  .blog-content {
    width: 100%;
   height: 80%;
   margin: 0;
   padding: 0;
  }
}
 
/* Row Layout */
.contain-row {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on small screens */
    gap: 1px;
     
}

/* Columns */
.contain-sm, .contain-m, .contain-l {
    background:none;
    padding: 5px;
    box-sizing: border-box;
    height: auto;
}

/* Flex sizing */
.contain-sm {
    flex: 1 1 120px; /* grow, shrink, min width */
}

.contain-m {
    flex: 2 1 400px;
}

.contain-l {
    flex: 1 1 300px;
}