body, html {
    font-family: 'Schoolbell', cursive;
    background-color: rgb(40, 40, 40);
}

button {
    font-family: 'Schoolbell', cursive;
    width: 150px;
    height: 40px;
    font-size: 20px;
    border: medium none;
    border-radius: 4px;
}

button:active {
    transform: translateY(2px);
}

.btn-ja {
    color: #fff;
    background-color: #4085B8;
}

.btn-nej {
    color: #4085B8;
    background: #fff;
}

.btn-share-expanded {
    width: 120px;
    visibility: visible;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

.child {
    text-align: center;
}

.bice {
    font-size: 50px;
}

.corve {
    font-size: 30px;
}

.c1 {
    color: rgb(122, 141, 247);
}

.c2 {
    color: rgb(39, 230, 65);
}

.c3 {
    color: rgb(101, 240, 221);
}

.c4 {
    color: rgb(255, 255, 255);
}

.c5 {
    color: rgb(247, 252, 0);
}

#balloons {
    display:  none;
}

/* Hamburger menu styles */
.hamburger-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Popup menu styles */
.popup-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

.popup-menu.active {
    right: 0;
}

.popup-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-menu li {
    margin: 20px 0;
}

.popup-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
}

.popup-menu a:hover {
    color: #ffeb3b;
}

/* Overlay for closing menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

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

/* Share modal */
.share-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.share-modal-content {
    background-color: rgb(31, 41, 55);
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    text-align: left;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.share-modal-header {
    background-color: rgb(31, 41, 55);
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.share-modal-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.share-modal-close:hover {
    color: #ddd;
}

.share-modal-body {
    padding: 0 20px;
}

.share-form-group {
    margin-bottom: 15px;
}

.share-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

.share-form-group input,
.share-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(55, 65, 81);
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity));
    color: #fff;
}

.share-form-group input:focus,
.share-form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.share-modal-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
}

.share-btn.primary {
    background-color: #007bff;
    color: white;
}

.share-btn.primary:hover {
    background-color: #0056b3;
}

.share-btn.secondary {
    background-color: #6c757d;
    color: white;
}

.share-btn.secondary:hover {
    background-color: #545b62;
}

.share-btn.cancel {
    background-color: #dc3545;
    color: white;
}

.share-btn.cancel:hover {
    background-color: #c82333;
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .share-modal-content {
        margin: 20% auto;
        width: 95%;
    }

    .share-modal-footer {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}