/* 
font-family: 'Merriweather', serif;
font-family: 'Sansita Swashed', cursive;
*/

:root {
  --primary-color: #b6eb7a;
  --secondary-color: #fb7813;
  --font-color: #424242;
  --bg-color: #fff;
  --heading-color: #292922;
}

[data-theme="dark"] {
  --primary-color: #9A97F3;
  --secondary-color: #818cab;
  --font-color: #e1e1ff;
  --bg-color: #161625;
  --heading-color: #818cab;
}

body {
  font-family: 'Merriweather', serif;
  background-color: var(--bg-color);
  color: var(--font-color);
}

nav {
  display: flex;
  justify-content: flex-end;
  padding: 20px 10px;
  background-color: var(--primary-color);
  margin-bottom: 20px;
}

section {
  text-align: center;
  max-width: 68%;
  margin: 0 auto;
}

h1 {
  color: var(--heading-color);
  font-family: 'Merriweather', serif;
}

em {
  margin-left: 10px;
  font-size: 1rem;
}

img {
  width: 230px;
}

blockquote {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
}

.hide {
  display: none;
}

.show {
  display: block;
}

/*slider switch css */
em {
  margin-left: 10px;
  font-size: 1rem;
}
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  
}
.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  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: #66bb6a;
}

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

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

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