

/*
 * Generic Toggle Styles
 * =====================
 */

 p + .cards{margin-top: 50px;}

 .bg-dark{background-color: #222 !important; hr{background: #fff;}}

/* Hide the checkbox visually, but keep it accessible for screen readers */
.toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Style the content to be initially hidden */
.toggle-content {
  display: none;
  /* Add your transition for a smooth effect if desired */
}

/* When the checkbox is checked, show the content */
.toggle-checkbox:checked ~ .toggle-content {
  display: block; /* or flex, grid, etc. */
}

.menu-icon {
    width: 25px;
    text-align: right;
    margin-top: -10px;
}
.menu-icon, .menu-icon:after {
    display: inline-block;
    height: 3px;
    border-radius: 10px;
    background: #000000;
    position: relative;
}
.menu-icon:after {
    content: "";
    width: 18px;
    top: 12px;
}
section{
    padding: 30px;
    min-height: 55%;

    h1, h2{
      font-size: 45px;
      line-height: 3.3rem;
      margin-bottom: 30px;
    }

    & > p{font-size: 22px; opacity: .6; line-height: 34px;}
}
.rounded-sections{
  section{
    border-radius: 30px;
    background-color: rgba(0,0,0,0.09);
    margin: 0 auto;
  }
  section + section{
    margin-top: 18px;
  }
}

@media (min-width: 900px){
section{
    padding: 100px;

    h1, h2{
      font-size: 80px;
      line-height: 6rem;
    }
}
.rounded-sections{
  section{
    max-width: 1100px;
    padding: 140px;
  }
  section + section{
    margin-top: 40px;
  }
}
}

:root {
--color-primary: #00b0d0;

}
.menu-icon:after{top: -7px;}

.doctext {
  ol, ul{font-size: 18px;}
  p{opacity: 1; font-size: 18px;}
  h3{font-size: 40px; margin-bottom: 40px;}
  background: #fff !important;
  border: 2px solid rgba(0,0,0,.1);
}

.fullwidthsection{
  max-width: none !important;
}

.rounded-sections .dochero{
  background-color: #fff;
  border: 2px solid rgba(0,0,0,.1);
}

.dochero.bg-dark{
  border: 0;
}

.card{background: #fff; min-width: 280px; padding: 40px 30px;

strong{display: block; margin-bottom: 10px;}

strong a{color: #000; font-size: 30px; line-height: 40px;}

p{opacity: .5;}}

body{background: #fff;}
html, body{min-height: 100dvh; height: 100%;}
#app{width: 100dvw;padding: 80px 9px 18px 9px; overflow: hidden;}
hr {
    display: block;
    width: 50px;
    background: black;
    height: 4px;
    border-radius: 100px;
    border: 0;
    margin: 40px 0;
}

/* navigation */

.main-nav {
  display: flex;
  justify-content: space-between;
margin: 0 auto;
position: absolute;
left: 20px;
top: 0;
right: 20px;
z-index: 99;
max-width: 1240px;
/*filter: invert(1)*/
}

.main-nav.moving{
background: rgba(0,0,0,.8);
}

.nav-logo{
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
margin: 0 0 5px;
}

.nav-logo-image{
  height: 50px;
}
.login-logo-image{
  height: 60px;
  margin-bottom: 20px;
}

.main-menu-toggle {
  border: 0;
  background: transparent;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  text-align: right;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  padding: 0;
color: #fff;
}

/* fullscreen menu */

.fullscreen-menu {
    position: absolute;
    top: 9px;
    right: 0px;
    left: 0px;
    display: none;
    z-index: 9999;
    overflow: auto;
background: rgba(0,0,0,.75);
backdrop-filter: blur(30px); 
padding: 50px 40px;
border-radius: 20px;
box-shadow: 0 40px 100px 0 rgba(20, 20, 50, .2);
color: #fff;

h2{font-size: 50px;}
h3{font-size: 35px;}
}

.fullscreen-menu li a{
color: #09d0d0;
}

.fullscreen-menu.active {
    display: block;
}

.fullscreen-menu-logo img{
  height: 60px;
}

.fullscreen-menu ul{
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.fullscreen-menu li{
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  transition: all .15s ease-in-out;
}
.fullscreen-menu li:hover{
  transform: translateX(7px);
}

.fullscreen-menu .default-list li::before{
  margin-top: 23px;
}

.fullscreen-menu a{
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  line-height: 30px;
}
.fullscreen-menu a::before{
  content: '';
  display: inline-block;
  width: 14px;
  height: 4px;
  border-radius: 20px;
  margin: 0 8px 6px 2px;
  background: white;
}

.fullscreen-menu a:hover, .fullscreen-menu button:hover{
}

.contained-card{
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  padding: 20px 30px;
  margin-top: 50px;
  margin-bottom: 20px;
}
.contained-card li{
  margin-bottom: 0;
}

@media (min-width: 1100px){

  .fullscreen-menu {
      min-width: 400px;
      left: auto;
      bottom: auto;
      padding: 60px 75px;
  }

  .main-menu-items{
  }

  .contained-card{
    width: 48%;
    float: right;
    margin-top: 00px;
    padding: 40px;
  }}

/* Blur and parallax effects */

        section.active .card {
            opacity: 1;
            filter: blur(0);
            transform: scale(1) translateY(0);
            transition: all .7s ease-in-out;
        }

        .overlay {
            filter: blur(8px);
            transition: all 2s ease-out;
            transform: translateY(200px) scale(1.2);
        }
        .aboveviewport .card {
            transform: scale(1) translateY(-50px) !important;
            transition: all 3s ease-in-out;
        }

        .aboveviewport .overlay {
            transform: translateY(-200px);
            transition: all 1.5s ease-in-out;
        }

        section.active .overlay {
            transform: scale(1) translateY(0);
            filter: blur(0px);
            //opacity: .9;
        }

.image-overlay{filter: blur(5px);
            transition: all 2s ease-in-out;
            transform: scale(1.3) translateY(-20%);}

        .aboveviewport .image-overlay{
            transform: scale(1.4) translateY(-20%);
            transition: all 3s ease-in-out;
        }

section.active .image-overlay{
            transform: scale(1.1) translateY(-20%);
            filter: blur(0px);
}

section.bg-dark .buttons{
  .button{
    color: #fff;
    border: 2px solid rgba(255,255,255,.1)
  }
}

section{
padding-top:70px;
padding-bottom: 70px;


ol{
  font-size: 20px;
  margin: 30px 0 0; padding: 0;
  counter-reset: my-counter;

  li {
  counter-increment: my-counter; /* Progress the count per item */
  align-items: center;
  margin-bottom: 1rem;
  padding-left: 50px;
  position: relative;
  list-style: none;
}
li::before {
  content: counter(my-counter); /* Display the count */
  background-color: var(--preview-primary);
  color: white;
  font-weight: bold;
  width: 2rem;
  height: 2rem;
  border-radius: 50%; /* Perfect circle badge */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 0.9rem;
  position: absolute;
  left: 0;
  top: 5px;
}
}
}

/* ----- main switch container (rounded capsule) ----- */
    .radio-switch {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: #222;
      padding: 9px;
      border-radius: 60px;
      backdrop-filter: blur(2px);
      transition: box-shadow 0.2s ease;
margin-bottom: 25px;
    }

    /* ----- hidden radio inputs ----- */
    .radio-switch input[type="radio"] {
      display: none;
    }

    /* ----- each label = rounded button with icon + micro text ----- */
    .radio-switch label {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-width: 50px;
height: 50px;
      border-radius: 40px;
      background: transparent;
      color: #fff;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
      border: none;
      outline: none;
      box-shadow: none;
      line-height: 1.2;
      position: relative;
      user-select: none;
    }

    /* material icon inside label */
    .radio-switch label .material-icons {
      font-size: 28px;
      transition: transform 0.2s ease, color 0.2s ease;
      will-change: transform;
    }

    /* small label text (desktop / mobile / tablet) */
    .radio-switch label .label-text {
font-size: 1rem;
display: inline-block;
padding: 0 18px;
    }

    /* ----- selected state (active) : background + icon & text color ----- */
    .radio-switch input[type="radio"]:checked + label {
      background: #ffffff;
      box-shadow: 0 4px 14px rgba(0, 20, 40, 0.08), 0 1px 4px rgba(0, 0, 0, 0.02);
      color: #fff;
    }

    .radio-switch input[type="radio"]:checked + label .material-icons {
      color: #000;
      transform: scale(1.02);
    }

    .radio-switch input[type="radio"]:checked + label .label-text {
      color: #1e2b3c;
      opacity: 1;
    }

    /* ----- hover effect (non‑selected) ----- */
    .radio-switch label:not(.active):hover {
      background: rgba(255, 255, 255, 0.4);
      color: #fff;
    }

    .radio-switch label:not(.active):hover .material-icons {
      transform: scale(1.05);
      color: #fff;
    }

    .radio-switch label:not(.active):hover .label-text {
      color: #fff;
      opacity: 0.9;
    }

    /* ----- subtle click / tap feedback (optional) ----- */
    .radio-switch label:active .material-icons {
      transform: scale(0.92);
      transition-duration: 0.08s;
    }

    /* ----- focus-visible for accessibility (keyboard) ----- */
    .radio-switch input[type="radio"]:focus-visible + label {
      outline: 2px solid #3b7cff;
      outline-offset: 3px;
      border-radius: 40px;
    }

    /* ----- extra: icon size adjustment for small screens ----- */
    @media (max-width: 480px) {
      .radio-switch {
        gap: 0.1rem;
        padding: 0.4rem;
      }
      .radio-switch label {
        min-width: 64px;
        padding: 0.4rem 0.2rem 0.3rem;
      }
      .radio-switch label .material-icons {
        font-size: 24px;
      }
    }

.fade-out {
    animation: fadeAway 2s ease forwards;
    display: inline-block; /* needed for width animation */
  }

  @keyframes fadeAway {
    0% {
      opacity: 1;
      width: 25.5px; /* natural width */
      margin-right: 0;
    }
    40% {
      opacity: 1;
      margin-right: 0;
width: 25.5px;
    }
    70% {
      opacity: 0.1;
      margin-right: 0;
width: 25.5px;
    }
    100% {
      opacity: 0;
      width: 0;
      margin-right: 0;
    }
  }
section{
transition: all .9s ease-in-out;
opacity: 1;
}
section + a{height: 30px; display: block;}
.active{
opacity: 1;
transform: translateY(0px);
filter: blur(0);

.preview{
opacity: 1;
}
}
.aboveviewport{
transform: translateY(-20px);
filter: blur(1px);
opacity: .5;

.preview{
transform: translateY(-50px);
}
}
.belowviewport{
opacity: 0.5;
filter: blur(1px);

.preview{
transform: translateY(50px);
}
}

.preview{
width: 100%;
border-radius: 25px;
transition: all 1.2s ease-in-out;
position: relative;
}

.preview-header{
padding: 10px; position: sticky; left: 0; right: 0; top: 0; background: #444; z-index: 9;

em{background: rgba(0,0,0, .4); padding: 3px 16px 3px 10px; display: block; border-radius: 50px; text-align: center; font-style: normal;}
}

.social-preview{
padding: 0px;
aspect-ratio: 4/5;
margin-bottom: -150px;

//.masonry-blocks{transform: rotate(-20deg)}
}
.document-preview{
border-radius: 100%;
margin-bottom: -100px;
}

ul.masonry-blocks{
margin: -80px 0 0 -50px; padding: 0; ;
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 33px;
justify-content: center;
align-content: center;
width: 600px;
height: 1000px;

li{
width:40%;
overflow: hidden;
margin: 0;
padding: 0;
}
}

.landscape{
width: 100%;
}

.social-post{
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 20px 100px 0 rgba(0,0,0,.2);
}
.square{aspect-ratio: 1/1;}
.landscape{aspect-ratio: 4/2;}
.portrait{aspect-ratio: 2/4;}
.paper{aspect-ratio: 2/3;}


.site-block{
padding: 40px 20px;
transition: var(--transition);

h3{font-size: 1.6rem; margin: 0 0 10px;}
p{opacity: .5; font-size: .8rem;}
}

.preview-rounded{
background: #fff;

.lightbg{
background: rgba(0,0,0,0.09);
}

.site-block{
border-radius: 20px; margin: 0 9px 18px;
}
}

.primary{
background: blue;
color: white;
}

.dark{
background: black;
color: white;
}
.lightbg{
color: #000;
}

.mobile-preview{
aspect-ratio: 3/5.5 !important;
overflow-x: hidden;
margin: 70px auto -40px;
}

form{
max-width: 500px;

label{opacity: .7; margin-bottom: 10px; display: block;font-size: 20px; }

input{border: 0; border-radius: 50px;
        padding: 20px !important;
        font-size: 18px; background: white; width: 200px; margin-bottom: 20px;}

textarea{border: 0; border-radius: 25px;
        padding: 20px !important;
        font-size: 18px; background: white; font-family: inherit;margin-bottom: 10px;
width: 100%;
}
}
.site-columns{
display: flex;
margin: 0 0 -40px -20px;
padding: 0 20px 20px;
gap: 15px;
width: calc(100% + 40px); overflow: auto;

li{
background: rgba(255,255,255,.12); padding: 10px 20px; border-radius: 15px; min-width: 55%;
}
}


.toolpanel{
position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
transform: translateX(-50%);
color: #fff;
background: rgba(0,0,0,.75);
backdrop-filter: blur(15px); 
border-radius: 100px;
padding: 10px 10px 10px 0;
gap: 10px;
display: flex;
align-items: center;
font-weight: bold;
z-index:99;

em{font-style: normal; display: inline-flex; transition: all .3s ease-in-out; opacity: 0; white-space: nowrap; width: 120px; margin-right: -110px;}

> em{padding: 0 5px 0 25px; margin-right: -120px;}

.button{
color: #fff;
align-items: center;
  justify-content: center;
  height: 55px;
width: 55px;
opacity: 1;
margin: 0;
overflow: hidden;
}
.buttonlabel{
width: 55px;
justify-content: start;
padding-left: 15px;
overflow: hidden;
}
}

.toolpanel.starttutorial{
em{opacity: 1; margin-right: 0;}
.buttonlabel{
width: 190px; gap: 10px; 
}
button + button{
width: 55px; opacity: 0; margin-right: -65px;
}
}

.toolpanelsub{
padding: 10px;
bottom: calc(20px + env(safe-area-inset-bottom, 0px));
display: none;
}
.toolpanelsub.active{
display: flex;
}
.dochero.withpreview{
  position: relative;
}
@media (min-width: 1100px){
.dochero.withpreview > *{
  max-width: 50%;
}

.preview{
position: absolute;
left: 55%;
top: 150px;
width: calc(45% + ((100vw - 1300px) / 2) - 100px);
max-width: none !important;
}
a + section{
  & > h2, & > p{
max-width: 60%;
}
}
.mobile-preview{
top: 70px;
width: 35%;
left: 60%;
}
.toolpanel{

bottom: 20px;
  right: 20px;
left: auto;
transform: none;

}
.toolpanelsub{
}
}


.colorpicker-wrapper {
  position: relative;
  display: inline-flex;
gap: 15px;
  align-items: center;
  justify-content: center;
  background-color: black; /* Fallback / Initial color matching input value */
  cursor: pointer;
  overflow: hidden;
}

/* Hide the default color input visually while keeping it clickable */
.colorpicker-wrapper input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Material icon styling */
.colorpicker-icon {
  color: #ffffff;
  pointer-events: none; /* Allows click to pass through to the label/input */
  font-size: 24px;
}

.toolpanel select.button{width: auto}

/* extra spacing/corner toggles for the preview */
.preview.compact .site-block { padding: 20px 20px; }
.preview.airy .site-block { padding: 60px 30px; }
.preview.sharp .site-block { border-radius: 0 !important; padding: 30px 30px 50px !important; margin-bottom: 10px;}
.preview.fullwidth .site-block { border-radius: 0px !important; margin: 0; padding: 35px 30px 60px;}
.preview.fullwidth #previewHeroBlock{padding-top: 80px;}
.preview.fullwidth .preview-body > div:first-child{margin-bottom: -70px;}
.preview.fullwidth .preview-body{
.menu-icon, .menu-icon:after{
background: #fff;
}
}

/* style for the reset button */
.reset-button { background: #ff3b30; color: white; }

#customizables{
margin-bottom: 30px;
}

#customizables.collage{
background: rgba(0,0,0,.05);
display: flex;
flex-direction: row;
width: 100vw;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
padding: 20px 30px 50px;
border-radius: 30px;

section{
background: transparent;
width: 80vw;
padding: 20px;

> p{display: none;}
.radio-switch{display: none;}

.preview{
left:5%;
top: -50px;
width: 350px;
position: relative;
}
.mobile-preview{
left: -20px;
top: 80px;
z-index: 99;
zoom: 1.15;
}
}

> :first-child{
z-index: 2;
}
}

@media (max-width: 1100px){
.onthispage li:first-child{
width: 100%;
flex-direction: row;
}
}

@media (max-width: 480px) {
#customizables.collage{
overflow: auto;

margin: 0 -10px 30px;
border-radius: 0px;

section{width: 70vw;

h2{font-size: 40px;}

.social-preview{
left: 0px;
zoom: .75;
}
.mobile-preview{
zoom: .75;
margin-left: 20px;
top: 40px;
}
}
}
}
#websitePreview{
  transform-style: preserve-3d;
overflow: visible;}
.preview-header{
border-radius: 24px 24px 0 0;
}
.preview-body{
height: 100%; overflow: auto; width: 100%;
border-radius:  0 0 24px 24px;
}
.overlay-block{
box-shadow: 0 60px 50px 0 rgba(0,0,0,.2);
}
/*
#websitePreview:hover{
.overlay-block{
margin-left: -30px;
margin-top: 10px;
filter: blur(2px);
}
.overlay-block + .overlay-block{
margin-right: -30px;
margin-top: -10px;
}
}*/

.cards{
  flex-direction: row;
  flex-wrap: nowrap;
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-bottom: -60px;
  padding: 0 30px 50px;
  overflow: auto;
}

@media (min-width: 1100px) {
    .rounded-sections {
        section {
            max-width: 1300px;
            padding: 140px;
        }
    }

.cards{
  width: calc(100% + 280px);
  margin-left: -140px;
  padding: 0 140px 140px;
  margin-bottom: -140px;
}
.card{
  min-width: 400px;
  padding: 45px;
}
.doctext > h2{
max-width: none;
}
}

.doctext {
  ul{font-size: 19px; line-height: 40px; margin-bottom: 40px;
  li{margin: 0 0 20px 0; padding-left: 40px; position: relative;}
  li::before{content: ''; width: 20px; height: 3px; border-radius: 30px; background: var(--color-primary); display: block; position: absolute; left: 0px; top: 17px;}}
  p{opacity: 1; font-size: 19px; margin-bottom: 40px; line-height: 40px;}
  h3{font-size: 40px; margin-bottom: 40px;}

}

.onthispage{
  margin-top: 40px;
em{display: block; font-weight: bold; font-style: normal; padding: 3px 5px 3px 0; font-size: 20px;}
}

.buttons.tags{
  margin: 40px 0;
  gap: 10px;

  .button{
    border: 2px solid rgba(0,0,0,.15);
    background: transparent;
    padding: 10px 15px;
    color: #6b6b6b;
  }

  .button.selected{
    background: #fff;
    border: 0;
    color: #000;
    box-shadow: 0 10px 50px 0 rgba(0,0,0,0.1)
  }
}

  /* ---------------- demo frames ---------------- */
  .browser{
    margin:14px 0 6px; background:#fff; box-shadow: 0 100px 150px 0 rgba(0,0,0,.1); border: 1px solid rgba(0,0,0,.2); border-radius: 30px;display: flex; flex-direction: column;
  .viewport{height:500px; zoom: .8;
  overflow: auto;
  }
  .preview-header{
    color: #fff;
    margin: -1px -1px 0;
  }
  .viewport.small{height:300px;margin-top:0}
  code{background: transparent;}
  }
  .caption{font-size:.85rem;color:var(--muted);margin:0 0 24px}

  .variants{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:14px}
  .variants .caption{margin-bottom:0}

  /* the "css" preset leaves panels unstyled on purpose — style them from the page */
  #variant-css panel{
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:14px;
    margin:4px;
    box-shadow:0 1px 2px rgba(16,24,40,.06);
  }

  /* resizable frame for the container-query demo */
  .frame{
    resize:horizontal;
    overflow:hidden;
    min-width:300px;
    max-width:100%;
    container-type:inline-size; /* see the note under that demo */
  }
  @container (max-width:767px){
    .frame > web-panels{
      grid-template-columns:1fr;
      grid-template-rows:auto auto 1fr auto auto;
      grid-template-areas:"top" "left" "main" "right" "bottom";
    }
  }



  .full-width-image{
    border-radius: 30px;
    width: 100%;
    max-width: 1300px;
    display: block;
    min-height: 300px;
    background-position: center center;
    background-size: cover;
    margin: 0 auto 30px;
  }

  img.full-width-image{
    height: auto;
    min-height: 10px;
  }

  section + .full-width-image{margin-top: 30px;}
  .section-image-cols{gap: 20px; max-width: 1300px; margin: 30px auto; }
  .reverse{flex-direction: row-reverse}
@media (min-width: 700px){
  .full-width-image{min-height: 600px;}
  .section-image-cols{display: flex; gap: 20px;}
  .section-image-cols > *{flex: 1; margin: 0; width: auto;}
}


  :where(.card-image) {
    --card-image: none;
    --card-ratio: 12 / 9;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--padding);
    color: white;

    aspect-ratio: var(--card-ratio);

    background-image: var(--card-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg-alt); /* fallback when no image */
    margin: -40px -30px 30px;
    border-radius: 20px 20px 0 0;
    transition: var(--transition);
  }

  /* keep text above the gradient when using ::before tricks later */
  :where(.card-image) > * { position: relative; z-index: 1;}

  @media (min-width: 1100px) {
    :where(.card-image) {
      --card-ratio: 13 / 9;
      margin: -45px -45px 45px;
    }
  }

  .card .badge.count.xl{margin: 0 0 15px;}

h3 + p{margin-top: 10px;}
#problem{
  p + h3{margin-block: 70px 20px; font-size: calc(var(--font-size) * 2.6)}
}