* {
    font-family: "Roboto";
    font-size: 27px;
    font-weight: 400;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}
    

body {
    background-color: #F29292;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
}

header {
    font-family: "Cute";

    width: 100%;
    min-height: 100svh;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    background: linear-gradient(
        180deg,
        #5BBDF9 0%,
        #FA99C2 100%
    );
}

.confetti-particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;          
    width: var(--size, 12px);
    height: auto;
    opacity: 0;
    top: -20px;
    animation: continuous-fall var(--duration) linear infinite;
    animation-delay: var(--delay);
}

@keyframes continuous-fall {
    0% {
        top: -20px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 105%; 
        opacity: 0;
        transform: translateX(var(--drift)) rotate(var(--rotation));
    }
}

.header_text {
    font-family: "Cute";

    width: 100%;

    display: flex;
    justify-content: center;
    color: #3E63AE;
    font-size: 64px;

    margin-top: 60px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

.header_bday_ball {
    z-index: 2;
    position: absolute;
    top: -300px;
    width: 200px;
}

.header_ball2 {
    left: 200px;
    width: 160px;
}

.header_ball5 {
    right: 200px;
}

.balloon {
    display: inline-block;
    will-change: transform;
}

.balloon-1 {
    animation: float-1 4s ease-in-out infinite;
}

.balloon-2 {
    animation: float-2 5s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(-4deg);
  }
}

.header_bday_ball.popped {
    transform: scale(0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    animation: none !important;
    transition: transform 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97), opacity 0.3s ease-out !important;
}

.header_bday_ball.respawning {
    animation: none !important;
    transition: none !important;
    transform: translateY(450px) scale(0.6) !important; 
    opacity: 0 !important;
    z-index: 1 !important;
}

.header_bday_ball.flying-up {
    animation: none !important;
    transition: transform 2.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease-out !important;
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

.header_bday_flag {
    width: 1070px;
    position: absolute;
    top: -20px;
}

.header_table {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    margin-top: 100px;
    box-sizing: border-box;
    z-index: 2;
}

.birthday_scene {
    width: 900px;
    position: relative;
}

.header_bday_table {
    width: 100%;
    display: block;
    position: relative;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
}


.header_bday_balloon {
    position: absolute;
    width: 100px;
}

.header_bday_ballb {
    z-index: 5;
    bottom: -50px;
    left: 300px;
}

.header_bday_bally {
    z-index: 5;
    bottom: -30px;
}

.header_bday_bally2 {
    z-index: 5;
    transform: scaleX(-1);
    right: -50px;
    bottom: 0px;
}

.header_bday_balloon {


    --balloon-y: 0px;
    --balloon-rotate: 0deg;
    --balloon-flip: ;

    transform: var(--balloon-flip) translateY(var(--balloon-y)) rotate(var(--balloon-rotate));
    
    transition: transform 0.05s linear !important;
}

.header_bday_bally2 {
    --balloon-flip: scaleX(-1);
}


/* ПЕРСОНАЖИ */

.header_heroes {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    /* z-index: 1; */
}


.header_bday_hero {
    z-index: 3;
    position: absolute;
    width: 20%;
    left: 37%;
    bottom: 50%;
    
}

.hero1 {
    bottom: 30%;
    width: 24%;
    left: 54%;
}

.hero2 {
    z-index: 5;
    bottom: 61%;
    width: 13%;
    left: 29%;
}

.hero {
    transition: filter 0.3s ease;
    user-select: none; 
    -webkit-user-drag: none; 
}

.vlada {
    z-index: 4;
    box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
    filter: drop-shadow(0px 0px 0px rgba(255, 255, 255, 0));
    transition: filter 0.3s ease;
    user-select: none; 
    -webkit-user-drag: none; 
    pointer-events: visiblePainted;
}

.header_bday_balls {
    position: relative;
    bottom: -60px;
    user-select: none;
    -webkit-user-drag: none;
}

.fstball {
    transform: scaleX(-1);
}

.sway-left-anim {
    transform-origin: bottom center;
    animation: sway-left 5s ease-in-out infinite;
}

.sway-right-anim {
    transform-origin: bottom center;
    animation: sway-right 4.2s ease-in-out infinite;
}

@keyframes sway-left {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(1deg);
    }
}

@keyframes sway-right {
    0%, 100% {
        transform: scaleX(-1) rotate(-1deg);
    }
    50% {
        transform: scaleX(-1) rotate(2.5deg);
    }
}




main {
    width: 100%;
}

.main_headframe {
    width: 100%;
    z-index: 2;
}

.notepad_container {
    position: relative;
    width: 80%;
    max-width: 1200px; 
    margin: 90px auto; 
}

.main_mainpage {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 3;
}


.notepad_content {
    z-index: 3;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
    padding: 40px 100px 40px 160px; 
    box-sizing: border-box;
    text-align: center;
}


.notepad_title {
    width: 100%;
    text-align: left;
    font-family: "Inter"; 
    font-weight: 700;
    font-size: 44px;
    color: #3E63AE;
    padding-bottom: 30px 
}


.notepad_text {
    text-align: left;
    font-family: "Inter"; 
    font-weight: 400;
    font-size: 18px;
    color: #374151;
    line-height: 160%;
}

.notepad_zin {
    text-align: left;
    font-family: "Inter"; 
    font-weight: 400;
    font-size: 18px;
    color: #374151;
    line-height: 160%;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.main_bigheart {
    position: absolute;
    left: -200px; 
    top: -180px;
    width: 700px;
    z-index: 2;
    user-select: none; 
    -webkit-user-drag: none; 
}

.main_smallheart {
    position: absolute;
    right: 0;    
    top: -140px;
    width: 120px;
    z-index: 2;
    user-select: none; 
    -webkit-user-drag: none; 
}

.main_patchup {
    position: absolute;
    top: -70px;
    right: -90px;
    width: 300px;
    z-index: 4;
}

.main_patchdown {
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 300px;
    z-index: 4;
}

.main_arrow1 {
    width: 200px;
    position: absolute;
    right: -100px;
    bottom: -100px;
    z-index: 5;
}

.main_arrow2 {
    width: 200px;
    position: absolute;
    right: 10px;
    bottom: -150px;
    z-index: 5;
}




.How-to-participate {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.section-title {
    font-family: "Lora", serif;
    font-size: 32px;
    font-weight: 700;
    color: #652020;
    text-align: center;
    margin-bottom: 40px;
    z-index: 3;
}

.steps-grid {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 50px;
    justify-content: center;
    margin: 0 10px;
    perspective: 1000px; 
}

.step-card {
    z-index: 3;
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}


.step-sticker {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    background-color: rgba(255, 249, 196, 0.85);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-sticker-left {
    top: -8px;
    left: 40px;
}

.step-sticker-right {
    top: -8px;
    right: 40px;
}

.step-card:nth-child(1) .step-sticker-left {
    width: 50px;
    height: 16px;
    transform: rotate(0.5deg);
}
.step-card:nth-child(1) .step-sticker-right {
    width: 50px;
    height: 30px;
    transform: rotate(-4.5deg);
}


.step-card:nth-child(2) .step-sticker-left {
    width: 50px;
    height: 40px;
    transform: rotate(0deg);
    top: -25px;
}
.step-card:nth-child(2) .step-sticker-right {
    width: 50px;
    height: 30px;
    transform: rotate(5deg);
}


.step-card:nth-child(3) .step-sticker-left {
    width: 50px;
    height: 35px;
    transform: rotate(-1.5deg);
    top: -25px;
}
.step-card:nth-child(3) .step-sticker-right {
    width: 50px;
    height: 16px;
    transform: rotate(3.5deg);
}


.step-card:nth-child(4) .step-sticker-left {
    width: 50px;
    height: 30px;
    transform: rotate(0deg);
}
.step-card:nth-child(4) .step-sticker-right {
    width: 50px;
    height: 25px;
    transform: rotate(-4deg);
}


.step-card-content {
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;

    box-sizing: border-box;
    padding: 20px 24px;
    border-radius: 4px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04), -2px 6px 16px rgba(0, 0, 0, 0.09);

    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.step-card:nth-child(1) .step-card-content {
    background-color: #FFFDF5;
    border: 1px solid #E8D5C4;
    transform: rotate(-1.5deg);
}

.step-card:nth-child(2) .step-card-content {
    background-color: #FFFDF5;
    border: 1px solid #E8D5C4;
    transform: rotate(2deg);
}

.step-card:nth-child(3) .step-card-content {
    background-color: #FFFDF5;
    border: 1px solid #E8D5C4;
    transform: rotate(1.5deg);
}

.step-card:nth-child(4) .step-card-content {
    background-color: #FFFDF5;
    border: 1px solid #E8D5C4;
    transform: rotate(-2deg);
}

.step-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 32px;
}

.step-number-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.step-title {
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #652020;
    margin: 0;
    text-align: center;
}

.step-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #672929;
    margin: 0;
    text-align: left;
    line-height: 145%;
}

.step-link {
    color: #652020;
    text-decoration: underline;
    font-family: "Inter";
    font-weight: 400;
    font-size: 14px;
    transition: color 0.15s ease;
}

.step_smallheart {
    position: absolute;
    left: 10px;    
    bottom: -90px;
    width: 120px;
    z-index: 1;
    transform: scaleX(-1);
    user-select: none; 
    -webkit-user-drag: none; 
}


.important-sticker-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 50px;
    box-sizing: border-box;
}

.important-sticker {
    position: relative;
    width: 100%;
    max-width: 270px;
    background-color: #ffe066; 
    box-shadow: 
        inset 0 0 0 3px #ffffff, 
        0px 2px 4px rgba(0, 0, 0, 0.05), 
        -2px 8px 16px rgba(0, 0, 0, 0.1);
    padding: 28px 20px 24px 20px;
    box-sizing: border-box;
    transform: rotate(-5deg);
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    z-index: 10;
    top: -80px;
    right: -90px;
}
.sticker-tape {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 90px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.65); 
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    z-index: 12;
}

.sticker-content {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: center;
    gap: 12px;
}

.sticker-title {
    display: inline-flex;  
    align-items: center;   
    gap: 8px;             
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #5c3a00;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Inter";
    font-weight: 700;
    font-size: 18px;
    text-align: left;
}

.sticker-text {
    font-family: "Inter";
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    margin: 0;
    color: #3d2a00;
}





.prize-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0px 50px; 
    box-sizing: border-box;
}

.prize-container {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.prize-title-container {
    position: relative;
    display: inline-block; 
}

.title-underline {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 3px;
    margin-top: 8px;
}

.underline-line {
    border-radius: 2px;
}

.underline-line.line-1 {
    width: 180px;
    height: 3px;
    background-color: #F29292;
}

.underline-line.line-2 {
    width: 139px;
    height: 2px;
    background-color: #F2B8B8;
}

.prize-tape {
    position: absolute;
    width: 60px;
    height: 50px;
    background-color: rgba(255, 255, 196, 0.9); 
    border: 1px solid #E8D5A0; 
    border-radius: 2px;
    z-index: 3;
}

.tape-top-left {
    top: -20px;
    left: -30px;
    transform: rotate(-45deg);
}

.tape-bottom-right {
    bottom: -20px;
    right: -30px;
    transform: rotate(-45deg);
}

.prize-card {
    position: relative;
    z-index: 2;
    background-color: #FFF5F5;
    border: 2px dashed #F2C4C4;
    border-radius: 12px;
    padding: 24px 28px 28px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: rotate(-1deg);
    
}

.prize-header {
    display: flex;
    flex-direction: column;
    align-items: left; 
    width: 100%;
    margin-bottom: 8px;
}

.prize-title {
    font-family: "Lora";
    font-weight: 700;
    font-size: 24px;
    color: #652020;
    text-align: left;
}

.prize-divider {
    display: flex;
    align-items: center; 
    justify-content: center;
    width: 100%;
    gap: 14px; 
    box-sizing: border-box;
    padding-top: 10px;
}

.divider-line {
    flex-grow: 1; 
    height: 1px;
    background-color: #F2C4C4;
}

.divider-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prize-list {
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

.prize-row {
    background-color: #FFF5F5; 
    border: 1px solid #F2D5D5; 
    border-radius: 8px; 
    padding: 10px 15px; 
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    display: flex;

    align-items: center;    
    text-align: center;     
}

.prize-text {
    font-family: 'Inter'; 
    font-size: 15px;
    line-height: 140%; 
    color: #3D2A1E; 
    text-align: left;
}

.prize_bigheart {
    position: absolute;
    right: 50px; 
    top: -150px;
    width: 700px;
    z-index: 1;
    transform: scaleX(-1);
    user-select: none; 
    -webkit-user-drag: none; 
}




.rules-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 50px;
    box-sizing: border-box;
}

.rules-container {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.rules-tape {
    position: absolute;
    width: 70px;
    height: 20px;
    background-color: rgba(255, 255, 196, 0.9);
    border: 1px solid #E8D5A0;
    border-radius: 2px;
    z-index: 3;
}

.rules-tape-top-left {
    top: -10px;
    left: 25px;
    transform: rotate(-2deg);
}

.rules-tape-bottom-right {
    top: -10px;
    right: 25px;
    transform: rotate(2deg);
}

.rules-card {
    position: relative;
    z-index: 2;
    background-color: #FFFDF5;
    border: 1px solid #E8D5C4; 
    border-radius: 12px;
    padding: 32px 28px 80px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.rules-header {
    display: flex;
    flex-direction: column;
    align-items: left; 
    width: 100%;
    margin-bottom: 8px;
}

.rules-title {
    font-family: 'Lora';
    font-weight: 700;
    font-size: 28px;
    color: #652D2D;
    text-align: left;
    margin: 0;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rule-row {
    background-color: #FFF9F2; 
    border: none; 
    border-radius: 6px; 
    padding: 12px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    gap: 12px;
    transition: background-color 0.2s ease;
}

.rule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px; 
}

.rule-text {
    font-family: 'Inter';
    font-size: 15px;
    line-height: 140%;
    color: #302A1E;
    text-align: left;
}

.rule-botstratch {
    position: absolute;
    bottom: -50px;
    right: 30px;
    z-index: 4;
}


.sanses {
    z-index: 3;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 500px;
    -webkit-user-select: none;
    user-select: none;
}

.sans {
    cursor: pointer;
    height: 210px;
    -webkit-user-select: none;
    user-select: none;
}










.star-heart-particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: heartStarPulse var(--duration) ease-in-out var(--delay) infinite;
}

@keyframes heartStarPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

















body.popup-active {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
    
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px); 
}

.popup-box {
    width: 490px;
    background-color: #F5F5F5;
    border: 3px solid #4867C3;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    background-clip: padding-box; 
}

.xp-title-bar {
    height: 34px;
    background: linear-gradient(90deg, #4867C3 0%, #8FA9F4 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
}

.xp-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    font-family: "Inter";
}

.xp-close-btn {
    width: 22px;
    height: 22px;
    background-color: #4867C3;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.15s ease;
}

.popup-content {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.popup-text-main {
    color: #473854;
    font-size: 18px;
    font-weight: 500; 
    line-height: 160%;
}

.popup-text-main p {
    margin: 0;
}

.popup-text-main .greeting {
    margin-bottom: 8px;
}

.invite {
    font-family: "Inter";
    color: #473854;
    font-weight: 500;
}

.greeting {
    font-family: "Inter";
    color: #473854;
    font-weight: 500;
}

.popup-emojis {
  margin-top: 20px;
  font-size: 16px;
  color: #4867C3;
}




@media (hover:hover) {
    .notepad_zin:hover {
        color: #657895;
        cursor: pointer;
    }

    .vlada.hovered {
        filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.9));
        cursor: pointer;
    }
    
    .hero.hovered {
        filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.9));
        cursor: pointer;
    }
        
    .header_bday_ball {
        cursor: pointer;
    }

    .xp-close-btn-img:hover {
        filter: brightness(1.1);
    }

    .step-link:hover {
        color: #F29292;
    }

    .step-card:hover {
        cursor: pointer;
    }

    .step-card:nth-child(1):hover .step-card-content {
        transform: rotate(-1.5deg) rotateX(15deg);
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    }

    .step-card:nth-child(2):hover .step-card-content {
        transform: rotate(2deg) rotateX(15deg);
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    }

    .step-card:nth-child(3):hover .step-card-content {
        transform: rotate(1.5deg) rotateX(15deg);
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    }

    .step-card:nth-child(4):hover {
        cursor: auto;
    }

    .prize-row:hover {
        background-color: #FFEAEA; 
        cursor: pointer;
    }
}



@media (min-width: 0px) and (max-width: 550px) {
    * {
        font-size: 15px; 
    }

    .header_text {
    font-size: 40px;
    }

    .header_bday_balls {
        display: none;
        visibility: hidden;
    }

    .header_table {
        margin-top: 300px;
    }

    .header_bday_ball {
        top: -150px;
        width: 90px;
    }
    
    .header_ball2 {
        left: 70px;
        width: 70px;
    }
    
    .header_ball5 {
        right: 70px;
    }

    .header_bday_flag {
        width: 670px;
        top: -160px;
    }

    .header_bday_balloon {
        width: 55px;
    }

    .header_bday_ballb {
        bottom: -20px;
        left: 150px;
    }

    .header_bday_bally2 {
        right: 40px;
        width: 45px;
        bottom: -20px;
    }

    .notepad_container {
        width: 85%;
        margin: 50px auto;
    }
    

    .notepad_content {
        padding: 12px 24px 12px 36px; 
    }

    .notepad_title {
        font-size: 14px;
        padding-bottom: 8px 
    }


    .notepad_text, .notepad_zin {
        font-size: 7px;
    }

    .main_bigheart {
        left: -50px; 
        top: -60px;
        width: 250px;
    }

    .main_smallheart {
        right: 10px;    
        top: -70px;
        width: 50px;
    }

    .main_patchup {
        top: -20px;
        right: -20px;
        width: 80px;
    }

    .main_patchdown {
        bottom: -20px;
        left: -30px;
        width: 90px;
    }

    .main_arrow1 {
        display: none;
        visibility: hidden;
    }

    .main_arrow2 {
        width: 50px;
        right: 10px;
        bottom: -40px;
    }

    .step-card {
        margin: 0 40px
    }

    .step-header {
        gap: 12px; 
    }
    
    .step-number-img {
        position: static;
        transform: none; 
    }

    .important-sticker {
        width: 160px;
        right: -40px;
        top: -60px;
        padding: 14px 10px 12px 10px;
    }

    .sticker-title {
        font-size: 13px;
    }

    .sticker-text {
        font-size: 10px;
        font-weight: 500;
    }

    .rule-botstratch {
        width: 200px;
        bottom: -20px;
    }

}

@media (min-width: 550px) and (max-width: 700px) {
    .header_text {
        font-size: 40px;
    }
    
    .header_bday_balls {
        display: none;
        visibility: hidden;
    }

    .header_table {
        margin-top: 300px;
    }

    .header_bday_ball {
        top: -200px;
        width: 120px;
    }
    
    .header_ball2 {
        left: 130px;
        width: 100px;
    }
    
    .header_ball5 {
        right: 130px;
    }

    .header_bday_flag {
        width: 970px;
        top: -190px;
    }

    .header_bday_balloon {
        width: 80px;
    }

    .header_bday_ballb {
        bottom: -20px;
        left: 200px;
    }

    .header_bday_bally2 {
        right: 20px;
        width: 70px;
        bottom: -20px;
    }

    .notepad_container {
        width: 85%;
        margin: 60px auto;
    }

    .notepad_content {
        padding: 20px 40px 10px 60px; 
    }

    .notepad_title {
        font-size: 18px;
        padding-bottom: 10px 
    }

    .notepad_text, .notepad_zin {
        font-size: 10px;
    }

    .main_bigheart {
        left: -70px; 
        top: -90px;
        width: 350px;
    }

    .main_smallheart {
        right: 10px;    
        top: -90px;
        width: 75px;
    }

    .main_patchup {
        top: -30px;
        right: -30px;
        width: 150px;
    }

    .main_patchdown {
        bottom: -30px;
        left: -40px;
        width: 150px;
    }

    .main_arrow1 {
        display: none;
        visibility: hidden;
    }

    .main_arrow2 {
        width: 90px;
        right: 10px;
        bottom: -80px;
    }

}

@media (min-width: 700px) and (max-width: 1000px) {

    .header_bday_flag {
        width: 970px;
        top: -190px;
    }   

    .header_text {
        font-size: 50px;
    }
    
    .header_bday_balls {
        display: none;
        visibility: hidden;
    }

    .header_table {
        margin-top: 300px;
    }

    .header_bday_ball {
        top: -250px;
        width: 150px;
    }
    
    .header_ball2 {
        left: 170px;
        width: 130px;
    }
    
    .header_ball5 {
        right: 170px;
    }

    .header_bday_balloon {
        width: 90px;
    }

    .header_bday_ballb {
        bottom: -20px;
        left: 250px;
    }
    
    .header_bday_bally2 {
        right: 20px;
    }

    .notepad_container {
        width: 85%;
    }

    .notepad_content {
        padding: 20px 40px 10px 60px; 
    }

    .notepad_title {
        font-size: 24px;
        padding-bottom: 10px 
    }

    .notepad_text, .notepad_zin {
        font-size: 12px;
    }

    .main_bigheart {
        left: -70px; 
        top: -100px;
        width: 400px;
    }

    .main_smallheart {
        right: 10px;    
        top: -120px;
        width: 100px;
    }

    .main_patchup {
        top: -50px;
        right: -50px;
        width: 200px;
    }

    .main_patchdown {
        bottom: -40px;
        left: -60px;
        width: 200px;
    }

    .main_arrow1 {
        display: none;
        visibility: hidden;
    }

    .main_arrow2 {
        width: 120px;
        right: 10px;
        bottom: -100px;
    }

}

@media (min-width: 1000px) and (max-width: 1300px) {
    .header_bday_flag {
        width: 970px;
        top: -250px;
    }   

    .header_bday_balls {
        display: none;
        visibility: hidden;
    }

    .header_table {
        margin-top: 300px;
    }

    .header_bday_ballb {
        bottom: 0px;
        left: 300px;
    }

    .header_bday_bally {
        bottom: -10px;
    }

    .header_bday_bally2 {
        right: -20px;
        bottom: 0px;
    }

    .header_bday_bally2 {
        right: 20px;
    }

    .notepad_container {
        width: 85%;
    }

    .notepad_content {
        padding: 30px 70px 30px 110px; 
    }

    .notepad_title {
        font-size: 32px;
        padding-bottom: 12px 
    }


    .notepad_text, .notepad_zin {
        font-size: 16px;
    }

    .main_bigheart {
        left: -100px; 
        top: -130px;
        width: 500px;
    }

    .main_smallheart {
        right: 10px;    
        top: -120px;
        width: 100px;
    }

    .main_patchup {
        top: -70px;
        right: -70px;
        width: 250px;
    }

    .main_patchdown {
        bottom: -60px;
        left: -80px;
        width: 250px;
    }

    .main_arrow1 {
        display: none;
        visibility: hidden;
    }

    .main_arrow2 {
        width: 150px;
        right: 30px;
        bottom: -130px;
    }
  
}

@media (min-width: 1110px) {
    .important-sticker {
        top: -80px;
        right: -360px;
    }
}
