/*
Theme Name: UwannaC
Author: Hostinger
Author URI: http://www.hostinger.com/tutorials
Description: My first responsive HTML5 theme
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

* {
	box-sizing: border-box;
}

body {
	background-color: #f9f9f9;
	font-family: Helvetica;
}

.site-main {
	margin-left: 220px;
	padding: 2rem;
}

/****************************************/
/* Horizontally Scrolling Photo Gallery */
.horizontal-scroll {
/*	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	padding: 1rem 0;
	border: 1px solid #ccc;*/
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	
}

.card {
	flex: 0 0 250px;
	padding: 1rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
/*	display: inline-block;
	width: 250px;
	height: 150px;
	white-space: normal;
	margin-right: 1rem;
	border-radius: 8px;*/
}
/* Horizontally Scrolling Photo Gallery */
/****************************************/

/****************************************/
/* Index Page Images                    */
.item {
	position: relative;
	flex: 0 0 auto;
}

.item img {
	display: block;
}

.overlay {
	position: absolute;
	top: 120px;
	left: 0px;
}
/* Index Page Images                    */
/****************************************/

/****************************************/
/* Hide Comments                        */
#cmmnt-chck:checked ~ .tggl-cmmnt {
    display: block; /* Show comments when checked */
}
.tggl-cmmnt {
    display: none; /* Hide comments by default */
}
/* Hide Comments                        */
/****************************************/

/****************************************/
/* New Side Menu                        */

.custom-sidebar .menu svg {
	height: 30px;

}

.custom-sidebar {
	position:fixed;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	font-family: "Roboto", sans-serif;
	width: 80px;
	top: 24px;
	left: 0px;
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.4);
	overflow: hidden;
	color: #0d1b2a;
	transition: all 400ms cubic-bezier(0.07, 0.88, 0.37, 1.05);
}

.custom-sidebar .label {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-20px);
	transition: all 600ms ease;
}

.custom-sidebar:hover .label {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-20px);
}


.custom-sidebar:hover {
	width: 300px;
}

.custom-sidebar:hover .menu-title {
	padding: 0 32px;
}

.custom-sidebar .menu a {
	color: #0d1b2a;

}

.custom-sidebar .logo {
	font-size: 30px;
	font-weight: bold;
	color: #e63946;
	padding: 8px 20px;


}

.custom-sidebar .menu {
	border-top: 1px solid rgba(13, 27, 42, 0.3);
	padding: 16px 0px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.custom-sidebar .menu-title {
	font-size: 14px;
	text-transform: uppercase;
	margin: 8px 0;
	padding: 0 20px;
	transition: all 400ms ease;
}

.custom-sidebar .menu a {
	display: flex;
	gap: 24px;
	align-items: center;
	test-decoration: none;
	padding: 8px 24px;
	border-radius: 10px;
	transition: all 500ms ease;

}


.custom-sidebar .menu a:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* New Side Menu                        */
/****************************************/


/****************************************/

.site-sidebar {
	position: fixed;
	top: 0;
	left: 0px;
	width: 220px;
	height: 100vh;
	background: #222;
	overflow-y: auto;
}


/* old */
/*
.site-navigation {
	position: fixed;
	top: 0;
	left: 0px;
	width: 220px;
	height: 100vh;
	background: #222;
	padding: 2rem 0;
}*/


/* old *//*
.primary-menu li {
	position: relative;
}
*/


/*.primary-menu .menu-item-has-childern:hover > .sub-menu, 
.primary-menu .menu-item-has-childern:focus-within > .sub-menu {*/

/* old
.primary-menu .menu-item-has-children:hover > .sub-menu, 
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
} *?





/* old */
/*
.primary-menu {
	list-style: none;
	margin: 0;
	padding:0;
} */

.primary-menu,
.primary-menu ul {	/*New */
	list-style: none;
	margin: 0;
	padding: 0;
}

/*.primary-menu a { /* old */
/*	display: block;
	padding: 0.75rem 1.5rem;
	color: #fff;
	text-decoration: none;
}*/

.primary-menu a { /* new */
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 20px;
	color: #c3c4c7;
	text-decoration: none;
}

.primary-menu a:hover { /* in both */
	background: #444;
}

/* Active menu item */  /* in New only */
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
	background: #2271b1;
	color: #fff;
}

.primary-menu .sub-menu {	/* old */
	list-style: none;
	margin: 0;
	padding:0;
	background: #333;
	padding-left: 2.5rem;
}

.primary-menu .sub-menu {	/* in both */
	display: none;
}

.primary-menu .menu-item-has-children.is-open > .sub-menu { 	/* in both */
	display: block;
}


.primary-menu .sub-menu a {	/* in both */
	padding-left: 2.5rem;
}

/*  New  */


.primary-menu .menu-item-has-children > a::after {	/* only in new */
 	content: ">";
 	margin-left: auto;
 	font-size: 20px;
 	transition: transform 0.2s;
}

.primary-menu .menu-item-has-children.is-open > a::after {	/* only in new */
	transform: rotate(90deg);
}



/****************************************/




/* Hamburger Navigation */
nav {
    padding: 1.5rem 2rem;
    background-color: #222831;
    color: #fff;
}

.checkbtn {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.nav-mobile {
    display: none; /* Hide menu by default */
}

#check:checked ~ .nav-mobile {
    display: block; /* Show menu when checked */
}

/* Side Menu */
.sideMenu {
	width: 10%;
	background-image: linear-gradient(30deg, #11cf4d, #055e21 );
}

.content {
	padding-left: 20px;
	width: 85%;
	}

#menu ul {
    list-style-type: none;
    padding: 0;
}

#menu ul li {
    position: relative;
}

#menu ul li a {
    text-decoration: none;
    padding: 10px;
    display: block;
}

#menu ul ul {
    display: none; /* Hide submenus */
    position: absolute;
    left: 0;
    top: 100%;
}

#menu ul li:hover > ul {
    display: block; /* Show submenu on hover */
}

/****************************************/
/* Add Profile                          */
.preview-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
 
.preview-item {
  border: 1px solid #ddd;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
}
 
.preview-img {
  max-width: 200px; /* Match thumbnail size */
  margin-bottom: 0.5rem;
}
 
.remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
}
/* Add Profile                          */
/****************************************/

/****************************************/
/* Drag and Drop                        */
#drop-area {
	width: 400px;
	height: 200px;
	margin: 20px auto;
	text-align: center;
	line-height: 200px;
	border: 2px dashed #ccc;
	cursor: pointer;
}
	
#drop-area.drag-over {
	background-color: #bbb7b7;
}

.box {
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.box label strong {
	text-decoration: underline;
	color: blue;
	cursor: pointer;
}

.box label strong:hover {
	color: blueviolet
}

#prvw-cntnr {
	text-align: center;
}

.flex-container {
	display: flex;
	flex-direction: nowrap;
}

.hide-element {
	display: none;
}

.show-element {
	display: block;
}
/**************************************************/
/*		.box {
			background-color: white;
			outline: 2px dashed black;
			height: 400px;
		} */



		.box.is-dragover {
			background-color: grey;
		}

		.box input {
			display: none;
		}
/* Drag and Drop                        */
/****************************************/


/***************  Upload Video or photo  ***********************/

  .preview-wrapper {
    position: relative;
    display: inline-block;
    max-width: 200px;
    min-height: 110px;
    border: 1px solid #ccc;
    background: #f0f0f0;
  }

  #thumbnailPreview {
    display: block;
    width: 100%;
    height: auto;
  }

  .spinner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.15s ease;
  }

  .css-spinner {
    width: 30px; height: 30px;
    border: 4px solid #f3f3f3; border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/***************  Upload Video or photo  ***********************/


/* for the index page */
/*.gallery {    display: flex;    flex-wrap: wrap;    justify-content: flex-start;}
/*.gallery-item {    margin: 5px;    border: 1px solid #ccc;    width: 180px; /* Adjust width as needed */}
/*.gallery-item img {    width: 100%;    height: auto; /* Maintain aspect ratio */}


html {    scroll-behavior: smooth;}
.gallery {    margin-top: 5%;    padding-top: 60px;    text-align: center;}
.scrollable-images {    display: flex;    overflow-x: auto;    gap: 10px;}
/*.scrollable-images img {    width: 80px;    height: 300px;    object-fit: cover;    border-radius: 5px;    transition: 0.3s;}*/
.scrollable-images img {    width: 100px;    height: auto;    object-fit: cover;    border-radius: 5px;    transition: 0.3s;}
.scrollable-images img:hover {    filter: grayscale(0%);}




/* This stuff should be moved to profile.css when I figure out how to do it *
/
.sideMenu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background: #478cff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    background-image: linear-gradient(30deg, #11cf4d, #055e21 );
}
*/


.container {
	display: flex;
}
css

.custom-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border-radius: 5px;
	cursor: pointer;
}

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

/*
.item1, .item2 {    width: 100px;    height: 100px;    margin: 5px;    background: #ce8888;}
display: inline-block;
	height: 100%;*/


/*
#contentArea {
	display: inline-block;
	padding: 16px;
}
*/

.image-container {
	position: relataive;
}




/* overlay photo with free */
.free-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
}
