html {
    padding: 40px;
}

body {
    overflow-x: hidden;
    background: white;
    font-size: 20px;
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: Klee One;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

iframe {
  width: 100%;
}

.add_div_options, .pop_up_image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 30px;
  background: rgba(0,0,0,0.5);
  border: 1px solid white;
  box-shadow: 2px 2px 30px black;
  border-radius: 4px;
}

.add_div_options {
  max-height: 300px;
  overflow-y: scroll;
}

.pop_up_image {
  background: #227093;
  padding: 18px;
}

#close_image_icon {
  position: absolute;
  top: 0;
  right: 0;
  margin: 5px;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.make_div {
  width: 90%;
  height: auto;
  min-height: 100px;
  border: 2px solid deeppink;
  margin-bottom: 10px;
}

.grid_option_buttons, .save_page_button, .upload_image_button {
  width: 200px;
  margin-bottom: 10px;
  border: 0px solid white;
  border-radius: 3px;
  font-size: 16px;
  background: #227093;
  color: white;
  cursor: pointer;
  min-height: 40px;
}

#grid_choice_dropdown {
  width: 200px;
  height: 40px;
  font-size: 16px;
}

.upload_image_button {
  background: #cd6133;
  height: 40px;
  margin-top: 20px;
}

#add_button, #remove_button {
  width: 200px;
  height: 30px;
  border: none;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  color: white;
  margin-bottom: 10px !important;
}

#add_button {
   background: #218c74;
}

#remove_button {
 background: #b33939;
}

#save_page_button {
  margin-top: 20px;
  background: #cd6133;
  height: 30px;
}


.grid-wrapper {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.grid-item {
  border: 1px solid #ccc;
  padding: 10px;
  background: #ff793f;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
}

.image_size_slider {
  margin-top: 20px;
}



.bold {
  font-weight: bold;
}

.body_image {
  width: 390px;
}

.move_up {
  margin-top: -20px;
}

.move_down {
  margin-top: 80px;
}

.move_down_little {
  margin-top: 30px;
}

.italic {
  font-style: italic;
}

.text_center {
  text-align: center;
}

.body_title {
  font-size: 26px;
}

.span_color {
  color: #ffa0a0;
}

.lightblue {
  background: lightblue;
}

.light_purple {
  background: #5756bb;
}

.padd {
  padding: 10px;
  border-radius: 5px;
}

.maroon {
  background: #7A4040;
}

.pink {
background: #8a4747;
}

.title_align {
  display: flex;
  align-items: center;
  justify-content: center;
}


.brown {
  background: brown;
}

.white {
  background: #f7f1e3;
}

.brown {
  background: #84612e;
}

.black_text {
  color: black;
}

[id^=subscribe_button_] {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 5px 0px #2E8B57;
    margin-bottom: 10px;
  }
  
  [id^=subscribe_button_]:active {
    transform: translateY(3px);
    box-shadow: 0px 2px 0px #2E8B57; /* Pushed shadow */
  }

.title {
    font-size: 60px;
}

.date {
    font-size: 20px;
    color: #fff500
}

.feast {
    color: black;
}

.author {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 40px;
    font-style: italic;
}

.title_images {
    width: 200px;
}

.hor_wrapper {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    height: auto;
    width: 60%;
}

[id^=hor_item_] {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px solid white;
}

h2 {
    text-align: center;
}

.white_background {
 background: white;
 color: black;
 padding: 10px;
 border-radius: 6px;
 margin-bottom: 10px;
 margin-top: 10px;
}

.grey_background {
    background: #d1ccc0;
    color: black;
 padding: 10px;
 border-radius: 6px;
 margin-bottom: 10px;
 margin-top: 10px;
}

.orange_background {
    background: #cc8e35;
    color: black;
 padding: 10px;
 border-radius: 6px;
 margin-bottom: 10px;
 margin-top: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 text-align: center;
}

img {
    border-radius: 8px;
    margin: 20px;
    margin-bottom: 40px;
}

#doug_img {
    margin-bottom: 10px;
}

#main_frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
}

/* menu icon */
.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-right: 10px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 20px;
    z-index: 99999999;
  }
  
  .bar {
    visibility: visible;
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
    transition: 0.4s;
  }
  
  .menu-icon.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-16px, 4px);
  }
  
  .menu-icon.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-icon.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-17px, -5px);
  }

  /**************************/


  .side_panel {
    position: fixed;
    left: 0;
    width: 200px;
    height: auto;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    color: black;
    border: none;
    background: #dcdde1;
    overflow-y: auto;
    box-shadow: 2px 2px 10px black;
    padding: 0px;
  }

   .side_panel_year {
    font-weight: bold;
    padding: 8px;
    background: #40739e;
    border-radius: 4px;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}

.side_panel_months {
    margin-left: 15px;
}

.year_date_wrapper {
   margin-top: 10px;
   white-space: nowrap;
}
  
  .side_panel_items {
    width : 100%;
    height : auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px solid grey;
    text-transform: capitalize;
    color: black;
    margin-bottom: 6px;
    font-size: 1em;
    margin-left: -5px;
    white-space: nowrap;
  }
  
  .side_panel_items:hover {
    background: #4CAF4F;
    cursor: pointer;
  }

 


  .delete_wrapper_icon {
    width: 30px;
    cursor: pointer;
  }


  .body_background_input {
    margin-top: 20px;
  }
 

  /* spinner */
  .loader {
    position: fixed;
    top:0;
    margin-top: 100px;
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border-radius: 50%;
    background: conic-gradient(#25b09b 25%,#f03355 0 50%,#514b82 0 75%,#ffa516 0);
    animation: l22 2s infinite linear;
    z-index: 9999999;
    box-shadow: 2px 2px 20px black;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 15%;
    border-radius: 50%;
    background: inherit;
    animation: inherit;
}

.loader::after {
    margin: 25%;
    animation-duration: 3s;
}

@keyframes l22 {
    100% {transform: rotate(1turn)}
}


  /************/

@media only screen and (max-width: 1000px) {
    html {
        padding: 20px;
    }


  

    .grid-wrapper {
      grid-template-columns: 100% !important;
      grid-auto-rows: auto !important; 
    }

.grid-item {
    grid-column: 1 / -1 !important; /* Span the full width */
    width: 100%;
    grid-row: auto !important; 
}



    .title {
        font-size: 50px !important;
    }

    .title_images {
        width: 100px;
    }

    #lesley_image {
        width: 150px !important;
    }

    #mary_image {
        width: 350px !important;
    }

.hor_wrapper {
    width: 100%;

}
.body_image {
    width: 340px;
}

.menu-icon.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-12px, 4px);
  }
  
  .menu-icon.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-17px, -9px);
  }

  .hor_wrapper {
    margin-top: 50px !important;
  }

  .small_on_screen {
    font-size: 10px !important;
  }

  .small_resize {
    font-size: 20px !important;
  }

  


}