/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Container to maintain a 9:16 (vertical) aspect ratio */
.video-container {
    width: 100%;
    max-width: 360px; /* Adjust as needed */
    margin: 0 auto;   /* Centers horizontally */
}
.video-wrapper {
    position: relative;
    width: 100%;
    /* For 9:16, the height is ~177.77% of the width (16/9 ≈ 1.777) */
    padding-top: 177.77%;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Purple button styling */
#purpleButton {
    background: #8A2BE2; /* Purple color */
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 20px auto;
    display: block; /* Centers button using auto margins */
}
#purpleButton:hover {
    background: #6B1FA3; /* Darker purple on hover */
}
#purpleButton:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* Style for the message container */
#mensagem {
    max-width: 600px;
    margin: 20px auto;
    display: none;     /* Hidden initially */
    white-space: pre-wrap; /* Preserves line breaks in the text */
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
