* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-bottom: 20px;
    /* width: 100%; */
}
/* body {
  margin: 0;
  background-color: #ffecc6;
}
* {
  box-sizing: border-box;
} */
.book-section {
  height: 100vh;
  width: 100%;
  padding: 40px 0;
  text-align: center;
}
.book-section > .container {
  height: 100%;
  width: 600px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2%;
  margin-bottom: 30px;
  perspective: 1200px;
}
.container > .right {
  position: absolute;
  height: 100%;
  width: 50%;
  transition: 0.7s ease-in-out;
  transform-style: preserve-3d;
}
.book-section > .container > .right {
  right: 0;
  transform-origin: left;
  border-radius: 10px 0 0 10px;
}
.right > figure.front,
.right > figure.back {
  margin: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-size: 200%;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  background-color: rgb(62, 33, 194);
  overflow: hidden;
}
.right > figure.front {
  background-position: right;
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 2px 15px -2px rgba(0, 0, 0, 0.2);
}
.right > figure.back {
  background-position: left;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 2px 15px -2px rgba(0, 0, 0, 0.2);
  transform: rotateY(180deg);
}
.flip {
  transform: rotateY(-180deg);
}
.flip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  border-radius: 0 10px 10px 0;
  background-color: rgba(194, 22, 151, 0.1);
}
.book-section > button {
  border: 2px solid #ef9f00;
  background-color: transparent;
  color: #ef9f00;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  transition: 0.3s ease-in-out;
}
.book-section > button:focus,
.book-section > button:active {
  outline: none;
}
.book-section > p {
  color: rgba(0, 0, 0, 0.7);
  font-family: calibri;
  font-size: 24px;
}
.book-section > p > a {
  text-decoration: none;
  color: #ef9f00;
}
.book-section > button:hover {
  background-color: #ef9f00;
  color: #fff;
}
.front#cover,
.back#back-cover {
  background-color: #ffcb63;
  font-family: calibri;
  text-align: left;
  padding: 0 30px;
}
.front#cover h1 {
  color: #fff;
}
.front#cover p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
}


/* .div{
  margin: 6rem 12rem;
  height: 20rem;
  width:36rem;
  background-size: 100% 100%;
  box-shadow: 20px 20px 10px gray;
  animation: slider 10s linear infinite;
}
@keyframes slider {
  0%{background-image: url(./img/p1.PNG); }
  25%{background-image: url(./img/p2.PNG); }
  50%{background-image: url(./img/p3.PNG); }
  75%{background-image: url(./img/p4.PNG); }
  100%{background-image: url(./img/p5.PNG); }
  
}

.book-container {
  perspective: 1500px;
  width: 400px;
  height: 600px;
  position: relative;
  margin: auto;
}
.page-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 0.6s ease-in-out;
}
.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-size: cover;
}
.back { transform: rotateY(180deg); }
.flipped { transform: rotateY(-180deg); } Applied via JS */





#Iframe-Master-CC-and-Rs {
    max-width: 100%;
    max-height: 100%; 
    overflow: hidden;
    /* opacity: 0; */

  }
  
  /* inner wrapper: make responsive */
  .responsive-wrapper {
    position: relative;
    
    height: 0;}
   
  .responsive-wrapper iframe {
    position: absolute;top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;}
  
  /* padding-bottom = h/w as % -- sets aspect ratio */
  /* YouTube video aspect ratio */
  .responsive-wrapper-wxh-572x612 {
    padding-bottom: 107%;
  }
  
  /* general styles */
  /* ============== */
  .set-border {
    border: 5px inset #ddd;
  }
  .set-box-shadow { 
    -webkit-box-shadow: 4px 4px 14px #a50202;
    -moz-box-shadow: 4px 4px 14px #cd1313;
    box-shadow: 4px 4px 14px #aa1313;
  }
  .set-padding {
    padding: 10px;
  }
  .set-margin {
    margin: 30px;
  }
  .center-block-horiz {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .protected-image {
    pointer-events: none;
  }
  


/* Sidebar styling */
.sidebar {
    width: 250px; /* Fixed width for the sidebar */
    background-color: #f1f1f1;
    padding: 20px;
    position: fixed; /* Makes the sidebar stay in place while scrolling main content */
    height: 100vh;
    overflow-y: auto; /* Adds scrollbar to sidebar if content is long */
    right: 0;
    text-align: right;
}

.sidebar nav ul {
    list-style-type: none;
}

.sidebar nav ul li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
}


.countdown-section {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-family: var(--serif-secondary);
    font-size: 1.2rem;
    color: var(--gold-secondary);
    margin-bottom: 0.5rem;
    font-style: italic;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.countdown-segment {
    position: relative;
    width: 90px;
    text-align: center;
    background: linear-gradient(145deg, #0a0b12, #1c1e2a);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 1rem 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.countdown-segment.urgent {
    animation: pulse 1s infinite alternate;
    border-color: var(--burgundy);
    background: linear-gradient(145deg, #240107, #800020);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc5a14;
    text-shadow: 0 2px 4px rgba(121, 41, 4, 0.5);
    display: block;
    line-height: 1;
}

.countdown-unit {
    font-family: var(--serif-secondary);
    font-size: 0.9rem;
    color: #dc5a14;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: block;
}


@media (max-width: 700px) {

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-segment {
        width: 70px;
    }

    .countdown-number {
        font-size: 2rem;
    }
}

@media (max-width: 450px) {
    .countdown-segment {
        width: 60px;
        padding: 0.8rem 0;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-unit {
        font-size: 0.8rem;
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(128, 0, 32, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(128, 0, 32, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(128, 0, 32, 0);
    }
}

@keyframes fadeFlash {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* <!-- HTML !--> */
.tool p{
    font-weight: bold;
    font-size: 26px;

}
/* CSS */
.button-78 {
  margin-bottom: 20px;
  align-items: center;
  appearance: none;
  background-clip: padding-box;
  background-color: initial;
  background-image: none;
  border-style: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  flex-direction: row;
  flex-shrink: 0;
  font-family: Eina01,sans-serif;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 24px;
  /* margin: 20px; */
  min-height: 64px;
  outline: none;
  overflow: visible;
  padding: 19px 26px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  width: auto;
  word-break: keep-all;
  z-index: 0;
}

@media (min-width: 768px) {
  .button-78 {
    padding: 19px 32px;
  }
}

.button-78:before,
.button-78:after {
  border-radius: 80px;
}

.button-78:before {
  background-image: linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -2;
}

.button-78:after {
  background-color: initial;
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  content: "";
  display: block;
  left: 4px;
  overflow: hidden;
  position: absolute;
  right: 4px;
  top: 4px;
  transition: all 100ms ease-out;
  z-index: -1;
}

.button-78:hover:not(:disabled):before {
  background: linear-gradient(92.83deg, rgb(255, 116, 38) 0%, rgb(249, 58, 19) 100%);
}

.button-78:hover:not(:disabled):after {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transition-timing-function: ease-in;
  opacity: 0;
}

.button-78:active:not(:disabled) {
  color: #ccc;
}

.button-78:active:not(:disabled):before {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
}

.button-78:active:not(:disabled):after {
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  left: 4px;
  right: 4px;
  top: 4px;
}

.button-78:disabled {
  cursor: default;
  opacity: .24;
}


.responsive-form {
    max-width: 600px;
    width: 100%;
    border-radius: 4px;
    border: 2px solid #04AA6D;;
    background-color:  #f2f2f2;
    padding: 20px;
  }
  
  form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  label {
    min-width: 48%;
    margin-bottom: 10px;
  }
  
  input[type=text], select {
    min-width: 45%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
  }
  
  textarea {
    min-width: 45%;
    height: 150px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
  }
  
  input[type=submit] {
    width: 100%;
    background-color: #04AA6D;
    color: white;
    padding: 14px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  @media screen and (max-width: 600px) {
    label,
    input[type=text],
    input[type=submit],
    select, textarea {
      flex: 100%;
      min-width: 100%;
    }
  }

main {
    max-width: 100%;
    height: 100%;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    left: 0;
    text-align: right;
    align-items: right;
    align-content: right;

}

img {
    height: 60%;
    width: 70%; 
}
h1, h2, h3 {
    margin-bottom: 10px;
    color: #f96013; /* Example color */
}

p, ul, ol {
    margin-bottom: 15px;
  
}

ul, ol {
    margin-left: 20px;
  
}

section{
    margin-right: 20px;
}

/* The main container aligns the groups horizontally */
.button-container {
    display: flex;
    justify-content: center; /* Centers the button groups on the page */
    gap: 20px; /* Adds space between the button groups */
  }
  
  /* Each group contains the text and button, aligned vertically */
  .button-group {
    display: flex;
    flex-direction: column; /* Stacks text on top of the button */
    align-items: center; /* Centers text and button within the group */
  }
  
  /* Styling for the text */
  .button-text {
    margin-bottom: 5px; /* Adds a small gap between text and button */
    font-size: 16px;
    color: #333;
  }
  
  /* Basic button styling */
  button {
    padding: 10px 15px;
    cursor: pointer;
  }
  


/* Styling for code examples */
pre {
    background: #eee;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto; /* Ensures long code snippets don't break the layout */
}

code {
    font-family: monospace;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* Add media queries for responsive design if needed for different devices */
@media (max-width: 600px) {
    main {
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sidebar and content vertically */
    }

    .sidebar {
        position: relative; /* Change position to relative for mobile, no longer fixed */
        width: 100%;
        height: auto; /* Height auto for mobile so it doesn't take up full screen height */
        border-bottom: 1px solid #ccc;
    }

    .content {
        margin-left: 0; /* Remove the left margin for mobile */
    }
    section{
        margin-right:20px;

    }
}

.content1{
    text-align: center;
}
