/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author: SaraWebs
 Author URI: http://sarawebs.com
 Template:     generatepress
 Version:      0.8
*/

:root {
  --base-font-size: 15px;
  --inline-code-color: oklch(52.5% 0.223 3.958);
}

.generate-back-to-top,
.generate-back-to-top:visited {
    bottom: 30px; /* 30px from the bottom of your screen */
    right: 30px; /* 30px from the left of your screen */
   border-radius: 30px;

}
.post-image img, .featured-image > img, video {
   border-radius: 6px;
}
img.avatar, div.saboxplugin-gravatar > img.avatar {
  border-radius: 50%;
  object-fit: cover;
}

p > code {
   background-color: var(--base);
   border-radius: 4px;
   padding: 2px 6px;
   color: var(--inline-code-color);
}
pre[class*=language-] {
    background-color: oklch(0.279 0.041 260.031);
border: 0;
border-radius: 6px;
}
div.code-toolbar > .toolbar > .toolbar-item > button,
div.code-toolbar > .toolbar > .toolbar-item > span {
    padding: 0.3em 1em;
}
.inside-article {
   padding-top: 0px !important; 
}
ul,ol {
   margin-left: 2em;
}

/*FONT*/

html {
   font-size: var(--base-font-size);
   box-sizing: border-box;
   line-height: 1.6;
   font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}


body {
  font-size: 1rem;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}
h6 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}



p {
  font-size: 1rem;
  margin-bottom: 1.5em;
}

/* Button */
#toggleSliderBtn {

  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: inline-block;
  transition: background-color 0.2s ease;
   display: flex;
  align-items: center;
  justify-content: center;
}

#toggleSliderBtn:hover {
  background-color:  var(--global-color-8);
}

/* Slider container */
.font-slider {
  position: fixed;
  top: 3.5rem;
  right: 1rem;
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 999;
}


@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-animate {
  opacity: 0;
  animation: fade-in-up 0.6s ease-out forwards;
}

.sb-max-height-100vh {
   max-height: 100vh;
}
.full-screen-video, .full-screen-video video {
  height: 100vh;
  object-fit: contain;
  display: block;
}
/*reading progress bar*/
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.25s ease-out;
}

.sb-shadow {
   border-radius: 8px;
   box-shadow: 7px 5px 30px rgba(72,73,121,0.15) !important;
}

.sb-col-card{
   border-radius: 15px;
   box-shadow: 7px 5px 30px rgba(72,73,121,0.15) !important;
   padding-top: 70px;
   padding-bottom: 70px;
   padding: 40px 12px 40px 12px;
   /* margin-top: 50px !important; */
   margin-bottom: 50px !important;
}
article {
   background-color: transparent

}

@media (min-width: 968px) {
   #page {
      margin-top: 8px;
   }
}