html {
    scroll-padding-top: 70px; /* height of sticky header */
}

body {
  padding-top: 12%; /* Default padding for mobile */
  background-color: #f8f9fa;
}

@media (min-width: 768px) {
  body {
    padding-top: 10px; /* Padding for desktop and larger screens */
  }
}

@media (max-width: 768px) { /* You can adjust the 768px to target different screen sizes */
    .hide-on-mobile {
        display: none;
    }
}

a {
    text-decoration: none; /* Remove underline from links */
}

.card-footer a {
  text-decoration: none; /* Remove underline from links */
}

textarea {
  resize: none !important; /* Prevent manual resizing */
  overflow: hidden; /* Hide scrollbars */
  width: 100%; /* Ensure full width */
  min-height: 50px; /* Set a reasonable minimum height */
  box-sizing: border-box; /* Include padding and border in width and height */
}

.form-control textarea {
  resize: none !important;
  overflow: hidden; /* Hide scrollbars */
  width: 100%; /* Ensure full width */
  min-height: 50px; /* Set a reasonable minimum height */
  box-sizing: border-box; /* Include padding and border in width and height */
}

/* Settings Screen */
.settings-container {
	max-width: 800px;
	margin: 2rem auto;
}
.settings-nav {
	background-color: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	position: sticky;
	top: 70px;
}
.settings-nav .nav-link {
	color: #495057;
	border-radius: 0;
}
.settings-nav .nav-link.active {
	color: #007bff;
	background-color: #e9ecef;
	font-weight: bold;
}
.settings-content {
	background-color: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	margin-top: 30px;
}
.settings-section {
	padding: 2rem;
	border-bottom: 1px solid #dee2e6;
}
.settings-section:last-child {
	border-bottom: none;
}
.settings-section h5 {
	margin-bottom: 1.5rem;
	color: #343a40;
}
.form-label {
	font-weight: 500;
}
.btn-update {
	background-color: #ffc107;
	border-color: #ffc107;
	color: #212529;
}
.btn-update:hover {
	background-color: #e0a800;
	border-color: #d39e00;
	color: #212529;
}
/* /Settings Screen */
/* Floating button styling */
.floating-post-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #f0ad4e;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: background-color 0.3s;
}
.floating-post-button:hover {
	background-color: #e69a0c;
	cursor: pointer;
}
.floating-post-button i {
	font-size: 24px;
}
/* Larger modal on desktops */
@media (min-width: 992px) {
	.modal-dialog {
		max-width: 800px; /* Adjust width for larger screen sizes */
	}
}

/* Smaller modal on mobile */
@media (max-width: 991.98px) {
	.modal-dialog {
		max-width: 100%;
	}
}
/* /Floating button styling */
/* 404 Page */
.fun-graphic {
    margin: 20px 0;
    width: 80%;
    max-width: 100%; /* Ensures the image does not exceed the screen width */
    height: auto; /* Maintains aspect ratio */
}
/* /404 Page */
/* Spinner for loading pages after form submission */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* /Spinner for loading pages after form submission */
/* Media page grid layout */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.media-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}
/* /Media page grid layout */