
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #FBF9F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh; 
    backdrop-filter: blur(37.6792px);
    overflow: hidden; 
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; 
}

header a.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #1935CA;
    text-decoration: none;
    transition: color 0.3s;
}

header a.site-title:hover {
    color: #0056b3;
}

header .button-blue {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #1935CA;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.kids-text {
    color: #ff5733;
    font-weight: bold;
}

.content {
    flex: 1; 
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.content label {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.content input {
    flex: 1;
    height: 45px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    padding: 0 10px;
    background: #E8E8E8;
}

.play-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #34C759;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.play-button:hover {
    background-color: #28A745;
}

.qr-code {
    margin-top: 20px;
    text-align: center;
}

.camera-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #1935CA;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#camera-stream {
    margin-top: 20px;
    max-width: 90%;
    max-height: 250px; 
    border-radius: 8px;
    display: none; 
}

.error-message {
    color: #FF3B30;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    display: none;
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    flex-shrink: 0; 
}
