/* Ensure this import only includes Balsamiq Sans if using Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*
@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*/
/* Chewy font-face removed */

* {
    box-sizing: border-box;
    /* cursor: url(../assets/cursor-default-sm.png), default; */
    cursor: default;
}

body {
    font-family: 'Balsamiq Sans', cursive; /* Changed to Balsamiq Sans */
    background: #353434;
    color: #512526;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    padding: 50px 0;
    margin: 0;
    font-size: 18px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* cursor: url(../assets/cursor-default-sm.png), default; */
    cursor: default;
}

a {
    color: #512526;
    font-weight: bold;
    text-decoration: none;
    /* cursor: url(../assets/cursor-pointer-sm.png), pointer !important; */
    cursor: pointer !important;
}

hr {
    border: 0;
    border-top: 2px dotted #512526;
    margin: 25px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Balsamiq Sans', cursive; /* Changed to Balsamiq Sans */
    color: #7d3434;
}

.kumusta {
    color: #fff;
    margin: 0 0 20px 0;
    padding: 0;
    text-align: center;
}

.project-title {
    color: #ffeeee;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 2em;
    display: block;
    background-color: #8a4848;
    padding: 10px 15px;
    border: 2px solid #512526;
    border-radius: 5px;
    box-shadow: 3px 3px 0 #7d3434;
    margin-bottom: 25px;
}

.text-bg-imp {
    color: #ffeeee;
    text-decoration: none;
    display: block;
    text-align: center;
    background-color: #8a4848;
    padding: 5px;
    border: 2px solid #512526;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #7d3434;
    margin-bottom: 15px;
}

.text-bg-imp2 {
    color: #512526;
    text-decoration: none;
    display: block;
    text-align: center;
    background-color: #ffd642;
    padding: 5px;
    border: 2px solid #512526;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #7d3434;
     margin-bottom: 15px;
}

.modal {
    position: relative;
    width: calc(100% - 50px);
    max-width: 60vw;
    margin: 50px auto;
    border: 2px solid #512526;
    border-radius: 10px;
    box-shadow: 5px 5px 0 #7d3434;
    background: #fbefd0;
    z-index: 999;
}

.modal-content {
    margin: 30px;
    position: relative;
}

.s-text {
    color: #f1ada2;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #8a4848;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}

.b-text {
    font-weight: bold;
}

.modal-nav {
    margin-top: 25px;
    text-align: center;
    border-top: 2px dotted #512526;
    padding-top: 20px;
}

.modal-nav a span {
    display: inline-block;
    border: 2px solid #512526;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #7d3434;
    background: #fee;
    padding: 8px 15px;
    margin: 5px;
    /* cursor: url(../assets/cursor-pointer-sm.png), pointer; */
    cursor: pointer;
    transition: transform 0.1s ease-out;
}

.modal-nav a span:hover {
    transform: translateY(-2px);
    box-shadow: 5px 7px 0 #7d3434;
}
.modal-nav a span:active {
     transform: translateY(1px);
     box-shadow: 1px 1px 0 #7d3434;
}

.project {
    padding: 20px;
    border: 2px solid #512526;
    border-radius: 5px;
    background: #ffeeee7a;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-btn {
    display: inline-block;
    text-align: center;
    /* cursor: url(../assets/cursor-pointer-sm.png), pointer; */
    cursor: pointer;
    border-radius: 5px;
    color: #512526;
    background: #fee;
    padding: 8px 15px;
    border: 2px solid #512526;
    box-shadow: 3px 3px 0 #7d3434;
    transition: transform 0.1s ease-out;
    text-decoration: none;
    margin: 5px;
}

.project-btn:hover {
    color: #fee;
    background: #8a4848;
    transform: translateY(-2px);
    box-shadow: 5px 7px 0 #7d3434;
}

.project-btn:active {
    transform: scale(.95);
    color: #fff;
}

.border-default {
    border: 2px solid #512526;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #7d3434;
}

.text-center {
    text-align: center;
}

.sky {
    top: 0;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: #75b7b7;
    z-index: -999;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.flex-1 {
    width: 99%;
}

.flex-1-2 {
    width: 48%;
}

.flex-1-3 {
    width: 32%;
}

.flex-2-3 {
    width: 65%;
}

.flex-1-4 {
    width: 23.5%;
}

.flex-3-4 {
    width: 72.5%;
}

.cloud1, .cloud2, .cloud3 {
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    z-index: -100;
    opacity: .3;
    pointer-events: none;
}

.cloud1 {
    background-image: url('https://lovechan.cc/assets/cloud1.png'); /* Placeholder */
    width: 35vw;
    height: 40vh;
    top: -15vh;
    left: -10vw;
}

.cloud2 {
    background-image: url('https://lovechan.cc/assets/cloud2.png'); /* Placeholder */
    width: 35vw;
    height: 35vw;
    top: -5vw;
    right: -5vw;
}

.cloud3 {
    background-image: url('https://lovechan.cc/assets/cloud1.png'); /* Placeholder */
    width: 60vw;
    height: 60vw;
    top: 10vh;
    left: 15vw;
}

.bubble,
.bubble-sent {
    padding: 15px 20px;
    border-radius: 15px;
    min-height: 40px;
    position: relative;
    z-index: 99;
    box-shadow: 5px 5px 0px #7d3434;
    border: 2px solid #512526;
    margin-bottom: 20px;
}

.bubble {
    background-color: #fff;
    color: #512526;
}

.bubble-sent {
    color: #512526;
    background-color: #f1ada2;
    width: fit-content;
    max-width: 60%;
    margin-left: 25px;
}

.bubble-me {
    width: fit-content;
    max-width: 60%;
    margin-left: auto;
    margin-right: 25px;
}

/* Arrow styles removed */

.demo-link {
    border: 2px solid #512526;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #7d3434;
    background: #fee;
    padding: 8px 15px;
    margin: 10px 0;
    /* cursor: url(../assets/cursor-pointer-sm.png), pointer; */
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    color: #512526;
    transition: transform 0.1s ease-out;
}

.demo-link:hover {
    transform: translateY(-2px);
    box-shadow: 5px 7px 0 #7d3434;
}
.demo-link:active {
     transform: translateY(1px);
     box-shadow: 1px 1px 0 #7d3434;
}

.qr-code {
    display: block;
    margin: 15px auto;
    width: 150px;
    height: 150px;
    background-color: #fff;
}

.donation-options {
    margin: 30px 0;
}

@media (max-width: 575.98px) {
    body { font-size: 14px; }
    .modal {
        max-width: calc(100vw - 40px);
        margin: 20px auto;
        box-shadow: 3px 3px 0 #7d3434;
    }
     .modal-content { margin: 15px; }
     .flex-1-2 { width: 100%; }
     .kumusta { font-size: 1.8em; }
     .flex-container>div {
        width: 100% !important;
    }
}

@media (max-width: 767.98px) {
    body { font-size: 16px; }
    .modal {
        max-width: 90vw;
    }
    .flex-1-2 { width: 100%; }
}

@media (max-width: 991.98px) {
     .modal {
        max-width: 80vw;
     }
      .cloud1, .cloud2, .cloud3 { display: none; }
}
