/* CSS Reset */
html {
    line-height: 1.15; /* Prevent adjustments of font size after orientation changes in iOS */
    -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in Chrome, Firefox, and Safari */
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, figure, figcaption, blockquote, dl, dd {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    color: #333;
    background-color: #fdfdfd;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease;
    will-change: background-color;
}

article, aside, footer, header, nav, section {
    display: block;
}

ul[role="list"], ol[role="list"] {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit; /* Inherit the color from its parent elements */
    text-decoration: inherit; /* Inherit the text decoration from its parent elements */
}

a:hover {
    text-decoration: none;
}

img {
    border-style: none; /* Remove border when inside `a` element in IE 10- */
}

button, input, optgroup, select, textarea {
    font-family: inherit; /* Inherit the font family */
    font-size: 100%; /* 1em */
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

[hidden] {
    display: none;
}

html {
    box-sizing: border-box; /* Use border-box sizing model */
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherit the box-sizing */
}

section {
  margin-top: 48px;
}

.centered-container {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.centered-container img {
    width: 100%;
}


.links {
    display: flex;
    padding: 16px 32px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    background: #EFEFEF;
}

.links button{
    display: flex;
    padding: 16px 0px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
    color: #FFF;
    font-family: "Noto Sans SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
}

@media screen and (min-width:500px) {
    .links button {
        width: 500px;
        height: 100px;
        font-size: 22px;
    }
    .section-header {
        width: 400px;
        top: -100px;
        left: 50px;
    }
    .centered-container {
        margin: auto;
    }
}

.link1 {  
    background: #007458;
    background-size: cover;
}
.link2 {  
    background: #007458;
    background-size: cover;
}
.link3 {  
    background-image: url('/images/rose\ back.png');
    background-size: cover;
}
.link4 {  
    background-image: url('/images/blue\ back\ 2.png');
    background-size: cover;
}

.newsitem {
    width: 200px;
    height: 200px;
    background:#fff;
}

.comment-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* Basic styling for the accordion */
.accordion {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 8px 16px;
    gap: 8px;
  }

  .accordion-item {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex: 1 0 0;
  }
  
  .accordion-header {
    display: flex;
    padding: 8px 0px;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    display: flex;
    border-radius: 4px;
    justify-content: left;
    align-items: center;
    color: #413300;
    background-color: #FFD74A1a;
    font-family: "Noto Sans SC";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 125% */
    transition: background-color 0.4s ease-out;
  }

  .accordion-header .lead-icon
  {
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 100% */
    rotate: -90deg;
    color: #FFD74A;
    transition: rotate 0.2s ease-out;
  }
  
  .accordion-content {
    display: flex;
    justify-items: stretch;
    width: 100%;
    gap: 16px;
    color: #0b0b0b;
    font-family: "Noto Sans SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 125% */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }
  
  .accordion-content p {
    padding: 8px;
    margin: 0;
    opacity: 0; /* Initially hide content */
    transition: opacity 0.2s ease-out 0.2s; /* Delayed appearance */
  }

  .accordion-content .deco-line-v {
    width: 2px;
    background-color: #FFD74A;
    margin-left: 8px;
    flex-shrink: 0;
  }
  
  /* Display the content when the checkbox is checked */
  input:checked + .accordion-header + .accordion-content {
    max-height: 1000px; /* Adjust this value based on your content's size */
    transition: max-height 0.4s ease-in;
  }

  input:checked + .accordion-header {
    background-color: #FFD74A00; /* Adjust this value based on your content's size */
    transition: background-color 0.4s ease-in;
  }
  
  input:checked + .accordion-header + .accordion-content p {
    opacity: 1; /* Make content visible when expanded */
    transition: opacity 0.2s ease-in;
  }

  input:checked + .accordion-header .lead-icon {
    rotate: 0deg; /* Make content visible when expanded */
    transition: rotate 0.2s ease-in;
  }
  
  .draggable {
    transition: transform 4ms ease;
  }

  .decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 80px;
  }

.tree-textarea {
  border: #FFD74A 2px solid;
  border-radius: 4px;
}

.tree-textarea::placeholder {
  color: rgba(0, 0, 0, 0.25); /* Black with 30% opacity */
  font-size: 14px;
}

/* Define the keyframes for rotation with steps */
@keyframes rotate-steps {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Apply the animation to the element */
.rotate {
  animation: rotate-steps 3s steps(8) infinite; /* Adjust duration and steps as desired */
}

.no-touch {
  pointer-events: none;
}

.btn-primary {
  background-color: #FFD74A;
  border: 2px solid #FFF;
  transform: skewY(-1deg);
  text-align: center;
  font-size: 18px;
  padding: 8px;
  min-width: 70%;
}

.btn-primary.style1{
  background-image: linear-gradient(180deg, #FFD74A 0%, #DFAE00 100%);
}

.btn-primary.style2{
  background-image: linear-gradient(180deg, #CAE8F5 0%, #75BAD8 100%);
}

.btn-primary.style3{
  background-image: linear-gradient(180deg, #caf5d4 0%, #75d898 100%) !important;
}

.step {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
}

.step.ender {
  height: 32px !important;
  --bg-color: #fdfdfd;
}

.content-columns {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 24px;
}

.content-columns .image-content{
  display: flex;
  width: 33.3%;
  min-height: 180px;
}


.content-columns .image-content.large img{
  flex-grow: 1;
  object-fit: cover;
}

.content-columns .image-content.small img{
  flex-grow: 1;
  object-fit: contain;
}

.content-columns .image-content.left img{
  transform: translateX(-24px);
  object-position: center right;
}

.content-columns .image-content.right img{
  transform: translateX(24px);
  object-position: center left;
}

.content-columns .text-content {
  flex: 1;
}

.focus {
  font-size: 18px;
  font-weight: 700;
}

.concealed {
  max-height: 0px;
  transition: max-height 1000ms;
  overflow: hidden;
}

.concealed.revealed {
  max-height: 3000px !important;
}

#love1 { --bg-color: #F4E5D4; }
#sin2 { --bg-color: #DCDCDC; }
#cross3 { --bg-color: #FAE6E6; }
#life4 { --bg-color: #E2EAED; }

