:root {
  /* Surfaces */
  --daycula-bg:             #FFFDF5;
  --daycula-bg-muted:       #F4F1FA;
  --daycula-surface:        #FFFFFF;
  --daycula-surface-hover:  #F0ECF8;

  /* Text */
  --daycula-fg:             #252338;
  --daycula-fg-muted:       #68627D;
  --daycula-fg-subtle:      #827B98;

  /* UI */
  --daycula-border:         #DCD7EA;
  --daycula-selection:      #DCD4F4;
  --daycula-focus:          #7048C8;

  /* Syntax */
  --daycula-purple:         #7048C8;
  --daycula-pink:           #B62978;
  --daycula-cyan:           #007C9E;
  --daycula-green:          #177A45;
  --daycula-orange:         #B85C0A;
  --daycula-red:            #C73535;
  --daycula-yellow:         #866D00;
}

body {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
}

.menu-icon {
  cursor: pointer;
  position: fixed;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 21px;
  height: 21px;
  z-index: 2;
}

.menu-icon div {
  width: 100%;
  height: 3.5px;
  background-color: #dc2469; /* unchanged */
  transition: all 0.3s ease;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #232634;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 1;
}

.sidenav a {
  padding: 8px 8px 0px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #f8f8f2; /* unchanged */
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  margin-left: 8px;
  color: #ff79c6; /* new hover color */
}

.icon-links {
  margin: 0 auto;
  max-width: 960px;
  text-align: right;
}

.icon-links img {
  filter: invert(1);
  height: 16px;
}

.hero ul {
  list-style: none;
  padding: 0px;
  margin-top: -16px;
}

.hero li {
  display: inline;
  margin: 0px 8px 0px 8px;
}

.sidenav h1 {
  padding: 8px 8px 8px 32px;
  color: #dc2469;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #f8f8f2; /* unchanged */
}

.logo {
  border: solid 4px #161924;
  transition: 0.3s;
}

.logo:hover {
   rotate: 3deg;
}

.content {
  margin: 0 auto;
  padding: 20px;
  max-width: 960px;
  margin-top: 0px;
  border-radius: 8px;
}

.content h1, .content h2, .content p {
  margin-bottom: 20px;

}

.content h1 {
  font-size: 36px;
  color: #177A45; /* unchanged */
}

.content h2 {
  font-size: 28px;
  color: #dc2469; /* unchanged */
}

.content p {
  font-size: 18px;
  color: #333; /* unchanged */
  line-height: 1.6;
}

.content img {
  max-width: 100%;
  border-radius: 8px;
}

.hero {
  background-image: url("featured-image.webp");
  background-position: center center;
  background-size: cover;
  text-align: center;
}

.hero img {
  max-width: 256px;
}

.hero-overlay {
  display: inline-block;
  padding: 35px;
  text-align: center;
}

.hero-overlay a {
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #dc2469; /* unchanged */
}

.content video {
  width: 100%;
  border-radius: 8px;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 16px;
  border-radius: 4px;
}

.hp-loop a {
  transition: 0.5s;
  transform: scale(1);
}

.hp-loop a img:hover {
  box-shadow: 0 0 32px;
  transform: scale(1.01);
  transition: 0.5s;
}

.hp-loop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
  gap: 20px;
}

.post-card {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  height: 450px; /* Adjust height as needed */
  display: flex;
  transition: transform 0.3s ease;
  padding: 20px;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card-link {
  text-decoration: none;
  color: white;
  width: 100%;
  display: flex;
  align-items: flex-end; /* Pushes text to the bottom */
}

.post-content {
  padding: 0px;
  width: 100%;
}

.post-content p {
  color: #333;
}

.hp-loop .post-content p {
  color: #eee;
}

.post-content h2 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
}

.post-date {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}

.post-snippet {
  font-size: 0.95rem;
  line-height: 1.4;
}

.content .post-meta {
  color: #dc2469;
  margin-bottom: 20px;
}

.post-content img {
  display: block;
  width: auto;
  margin: auto;
}

@media only screen and (max-width: 768px) {

.menu-icon {
  cursor: pointer;
  position: fixed;
  top: initial;
  left: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  z-index: 2;
}

.menu-icon div {
  width: 100%;
  height: 5px;
  background-color: #dc2469; /* unchanged */
  transition: all 0.3s ease;
}

}

.loopy a {
  text-decoration: none;
  color: #dc2469;
}

.content a {
  text-decoration: none;
  color: #177A45;
}

.loopy {
  display: grid;
  grid-template-columns: 50% auto;
  align-items: center;
  margin-bottom: 32px;
}

.loopy h2 {
  padding: 32px;
}

.hero-overlay span {
  display: block;
  color: #fff;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 6px;
  backdrop-filter: blur(15px) brightness(0.5) !important;
  max-width: 256px;
  margin: 0 auto;
  padding: 8px 16px;
  border-radius: 5px;
}

.hero-overlay img {
  border-radius: 100%;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DC2469;
  -webkit-transition: .4s;
  transition: .4s;
}

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

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ccc;
}

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

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

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

.switch {
  margin: 8px 32px;
}

.lightmode-toggle {
  display: block;
  margin: 8px 32px;
  color: #DC2469;
}

@media only screen and (max-width: 768px) {

  .loopy {
    display: block;
  }
  
  .loopy h2 {
    padding: 0px;
  }

  .post-content {
    width: 90;
    padding: 0px;
  }
  
}
