* {
margin: 7px;
padding: 0;
box-sizing: border-box;}

body {
  background-color: #FFE9E6;
  background-image: url('../images/bgatt2.png');
	background-position: top;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  cursor: url('../images/cursor2.png'), auto;
}

p {
  line-height: 1.6em;
}

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 { 
  width:fit-content;
transition: .2s ease; 
color:hotpink;
font-size:1em;
cursor:url('../images/hover.png'),auto;}


h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #8e005c;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 100%;
	max-width: 1200px;
	background-color: #f1e3c9;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
  overflow:auto;
}
#layout {display: inline-block;
overflow:auto;}

#content {
  padding: 10px 5% 20px 5%;}

#rightside{width:850px;
border-color:pink;
float:right;
border-color: #a9a9a9;
border-style: ridge;
border-width: 4px 4px 4px 4px;
height: auto;
word-wrap: break-word;
margin:0 0 0 10px;
padding:10px;}

#sidebar{float:left;
width:320px;
background-color: #5b0033;
border-style: ridge;
border-width: 4px 4px 4px 4px;
height:auto;
margin:0;
padding: 0.5em;
font-size: 1.2em;
color: white;}

/*HEADER STYLE*/
 #header img{
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  display: grid}
  
#header {
  padding: 0%;
  border-color: #a9a9a9;
border-style: ridge;
border-width: 4px 4px 4px 4px;
background-color: #5b0033;}

#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 {
  width:fit-content;
transition: .2s ease; 
color:hotpink;
font-size:1em;
}

/*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 {float:down;
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/* text changes color when hovered */
.colchange {
width:fit-content;
transition: .2s ease; 
color:black;
font-size:2em;}
.colchange:hover {
color:hotpink;}

/* custom scrollbar */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}

/*gallery*/
.ezgallery.montage { 
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ezgallery.montage img {
  flex: auto;
  margin: 0 5px 5px 0;
  object-fit: contain;
  object-position: bottom;
}

.ezgallery.horizontal { 
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: minmax(100px, auto);
}

.ezgallery.horizontal img {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 5px 5px 0;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  object-position: bottom;
}

