body {
  font-family: 'Flamenco', sans-serif; /* Use the actual font name here */
  /* Additional font styles (size, weight, etc.) can be added as needed */
background-color: rgb(56 8 5);
  /*  background-color: #FF0000; Red background by default */
   transition: background-color 0.5s ease-in-out; /* Smooth transition effect */
   margin-left: 0px;
   margin-top: 0px;
}
img {
      max-width: 100%;
      height: auto; /* Ensures the image maintains its aspect ratio */
    }
/*header {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
}*/
/* Styles for the login screen */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999; /* Ensure it appears above other content */
}

.login-box {
  background-image: url("https://pasionflamenca.s3.eu-west-3.amazonaws.com/alumna_castanuelas.jpg");
  background-position: center; /* Position the image in the center */
  background-size: cover; /* Resize the image to cover the div */
  position: relative; /* Ensure SVG and content are positioned relative to this element */
  background-color: white;
  padding: 0px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000; /* Ensure it appears above SVG */
}

/* Hide the login screen by default */
#login-screen.show {
    display: flex;
}
header {
  position: absolute;
   top: -1px;
   left: 0;
   width: 97%;
   background-color: rgba(83, 12, 235, 0.1); /* Adjust the transparency (0.5 = 50%) */
   color: rgba(236, 11, 11, 0.65);
   padding: 10px;
   z-index: 1000; /* Ensure it appears above other content */

}
header h1 {
  padding-left: 10px;
}

nav {
    background-color: rgba(83, 12, 235, 0.1);
    padding: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
    position: relative;
    width: auto;
}

nav ul li a {
    text-decoration: none;
    color: rgba(236, 11, 11, 0.65);
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: rgba(236, 11, 11, 1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    /*display: none;  Initially hide the nav links */
    display: block;
    position: relative;
    /*left: 200px;*/
    width: 0; /* Initially set width to 0 */
    overflow: hidden;
    transition: width 0.5s ease; /* Add transition for smooth animation */
}


.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    display: inline;
    margin-right: 20px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding-left: 10px;
}

.stripe {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

/* Show nav links when the navbar is expanded */
.nav-links.expanded {
  display: block;
  position: absolute;
  left: 55px;
  top: 85px;
  width: 350px;
}
.nav-links.expanded ul li a{
  text-decoration: none;
    color: rgb(241, 243, 244);
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

section {
    /*height: 20vh;  Set the height to fill the viewport */
    position: relative;
    top: -4px;
     z-index: 1; /* Lower z-index value */
     display: flex;
    /*justify-content: center;
    align-items: center;*/
}

/*section.content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}*/

.card {
    background-color: #fff;
    /*background-image: url('https://pasionflamenca.s3.eu-west-3.amazonaws.com/IMG_20230423_123855.jpg');  Add your background image URL here */
    background-size: cover;
    background-color: #f9f9f9;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    max-width: 100%; /* Adjust as needed */
    width: 100%;

}
.card .header {
  position: relative;
   top: -1px;
   left: 0;
   width: 97%;
   border-radius: 8px;
   background-color: rgba(83, 12, 235, 0.1); /* Adjust the transparency (0.5 = 50%) */
   color: rgba(236, 11, 11, 0.65);
   padding: 10px;

}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.6);*/ /* 50% white background */
    border-radius: 8px;
}

.card h2 {
    color:  rgba(236, 11, 11, 0.65);

}

.card p {
    color: rgba(236, 11, 11, 0.65);;
}

.tweet-content {
    position: relative;
    padding: 20px;
    background-color: rgb(67 138 235 / 34%);
    /* background-color: rgba(255, 255, 255, 0.8); Semi-transparent white background */
    border-radius: 8px;
}

.tweet-content img {
    max-width: 100%; /* Ensure the image doesn't exceed the container's width */
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    object-fit: cover; /* Crop the image while maintaining aspect ratio */
    height: 100px; /* Set a fixed height for the image (adjust as needed) */
}

.tweet-content p {
    color: #333;
    font-size: 16px;
    margin-bottom: 0;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-info img {
    border-radius: 50%;
    margin-right: 10px;
    width: 50px;
    height: 50px;
}

.news {
    font-family: 'Flamenco', sans-serif; /* Use the actual flamenco font name here */
    color: red;
    text-align: right;
    flex-grow: 1;
    position: relative;
    top: -110px;
margin-bottom: -90px;
}

.news h3, .mews p {
    margin: 0;
}

.news2_bk {
    font-family: 'Flamenco', sans-serif;
    color: red;
    /* text-align: right; */
    flex-grow: 1;
    position: relative;
    top: -113px;
    margin-bottom: -90px;
    left: 200px;
    background-color: aliceblue;
    padding-left: 10px;
    padding-bottom: 26px;
    margin-right: 200px;
    padding-top: 1px;
    border-radius: 5px;
}

.news2 {
    font-family: 'Flamenco', sans-serif;
    color: red;
    flex-grow: 1;
    position: relative;
    margin-bottom: -90px;
    background-color: aliceblue;
    padding-left: 10px;
    padding-bottom: 26px;
    padding-top: 1px;
    border-radius: 5px;
    margin-top: 10px;
}
.news2 h3, .mews2 p {
    margin: 0;
}

.user-details {
    flex-grow: 1;
}

.user-details h3,
.user-details p {
    margin: 0;
}

.video-container {
    margin-top: 20px;
}
.video-container_evento {
    position: relative;
    margin-top: 94px;
}
/*.carousel-container {
    display: flex;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    transition: transform 0.5s ease;
}*/

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* Adjust this value as needed */
    margin: 0 auto;
    text-align: center;
     z-index: 0;
}

.carousel-container img {
    display: none;
    transition: opacity 0.5s ease-in-out; /* Smooth fade-in/out transition */

}

.carousel-container img:first-child {
    display: block;
}
/*.carousel-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}*/

/* CSS for Masonry-like layout
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));*/
  /*grid-auto-rows: 10px;
  grid-gap: 10px;
}*/
/* Image Container Styles */
#image-container {
  gap: 10px; /* Adjust gap between grid items as needed */
}

.grid-item {
  display: block; /* Reset display property for images */
  border-radius: 8px; /* Add border radius for images */
}

/* Video Container Styles */
#video-container {
  list-style: none;
  padding: 0;
}
.grid-item img {
height: auto;
}

/* CSS for video elements */
.video {
  max-width: 100%;
  height: auto;
}

/* Additional Styles */
.lazy {
  opacity: 0; /* Initially hide lazy-loaded images */
  transition: opacity 0.5s ease; /* Add transition effect for image opacity */
}

.lazy-loaded {
  opacity: 1; /* Show image after lazy loading */
}
.lunares {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}
@media (min-width: 768px) {

  #gallery {
   /*  display: block; /* Revert to block layout for smaller screens */
  }
  .grid-item {
  width: 100%;
  /*display: inline-block;  Ensure grid items are displayed inline-block */
  }
  /* For large screens, use Masonry layout for images */
  #image-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust column width as needed */
  grid-gap: 10px;
  }
}
/* Styles for smaller screens (up to 768px) */
@media (max-width: 767px) {
    .content, .effects {
        padding: 10px;
        position: relative;
        top: -250px;
    }
    header {
    position: relative;
    top: -300px;
    }
    .navbar {
    position: relative;
    top: -10px;
    }
    .nav-links.expanded {
        display: block;
        position: absolute;
        left: 40px;
        top: -2px;
        width: 350px;
    }
    .nav-links.expanded ul li a{
      text-decoration: none;
        color: rgb(241, 243, 244);
        font-weight: bold;
        font-size: 16px;
        transition: color 0.3s ease-in-out;
    }
    .carousel-container {
        max-width: 100%; /* Adjust as needed */
        margin: 0 auto; /* Center the container */
        text-align: center; /* Center the images */
    }

    .carousel-container img {
        max-width: 100%;
        height: auto;
        display: inline-block; /* Make images behave as inline elements */
    }
    .card {
        max-width: 100%; /* Adjust as needed */
    }
    header {
       left: 0;
       width: 97%;
       background-color: rgba(83, 12, 235, 0.1); /* Adjust the transparency (0.5 = 50%) */
       color: rgba(236, 11, 11, 0.65);
       padding: 10px;
       z-index: 1000; /* Ensure it appears above other content */

    }
    .video {
      max-width: 90%; /* Adjust as needed */
    }
    /*masonry like*/
    #gallery {
     /*  display: block; /* Revert to block layout for smaller screens */
    }
    .grid-item {
    width: 100%;
    /*display: inline-block;  Ensure grid items are displayed inline-block */
    }
    /* For large screens, use Masonry layout for images */
  #image-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust column width as needed */
    grid-gap: 10px;
  }
}

/* Styles for smaller screens (up to 480px) */
@media (max-width: 480px) {
    .carousel-container {
        max-width: 100%; /* Adjust as needed */
        margin: 0 auto; /* Center the container */
        text-align: center; /* Center the images */
    }

    .carousel-container img {
        max-width: 100%;
        height: auto;
        display: inline-block; /* Make images behave as inline elements */
    }
    .card {
        max-width: 100%; /* Adjust as needed */
    }
    .video {
      max-width: 100%; /* Adjust as needed */
    }
    /* For small screens, use list layout for images */
    #image-container {
      display: block;
    }
}

.carousel-container img.active {
    opacity: 1;
}


.content, .effects {
    padding: 10px;
}

/*.effects {
    background-color: #f9f9f9;
}*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-around;
}

.footer-area {
    text-align: center;
}

.footer-area h4 {
    font-family: 'FlamencoFont', sans-serif;
    color: red;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-area ul {
    list-style: none;
    padding: 0;
}

.footer-area li {
    margin-bottom: 5px;
}

.footer-area a {
    color: #fff;
    text-decoration: none;
}

/*CSS LOgin*/

body.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f7f7f7;
}

.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-button {
    padding: 10px 20px;
  /*  background-color: #007bff;*/
  background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}
.login-button-main {
    padding: 10px 20px;
  /*  background-color: #007bff;*/
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #0056b3;
}
