body{background: #fff; --preview-primary: #10c3da;--color-primary: #10c3da;}
html, body{min-height: 100dvh; height: 100%;}
#app{width: 100dvw;padding: 80px 9px 18px 9px; overflow: hidden;}
.menu-icon:after{top: -7px;}
hr {
    display: block;
    width: 50px;
    background: black;
    height: 4px;
    border-radius: 100px;
    border: 0;
    margin: 40px 0;
}

.list-bullets{
  li{ margin: 0 0 20px 0;
      padding-left: 40px;
      position: relative;
      font-size: 18px;}
              li::before {
            content: '';
            width: 20px;
            height: 3px;
            border-radius: 30px;
            background: var(--color-primary);
            display: block;
            position: absolute;
            left: 0px;
            top: 17px;
        }
}

/* navigation */

.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;
}

/* Blur and parallax effects */
        .card {
            filter: blur(8px);
            transition: all 1s ease-in-out;
            transform: scale(0.95) translateY(50px);
        }

        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 .buttons{
gap: 18px;
 .button {
    background: #fff;
    font-size: 1.2rem;
    padding: 5px 30px;
}
}

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


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"] {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* ----- each label = rounded button with icon + micro text ----- */
    .radio-switch label {
      display: flex;
      flex-direction: row;
      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;
      font-size: 1rem;
      padding: 5px 18px;
    }

    /* ----- selected state (active) : background + icon & text color ----- */
    .radio-switch label:has(input:checked), .radio-switch label:has(input:checked):hover{
      background: #ffffff !important;
      box-shadow: 0 4px 14px rgba(0, 20, 40, 0.08), 0 1px 4px rgba(0, 0, 0, 0.02);
      color: #000 !important;
    }

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

    /* ----- focus-visible for accessibility (keyboard) ----- */
    .radio-switch label:has(input:focus-visible){
      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;
      }
    }

.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{
aspect-ratio: 2/3;
width: 100%;
border-radius: 25px;
color: #fff;
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;
}

@media (min-width: 900px){
.preview{
position: absolute;
left: 60%;
top: 0;
width: 40%;
}
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: 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;
}
}*/