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;}
a{ color: #007bff;}
/* 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: 1180px;
/*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: #9af000;
}

.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:not(.btn), .fullscreen-menu button:not(.btn){
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-size: 1.2rem;
  font-weight: normal;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  line-height: 30px;
}

.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: 900px){

  section{
    max-width: 1180px !important;
  }

  .fullscreen-menu {
      min-width: 500px;
      left: auto;
      bottom: auto;
padding: 100px;
  }}

/* 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);
        }

.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;
position: relative;

h3{font-size: 40px;

}

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: #007bff;
  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;
}
}
}
.course-list{
  font-size: 23px;
  margin: 10px 0 0; padding: 0; font-weight: bold;

 li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

li::before {
  content: '';
  background-color: #fff;
  color: white;
  font-weight: bold;
  width: 24px;
  height: 4px;
  border-radius: 100px; /* Perfect circle badge */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 0.9rem;
}
}


.preview{
background: #333;
padding: 50px;
margin-top: 150px;
height: auto !important;
}

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


.preview{
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;

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.8 !important;
overflow-x: hidden;
margin: 40px auto -40px;
}

form{
max-width: 600px;

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;
padding: 0;
gap: 15px;

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


.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: 106px;
display: none;
}
.toolpanelsub.active{
display: flex;
}

@media (min-width: 900px){
.preview{
position: absolute;
left: 65%;
top: 0;
width: 40%;
}
a + section{
  & > h2, & > p, & > ol, > & ul{
max-width: 60%;
}
}
.mobile-preview{
top: 50px;
width: 35%;
left: 60%;
}
.toolpanel{

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

}
.toolpanelsub{
bottom: 97px;
}
}


.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 12px; }
.preview.airy .site-block { padding: 60px 30px; }
.preview.sharp .site-block { border-radius: 0 !important; }
.preview.pill .site-block { border-radius: 60px !important; }

/* 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: 50px 30px 50px;
border-radius: 30px;

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

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

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

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

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

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

section{width: 70vw;

h2{
  font-size: 40px;
}

.social-preview{
left: 50px;
zoom: .75;
}
.mobile-preview{
zoom: .75;
margin-left: 20px;
top: -50px;
}
}
}
}

.section-label{
  display: inline-block;
  border-radius: 100px;
  padding: 6px 20px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  position: relative;
  top: -20px;
}