.footer {
    width: 100%; /* Ensure footer stretches across the full width */
}

.parent-vowel {
    display: grid;
    grid-template-columns: 1fr 8fr 1fr 300px;
    grid-template-rows: 1fr;
    grid-column-gap: 2px;
    grid-row-gap: 2px;
}

.div1-vowel { 
    grid-area: 1 / 1 / 2 / 2; 
}

.div2-vowel { 
    grid-area: 1 / 3 / 2 / 4; 
}

.div3-vowel { 
    grid-area: 1 / 2 / 2 / 3; 
}

#sidebar { 
    grid-area: 1 / 4 / 2 / 5;
}

.text {
    padding: 5px;
}

.text ul {
    list-style-type: disc; /* This sets the bullet style to the default disc */
    margin-left: 30px; /* Adjust as needed to align bullets */
    padding-left: 0; /* Reset padding if it's been altered */
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
}

/* Base styles */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
}

/* PDF Character Counter specific styles */
.vc-container {
    max-width: none;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF; /* Optional: Sets a background color for the container */
}

.vc-title {
    font-size: 32px;
    color: #333;
    margin: 0;
    text-align: center;
    padding: 10px 0;
}

.vc-textarea {
    width: 100%;
    height: 300px;
    border: 4px solid #ccc;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: 5px;
    transition: border-color 0.3s;
}

.vc-textarea:hover {
    border-color: #A9A9A9;
}

.vc-textarea:focus {
    outline: none;
    border-color: black;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
}

.vc-counts {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 5px 0;
}

.vc-counts > div {
    flex: 1;
    text-align: center;
    border: 1px solid black;
    padding: 5px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vc-counts > div:not(:last-child) {
    border-right: none;
}

.vc-counts > div > div:first-child {
    margin-bottom: 5px;
}

.vc-counts > div > div:last-child {
    font-size: 40px;
    color: #1a73e8;
}

#vc-characterCount {
    font-size: 40px;
    color: #1a73e8;
    text-align: center;
}

.vc-button {
    padding: 16px;
    background-color: #1d7b1e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    display: inline-block;
    margin-top: 0px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 10px;
}

.vc-button:hover {
    background-color: #45a049;
}

.parent-vowel p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
}
  
.parent-vowel p a {
    color: #1A73E8;
}
  
.parent-vowel h2, h3 {
    margin-bottom: 20px;
}

.file-drag-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px; /* Or any other initial width */
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.1s; /* Ensure smooth transition for transform */
    margin-bottom: 10px; /* Add more space below the upload box */
}

.file-drag-area:active {
    transform: scale(0.98); /* Slightly scale down when clicked */
}

.file-drag-area:hover,
.file-drag-area.dragover,
.file-drag-area.highlight {
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
}

.button-style {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.1s; /* Smooth transition for background color and transform */
    margin-bottom: 10px; /* Add more space below the upload box */
}

.button-style:hover {
    background-color: #45a049; /* Darker shade of green */
}

.button-style:active {
    background-color: #3e8e41; /* Even darker shade of green for click effect */
    transform: scale(0.98); /* Slightly scale down the button to mimic a press effect */
}

@media (min-width: 1200px) {
    .div3-vowel { 
        max-width: 900px;
    }
}

@media (max-width: 1200px) {
    .parent-vowel {
        display: grid;
        grid-template-columns: 1fr 300px;
        grid-template-rows: 1fr;
        grid-column-gap: 2px;
        grid-row-gap: 2px;
    }

    .div1-vowel { 
        display: none;
    }

    .div2-vowel { 
        display: none;
    }

    .div3-vowel { 
        grid-area: 1 / 1 / 2 / 2; 
    }
    
    #sidebar { 
        grid-area: 1 / 2 / 2 / 3;
    }
}

/* 992px */
@media (max-width: 992px) {
    .parent-vowel {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    
    .div3-vowel { 
        grid-area: 1 / 1 / 2 / 2; 
    }
}

/* Responsive design adjustments */
/* Mobile responsiveness */
@media (max-width: 600px) {
    .vc-container {
        padding: 15px;
    }

    .vc-title {
        font-size: 30px;
    }

    .vc-textarea {
        height: 250px; /* Adjusted for more space on smaller screens */
    }

    .vc-counts {
        flex-direction: column;
    }

    .vc-counts > div {
        border-top: 1px solid black;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: none; /* Remove bottom border by default */
    }
    
    .vc-counts > div:last-child {
        border-bottom: 1px solid black;
    }

    /* Remove the bottom border of all but the last div to prevent double border appearance */
    .vc-counts > div:not(:last-child) {
        border-right: 1px solid black; /* Adjust if necessary */
    }

    .vc-button {
        width: 100%;
        margin-top: 5px;
    }

    #vc-characterCount {
        font-size: 40px;
        text-align: center;
    }
    
    .remove-middle-border > div::after {
        box-shadow: none !important;
    }

    /* Specifically target and remove the shadow effect from the sides between boxes */
    .remove-middle-border > div {
        box-shadow: none !important;
    }
    
    .file-drag-area {
        width: 90%; /* Adjust width to fit mobile screens */
        padding: 10px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust font size for readability */
    }
}

@media (max-width: 400px) {
    .vc-container {
        padding: 10px;
    }

    .vc-textarea {
        height: 180px; /* Keeps the adjusted height consistent for smaller screens */
    }
    
    .text {
        padding: 5px;
    }
}