/* Original CSS */
/* Logo Styling */
.myMenu {
  text-align: center;
}

.myMenu a {
  text-decoration: none;
  color: #333; /* Set a default color for the logo */
  display: block;
}

.myMenu h1 {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;

}
/* Logo Styling */

body {
    margin: 0;
    padding: 0;
    transition: background-color 0.5s ease;
  }
  
  .light-mode {
    background-color: white;
    color: black;
    border: black;
  }
  
  .dark-mode {
    background-color: black;
    color: white;
    border: white;
  }
  
  hr{
    font-size: xx-small;
    background-color: #fff;
    border: .1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 21px;
    text-align: center;
  }
  
  h2 {
    font-family: 'Teko', sans-serif;
    text-align: center;
  }

  h3 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
  }
  
  .mainPicture {
    width: 100%;
    max-width: 460px;
    margin: 0 auto; /* This centers the image horizontally */
  }
  
  .mainImage {
    max-width: 100%;
    width: 150px;
    height: 150px;
    height: auto;
    display: block;
    margin: 10px 50px 20px;
  }
  
  .mainTitle1 {
    font-size: 1.5em;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
  
  .mainAd {
    margin: 0 auto;
    text-align: center;
  }
  
  .adArtMain {
    height: 100px;
  }
  
  .mainAd:hover .adArtMain {
    opacity: 0.3;
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .myMenu{
    font-family: 'Teko', sans-serif;
    font-size: xx-large;
    margin: auto;
    padding-top: .1px;
    padding-bottom: .1px;
    padding-left: 5%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Compact Button Menu Styling */
  #buttonMenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 5px 5%;
    font-family: 'Teko', sans-serif;
  }
  
  #buttonMenu button {
    cursor: pointer;
    flex: 1 1 auto;
    padding: 3px 3px 3px 3px;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-width: 120px;
    font-family: 'Teko', sans-serif;
    color: black;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  #buttonMenu button:hover {
    background-color: #575757;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 600px) {
    #buttonMenu button {
        font-size: 14px;
        padding: 5px;
        min-width: 100px;
    }
  }
  
  .mainTitle1 {
    font-family: 'Teko', sans-serif;
    font-size: x-large;
    margin: 0 auto;
  }
  
  .maintopic {
    font-size: 25px;
    min-width: 320px;
    max-width: 1600px;
    text-align: center;
    font-family: 'Teko', sans-serif;
    font-size: xx-large;
  }
  
  .mainfooter {
    text-align: center;
    font-size: 12px;
    font-family: 'Teko', sans-serif;
    min-width: 320px;
    max-width: 1600px;
  }
  
  .griditems1 {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-gap: 1em;
    padding-left: 3%;
  }
  
  @media screen and (max-width: 600px) {
    .griditems1 {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      padding-left: 5%;
    }
  }
  
  .contentTitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: center;
    font-weight: bold;
  }
  
  .pictureWrapper {
    width: 300px;
    margin: 0 auto;
    padding: 5px;
  }
  
  @media screen and (max-width: 600px) {
    .pictureWrapper {
      width: 100%;
      padding-left: 3%;
    }
  }
  
  .contentWrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 300px;
    font-size: smaller;
    margin: 0 auto;
    padding-left: 5%;
  }
  
  @media screen and (max-width: 600px) {
    .contentWrapper {
      width: 100%;
      padding-left: 3%;
    }
  }
  
  .para1, #filter, .para2, p, .news-date {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    border-radius: 2px;
    max-width: 100%;
    margin: 0 auto;
    vertical-align: middle;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  }

  .lable {
    font-family: Tahoma;
    font-size: 14px;
    text-align:left;
  }
  
  .article {
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    border-radius: 2px;
    max-width: 100%;
    margin: 0 auto;
    vertical-align: middle;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  
  }
  
  #myTable {
    width: 75%;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: small;
  }
  
  #myTable th, #myTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }
  
  #myTable th {
    background-color: #f2f2f2;
  }
  
  #myTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  #myTable tbody tr:hover {
    background-color: #ddd;
  }
  
  /* Other Ads Section */
  
  .otherAdsTitle {
    text-align: center;
    text-decoration: underline;
  }
  
  .otherAdsLayout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .otherAdsIcon, #otherAdsIcon {
    padding: 0;
  }
  
  .artworkContent1 {
    max-width: 620px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
  }
  
  .topsongs1 {
    max-height: 100px;
    padding: 2px;
  }
  
  @media screen and (max-width: 620px) {
    .topsongs1 {
      max-height: 60px;
    }
  }
  
  /* Smartphone Compatibility and Responsiveness */
  @viewport {
    width: device-width;
    zoom: 1.0;
  }
  
  @media only screen and (max-width: 768px) {
    .maintopic {
      font-size: large;
    }
  }
  
  .myGoogleAd,
  .mainAd,
  .overlay a {
    touch-action: manipulation;
  }
  
  @media only screen and (max-width: 480px) {
    .pictureWrapper {
      width: 100%;
      padding: 5px;
    }
  
    .contentWrapper {
      width: 100%;
      padding-left: 5px;
    }
  
    .para1,
    #filter,
    .para2 {
      padding-left: 5px;
      padding-right: 5px;
    }
  
    #myTable {
      padding: 5px;
    }
  
    .overlay .closebtn {
      right: 25px;
    }
  }
  
  .mainAd {
    margin: 0 auto;
    text-align: center;
  }
  
  .adArtMain {
    height: 100px;
  }
  
  .mainAd:hover .adArtMain {
    opacity: 0.3;
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .adsPic1 {
    max-height: 100px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  
  
  /*-------------Total Layout----------------*/
  .totalLayout{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  
  .col-1{
    width: 75%;
    padding-left: 1%;
    padding-right: 1%;
    align-items: center;
    margin: auto 0;
  }
  .col-2{
    width: 25%;
    padding-left: 1%;
    padding-right: 1%;
  }
  
  @media screen and (max-width: 768px) {
    .totalLayout {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 95%;
        margin: 0 auto;
    }
    .col-1{
      width: 100%;
    }
  }
  
  /*-------------otherStories--------------*/
  .otherStories{
    text-align: center;
  }
  
  /* Main News Article Layout */
  .news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Controls spacing between articles */
  }
  
  .news-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px; /* Reduced padding for the entire news item */
    box-sizing: border-box;
    overflow: hidden;
    flex: 1 1 calc(50% - 40px); /* 2 items per row for larger screens */
    transition: transform 0.3s ease; /* Scaling effect on hover */
    margin: 0.01px;
  }
  
  .news-item:hover {
    transform: scale(1.02); /* Slight zoom on hover */
  }
  
  .news-item img {
    width: 100%;
    height: 150px; /* Default height for larger screens */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px; /* Reduced space between image and title */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: height 0.3s ease; /* Transition for smooth scaling */
  }
  
  .news-item h2 {
    margin: 5px 0; /* Reduced top and bottom margin for the title */
    font-size: 1.5em; /* Default font size for larger screens */
    padding: 0; /* No padding inside the title */
    transition: font-size 0.3s ease; /* Transition for smooth scaling */
  }
  
  .news-link {
    text-decoration: none;
    color: #333;
  }
  
  .news-link:hover {
    color: #007BFF;
  }
  
  
  /* Media Queries for responsiveness */
  
  /* Medium screens: 2 items per row, scale down images and text */
  @media (max-width: 1200px) {
    .news-item {
        flex: 1 1 calc(50% - 40px); /* 2 items per row */
    }
    .news-item img {
        height: 140px; /* Slightly smaller images */
    }
    .news-item h2 {
        font-size: 1.4em; /* Slightly smaller title text */
    }
  }
  
  /* iPads and smaller: Keep 2 items per row, further scale down images and text */
  @media (max-width: 1024px) {
    .news-item {
        flex: 1 1 calc(50% - 40px); /* 2 items per row */
    }
    .news-item img {
        height: 130px; /* Smaller images */
    }
    .news-item h2 {
        font-size: 1.3em; /* Smaller title text */
    }
  }
  
  /* Small tablets: 2 items per row, reduce image and text size */
  @media (max-width: 768px) {
    .news-item {
        flex: 1 1 calc(50% - 40px); /* Keep 2 items per row */
    }
    .news-item img {
        height: 120px; /* Further reduced image size */
    }
    .news-item h2 {
        font-size: 1.2em; /* Further reduced title text size */
    }
  }
  
  /* Smartphones in landscape mode: 2 items per row, even smaller images and text */
  @media (max-width: 480px) {
    .news-item {
        flex: 1 1 calc(50% - 40px); /* 2 items per row */
    }
    .news-item img {
        height: 110px; /* Smallest image size */
    }
    .news-item h2 {
        font-size: 1.1em; /* Smallest title text size */
    }
  }
  
  /* Other Stories */
  .news-container2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; /* Stack items vertically by default */
    gap: 20px;
  }
  
  .news-item2 {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    flex: 1 1 calc(100% - 40px); /* Full width for larger screens */
  }
  
  .news-item2 img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .news-item2 h2 {
    margin-top: 0;
  }
  
  .news-link2 {
    text-decoration: none;
    color: #333;
  }
  
  .news-link2:hover {
    color: #007BFF;
  }
  
  .news-container2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; /* Stack items vertically by default */
    gap: 20px;
  }
  
  .news-item2 {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    flex: 1 1 calc(100% - 40px); /* Full width for larger screens */
  }
  
  .news-item2 img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .news-item2 h2 {
    margin-top: 0;
  }
  
  .news-link2 {
    text-decoration: none;
    color: #333;
  }
  
  .news-link2:hover {
    color: #007BFF;
  }
  
  @media (max-width: 780px) {
      .news-item2 {
        flex: 1 1 calc(50% - 40px); /* Keep 2 items per row */
    }
    .news-item2 img {
        height: 120px; /* Further reduced image size */
    }
    .news-item2 h2 {
        font-size: 1.2em; /* Further reduced title text size */
    }
    .col-2 {
      width: 100%;
    }
  }
  
  /* Return Button container */
  .return-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Return Button styles */
  .back-to-stories {
    margin: 0 auto;
    display: inline-block;
    padding: 10px 20px;
    background-color: #161616;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    text-align: center;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
  }
  
  .back-to-stories:hover {
    background-color: #222;
  }
  
  /* Optional: Adjust the button size for different screen sizes */
  @media screen and (max-width: 600px) {
    .back-to-stories {
      font-size: 16px;
      padding: 8px 16px;
    }
  }
  
  .video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Ensures the iframe does not exceed this width */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width * 100) */
    height: 0;
    overflow: hidden;
    margin: 0 auto; /* Center the container */
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


/*----------Rent Calculator------------*/

#rent-calculator-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.rent-calculator-inputs {
  margin-bottom: 15px;
}

.rent-calculator-inputs label,
#rent-calculator-rent {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #424242;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  box-sizing: border-box;
  font-size: 14px;
  color: #424242;
}

.income-type-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.label {
  font-size: 16px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.toggle-label {
  padding: 5px 15px;
  border-radius: 4px;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#rent-calculator-net:checked + .net-label, 
#rent-calculator-gross:checked + .gross-label {
  background-color: #4285F4;
  color: white;
}

#rent-calculator-net + .gross-label, 
#rent-calculator-gross + .net-label {
  background-color: #e0e0e0;
  color: black;
}

input[type="radio"] {
  display: none; /* Hide the radio button itself */
}

#rent-calculator-calculate-btn {
  background-color: #4CAF50; /* Green background */
  border: none; /* Remove border */
  color: white; /* White text color */
  padding: 15px 32px; /* Padding for the button */
  text-align: center; /* Centered text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Align properly */
  font-size: 16px; /* Text size */
  margin: 4px 2px; /* Margin for spacing */
  cursor: pointer; /* Pointer on hover */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
}

#rent-calculator-calculate-btn:hover {
  background-color: #45a049; /* Darker green on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

#rent-calculator-calculate-btn:active {
  transform: scale(0.95); /* Shrink on click */
}

/*Share on Social*/
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Teko', sans-serif;
  border-radius: 5px;
  color: #fff;
  transition: background 0.3s;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

.social-twitter {
  background: #1da1f2;
}

.social-facebook {
  background: #3b5998;
}

.btn:hover {
  opacity: 0.9;
}

.social-linkedin {
  background: #0077b5;
}

/* Privacy Policy */
.privacy-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}
.privacy-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: lightgrey;
  color: #ffffff;
  padding: 15px;
  text-align: center;
  display: none; /* Initially hidden */
}
.privacy-cookie-banner button {
  background: #218394;
  border: none;
  color: #cfcaca;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}
.privacy-cookie-banner button:hover {
  background: #ffffff;
}
.privacy-footer {
  text-align: center;
  padding: 20px;
  background: #f4f4f4;
  border-top: 1px solid #ddd;
}

.otherAdsTitle {
  text-align: center;
}
