body {
    font-family: 'Charter', 'Georgia', serif;
    color: #111;
    line-height: 1.58;
    margin: 0 auto;
    max-width: 700px;
    padding: 50px 20px;
    background-color: #FFFFFF;
}

body.no-scroll {
    /*overflow: hidden;*/
    position: fixed;
    width: 100%;
    top: 0;
    right:0;
    left:0;
    overflow-y: hidden !important;
    box-sizing: border-box;
}



#TranscriptRaw, #transcriptPreview, #summaryRaw, #summaryPreview, #userInput, #contentPreview{
    font-size: 1.1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', sans-serif;
}

a {
    color: #111;
    text-decoration: underline;
}

img.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

div {
    width: 100%;
    box-sizing: border-box;
}

textarea, input[type="text"] {
    font-family: inherit;
    color: inherit;
    line-height: inherit;
    font-size: inherit; 

    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: block;  // This will ensure that the text boxes are block-level elements and respect width and margin settings.
}

.video-container {
    text-align: center;   /* Center-align text (and inline or inline-block elements) */
    margin: 20px auto;    /* Add a margin to the top and bottom and auto to the sides */
    position: relative;   /* Create a new stacking context */
    padding-bottom: 56.25%;  /* Set a fixed bottom padding which is in ratio 16:9 (widescreen) */
    height: 0;            /* Initial height 0 so the container doesn't collapse */
    overflow: hidden;     /* Hide anything that goes outside the box */
}

#youtubePreview {
    position: absolute;  /* Absolute position the iframe within the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Medium-style Button */
button.medium-style {
    background-color: #ffffff;   /* White background */
    color: #333;                 /* Dark text */
    padding: 6px 12px;           /* Reduced padding around text */
    border: 1px solid #ccc;      /* Light gray border */
    border-radius: 2.4px;        /* Slight rounded corners */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Medium's font */
    font-size: 0.7em;            /* Reduced size of font */
    cursor: pointer;             /* Hand cursor on hover */
    transition: background-color 0.3s, color 0.3s; /* Transition for hover effect */
}

/* Hover Effect */
button.medium-style:hover {
    background-color: #000;  /* Dark background on hover */
    color: #fff;             /* White text on hover */
}

/* Active state (while being clicked) */
button.medium-style:active {
    background-color: #666;  /* Even darker background when active */
}

.video-container iframe, .video-container #youtubePreview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-sticky {
    position: fixed;
    bottom: 10px; 
    right: 30px;
    width: 250px;
    height: 140.625px; /* for a 16:9 aspect ratio with width of 250px */
    z-index: 1000;
    padding-bottom: 0; /* Override the previous padding */
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.modal-content {
    position: absolute;
    top: 20%;
    left: 25%;
    width: 50%;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.close-btn {
    float: right;
    cursor: pointer;
}

.title-noted{
    font-size: 10em;
}

#videoTitle{
    font-size: 3vw;
}

/* Mobile-specific styles */
@media screen and (max-width: 480px) { /* adjust breakpoint as needed */
    body.no-scroll {
        margin: 0;
        padding: 0;
    }

    h1.title-noted{
        font-size: 5em;
    }

    #videoTitle{
        font-size: 6vw;
    }

    .modal-content{
        width:100%;
        left:0;
        right:0;
        top:10%;
    }
}
