* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url('../Images/index_background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    background: rgba(201, 48, 206, 0.8);
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 450px;
    max-height: 140px;
    border: 3px solid white;
}

.age-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(201, 48, 206, 0.8);
    border: white 2px solid;
    color: white;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Montserrat', serif;
    font-weight: bolder;
}

p {
    font-size: 15px;
    margin-bottom: 20px;
    font-family: 'Montserrat', serif;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.checkbox input {
    margin-right: 10px;
}

label {
    color: white;
    font-family: 'Montserrat', serif;
}

.button {
    background: rgba(201, 48, 206, 0.8);
    padding: 3px 30px;
    color: white;
    font-family: 'Montserrat', serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 7px;
    border: white 3px solid;
}

.button:hover {
    background: #b600ff;
}

.error-message {
    color: white;
    font-family: 'Montserrat', serif;
    font-size: 14px;
    display: none;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    padding: 0 10px;
}

.error-message span {
    display: inline-block;
}

.error-message img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .error-message {
        padding: 0 20px;
    }
}
