html{scroll-behavior: smooth;}

h1 {text-align: center;}
h2 {
    text-align: center;
    color: rgb(78, 78, 78);
}
h3 {text-indent: 40px;}

p  {
    text-align: left;
    text-justify: inter-word;
}
ol li {
    margin-bottom: 24px;
    margin-top: 24px;
}

body {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 1.5rem;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
        background-image: url(26.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
}

header{
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav{
    background-color: rgb(235, 214, 186);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.privacy-policy-text {
    max-width: 2000px;
    margin: auto;
    font-size: 1.5rem;
    text-align: justify;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    padding: 24px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;        /* Makes it full width of the form container */
    max-width: 500px;   /* Optional: limit maximum width */
    padding: 12px 15px; /* Bigger clickable area */
    font-size: 1.1rem;  /* Larger text */
    border-radius: 10px; /* Rounded corners */
    border: 1px solid #ccc; /* Optional: nicer border */
    box-sizing: border-box; /* Ensure padding doesn't overflow */
}

.contact-form .submit-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
}


.contact-form textarea {
    min-height: 150px; /* Make the textarea taller */
    resize: vertical;  /* Users can adjust height if they want */
}


.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}


.tech-icon {
    width: 75px;
    height: 75px;
}

.about-text {
    max-width: 2000px;
    margin: auto;
    font-size: 1.5rem;
    text-align: left;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    text-indent: 2.4rem;
    padding: 24px;
}

.centered-description {text-align: center;}

.content-wrapper {
    max-width: 2000px;
    margin: auto;
    padding: 20px;
}

footer {
    background-color: rgb(235, 214, 186);
    text-align: justify;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 2000px;
}

.footer-copyright{
    font-size: 0.9rem;
    color: #555555;
    text-align: center;
}

.profile-photo {
    width: 20rem;
    height: 30rem;
    border-radius: 15px;
    box-shadow: 0 0 10px #777777;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.book-cover {
    width: 12.5rem;
    height: 18.75rem;
    border-radius: 15px;
    box-shadow: 0 0 10px #777777;
}

.book-description {text-indent: 60px;}

.off-screen-menu{
    --menu-width: 450px;
    background-color:rgb(235, 214, 186);
    height: 100vh;
    width: var(--menu-width);
    position: fixed;
    top:0;
    right: calc(-1 * var(--menu-width)); /* Moves menu off-screen by its width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

/* MOBILE FIX — shrink menu to about 70% of the screen */
@media (max-width: 600px) {
    .off-screen-menu {
        --menu-width: 70vw;   /* takes 70% of screen width */
        width: var(--menu-width);
        right: calc(-1 * var(--menu-width));
    }
}

/* Large phones / small tablets */
@media (min-width: 600px) and (max-width: 900px) {
    .off-screen-menu {
        --menu-width: 55vw;
    }
}

/* Tablets / iPads */
@media (min-width: 900px) and (max-width: 1200px) {
    .off-screen-menu {
        --menu-width: 40vw;
    }
}

.off-screen-menu.active {right: 0;}

.ham-menu{
    height: 3.125rem;
    width: 3.125rem;
    margin-left: auto;
    position: relative;
    cursor: pointer;
}
.ham-menu:hover span{background-color: #833f3f;}

.ham-menu span{
    height: 5px;
    width: 100%;
    background-color: #aa5d5d;
    border-radius: 25px;
    position:absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%,-50%);
    transition: .3s ease;
}
/* Hamburger menu lines: 
   - Default: first line at 25%, third line at 75% (top and bottom of icon)
   - Active: both lines move to 50% and rotate to form an 'X' */
.ham-menu span:nth-child(1){top: 25%;}
.ham-menu span:nth-child(3){top: 75%;}
.ham-menu.active span:nth-child(1){top:50%; transform: translate(-50%,-50%) rotate(45deg);}
.ham-menu.active span:nth-child(2){opacity: 0;}
.ham-menu.active span:nth-child(3){top: 50%; transform: translate(-50%,-50%) rotate(-45deg);}

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%);
    z-index: 1000;
    font-size: 1.5rem;
    background-color: #aa5d5d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 3.125rem;
    height: 3.125rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#scrollTopBtn:hover {background-color: #ff7b7b;}

#shareBtn {
    padding: 10px 20px;
    background-color: #aa5d5d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    transition: background-color 0.3s;
}

#shareBtn:hover {background-color: #ff7b7b;}





