
body {
  background-color: #f7f4ee !important; 
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column; /* Add this line */
  overflow-x: hidden;
  
  transition: opacity 0.5s ease-in-out;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.image-link {
  display: inline-block;
  max-width: 100%;
}
header {
  width: 100%;
  background-color: #d0cbc5;
  padding: 5px 0;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: #827153 ;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
}

nav a:hover {
  background-color: #3a3f44;
  color: #ffffff ;
  border-radius: 4px;
}
a {
  text-decoration: none !important;
  color: #827153 !important;
}
img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .image-link {
    width: 80%;
  }
}

@media screen and (min-width: 769px) {
  .image-link {
    width: 40%;
  }
}

/* Add the footer styles */
footer {
  width: 100%;
  background-color: #d0cbc5; /* Change this to your desired background color */
  color: #ffffff; /* White text */
  text-align: center;
  padding: 10px 0;
}
.banner {
  text-align: center;
  padding: 10px 0;
  max-width: 65%; /* Add this line to set the maximum width */
  margin: 0 auto; /* Add this line to center the banner horizontally */
}
@media screen and (max-width: 768px) {
  .banner {
    max-width: 80%; /* Set a different max-width for mobile devices */
  }
}
/* Stil for knappen */
#openBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #008000; /* Set the button color to green */
  color: #fff; /* Set the text color to white */
  border: none; /* Remove the border */
  padding: 12px 24px; /* Increase the padding to make the button bigger */
  border-radius: 30px; /* Add rounded corners */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s; /* Add transition for smooth effect */
}

#openBtn:hover {
  background-color: #006400; /* Slightly change the color when hovering */
  transform: scale(1.1); /* Enlarge the button when hovering */
}


/* Stil for modalen */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: transparent;
  position: fixed;
  padding: 0px;
  border: 0px solid #888;
}

/* Default size for larger screens */
@media (min-width: 768px) {
  .modal-content {
    bottom: 20px;
    right: 20px;
    width: 45%;
    height: 95%;
  }
}

/* Adjust the size for mobile devices */
@media (max-width: 767px) {
  .modal-content {
    bottom: 10px;
    right: 10px;
    width: 80%;
    height: 95%;
  }
}
#closeBtn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background-color: transparent;
  transition: color 0.2s, transform 0.2s; /* Add transition for smooth effect */
  animation: pulse 3s ease-in-out infinite; /* Add animation */
}

#closeBtn:hover {
  color: #FF0000; /* Change the color on hover */
  transform: scale(1.3); /* Enlarge the button slightly on hover */
  animation: none; /* Stop the pulse animation on hover */
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

#linkBox {
  border: 2px solid #aaa;
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

#externalLink {
  float: right;
  margin-top: 9px;
  transition: background-color 0.2s; /* Add transition for smooth effect */
}

#externalLink:hover #linkBox {
  border-color: #008000; /* Match the hover color of the close button */
}

/* Style for the new button */
#openBtn2 {
  position: fixed;
  bottom: 20px;
  right: 170px; /* Change this value to position the button to the left of the first button */
  z-index: 100;
  background-color: #FF8C00;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

#openBtn2:hover {
  background-color: #FF7800;
  transform: scale(1.1);
}
.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.icon {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;

}
.icon img {
  max-width: 100%;
  height: auto;
  transition: all 0.2s ease-in-out;
}
.icon:hover img {
  transform: scale(1.2);
}
.qr-text {
  color: #663300;
  font-size: 1.5rem;
  text-decoration: none;
  text-align: center; /* Centers the text */
  word-wrap: break-word; /* Wraps long words */
  padding: 0 10px; /* Adds some horizontal padding for better readability on small screens */
}


.link-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Horizontally center the items */
    align-items: center; /* Vertically center the items */
    gap: 15px;
    margin: 0 auto; /* Center the whole container on the page */
    max-width: 90%; /* Maximum width of the container. Adjust as needed. */
    margin-bottom: 15px; /* Adjust this value to increase/decrease the space between rows */
    margin-top: 15px; /* Adjust this value to increase/decrease the space between rows */
}

.link-container a {
    display: block;
    width: calc(50% - 10px);
    font-size: 2.5rem;
    box-sizing: border-box;
    max-width: 500px; /* Set the maximum width */
}

.link-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth transition for transformations */
}
.link-container a:hover img {
    transform: scale(1.05); /* Enlarge the image by 5% on hover */
}
@media (max-width: 600px) {
    .link-container a {
        width: 100%;
    }
}
.link-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
  padding: 0 10px; /* Add this line to create padding */
  z-index: 2; /* Add this line */

}
.link-container2 a {
  color: #663300;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.link-container2 a:hover {
  color: #996633;
  transform: scale(1.1);
}
.link-container3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
  padding: 0 10px; /* Add this line to create padding */
  z-index: 2; /* Add this line */

}
.link-container3 a {
  color: #663300;
  font-size: 3rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.link-container3 a:hover {
  color: #996633;
  transform: scale(1.1);
}



@media screen and (max-width: 480px) {
  .icon-container {
      width: 90%;
    }
    .icon {
      width: 100px;
      height: 100px;
    }
    .link-container a {
      font-size: 2rem;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .icon {
    width: 120px;
    height: 120px;
  }
  .link-container a {
    font-size: 2rem;
  }
}
.chat-img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .chat-img {
    max-width: 80%;
  }
}

/* podcast elements */
.container {
display: flex;
align-items: center;
}

.left {
flex: 1;
margin-right: 10px;
text-align: right;
padding-right: 10px;
}

.right {
flex: 1;
}

.title {
font-size: 22px;
color: #663300;
}

.description {
font-size: 18px;
color: #663300;
}

/* media query for smaller screens */
@media screen and (max-width: 600px) {
.container {
flex-wrap: wrap;
}

.left {
text-align: left;
padding-right: 0;
flex: 100%;
}

.right {
margin-top: 10px;
flex: 100%;
}
}

.podcast-wrapper {
display: flex;
align-items: flex-start; /* Change align-items from center to flex-start */
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
background-color: #827153;
padding: 20px;
margin: 0;
width: 100%;
box-sizing: border-box; /* Add this line */
}

.podcast-text {
flex: 1 1 300px;
margin-right: 10px;
text-align: right;
align-self: flex-start; /* Add align-self to align with the top of the iframe */
}

.podcast-iframe {
  flex: 1 1 auto;
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.podcast-iframe iframe {
  width: 100%;
  height: 100%;
  max-width: 400px;
}


/* Media query for smaller displays */
@media only screen and (max-width: 600px) {
.podcast-text {
text-align: center;
margin-right: 0;
margin-bottom: 10px;
}
}
.podcast-text a {
text-decoration: none;
color: #fff;
transition: all 0.3s ease-in-out;
}

.podcast-text a:hover {
color: #999;
transform: scale(1.1);
}

.slider {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1; /* Add this line */
}

.slider a img {
    width: 100%;
    height: auto;
    display: none;
}

.slide {
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .slider {
        width: 90%;
    }
}
#iframe-container {
  width: 90%;
  height: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: #fff;
  border: 2px solid #333;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#my-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Style the close button container */
#close-btn-container {
  position: fixed;
  top: 0;
  right: 0;
  padding: 10px;
  z-index: 10000;
  display: none; /* Hide the close button initially */
}

/* Style the close button */
#close-iframe-btn {
  background-color: #333;
  color: #fff;
  font-size: 24px;
  border: none;
  cursor: pointer;
  transition: all 0.3s; /* Add a smooth transition effect */
}

/* Change the close button's appearance on hover */
#close-iframe-btn:hover {
  background-color: red; /* Change the background color to red */
  color: #fff; /* Change the text color to white */
  font-size: 30px; /* Increase the font size */
}
/* Style the input box */
#message {
  width: 80%; /* Sets the width to 40% of the container */
  max-width: 500px; /* Sets the maximum width to 500px */
  margin-right: 10px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  color: #333;
  background-color: #E8E8E8;
  resize: none;
  overflow: hidden;
}


/* Add focus effect for the input box */
#message:focus {
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Style the send button */
#send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #fbc24b;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Change the send button's appearance on hover */
#send-btn:hover {
  background-color: #eea94d;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);

}
/* Style the input container */
#input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
}
#floating-input {
  position: fixed;
  bottom: 20px;
  right: 270px;
  display: flex;
  align-items: center;
  z-index: 998;
}

#message-ordbok {
  width: 170px;
  box-sizing: border-box;
  margin-right: 10px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  color: #333;
  background-color: #E8E8E8;
  resize: none;
  overflow: hidden;
}
#message-ordbok:focus {
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 480px) {
  #floating-input {
    display: none;
  }
}

.menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #827153;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.menu.open {
  left: 0;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 20px;
}

.menu li {
  margin: 10px 0;
}

.menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 26px;
  transition: background-color 0.2s ease;
}

.menu a:hover {
  background-color: #f7f4ee;
  color: #827153;
  font-weight: bold;
}
.menu-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000; /* add this line */
}

.menu-button {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  font-size: 35px;
  color: #715C3F;
  transition: all 0.2s ease;
}
.menu-button.open {
  color: white;
  /* Add any other styles you want to apply when the menu is open */
}
.menu-button:hover {
  font-size: 40px;
}
.menu img {
  display: block;
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
  padding: 20px;
  float: left;
  margin-right: 10px;
  margin-left: 25px;
}
.menu-content {
  padding-top: 20px; /* Add this line to create space between the top of the menu and the image */
}
.app-download-box {
  padding: 10px;
  background-color: #827153;
  /* Soft earth color */
  text-align: center;
  border-radius: 8px;
  /* Rounded corners */
  margin: 10px;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
}

.app-download-box a {
  color: #FFFFFF !important;
  /* Dark text color for contrast */
  text-decoration: none;
  /* No underline */
  font-weight: bold;
  /* Bold text */
}

.app-download-box a:hover {
  color: rgb(214, 207, 207)FFF;
  /* Slightly darker color on hover */
}
.page-title,
.page-title a {
  font-family: "proxima-nova", sans-serif;
  font-weight: 100 !important;
  font-style: normal;
  font-size: 5vw;
  text-align: center;
  margin: 0;
  padding: 20px 0;
  line-height: 1.2;
  color: black;
  text-decoration: none;
}

.page-title a:hover,
.page-title a:focus {
  text-decoration: bold;
  /* Optional: underline on hover for accessibility */
}
.custom-link {
  color: black;
  /* Sets the link color to black */
  text-decoration: none;
  /* Removes the underline from the link */
}

.custom-link:hover {
  text-decoration: underline;
  /* Adds underline on hover */
}
.btn-primary {
  background-color: #f6ba39 !important; /* Custom background color */
  border-color: #fbc24b !important; /* Custom border color */
  color: #ffffff !important; /* Custom text color, if needed */
}
.btn-primary:hover {
  background-color: #d8a027 !important;
}
.icon-square.img-transparent {
  background-color: transparent !important; /* Ensures the background is transparent */
}
.top-img {
  max-width: clamp(500px, 60vw, 1000px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.top-img2 {
  max-width: clamp(200px, 20vw, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.page-title,
.page-title a {
  font-size: clamp(2rem, 5vw, 6rem);
  text-align: center; /* This will still center the text inside the <a> tag, if needed */
  margin: 0;
  padding: 5px 0;
  line-height: 1.2;
  color: black;
  text-decoration: none;
  display: flex;
  font-weight: bold;
  align-items: center; /* Centers the flex items vertically within the container */
  justify-content: center; /* Centers the flex items horizontally within the container */
}


.page-title a:hover,
.page-title a:focus {
  /* Optional: underline on hover for accessibility */
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0px 20px 20px;
  /* Reduced top padding */
}

.feature-item {
  flex: 0 1 330px;
  display: flex;
  flex-direction: column;
  background-color: #f7f4ee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.feature-item.selected {
  transform: translateY(-5px);
  background-color: #f2ece3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.feature-title {
  font-size: 1.9rem;
  font-weight: bold;
  color: #827153;
  margin: 0;
  /* Remove default margins */
}

.feature-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-description {
  font-size: 1.0rem;
  color: #666;
  margin-bottom: 10px;
}

.feature-button {
  align-self: flex-start;
  padding: 8px 20px;
  background-color: #fbc24b;
  color: white !important;
  width: 150px;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.feature-button:hover {
  background-color: #eea94d;
}
#google_translate_element {
    height: 40px; /* Adjust this value based on the actual height of your widget */
    margin-bottom: 0px; /* Reduced from 20px to 10px */
}

/* Hide the Google Translate attribution */
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    font-size: 0px !important;
}
.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 6px !important;
}
    .welcome-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 0.5rem auto;
        max-width: fit-content;
    }

    .button-group {
        display: flex;
        align-items: center;
        gap: 1rem;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        padding: 0.75rem;
    }

    .action-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        border-radius: 30px;
        font-weight: 500;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.2s ease;
        border: none;
        min-width: 140px;
        justify-content: center;
    }

    .login-btn {
        background-color: #fbc24b;
        color: #ffffff !important;
    }

    .login-btn:hover {
        background-color: #eea94d;
        transform: translateY(-2px);
    }

    .info-btn {
        background-color: #827153;
        color: #ffffff !important;
    }

    .info-btn:hover {
        background-color: #715c3f;
        transform: translateY(-2px);
    }

    .welcome-contact {
        color: #827153;
        font-size: 0.9rem;
        padding: 0.25rem 0;
        transition: color 0.2s ease;
    }

    .welcome-contact:hover {
        color: #715c3f;
    }

    .icon {
        width: 16px;
        height: 16px;
    }

    @media (max-width: 600px) {
        .button-group {
            flex-direction: column;
            width: 90%;
            gap: 0.75rem;
        }

        .action-btn {
            width: 100%;
        }
    }
   .login-status {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(130, 113, 83, 0.1);
        border-radius: 30px;
        color: #827153;
        font-size: 0.95rem;
        margin: 0.5rem;
    }

    .login-status .icon {
        width: 18px;
        height: 18px;
        color: #827153;
    }

    .org-name {
        font-weight: 600;
    }    
    .tagline-1 {
        color: #827153;
        font-size: 1.8rem;
        font-weight: 400;
        text-align: center;
        margin: 0.5rem 0;
        letter-spacing: 0.2px;
    }

    @media (max-width: 768px) {
        .tagline-1, .tagline-2, .tagline-3 {
            font-size: 1.1rem;
            margin: 0.5rem 1rem;
        }
    }    
    .logout-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background-color: #827153;
        color: #ffffff !important;
        border-radius: 30px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        margin-left: 20px;
    }

    .logout-btn:hover {
        background-color: #715c3f;
        transform: translateY(-1px);
    }

    .logout-btn .icon {
        width: 16px;
        height: 16px;
    }    
    