@import url(https://fonts.googleapis.com/css?family=Lato:400,400italic,700|Nonito|amaranth);
:root {
  --primary-color: rgb(165, 126, 0);
  --secondary-color: rgb(167, 122, 0);
  --font-color: #6b4600;
  --bg-color: rgb(250, 245, 232);
  --heading-color: #b8810c;
}

[data-theme="dark"] {
  --primary-color: rgb(250, 199, 104);
  --secondary-color: #e0af6e;
  --font-color: #ffe988;
  --bg-color: #180204;
  --heading-color: #fff280;
}

body {
  font-family: "Lato", sans-serif;
  background-color: var(--bg-color);
  color: var(--font-color);
  max-width: 90%;
  margin: 0 auto;
  font-size: calc(1rem + 0.25vh);
}

h1 {
  color: var(--heading-color);
  font-family: "amaranth", serif;
  letter-spacing: 1px;
  word-spacing: 5px;
  font-size: 1.5rem;
  margin-bottom: 1vh;
}

p {
  font-size: 1.1rem;
  line-height: 1.6rem;
  text-align: justify;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-weight: bold;
}
a:hover, a:focus {
  border-bottom: 3px solid currentColor;
}

section {
  max-width: 77%;
  margin: 0 auto;
  margin-top: 7rem;
}

.post-meta {
  font-size: 1rem;
  font-style: italic;
  display: block;
  margin-bottom: 4vh;
  color: var(--secondary-color);
}

nav {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
}

/*slider switch css */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}
.theme-switch-wrapper em {
  margin-left: 10px;
  font-size: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: rgb(141, 102, 30);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: rgb(141, 102, 30);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.image {
	border-radius: 20px;
    position: relative;
    max-height: 80%;
    height: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.copyright {
    position: relative;
    font-family: Amaranth;
    text-align: right;
    margin-right: 10px;
    margin-top: 100px;
}


::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(248, 197, 55, 0.931); 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(243, 187, 34); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #fad532b6; 
  }