body {
    font-family: "Lato", sans-serif;
    /*background-image: url('./../img/Untitled design.png'); !* Use relative_url for GitHub Pages *!*/
    /*transition: transform 2s ease, opacity 2s ease; !* Smooth transition for zoom-in and fade-out *!*/
    background-image: url('./../img/Untitled design.png'); /* Use relative_url for GitHub Pages */
    background-size: cover; /* Ensure the background image covers the whole screen */
    background-attachment: fixed; /* Keep the background image fixed when scrolling */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    backdrop-filter: blur(10px); /* Add a blur effect to the background */
    overflow: hidden;
}

.scrollable-letter{
    overflow: auto;
    height: 100vh;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    position: fixed; /* Fix the button to the viewport */
    top: 10px; /* Position it near the top */
    left: 10px; /* Position it near the left edge */
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px; /* Rounded corners */
}

.openbtn:hover {
    background-color: #444;
}

/* On sidebar open, shift content */
#main.open-sidebar {
    margin-left: 250px; /* Same as sidebar width */
    width: calc(100% - 250px); /* Ensure content fills the remaining space */
}

/* Ensure content is centered when sidebar is closed */
#main {
    transition: margin-left .5s, width .5s, margin .5s;
    /*padding: 16px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto 0 5%;
    width: 100%; /* Default full width when sidebar is closed */
}

/* Ensure content is centered when sidebar is closed */
/*#start-main {*/
/*    transition: margin-left .5s, width .5s;*/
/*    !*padding: 16px;*!*/
/*    !*display: flex;*!*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    min-height: 100vh;*/
/*    height: 100%;*/
/*    flex-direction: column;*/
/*    max-width: 100%;*/
/*    margin: 0 auto;*/
/*    width: 100%; !* Default full width when sidebar is closed *!*/
/*}*/

#start-main.open-sidebar {
    margin: 0 auto 0 250px; /* Same as sidebar width */
    width: calc(100% - 250px); /* Ensure content fills the remaining space */
    transition: margin-left .5s;
}


#letter {
    width: 90%;
    max-width: 1500px;
    background: url('./../img/paper_texture_3.jpg'); /* Repeating image */
    background-size: auto;
    background-position: center;
    background-repeat: repeat; /* Ensure the image repeats */
    background-blend-mode: screen; /* Use 'screen' for a brighter effect */
    /*background-color: rgba(255, 255, 255, 0.2); !* Slightly white overlay to brighten *!*/
    border: 1px solid #d3c09f; /* Darker border for a parchment look */
    padding: 5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    line-height: 1.6;
    position: relative;
}


/* You should really use a class nstead of globally styling blockquotes*/



#start-site {
    width: 100%;
    /*max-width: 1500px;*/
    /*background: #fbf7e9;*/
    /*border: 1px solid #e2d4b7;*/
    /*padding: 3rem;*/
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 5px;*/
    /*line-height: 2;*/
    /*position: relative;*/
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Letter Container */
h1, h2, h3, h4, p {
    /*font-family: 'Great Vibes', cursive; !* Elegant handwritten font *!*/

    font-family: "Edu SA Beginner", serif;
    font-optical-sizing: auto;
    font-weight: 500; /* <weight>: Use a value from 400 to 700 */
    font-style: normal;
}

h1, h2 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    text-indent: 0em; /* Paragraph indentation */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Optional: Add a signature */
.signature {
    font-family: 'Dancing Script', cursive;
    text-align: right;
    font-size: 1.5rem;
    margin-top: 2rem;
}

/* Link to Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Great+Vibes&display=swap');

.sidebar .indented {
    padding-left: 50px; /* Adjust this value to control the level of indentation */
    font-size: 1.2em;

}

/*.indented {*/
/*}*/


/*.responsive-iframe {*/
/*    width: 100%; !* Ensures the iframe takes up full width *!*/
/*    height: 60vh; !* Adjusts height relative to viewport height *!*/
/*    max-width: 100%; !* Ensures the iframe doesn’t overflow horizontally *!*/
/*    border: none; !* Optional, to remove iframe border *!*/
/*}*/

.edu-sa-beginner-hand-font {
    font-family: "Edu SA Beginner", serif;
    font-optical-sizing: auto;
    font-weight: 400; /* <weight>: Use a value from 400 to 700 */
    font-style: normal;
}















/**/
start-page-body {
    margin: 0;
    padding: 0;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    position: relative; /* Reference point for positioning */
    overflow: hidden; /* Hide anything outside the body */
    transition: transform 2s ease, opacity 2s ease; /* Smooth transition for zoom-in and fade-out */
}


.clickable-area {
    position: absolute;
    top: 60%; /* Adjust this value to move the rectangle lower */
    left: 62%; /* Horizontally center */
    width: 15%; /* Adjust the width of the rectangle */
    height: 15%; /* Adjust the height of the rectangle */
    background: transparent;
    border: none;
    cursor: pointer; /* Change cursor to pointer for interactivity */
    transform: translate(-50%, -50%); /* Center the rectangle relative to its top-left corner */
    z-index: 10; /* Ensure it appears above the image */
}

.clickable-area.open-sidebar {
    margin-left: 250px; /* Same as sidebar width */
    /*width: calc(100% - 250px); !* Ensure content fills the remaining space *!*/
}

.title {
    position: absolute;
    top: 20%; /* Adjust vertical position of the title */
    width: 100%; /* Make the title span full width */
    text-align: center; /* Center the text */
    font-size: 3rem; /* Adjust font size */
    color: white; /* White text for contrast */
    text-shadow: 2px 2px 5px black; /* Add a shadow for readability */
    z-index: 15; /* Ensure the title is above the image and rectangle */
    font-family: Arial, sans-serif; /* Choose a readable font */
}

.title.open-sidebar {
    /*margin-left: 250px; !* Same as sidebar width *!*/
    /*transition: margin-left .5s; !* Smooth transition *!*/
    width: calc(100% - 250px);
}

/* Style for video */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Place it above the image */
    overflow: hidden;
    display: none; /* Hide initially */
}

.letter-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.letter-background-img {
    display: block;
    width: 100%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Scale the image without distortion */
    position: absolute;
    z-index: 0; /* Background behind everything else */
}