@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

body {
    margin: 0;
	padding: 0;
    font-family: Arial, sans-serif, Orbitron;
    font-size: 12px;
    overflow:auto;
    background: url('images/bg_dog_paw.png') no-repeat center center fixed;
    background-size: cover;
    color: #FFF;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    margin: 0;
    padding: 0;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;   /* Ensure the video covers the width */
    min-height: 100%;  /* Ensure the video covers the height */
    z-index: -1;       /* Send video to the background */
    object-fit: cover; /* Cover the background while maintaining aspect ratio */
}

.Logo{
    margin: 20px;
    animation: fadeIn 10s;
    align-items: left;
    font-family: Orbitron;
    font-size: 10px;
}
.sepline{
	left: 2px;
    width: 99%;
    max-width: 99%;
    height: 1px;
    display: flex;
    background-color: white;
    position: relative;
    z-index: 1000;
    animation-delay: 2s;
}

input[type=password], input[type=text], input[type=email], input[type=number], textarea[type=message], textarea[type=news_content], textarea[type=dog-comment], textarea[type=dog-describtion], select {
    position: relative;
    width: 50%;
    left: 5px;
    padding: 2px 2px;
    margin: 4px 4px;
    display: inline-block;
    border: 1px solid #333;
    border-radius: 4px;
    box-sizing: border-box;
}

a {
    position: relative;
    padding: 2px;
    margin-left: 2px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    animation: fadeIn 5s;
    color: white;
    transition: .5s;
}
a:hover{
    position: relative;
    padding: 2px;
    margin-left: 2px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    animation: fadeIn 5s;
    color:green;
    transition: .5s;
}
.read-more-button {
    padding: 10px 20px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
	animation: fadeIn 5s;
    transition: .5s;
	cursor: pointer;
	z-index: 10;
}

.read-more-button:hover {
	padding: 10px 20px;
    background-color: #33AA33;
	color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
	animation: fadeIn 5s;
    transition: .5s;
	cursor: pointer;
	z-index: 10;
}
button {
    padding: 10px 20px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
	animation: fadeIn 5s;
    transition: .5s;
	cursor: pointer;
	z-index: 10;
}

button:hover {
	padding: 10px 20px;
    background-color: #33AA33;
	color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
	animation: fadeIn 5s;
    transition: .5s;
	cursor: pointer;
	z-index: 10;
}

#likeButton {
	display: inline-block;
	background-color: #333333;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
#likeButton:hover {
	display: inline-block;
	background-color: #33aa33;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
#likeCount {
	display: inline-block;
	margin-left: 10px;
	color: #333;
}
.showHideCommentButton{
    display: inline-block;
	background-color: #333333;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.showHideCommentButton:hover{
	display: inline-block;
	background-color: #33aa33;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.replyButton{
    display: inline-block;
	background-color: #333333;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer; 
}
.replyButton:hover{
    display: inline-block;
	background-color: #33aa33;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.postCommentButton {
    display: inline-block;
	background-color: #333333;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.postCommentButton:hover {
	display: inline-block;
	background-color: #33aa33;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}

.back-button {
	position: absolute;
    top: 2px;
    right: 0.2%;
    padding: 10px 20px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
}

.back-button:hover {
	position: absolute;
    top: 2px;
    right: 0.2%;
	padding: 10px 20px;
    background-color: #33AA33;
	color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
}

header {
	display: flex;
	align-items: center;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.9); /* Semi-transparent header and footer */
	backdrop-filter: blur(5px);
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    position: fixed; /* Fix header and footer position */
    z-index: 1000;
}

footer {
    color: white;
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
	background-color: rgba(33, 33, 33, 0.9); /* Semi-transparent header and footer */
	backdrop-filter: blur(5px);
	box-shadow: 0px -8px 16px 0px rgba(0,0,0,0.7);
    bottom: 0;
}

.logo img {
    height: 40px;
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1A1A1A;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #33AA33;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #FFF;
    text-decoration: none;
    font-size: 12px;
}

nav ul li a:hover {
    color: #33AA33;
}
.dropdown-content a {
    color: #FFFFFF;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #555555;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #11AA11;
}
/* Style the hamburger icon */
.hamburger {
    display: none;  /* Hidden by default */
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* Hide the menu for small screens */
@media screen and (max-width: 480px) {
    nav ul {
        display: none;  /* Hide the full menu */
        flex-direction: column;  /* Stack items vertically */
        width: 100%;
    }

    nav ul.show {
        display: flex;  /* Show the menu when .show class is added */
    }

    .hamburger {
        display: block;  /* Show the hamburger icon */
    }
    
    nav ul li {
        text-align: center;
        padding: 10px;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
    }
    
    nav ul li a:hover {
        color: #33AA33;
    }
}

.banner {
    width: 100%;
    height: 100px;
    backdrop-filter: blur(5px);
}

.banner img {
    width: 100%;
    height: 100px;
    backdrop-filter: blur(5px);
}

.page-content-box {
    margin: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
	color: #333;
}

.split-content {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.content {
	position: absolute;
	bottom: 10%;
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px 20px;
}

.content-box {
    background: #0000008a;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
	color: #FFF;
}

.content-box h2 {
	color: #FFF;
    margin-top: 0;
}

.content-box button {
    padding: 10px 20px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
}

.content-box button:hover {
	padding: 10px 20px;
    background-color: #33AA33;
	color: white;
    text-decoration: none;
    border-radius: 5px;
	border:1px solid white;
}
.container {
    width: 80%;
    height: 400px;
    border: 4px solid #333333;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 5px;
    margin: 30px auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}
.region {
    background-color: #33AA33;
    border: 1px solid #FFFFFF;
    display: flex;
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    margin: 2px;
}
.region:hover {
    background-color: #00550033;
    border: 1px solid #FFFFFF;
    display: flex;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    margin: 2px;
}
.dog-group {
    width: 100%;
    height: 50px;
    left: 0;
    margin: 15px;
    bottom: 10px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    animation: fadeIn 5s;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:white;
    transition: .5s;
    background-color: #33AA3311;
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}
.dog-add-form {
    width: 100%;
    height: 50px;
    left: 0;
    margin: 15px;
    bottom: 10px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    animation: fadeIn 5s;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:white;
    transition: .5s;
    background-color: #33AA3311;
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.dog-show {
    display: absolute;
    position: relative;	
    width: 600px;
    height: auto;
    left: 0;
    margin: 15px;
    bottom: 10px;
    padding: 2px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    animation: fadeIn 5s;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:white;
    transition: .5s;
    justify-content: center;
    background-color: #33AA33;
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*cage inventroy page style.*/
._map{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.dog-image {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 10px;
}
#map {
	border-radius: 10px;
	border: 2px solid darkgrey;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	display: block;
	margin-top: 110px;
	margin-left: 5%, auto;
	margin-right: auto;
	width: 150px;
	max-width: 150px;	/* Initial smaller size */
	height: auto;
	z-index: 100;
	cursor: pointer; /* Cursor to indicate clickability */
	opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
#map.enlarged {
    width: 100%;  /* Adjust the size of the enlarged map */
	min-width: 1000px;
    max-width: 1000px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: auto;
}
.camp_map_container{
	position: flex;
	margin-left: 20px;
    top: 20%;
    left: 5%;
    width: 50%;
    height: auto;
    padding: 2px;
	z-index: 100;
}
.cage_inventory_page{
    position: flex;
	margin: 20px;
    width: 90%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
	flex-wrap: wrap;
	opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.cage_inventory_page table td{
	flex-wrap: wrap;
}
/*dog profile page style.*/
.dog_profile_page{
    position: absolute;
    top: 8%;
    left: 5%;
	min-width: 400px;
	max-width: 80%;
    width: 70%, auto;
    height: auto;
    padding: 5px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.server_message {
    position: absolute;
    top: 40%;
    left: 40%;
    padding: 5px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.dog_profile_data{
	padding: 5px;
}
.dog_profile_discribtion{
	display: flex;
    top: 10%;
    left: 5%;
    width: 70%, auto;
    height: auto;
    padding: 5px;
}
/*Add a dog page*/
.add_a_dog {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 70%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    transition: height .5s ease;
}
.add_a_dog input[type=text], select {
    position: relative;
    width: 80%;
    left: 10px;
    padding: 8px 12px;
    margin: 4px 2px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
.add_a_dog textarea[type=comment]{
    position: relative;
    left: 10px;
    width: 80%;
    height: 120px;
    padding: 8px 12px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    box-sizing: border-box;
}
.add_a_dog select[type=select]{
    position: relative;
    left: 10px;
    width: 80%;
    height: 30px;
    padding: 8px 12px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
	z-index: 100;
    box-sizing: border-box;
}
.modify_dog_page{
    position: absolute;
    top: 8%;
    left: 5%;
    width: 70%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    transition: height .5s ease;

}
.gallery-image {
	width: 150px;
	height: 150px;
	object-fit: cover;
	margin: 10px;
	position: relative;
}
.delete-button {
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: red;
	color: white;
	border: none;
	cursor: pointer;
}
.gallery-table {
	width: 70%;
	border-collapse: collapse;
}
.gallery-table td {
	padding: 2px;
	text-align: center;
	vertical-align: top;
	position: relative;
}

/* Restrict image size to 150x150px */
.gallery-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
}

/* Style for enlarged view */
#enlargedImageContainer {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 10%;
    top: 10%;
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.8);
}

#enlargedImage {
	margin: 10px;
    max-width: 90%;
    max-height: 90%;
	padding: 10px, 10px;
}

#paginationControls{
	margin: 2px;
}

/* Style for close button */
#closeButton {
     position: absolute;
     top: 10px;
     right: 10px;
     color: white;
     font-size: 24px;
     cursor: pointer;
}
h1 {
	font-size: 18px;
	text-shadow: 1px 1px #000;
}

h2 {
	color: #aaa;
	font-size: 16px;
	text-shadow: 1px 1px #000;
    margin-top: 0;
}
h3 {
	font-size: 14px;
	color: #333;
}
p {
	color : #fff;
	font-size: 12px;
}

b {
    font-size: 12px;
    color: white;
}

.user_managment{
    position: absolute;
    top: 8%;
    left: 10%;
    width: 70%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.register_page{
position: absolute;
    top: 20%;
    left: 5%;
    width: 80%;
    height: 450px;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.login_page{
    position: absolute;
    top: 20%;
    left: 5%;
    width: 80%;
    height: 300px;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: hidden;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.contact_page{
	position: absolute;
    top: 8%;
    left: 5%;
    width: 70%, auto;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.google_map_location img{
	width: 150px;
	height: 150px;
	border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
}
.standart_page {
	position: absolute;
    top: 10%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}


.terms_conditions_page{
	position: absolute;
    top: 8%;
    left: 5%;
    width: 70%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}

/*Gallery page style */
.dog_gallery_page{
    position: absolute;
    top: 8%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.about_page{
    position: absolute;
    top: 8%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.modify_news_page{
    position: absolute;
    top: 8%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */	
}

.news_page{
    position: absolute;
    top: 8%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */
}
.news-item {
    margin: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}
.news-title {
	color: #000;
    font-size: 1.5em;
    margin-bottom: 5px;
}
.news-content {
	color: #000;
    margin-bottom: 10px;
}
.news-date-author {
    font-size: 0.9em;
    color: #888;
}
.news-like-button {
	background-color: #333333;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.news-like-button:hover {
	background-color: #33aa33;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}
.news-like-count {
	margin-left: 10px;
	color: #333;
}
.news-media-section img {
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    border-radius: 5px;
}
.news-media-section video {
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    border-radius: 5px;
}
.manage_media_page {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 80%;
    height: auto;
    padding: 2px;
    background: #0000008a;
    backdrop-filter: blur(5px);
    border: 2px solid;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 30px black;
    overflow: auto;
    opacity: 1;
	transition: opacity 1s ease-in-out; /* Smooth opacity transition */	
}
