/* body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f4f4f4;
    font-family: "Inter", sans-serif;
}

h1 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2rem;
    color: #222;
}

#joke {
    max-width: 600px;
    padding: 20px 28px;
    background: white;
    border-radius: 12px;
    text-align: center;
    line-height: 1.6;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    min-height: 80px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    background: #111;
    color: white;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #333;
}

button:active {
    transform: scale(0.96);
} */

/* 
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0d0d0d;
    font-family: "Fira Code", monospace;
    color: #00ff9d;
}

h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: #00ff9d;
    text-shadow: 0 0 5px #00ff9d;
}

#joke {
    font-size: 1.2rem;
    max-width: 600px;
    text-align: center;
    padding: 15px 20px;
    line-height: 1.6;
    color: #e0ffe8;
    min-height: 60px;
}

button {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #00ff9d;
    background: transparent;
    color: #00ff9d;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: #00ff9d;
    color: #0d0d0d;
    box-shadow: 0 0 15px #00ff9d;
}

button:active {
    transform: scale(0.95);
} */

/* 
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    font-family: "DM Sans", sans-serif;
    color: #1a1a1a;
}


h1 {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 2.1rem;
    letter-spacing: -0.3px;
}

h1::after {
    content: "";
    display: block;
    margin: 10px auto 0;
    width: 50px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
}

#joke {
    max-width: 500px;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.7;
    padding: 0 25px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 500;
}

button {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

button:hover {
    background: #1a1a1a;
    color: #fff;
}

button:active {
    transform: scale(0.97);
}
 */



/* 
 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    color: #111;
}


h1 {
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 2.1rem;
    color: #111;
    letter-spacing: -0.3px;
}


#joke {
    max-width: 550px;
    padding: 22px 28px;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
    color: #333;
    background: #f8f8f8;
    border-radius: 14px;
    margin-bottom: 22px;
    border: 1px solid #e8e8e8;
    transition: 0.3s ease;
}


button {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    background: #111;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s ease;
}

button:hover {
    background: #333;
}

button:active {
    transform: scale(0.97);
}
 */

/* 
 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #eef5ff; 
    font-family: "Inter", sans-serif;
    color: #0a1a2a;
}

h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: #0a1a2a;
}

#joke {
    max-width: 520px;
    padding: 20px 26px;
    font-size: 1.25rem;
    line-height: 1.7;
    text-align: center;
    color: #1c2b3a;
    background: white;
    border-radius: 14px;
    border: 1px solid #dce6f5;
    margin-bottom: 25px;
}

button {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: #0a1a2a;
    color: white;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #12283f;
} */

/* 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f6f9f6;
    font-family: "Inter", sans-serif;
    color: #2B3A2E;
}

h1 {
    margin-bottom: 18px;
    font-size: 2rem;
    color: #1f2d24;
}

#joke {
    max-width: 520px;
    padding: 20px 26px;
    background: #ffffff;
    border: 1px solid #dfe7df;
    border-radius: 16px;
    font-size: 1.25rem;
    color: #2B3A2E;
    margin-bottom: 25px;
    line-height: 1.7;
}

button {
    padding: 12px 30px;
    border: none;
    background: #2B3A2E;
    color: #ffffff;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #3a4c3e;
} */

/* 
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fdf7e7; 
    font-family: "Manrope", sans-serif;
    color: #3c2f2f;
}


h1 {
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 600;
    color: #3c2f2f;
}


#joke {
    max-width: 520px;
    padding: 20px 26px;
    text-align: center;
    font-size: 1.22rem;
    line-height: 1.65;
    color: #4b3b3b;
    background: #fffaf0;
    border: 1px solid #e4d7c4;
    border-radius: 16px;
    margin-bottom: 22px;
}


button {
    padding: 12px 32px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background: #8c6f56; 
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #7a5f48; 

}

button:active {
    transform: scale(0.96);
} */


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');




body {
    margin: 0;
    padding: 60px;
    background: #faf7ef; /* soft warm */
    font-family: "DM Sans", sans-serif;
    color: #2a2a2a;
}

/* Container aligns everything to the left */
.container {
    max-width: 650px;
}
h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #2a2a2a;
}



/* Subtle muted subtitle */
.subtitle {
    font-size: 1rem;
    color: #6a645b;
    margin-bottom: 30px;
}

/* Joke box – completely new shape and style */
#joke {
    padding: 22px 28px;
    background: white;
    border-left: 6px solid #d5a76a; /* warm brown highlight */
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1.65;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    min-height: 70px;
}

/* Button – minimal outline style */
button {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 6px;
    border: 2px solid #d5a76a;
    background: transparent;
    color: #5a4734;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s ease;
}

button:hover {
    background: #d5a76a;
    color: white;
}

footer {
    text-align: center;
    padding: 28px;
    margin-top: 60px;
    opacity: 0.6;
    font-size: 0.95rem;
}

#joke {
  transition: opacity 0.3s ease;
}

#ratings {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#ratings button {
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

a{
    color: black;
}