body{
    background-color: rgb(207, 216, 218);
    background-image: url('icons/clouds2.png');
    background-size: cover;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

.main-container{
    width: 90%;
    margin: 0 auto;
}

.container{
    padding: 40px;
    background-color: rgb(255, 500, 255);
    opacity: 90%;
    border-radius: 15px;
    box-shadow: 1px 1px 10px 0px #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: hwb(32 0% 18%);
    margin-bottom: 10px;
    font-size: 3em; 
   }

h2{
    color: hwb(32 0% 18%);
    text-align: center;
    font-size: 3em;  /* add this */
}

.subtitle {
    color: #726969;
    font-size: 1.1em;
}

/* Breathing Bubble Styles */
.breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
}

.bubble {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(173, 216, 230, 0.8), rgba(100, 150, 255, 0.6));
    box-shadow: 0 0 20px rgba(100, 150, 255, 0.3), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
    transform: scale(1);
    transition: none;
    position: relative;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(8px);
}

.breathing-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.instruction {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: block;
}

/* Button Styles */
.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.btn {
    padding: 12px 30px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #2196F3;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Pace Selector Styles */
.pace-selector {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.pace-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    font-size: 1.05em;
}

.pace-selector select {
    padding: 10px 15px;
    font-size: 1em;
    border: 2px solid #2196F3;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    color: #333;
    transition: all 0.3s ease;
}

.pace-selector select:hover {
    border-color: #0b7dda;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

.pace-selector select:focus {
    outline: none;
    border-color: #0b7dda;
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.5);
}

.pace-selector select:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

/* AI Response Section */
.ai-section {
    margin: 30px 0;
    text-align: left;
}

.ai-response-box {
    background-color: #f0f4f8;
    border: 2px solid #0b7dda;
    border-radius: 10px;
    padding: 20px;
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

#aiInput {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#aiInput:focus {
    outline: none;
    border-color: #0b7dda;
    box-shadow: 0 0 8px rgba(11, 125, 218, 0.3);
}

#aiButton {
    width: 100%;
    padding: 12px;
    background-color: #0b7dda;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#aiButton:hover {
    background-color: #0a66c2;
}

#aiButton:active {
    background-color: #084da3;
}

.video{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the circle */
    transition: opacity 1s;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2);
}

/* Action Grid and Card Button Styles */
.action-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #4CAF50;
    color: white;
    font-size: 3em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.card:hover {
    background-color: #45a049;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card:active {
    transform: scale(0.95);
}