/* Funny Meter CSS Stylesheet */

.other-app-subtitle {
    margin-top: 5px;
    margin-bottom: 10px;
    color: blue;
}

/* Utility classes */
.min-h-screen {
    border-radius: 15px;
}

#tryAnotherBtn {
    border-color: #F59E0B;
    color: rgb(216 24 33);
    background: #f6ad32;
    font-size: 1rem;
    margin: 1rem auto;
}

.h-line {
    border-bottom: 1px solid rgb(232 163 16);
    width: 100%;
    margin: 10px auto;
}

.ad-card {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        margin: 0 auto;
        background: #FFE066;
}
/*
.p-8 {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
*/
.max-w-2xl {/*app-container*/
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
    margin-left: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.p-4 {/*textarea*/
    padding: 1rem;
    margin: 1rem auto;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
    margin: 1rem auto;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-2 {
    gap: 0.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-full {
    width: 100%; /*textarea*/
}

.h-full {
    height: 100%;
}

.w-80 {
    width: 20rem;
}

.h-48 {
    height: 12rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-yellow-50 {
    background-color: #fffbeb;
}

.bg-amber-50 {
    background-color: #fffbeb;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.border-2 {
    border-width: 2px;
}

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-l-4 {
    border-left-width: 4px;
}

.border-yellow-200 {
    border-color: #fef3c7;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.text-red-600 {
    color: #dc2626;
}

.text-white {
    color: white;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.resize-none {
    resize: none;
}

.italic {
    font-style: italic;
}

.leading-relaxed {
    line-height: 1.625;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.cursor-pointer {
    cursor: pointer;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Responsive grid */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Custom styles */
.example-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #F59E0B;
    color: #B45309;
    background-color: white;
    border-radius: 9999px;
    transition: all 0.2s;
    cursor: pointer;
}

.example-btn:hover {
    background-color: #FFFBEB;
    color: #F59E0B;
}

.transition-all {
    transition: all 0.3s;
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.duration-1500 {
    transition-duration: 1.5s;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.transform {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#jokeInput {
    transition: border-color 0.15s ease-in-out;
}

#jokeInput:focus {
    outline: none;
    border-color: #F59E0B;
}

#analyzeBtn:hover {
    background-color: #D97706 !important;
}

#tryAnotherBtn:hover {
    background-color: #FFFBEB;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

/* App cards */
.app-card {
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    background-color: white;
}

.app-card:hover {
    border-color: #F59E0B;
    background-color: #FFFBEB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Mobile Responsiveness - Add to funny-meter.css */

/* Tablet styles (768px and below) */
@media screen and (max-width: 768px) {
    .other-app-description {
        font-size: 0.9rem;
    }

    .text-5xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .text-4xl {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .text-3xl {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .text-lg {
        font-size: 1.05rem;
        line-height: 1.6rem;
    }

    .mb-8 {
        margin-bottom: 1.5rem;
    }

    .mt-16 {
        margin-top: 3rem;
    }

    .mt-12 {
        margin-top: 2.5rem;
    }

    .h-48 {
        height: 10rem;
    }

    .w-80 {
        width: 18rem;
    }
}

/* Mobile styles (480px and below) */
@media screen and (max-width: 480px) {
     .content-card h2 {
        font-size: 1.8rem;
    }

    .content-card h1 {
        font-size: 1.5rem;
    }

    .text-5xl {/* h1 title (e.g. How funny are you?) */
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .text-4xl {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .text-3xl {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .text-lg {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .text-sm {
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    .mb-8 {
        margin-bottom: 1.25rem;
    }

    .mb-6 {
        margin-bottom: 1.25rem;
    }

    .mt-16 {
        margin-top: 2.5rem;
    }

    .mt-12 {
        margin-top: 1.3rem;
        padding: 1rem 0;
        margin-bottom: 0.5rem;
    }

    .mt-6 {
        margin-top: 1.25rem;
    }

    .h-48 {
        height: 8rem;
    }

    .w-80 {
        width: 100%;
    }

    .w-12 {
        width: 2.5rem;
    }

    .h-12 {
        height: 2.5rem;
    }

    .p-4 {
        padding: 0.75rem;
        margin: auto;
    }

    .py-4 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .gap-3 {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .app-card {
        padding: 0.75rem;
    }

    .example-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Samsung Galaxy S8+ */
@media screen and (min-width: 350px) and (max-width: 370px) {
    .content-card h1 {
        font-size: 1rem;
    }

    .other-app-description {
        font-size: 0.85rem;
    }

/* Small mobile styles (360px and below) */
@media screen and (max-width: 360px) {
    .content-card h1 {
        font-size: 1rem;
    }
    .content-card h2 {
        font-size: 1.7rem;
    }
    .content-card h3 {
        font-size: 1.4rem;
    }

    .text-5xl {
        font-size: 1.75rem;
        line-height: 1;
    }

    .text-4xl {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .text-3xl {
        font-size: 1.35rem;
        line-height: 1.6rem;
    }

    .text-lg {
        font-size: 0.95rem;
        line-height: 1.4rem;
    }

    .text-sm {
        font-size: 0.75rem;
        line-height: 1.1rem;
    }

    .text-xs {
        font-size: 0.7rem;
        line-height: 0.95rem;
    }

    .mb-8 {
        margin-bottom: 1rem;
    }

    .mb-6 {
        margin-bottom: 1rem;
    }

    .mb-4 {
        margin-bottom: 0.75rem;
    }

    .mt-16 {
        margin-top: 2rem;
    }

    .mt-12 {
        margin-top: 1.3rem;
        padding: 1rem 0;
    }

    .mt-6 {
        margin-top: 1rem;
    }

    .mt-4 {
        margin-top: 0.75rem;
    }

    .h-48 {
        height: 7rem;
    }

    .w-12 {
        width: 2rem;
    }

    .h-12 {
        height: 2rem;
    }

    .p-4 {
        padding: 0.5rem;
        margin: auto;
    }

    .py-4 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .py-3 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .px-3 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .gap-3 {
        gap: 0.4rem;
    }

    .gap-2 {
        gap: 0.3rem;
    }

    .app-card {
        padding: 0.5rem;
        border-radius: 0.375rem;
    }

    .example-btn {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }

    .rounded-2xl {
        border-radius: 0.75rem;
    }

    .space-y-6 > * + * {
        margin-top: 1rem;
    }
}

/* Landscape phone orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
    }

    .mt-16 {
        margin-top: 1rem;
    }

    .mt-12 {
        margin-top: 0.75rem;
    }

    .text-5xl {
        font-size: 1.5rem;
    }

    .text-4xl {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .h-48 {
        height: 11rem;/* for the size of funny guage */
    }
}