/*
 *    New Penzion Vranova CSS
 */

/*
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 */



/*
 * Global resets
 *
 * Update the foundational and global aspects of the page.
 */

html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 58em) {
  html {
    font-size: 20px;
  }
}


/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 */

.sidebar {
  text-align: center;
  padding: 1rem 1rem;
  color: rgba(255,255,255,.5);
  background-color: #202020;
}

@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 18rem;
    text-align: left;
  }
}

/* Sidebar links */
.sidebar a {
  color: #fff;
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-family: "Abril Fatface", serif;
  font-size: 3.25rem;
}

/* Sidebar nav */
.sidebar-nav {
  padding-left: 0;
  list-style: none;
}
.sidebar-nav-item {
  display: block;
}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: underline;
}
.sidebar-nav-item.active {
  font-weight: bold;
}

/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 48em) {
  .sidebar-sticky {
    position: absolute;
    right:  1rem;
    bottom: 1rem;
    left:   1rem;
    justify-content: flex-start ;
    align-items: flex-start ;
    height: calc(100vh - 40px);
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/**
 * Render sidebar content on top of it
 * This section should now only contain properties that are desired GLOBALLY
 * (on both mobile and desktop), like padding.
 */

/* Custom CSS to adjust sidebar content alignment */
.sidebar .sidebar-sticky {
  /* justify-content: flex-start; */
  /* align-items: flex-start; */
  /* height: calc(100vh - 40px); */
  /* You might need to add specific margins between sidebar elements if they become too close */
}

/* Optional: Add some spacing between the items */
.sidebar .sidebar-about {
    margin-bottom: 20px; /* Space below the title/description block */
}

.sidebar .sidebar-nav {
    margin-bottom: 20px; /* Space below the navigation menu */
}

/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
  padding-top:    4rem;
  padding-bottom: 4rem;
}

@media (min-width: 48em) {
  .content {
    max-width: 50rem ;
    margin-left: 100px ;
    /* margin-right: 2rem; */
  }
}

@media (min-width: 64em) {
  .content {
    margin-left: 100px ;
    /* margin-right: 4rem; */
  }
}


/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */

@media (min-width: 48em) {
  .layout-reverse .sidebar {
    left: auto;
    right: 0;
  }
  .layout-reverse .content {
    margin-left: 100px ;
    margin-right: 200px ;
    padding: 80px 20px ;
  }
}

@media (min-width: 64em) {
  .layout-reverse .content {
    margin-left: 100px ;
    margin-right: 200px ;
  }
}


/* -------------------------------------------------------------------- */


#header-image {
  text-align: center;
  /* margin-bottom: 20px; */
  margin-bottom: 0 ;
}

#header-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 48em) {
    #header-image {
      text-align: center ;
      margin-bottom: 20px ;
    }
}

/* -----------------------------------------------------------------
 * .layout-reverse .content.container {
 *     padding: 80px 20px ;
 *     margin-right: 200px ;
 * }
 *
 * .content.container {
 *     margin-left: 100px;
 * }
 *
 * .container {
 *     max-width: 50rem;
 * }
 */




/*
 * Themes
 *
 * As of v1.1, Hyde includes optional themes to color the sidebar and links
 * within blog posts. To use, add the class of your choosing to the `body`
 */

/* Base16 (http://chriskempson.github.io/base16/#default) */

/* Red */
.theme-base-08 .sidebar {
  background-color: #ac4142;
}
.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar {
  background-color: #d28445;
}
.theme-base-09 .content a,
.theme-base-09 .related-posts li a:hover {
  color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar {
  background-color: #f4bf75;
}
.theme-base-0a .content a,
.theme-base-0a .related-posts li a:hover {
  color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar {
  background-color: #90a959;
}
.theme-base-0b .content a,
.theme-base-0b .related-posts li a:hover {
  color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar {
  background-color: #75b5aa;
}
.theme-base-0c .content a,
.theme-base-0c .related-posts li a:hover {
  color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar {
  background-color: #6a9fb5;
}
.theme-base-0d .content a,
.theme-base-0d .related-posts li a:hover {
  color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar {
  background-color: #aa759f;
}
.theme-base-0e .content a,
.theme-base-0e .related-posts li a:hover {
  color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar {
  background-color: #8f5536;
}
.theme-base-0f .content a,
.theme-base-0f .related-posts li a:hover {
  color: #8f5536;
}


/* --- Custom Footer Styles --- */
.footer-hr {
    border: none; /* Remove default border */
    height: 2px; /* Set height for the line */
    background-color: #ddd; /* Light gray color for the line */
    margin: 0px auto; /* Space above and below, auto centers horizontally */
    width: 100%; /* Ensure it spans the container width */
    max-width: 770px; /* Adjust max-width to match content width if needed */
}

.site-footer {
    text-align: center; /* Center the text content */
    padding: 10px 0; /* Add vertical padding inside the footer */
    font-size: 0.85em; /* Slightly smaller font size */
    color: #666; /* Softer text color */
    line-height: 1.2; /* Improve line spacing */
    margin-top: 10px; /* Add some space between the content and the footer if needed */
}

.site-footer p {
    margin: 0; /* Remove default paragraph margins */
}

.site-footer a {
    color: #007bff; /* Link color, adjust to theme's link color */
    text-decoration: none; /* Remove underline */
}

.site-footer a:hover {
    text-decoration: underline; /* Add underline on hover */
}
/* --- End Custom Footer Styles --- */

/* --- Custom Form Styles --- */
#contactForm {
    max-width: 700px; /* Set a maximum width for the form */
    width: 100%; /* Ensure it's responsive */
    margin-left: auto; /* Center the form if its width is less than content area */
    margin-right: auto;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#contactForm p {
    margin-bottom: 15px;
}

#contactForm label {
    display: block; /* Make labels take their own line */
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
    width: 100%; /* Make input fields and textarea fill the form width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 1rem;
}

#contactForm textarea {
    resize: vertical; /* Allow vertical resizing only */
}

#contactForm button[type="submit"] {
    background-color: #75b5aa; /* Use a theme-consistent color, e.g., from theme-base-0c */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

#contactForm button[type="submit"]:hover {
    background-color: #5d9e92; /* Slightly darker shade on hover */
}
/* --- End Custom Form Styles --- */