/* styles.css */

body {
    background-color: #212121;
    color: white;
    margin: 0; /* Remove default margin */
    padding: 20; /* Remove default padding */
    border: none; /* Remove default border */
    }

a  {
   text-decoration: none;
}

a:hover {
    text-decoration: none !important;
}


.homebanner {   /* Banner on Frontpage*/
    width: 100%;
    height: 200px;
    background-image: url('{{ latest_image.image.url }}');
    background-size: cover;
    background-position: center;
    border: none;
}

.homebanner-overlay {
    position: absolute;
    font-family: 'Comfortaa', cursive;
    font-weight: 300;
    font-size: 12px;
    text-align: center;
    bottom: 0px;
    left: 0; 
    background-color: rgba(112, 108, 108, 0.5);
    color: white;
    box-sizing: border-box;
    padding: 5px 4px;
    width: 100%;
    height: 50px;
    z-index: 5;
}

.imgcontainer {
    width: 100%;
    justify-content: center;
    margin: 0 auto;
}

.thegrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 5px;
    grid-auto-flow: row;
}

.images {
    display: flex;           
    flex-wrap: wrap;
}

.images img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.menu {
    display: flex;
    font-family: 'Exo 2', sans-serif;
    justify-content: space-around;
    align-items: center;
    background-color: lightgray;
    padding: 10px 0;
    height: 38px;
}
.menu a {
    text-decoration: none;
    color: black;
}



  /*---------------------------------------------------------------------------------------------------*/
  
  /*----------                          Albums                                              -----------*/
  
  /*---------------------------------------------------------------------------------------------------*/



.album-header-banner {
    /*background-image: url('/path/to/default/image.jpg'); /* Fallback image */
    position: relative;
    width: 100%;
    height: 250px; /* Adjust as needed */
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.album-header-banner .overlay {
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(21, 21, 21, 0.5);
    z-index: 1;
    display: flex;
    align-items: center;
    padding-left: 15px;
}
.album-header-banner .back-to-home-link {
    color: white; /* Adjust text color as needed */
    text-decoration: none; /* Remove underline from the link */
    font-size: 16px; /* Adjust font size as needed */
    
    z-index: 2; /* Ensure the link is above the overlay */
}

.album-header-banner-logo {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    /*background-color: rgba(28, 27, 27, 0.5); /* Semi-transparent background */
    padding: 5px;
    border-radius: 5px;
    z-index: 2
}

.album-header {
    display: flex;
    background-color: #111111;
    color: white;
    padding: 0px 10px;
    /*border-radius: 5px; */
}

.align-items-center {
    display: flex;
    align-items: center;
}

.album-header .back-to-home-link,
.album-header .back-link{
    position: absolute;
    left: 40px; 
}
.album-header .forward-link{
    position: absolute;
    right: 40px; 
}

.album-header .album-title {
    flex-grow: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 50px;
    text-align: center;
    color: white;
    position: relative;
    left: 100px;
}

.header-album-list {
    display: flex;
    background-color: #111111;
    color: white;
    padding: 10px 30px;
    /*border-radius: 5px; */
}


.container2 {
    width: 90%;
    margin: 0 auto; /* Center the container */
    justify-content: center; /* Center the grid inside the container */
}

.upload-container {
    width: 90%;
    
    position: absolute;
    left: 10px;
}


.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px);
    grid-gap: 20px;
    grid-auto-flow: row;
}

.album-container {
    width: 200px;
    height: 200px;
    overflow: hidden; /* Keep hidden to ensure the image fits within the container */
    display: inline-block;
    margin: 5px;
    text-align: center; /* Center the images horizontally */
    position: relative; /* Add relative positioning */
}
.album-container:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.album-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flag-container {
    width: 200px;
    height: 200px;
    background-color: #121c21;
    overflow: hidden; /* Keep hidden to ensure the image fits within the container */
    display: inline-block;
    margin: 5px;
    text-align: center; /* Center the images horizontally */
    position: relative; /* Add relative positioning */
}

.flag-image {
    width: 150px; /* Set the width to 180px */
    height: 150px; /* Set the height to 180px */
    object-fit: contain; /* Maintain aspect ratio */
    position: absolute; /* Position absolute to align within the container */
    top: 0; /* Align to the top */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the image horizontally */
}

  
.create-album-btn {
    position: absolute;
    left: 100px;
    font-family: 'quicksand', sans-serif;
    font-size: 50px; 
    background-color: #121c21;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
  
.create-album-btn:hover {
    background-color: #000000;
    text-decoration: none;
    color:#ef00cf
}

 
.grid-container {

    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 90%;
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: center; /* Center the grid inside the container */
  }


.album-box {
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    width: 100px; 
    height: 100px;
  }
  
  /*---------------------------------------------------------------------------------------------------*/
  
  /*----------                          Albums Details                                      -----------*/
  
  /*---------------------------------------------------------------------------------------------------*/

/* Containe for photo grid  */

.container {
    width: 90%;
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: center; /* Center the grid inside the container */
}

.upload-button {
    position: absolute;
    top: 265px; 
    right: 50%; 
    background: none; /* Remove background color */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    cursor: pointer; /* Set cursor to pointer */
}

.upload-button img {
    display: block; /* Ensure the image is displayed as a block element */
    width: 100%; /* Ensure the image fills the entire button */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.5; /* Set opacity to create transparency */
}

.upload-button img:hover {
    opacity: 1; /* Increase opacity on hover */
}



/* PHOTO GRID  */

.photo-grid {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto; /* Center the grid */
}

.photo-container {
    position: relative;
    display: inline-block; /* Adjust as needed */
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: auto;
}




/*  Image Overlays  */

.banner-icon {
    position: absolute;
    color: #acacac; 
    top: 10px;
    left: 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 8px; 
}

.banner-icon-active {
    color: red;
}

.info-icon {
    position: absolute;
    color: #acacac; 
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 50%;
}

.image-dimensions-overlay {
    position: absolute;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    top: 40px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
}

.image-description-overlay {
    position: absolute;
    font-family: 'Comfortaa', cursive;
    font-weight: 300;
    font-size: 12px;
    text-align: center;
    bottom: 5px;
    left: 0; 
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    box-sizing: border-box;
    padding: 5px 4px;
    width: 100%;
    z-index: 5;
}

.google-maps-overlay {
    position: absolute;
    bottom: 5px;
    left: 10px; 
    z-index: 15;
}

.google-maps-overlay img {
    max-width: 20px;
    max-height: 20px;
    z-index: 15;
}

/*  Trash Button  */

.remove-form {
    position: absolute;
    bottom: 7px; /* Adjust top position as needed */
    right: 7px; /* Adjust right position as needed */
}

.remove-button {
    background: none;
    border: none;
    width: 10px; 
    height: auto;
    color: #555555; 
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.remove-button:hover {
    color: #cc0000; /* Darker red on hover */
}

.remove-icon {
    font-size: 1.2rem;
    margin-right: 5px;
    z-index: 15;
}



.back-to-home-link {
    color: #333; /* Adjust color as needed */
    margin-right: 10px; /* Add some spacing */
}



/*  Photo Viewer  */

.photo-viewer-popup {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center; /* Center horizontally */
    z-index: 1000; /* Ensure it is above other elements */
    align-items: center; /* Center vertically */
    display: flex; /* Use flexbox for centering */
}

.photo-viewer-popup img {
    max-width: 100%;
    max-height: 100%;
}

.photo-viewer-popup .close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.photo-viewer-popup .prev,
.photo-viewer-popup .next
{
    position: absolute;
    top: 50%;
    font-size: 36px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    justify-content: center; /* Center horizontally */
}

.fullscreen{
    position: absolute;
    font-size: 36px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.photo-viewer-popup .prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-viewer-popup .next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.photo-viewer-popup .fullscreen {
    bottom: 10px;
    left: 10px;
}

.photo-title-mask {
    position: absolute;
    font-family: 'Exo 2', sans-serif;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#photo-title-input {
    background: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    padding: 5px;
    border-radius: 5px;
}

.photo-latitude-mask {
    position: absolute;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    top: 50px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px;
    border-style: solid;
    border-color: rgb(164, 161, 161);
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
#photo-latitude-input {
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: black;
    border: none;
    padding: 5px;
    border-radius: 5px;
}

.photo-longitude-mask {
    position: absolute;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    top: 50px;
    left: 150px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px;
    border-style: solid;
    border-color: rgb(164, 161, 161);
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;

}
#photo-longitude-input {
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: black;
    border: none;
    padding: 5px;
    border-radius: 5px;
}



@media (max-width: 992px) {
    .card {
        flex: 1 0 calc(50% - 4px); /* Adjust width for two images per row */
        max-width: calc(50% - 4px); /* Ensure images don't exceed half of row width */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 0 calc(100% - 4px); /* Adjust width for single image per row */
        max-width: calc(100% - 4px); /* Ensure images don't exceed row width */
    }
}


  /*---------------------------------------------------------------------------------------------------*/
  
  /*----------                          Dropdown                                               -----------*/
  
  /*---------------------------------------------------------------------------------------------------*/

/* Header Buttons Container */
.header-buttons {
    display: flex; /* Use Flexbox for alignment */
    align-items: center; /* Center items vertically */
    gap: 10px; /* Optional: space between buttons */
}

/* Dropdown container */
.dropdown {
    position: relative;
    top: 0; /* Align the dropdown button with the top of the container */
    left: 100%; /* Position it to the right of the "Create Album" button */
    margin-left: 50px; /* Add margin to create space between buttons */
    z-index: 10;
}

/* Dropdown button */
.dropbtn {
    font-family: 'quicksand', sans-serif;
    font-size: 50px; 
    background-color: #121c21;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    font-family: 'quicksand', sans-serif;
    font-size: 15px; 
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    font-family: 'quicksand', sans-serif;
    font-size: 15px; 
    color: black;
    padding: 2px 6px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #000000;
    text-decoration: none;
    color:#ef00cf
}


/* Checkbox Overlay */
.checkbox-overlay {
    position: absolute;
    bottom: 5px; /* Align at the bottom of the container */
    left: 5px; /* Adjust as needed to fit within the container */
    background-color: rgba(0, 0, 0, 0); /* Optional: background color to match other overlays */
    padding: 5px; /* Optional: padding for spacing */
    z-index: 6; /* Ensure it is above other elements */
    color: white; /* Ensure text is visible */
}


/* Hide the native checkbox */
.custom-checkbox input[type="checkbox"] {
    opacity: 0; /* Hide the native checkbox */
    position: absolute; /* Position it off-screen or inside the container */
    cursor: pointer; /* Make the label clickable */
}

/* Create a custom checkbox */
.custom-checkbox {
    position: relative; /* Position relative for custom styling */
    display: inline-flex;
    align-items: center; /* Center vertically */
    cursor: pointer; /* Make label clickable */
    font-size: 16px; /* Adjust font size as needed */
    color: black; /* Text color */
}


/* Style the custom checkbox */
.checkbox-custom {
    width: 20px; /* Width of the custom checkbox */
    height: 20px; /* Height of the custom checkbox */
    background-color: rgba(233, 226, 21, 0);
    border-radius: 4px; /* Rounded corners */
    display: inline-block; /* Inline-block for layout */
    position: relative; /* Position relative to place the checkmark */
    margin-right: 8px; /* Space between checkbox and label */
}


/* Checkmark (green hook) */
.checkbox-custom::before {
    content: "\2714"; /* Unicode checkmark character */
    font-family: "Font Awesome 5 Free"; /* Font Awesome font family */
    font-size: 16px; /* Size of the checkmark */
    color: rgb(0, 255, 72); /* Color of the checkmark */
    position: absolute; /* Position absolutely */
    top: 90%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the icon */
    opacity: 0; /* Hide initially */
    transition: opacity 0.3s; /* Smooth transition */
}


/* Skull (red) */
.checkbox-custom::after {
    content: "\f54c"; /* Font Awesome skull icon */
    font-family: "Font Awesome 5 Free"; /* Font Awesome font family */
    font-weight: 900; /* Font Awesome solid weight */
    font-size: 16px; /* Size of the skull icon */
    color: rgb(169, 2, 2); /* Color of the skull */
    position: absolute; /* Position absolutely */
    top: 90%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the icon */
    opacity: 0; /* Hide initially */
    transition: opacity 0.3s; /* Smooth transition */
}

/* Show the green checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom::before {
    opacity: 1; /* Show the checkmark */
}

/* Show the red skull when unchecked */
.custom-checkbox input[type="checkbox"]:not(:checked) + .checkbox-custom::after {
    opacity: 1; /* Show the skull */
}





  /*---------------------------------------------------------------------------------------------------*/
  
  /*----------                          Maps                                               -----------*/
  
  /*---------------------------------------------------------------------------------------------------*/

.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns per row */
    gap: 20px; /* Gap between grid items */
}
.country-card {
    text-align: center;
}
.country-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}


.map-menu-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    color: rgb(200, 0, 0);
    border: 1px solid rgb(200, 0, 0);
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 5px;
    width: auto;
    min-width: 100px;
    max-width: 100px;
    height: 20px;
    position: relative;
    top: -22px;
    left: 35px; 
    box-sizing: border-box;
}

.trackbox {
    width: 16px;
    height: 6px;
    border: 1px solid black;
    /*background-color: #cc0000;*/
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: -22px;       
}
.waypoint {
    width: 10px;
    height: 10px; 
    border: 1px solid black;
    border-radius: 50%; 
    /*background-color: red; */
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: -22px;      
}

.tracktext {
    font-family: 'Exo 2', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 12px; 
    /* background-color: rgba(204, 0, 0, 0.5);*/
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    display: inline-block; 
    position: relative;
    top: -22px;
        
}

.expand {
    font-family: 'Exo 2', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 12px; 
    /* background-color: rgba(204, 0, 0, 0.5);*/
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    position: absolute;
    right: 6px; 
    display: inline-block; 
        
}

.collapse {
    font-family: 'Exo 2', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 12px; 
    /* background-color: rgba(204, 0, 0, 0.5);*/
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    position: absolute;
    left: 6px; 
    display: inline-block; 
        
}

.leaflet-control-layers {
    transition: width 0.3s, min-width 0.3s;
    background-color: rgba(255, 255, 255, 0.7); /* New background color */
}

.leaflet-control-layers-minimized {
    width: 30px;  /* or whatever width makes sense for your minimized state */
    height: 30px; /* ensure it remains a square */
    overflow: hidden; /* hide overflow when minimized */
    background-color: rgba(255, 255, 255, 0.7); /* Apply same background color when minimized */
}


  /*---------------------------------------------------------------------------------------------------*/
  
  /*----------                          Fonts                                               -----------*/
  
  /*---------------------------------------------------------------------------------------------------*/

.lightgrey {
    background-color: #a1a0a1;
}

/* Fonts */
.futuristic-font {
    font-size: 50px; 
}
.future-black{
    color: rgb(0, 0, 0);
    font-size: 25px;
}
.future-white{
    color: rgb(255, 255, 255);
    font-size: 25px;
}
.future-blue{
    color: rgb(80, 162, 239);
    font-size: 25px;
}
.old {
    font-size: 26px; 
    position: relative;
    top: -10px; 
}

subtitle-font{
    font-size: 18px; 
}

.exo-font {
    font-family: 'Exo 2', sans-serif;
}

.orbitron-font {
    font-family: 'Orbitron', sans-serif;
}

.poppins-thin {
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
}

.titillium-extralight {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 200;
}

.titillium-bold {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
}

.quicksand-light {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
}

.comfortaa-thin {
    font-family: 'Comfortaa', cursive;
    font-weight: 300;
}

.sumerian {
    font-family: "Noto Sans Cuneiform", sans-serif;
  }

.noto-symbols2 {
  font-family: "Noto Sans Symbols 2", sans-serif;
  font-weight: 400;
  font-style: normal;
  }

  @font-face {
    font-family: 'Jojisin';
    src: url('webfonts/Jojisin.ttf') format('truetype'); /* Adjust the path as needed */
}

.jojisin {
    font-family: 'Jojisin';
}

