@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;700&display=swap');

h1, h2, h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}





/* CSS Reset */
html,
body,
button,
ul,
li




body {
  overflow-x: hidden;


  animation: backgroundAnimation 10s infinite alternate;
  background-color:#00000;
  /*background-image: url("https://assets.fetfilm.se/images/bkghands.png");*/
  background-repeat: repeat; /* Tiling the image */
  background-size: 50%; /* This will keep the original size of the image */
  background-position: top left; /* Starting point of the tiling */

}



.container {
  /* ... Your existing container styles ... */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Adjust to your layout preference */
  min-height: 100vh;
  padding: 0 10px;
  max-width: 80%;
  margin: 0 auto;
}

.logo-container {
  text-align: center;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
    background-color: rgba(0, 0, 0, 0.0);
}

.dropdown.menu {
      background-color: #ffb400;
}
.logo {
  max-width: 50%;
  height: auto;
  margin-right: 20px;
  margin-bottom: 20px;

}

nav ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  text-align: center;
  padding-top: 2px;
  background-repeat: repeat;
  padding-bottom: 2px;
  color: #327a79;

}

nav ul li {
  display: inline-block;
  margin-right: 10px;
margin: 20px;
    background-color: #ffb400;
border-radius: 10px;
color: #327a79;

  }


nav ul li a,
.button {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: #ffb400;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;

}



.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: flex-start;
  margin-top: 10px;
  text-align: left;

}

h1 {
  font-size: 30px;
  margin: 60px 0 10px;
  border-bottom: 0;
  padding-bottom: 5px;
    color: #327a79;


}

h2 {
  font-size: 30px;
  margin: 60px 0 10px;
  border-bottom: 0;
  padding-bottom: 5px;
  text-align: center;
    color: #327a79;

}

h3 {
  font-size: 25px;
  margin: 60px 0 10px;
  border-bottom: 0;
  padding-bottom: 5px;
  text-align: center;
    color: #327a79;

}

p {
  text-align: left;
  font-size: 18px;
  font-style bold;
  margin: 0 auto;
  max-width: 100%;
  color: #327a79;

}

h3 {
  text-align: center;
  font-size: 16px;
  margin: 0 auto;
  max-width: 600px;
  align-items: center;
 justify-content: left;/* Adjust the max-width as needed */

}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.top-content,
.bottom-content {
  width: 80%;
  max-width: 80%;
  margin: 2px auto;
  padding: 2px;

  border-radius: 5px;
  color: black;
  text-align: left;
}

.bottom-content .image-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 20px 10px;
  align: center;
}

p img {
  max-width: 100%;
  height: auto;

}

footer {
  margin-top: auto;
  padding: 10px;
  background-color: transparent;
  text-align: center;
  color: #327a79;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Set the height to 100% of the viewport height */
  box-sizing: border-box;

}

header {
  position: relative;
  overflow: hidden;
  text-align: center;

}

.header-bg {
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url("https://assets.fetfilm.se/images/bkgimage.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.image-links {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 5px auto;
  padding: 20px 10px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%; /* Cover the container width */
  max-width: 1200px; /* Limit the width to maintain responsiveness */
  margin: 0 auto; /* Center the grid horizontally */
  padding: 20px;
}

.image-link {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  overflow: hidden;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tooltip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 16px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-link:hover .tooltip {
  transform: translateY(0);
}

.image-links a {
  text-decoration: none;
}

.image1 {
  background-image: url("https://assets.fetfilm.se/images/Image1.jpg");
}

.image2 {
  background-image: url("https://assets.fetfilm.se/images/Image2.jpg");
}

.image3 {
  background-image: url("https://assets.fetfilm.se/images/Image5.jpg");
}

.image4 {
  background-image: url("https://assets.fetfilm.se/images/Image6.jpg");
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffb400;
  padding: 20px 0;

}

.button-container a.button {
  margin: 0 10px;

}
.gradient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.image-gallery2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1000px; /* Adjust the maximum width if needed */
  margin: 20px auto; /* Center the gallery horizontally */
  padding: 0 20px; /* Add some horizontal padding to keep it within the screen */
  box-sizing: border-box; /* Include padding within the width */
}

.image2 {
  width: 100%; /* Set width to 100% to fit the column */
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 5px;
  position: relative;
}

.image2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image2.expanded {
  width: 100%;
  padding-bottom: 56.25%;
  z-index: 2;
}

.image2.expanded img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  z-index: 3;
}

.top-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0px auto; /* To center the image horizontally */
  display: block;
  overflow: hidden; /* Ensure that the image is cropped */
  position: relative; /* Required for absolutely positioning the image */
}


.bottom-image {
  width: 60%;
  height: 100%;
  object-fit: fit;
  margin: 20px auto; /* To center the image horizontally */
  display: block;
}

/* Default styles for larger screens (computers) */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 30%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Overlay styles */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

#expanded-image {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

#image-text {
  color: white;
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
}

/* Disable scrolling when overlay is active */
.no-scroll {
  overflow: hidden;
}

.nav-button {
  background: #ffb400;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin: 0 10px;
}

.nav-button:hover {
  text-decoration: underline;
}

/* Media query for smaller screens (e.g., phones) */
@media screen and (max-width: 100%) {
  .gallery {
    flex-direction: column;
    align-items: center;
    align-content: center;
  }

  .gallery img {
    width: 100%; /* Adjust the width as needed */
  }
}

.no-scroll {
  overflow: hidden;
}

.button {
    background: #ffb400;
    color: black;
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    text-decoration: shadow;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ffb400; /* Adjust the color as needed */
    border-radius: 2px; /* Adjust the radius as needed */

}

/* Additional style for the border */
.button {
    border: 0px solid #ffb400; /* Adjust the color as needed */
    border-color: black;
}


h2::after {
  content: ''; /* Create an empty pseudo-element */
 display: inline-block;
  width: 100%; /* Set the width of the line to 100% */
  height: 1px; /* Set the height of the line */
 background-color: #000;
  position: relative; /* Set position to relative to allow absolute positioning */
  top: 20px;
margin-bottom: 20px;


}

/* Define the keyframes for the soundwave animation */
@keyframes soundwave {
  0% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(2);
  }
}


//// BUTTONSSS



button:hover {
  animation: shake 0.5s ease-in-out;
}

/* Define the keyframes for the shake animation */
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

.image-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Set the height of the container to 50% of the viewport height */
  overflow: hidden; /* Hide the overflowing parts of the image */
}

.site-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 50%;
  display: block;
  transform: translateY(-50%);


}

.full-image {
  width: auto;
  height: auto;
  object-fit: cover;
  margin: 20px auto; /* To center the image horizontally */
  display: block;
  overflow: hidden; /* Ensure that the image is cropped */
  position: relative; /* Required for absolutely positioning the image */
}


.language-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 20px;
  background-color: #ffb400;
  color: black;
  border: none;
  border-radius: 0px;
  cursor: pointer;
    display: none;
}

.language-button:hover {
  background-color: #ffb400;
}


}

.klick-image {
  all: unset; /* Reset all styles */
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  position: relative;
}

.klick-image:hover {
   outline: 3px solid #4CAF50; /* Green outline on hover */
   outline-offset: 5px; /* Space between image and outline */
 }



NYTT test

.toggle-button {
  display: inline-block;
  padding: 20px 20px;
  background-color: #ffb400;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

}

.toggle-button:hover {
  transform: scale(1.05);

}

/* Content box styling - hidden by default */
.content-box {
  display: none; /* Hidden initially so sections are closed */
  padding: 20px;
  background-color: #f4e5d0;
  border-radius: 8px;
  margin-top: 10px;
  line-height: 1.6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#festival-info a {
  color: #black;       /* Custom link color */
  text-decoration: none;    /* Removes the underline */
  font-weight: bold;        /* Makes the link text bold */
  transition: color 0.3s ease; /* Smooth link transition */
}

/* Hover effect */
#festival-info a:hover {
  color: #ff402b;           /* Darker shade on hover */
  text-decoration: underline; /* Adds underline on hover */
}

#festival-info a:visited {
  color: #ff402b;           /* Darker shade on hover */
  text-decoration: underline; /* Adds underline on hover */
}


/* Media queries for mobile */
@media screen and (max-width: 100%) {
  /* Ensure the container spans the entire screen width */
  .container {
    padding: 0;
    margin: 0;
  }


  /* Adjust header spacing */
  header {
    display: flex;
    flex-direction: row; /* Stack items vertically */
    align-items: center; /* Center items */
    padding: 8px 10px;
  }


  .logo {
    width: 100vw;  /* Full width */
    height: auto;  /* Maintain aspect ratio */
    max-height: 100vh; /* Ensure it fits within the screen */
    object-fit: cover; /* Cover entire screen */
  }
  /* Adjust button size */
  .language-button {
    font-size:0px;
    padding: 6px 12px;
  }

  /* Font and layout adjustments */
  .content-section h2 {
    font-size: 20px;
  }

  .content-section p {
    font-size: 14px;
  }

  /* Footer and back-to-top adjustments for smaller screens */
  footer {
    font-size: 12px;
  }

  .back-to-top {
    padding: 8px;
    font-size: 20px;
  }
}


NYTT GALLERI

.gallery3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.gallery3 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery3 img:hover {
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

* {
  color: #000000 !important;
}
