@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Poppins";
  background-color: #fff;
}

.container{
  margin-left: auto;
  margin-right: auto;
}

label{
  font-family: 'Century Gothic';
  margin-left: 50px;
  display: inline-block;
  /* width: 200px; */
  text-align: left;
}

label#content-line1,
label#content-line2,
label#expl {
  text-align: left;
}

label:hover {
  background-color: #f8f7f7;
}

.logo {
  color: rgb(226, 226, 226);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

.large-font, #footnote{
  margin-left: 50px;
  text-align: left;
  font-family: 'Century Gothic';
  font-size: 16px;
  font-weight: 610;
  color: #686565;
  background-color: #fff;
}

.mainimage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 140px;
  width: 23%;
}

/* Navigation List & Bar  */
header {
  color: black;
  background-color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

}


header h1 {
  padding-top: 0.5rem;
  font-size: 26px;
  margin: 0;
  margin-left: 50px;
}

nav {
  margin-right: 10px;
}

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

nav li {
  display: inline;
  /* margin-left: 20px; */
  /* margin-right: 20px; */
}

nav a {
  position: relative;
  color: #3399ff;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  padding: 5px 10px;
}

/* Google Icon Styles */
.material-symbols-outlined{
  color: #3399ff;
  padding: 5px;
  /* border-radius: 50%; */
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); */
}
.material-symbols-outlined:hover{
  color: grey
}

nav a:hover {
  color: grey;
}

@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
  }

  .col-25,
  .col-75,
  input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

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

h1 {
  text-align: left;
  font-family: 'Lexend Exa', sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  padding-bottom: 10px;
}

p {
  font-size: 15px;
  text-align: left;
}

.login-btns {
  align-self: center;
  padding: 10px;
}

.hide {
  display: none;
}

/********* SIGN IN, SIGN UP *********************/
.no-link {
  text-decoration: none;
  color: rgb(226, 226, 226);
  align-self: left;
}

.signup-container {
  align-self: center;
  width: 97%;
  display: flex;
  flex-direction: column;
  background-color: midnightblue;
  border-radius: 10px;
}

.signup-item {
  justify-content: space-around;
  align-self: center;
  display: flex;
  margin: 5px;
}

.sign-inp {
  flex: 1;
}

.sign-lbl {
  width: 40%;
  text-align: left;
  margin-right: 5px;
  padding: 3px;
}



@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}


.sign-center {
  width: 40%;
  height: 35%;
  min-width: 325px;
  min-height: 275px;
  max-width: 400px;
  background-color: #fff;
  color: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 10px;
}

.forgot-password {
  margin-left: 3%;
  color: white;
  font-size: small;
  float: left;
}

/* VIEW, POST BLOGS ************************************************/
.blog-center {
  /* min-width: 375px;
  min-height: 300px; */
  /* padding: 10px; */
  /* height: 670px; */
  width: 100%;
  background-color: #fff;
  color: #000;
  position: relative;
  top: 12%;
  /*bottom: 3%;*/
  /* left: 0; */
  /* right: 0; */
  /* margin: auto; */
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.div-flex {
  display: flex;
}

.div-center {
  text-align: center;
  justify-content: center;
}

.image-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.image-size {
  width: 95%;
  min-width: 360px;
  margin-top: 10px;
  /*height : 125px;*/
}

.image-size-small {
  padding: 10px;
 /* width: 27%; */
 width: 230px;
 height: 230px;;
 /*height : 125px;*/
 border-radius: 50%;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.profile-pic {
  width: 25px;
  max-width: 50px;
}

#charCounter {
  float: right
}

textarea {
  width: 100%;
  height: 3em;
}

.kural {
  width: 100%;
}

.blog-content {
  padding: 10px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom: 15px; */
  font-family: verdana, sans-serif;
  word-spacing: 4pt;
  font-size: 14px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.blog-buttons {
  padding: 25px;
}

.blog-success {
  color: lightgreen;
}

.blog-failure {
  color: orangered;
}

.vflex {
  display: flex;
  flex-direction: column;
  justify-items: center;
}

.btn {
  text-align: center;
  margin: 1px;
  padding: 3px;
  color: white;
  border-radius: 5px;
}

.btn-large {
  text-align: center;
  margin: 2px;
  padding: 5px;
  color: white;
  border-radius: 7px;
  font-size: large;
}

.btn-rounded {
  border-radius: 7px;
}

/* Go to KuRaL Button */
.btn-success {   
  padding: 15px 30px;
  border-radius: 30px;
  background-color: #3399ff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.btn-success:hover {
  background-color: #157ce3;

}

.btn-failure {
  background-color: orangered;
  border-color: orangered;
}

.btn-disabled {
  padding: 15px 30px;
  border-radius: 30px;
  background-color: grey;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hide {
  display: none;
}



.left-first {
  align-self: flex-start;
}

.right {
  align-self: flex-end;
}

/* Thiruvallur Image */
#ThiruvallurImg {
  cursor: pointer;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

#ThiruvallurImg:hover {
  transform: scale(1.1);
  /* Increase scale on hover */
}

/* Introduction */
#Introduction {
  display: flex;
  align-items: center;
  /* margin-top: 100px; */
  margin-left: 50px;
  margin-right: 50px;
  gap: 30px;
}

#TempleImg {
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
}

#TempleImg:hover {
  transform: scale(1.1);
  /* Increase scale on hover */
}

/* Life of Thriuvalluvar */
#Life-of-Thiruvalluvar {
  margin-top: 100px;
  margin-left: 50px;
  margin-right: 50px;
}

/* Ethical Living */
#Ethical-living {
  display: flex;
  gap: 30px;
  margin-top: 100px;
  margin-left: 50px;
  margin-right: 50px;
}

#Ethical-living img {
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  width: 500px;
  height: 500px;
  transition: transform 0.3s ease-in-out;
  /* Add transition for smooth effect */
}

#Ethical-living img:hover {
  transform: scale(1.1);
  /* Increase scale on hover */
}

/* LIST BLOGS ***********************************************/
.tbl-adhigaram {
  width: 15%;
  min-height: 8%
}

.tbl-kuralnum {
  width: 15%;
  min-height: 8%
}

.tbl-content {
  width: 70%;
  min-height: 8%
}

.tbl-status {
  width: 5%;
  min-height: 8%
}

#list-fetch-error {
  color: red;
}

.error {
  color: red;
  position: relative;
}

.success {
  color: lightgreen;
}

/*
.blogs-container {
  width: 80%;
  margin: auto;
  height: auto;
}

#list-of-blogs{
  border-radius: 20px;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.2);
  border-spacing: 1px;
  width: 100%;
  font-size: medium;
  overflow: hidden;
}

table{
  border-radius: 20px;
}

table td {
  color: black;
  border: 5%;
  padding: 5px;
  padding-left: 80px;
}

#list-of-blogs th {
  padding: 20px;
  text-align: center;
  background-color: #fff;
  color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

table {
  border-collapse: collapse;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

tr{
  width: 100%;
  padding: 5px;
}

table tr:hover {
  background-color: #f8f7f7;
}
*/

.blogs-container {
  width: 100%;
  margin: auto;
  height: auto;
}

#list-of-blogs {
  width: 65%;
  margin: auto;
  height: auto;
  overflow-x: auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 2px;
}

table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}


/******** PROFILE PAGE *********************/
.channel-radio-label {
  width: 340px;
}

.placeholder {
  font-style: italic;
}


/* Scroll Down Animation */
.box {
  position: absolute;
  top: 670px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.box span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid #3399ff;
  border-right: 3px solid #3399ff;
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 2s infinite;
}

.box span:nth-child(2) {
  animation-delay: -0.2s;
}

.box span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes animate {

  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

/* Footer */
.footer {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 550;
  /* position: fixed; */
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  color: black;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* .footer.show {
  display: block;
} */

/* Select Options Style */
/* Hide the default select arrow */
.custom-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Add custom styles */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f7f7f7;
  font-size: 16px;
}


/* Style for the select container */
#search-blogs {
  font-family: 'Century Gothic';
  font-size: 0.9rem;
  margin-bottom: 20px;

  /* Adjust spacing as needed */
}

/* Style for the select element */
#lang-author,
#adhigaram-options {
  padding: 10px;
  /* Adjust padding as needed */
  border: none;
  /* Border color of the select */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  font-size: 16px;
  background-color: #fff;
  /* Background color of the select */
}

/* Style for the select options */
#lang-author,
#adhigaram-options {
  font-family: 'Century Gothic';
  font-size: 0.9rem;
  padding: 10px;
  /* Adjust padding as needed */
  background-color: #fff;
  /* Background color of options */
  color: #333;
  /* Text color of options */
}

/* Style for the select arrow */
#lang-author::after {
  content: '\25BC';
  /* Unicode character for downward arrow */
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}

#adhigaram-options::after {
  content: '\25BC';
  /* Unicode character for downward arrow */
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}

/* Style for the select when hovered */
#lang-author:hover {
  border-color: #719ECE;
  ;
  /* Border color on hover */
}

#adhigaram-options:hover {
  border-color: #719ECE;
  ;
  /* Border color on hover */
}

/* Style for the select when focused */
#lang-author:focus {
  outline: none;
  border-color: #719ECE;
  /* Border color when focused */
}

#adhigaram-options:focus {
  outline: none;
  border-color: #719ECE;
  /* Border color when focused */
}

.blogs {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Table Style */
/* Custom CSS for modern table */

/* table{
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
} */


/* Table Skeleton */
/* for skeleton loading screen */
.skeleton-wrapper {
  /* max-width: 600px; */
  margin: 20px auto;
}

.skeleton-table {
  width: 100%;
  border-collapse: collapse;
}

.skeleton-table td {
  padding: 20px;
}

.skeleton {
  background-color: #e0e0e0;
  border-radius: 4px;
}

.skeleton-text {
  height: 16px;
  width: 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
      background-color: #e0e0e0;
  }

  50% {
      background-color: #f5f5f5;
  }

  100% {
      background-color: #e0e0e0;
  }
}

.d-none{
  display: none;
}

td:first-child {
  width: 15%;
}

td:last-child {
  width: 85%;
}

/* for chaticon */

#chat-icon-btn {
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 9999; /* Ensure the button stays above other content */
}

#chat-icon-btn img {
  width: 30px; /* Adjust icon size as needed */
}

/* row column */
/* Row class */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* Column class */
[class*='col-'] {
  float: left;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Column breakpoints */
.col-xs-1 {width: 8.3333333333%;}
.col-xs-2 {width: 16.6666666667%;}
.col-xs-3 {width: 25%;}
.col-xs-4 {width: 33.3333333333%;}
.col-xs-5 {width: 41.6666666667%;}
.col-xs-6 {width: 50%;}
.col-xs-7 {width: 58.3333333333%;}
.col-xs-8 {width: 66.6666666667%;}
.col-xs-9 {width: 75%;}
.col-xs-10 {width: 83.3333333333%;}
.col-xs-11 {width: 91.6666666667%;}
.col-xs-12 {width: 100%;}

/* Responsive breakpoints */
@media (min-width: 576px) {
  .col-sm-1 {width: 8.3333333333%;}
  .col-sm-2 {width: 16.6666666667%;}
  .col-sm-3 {width: 25%;}
  .col-sm-4 {width: 33.3333333333%;}
  .col-sm-5 {width: 41.6666666667%;}
  .col-sm-6 {width: 50%;}
  .col-sm-7 {width: 58.3333333333%;}
  .col-sm-8 {width: 66.6666666667%;}
  .col-sm-9 {width: 75%;}
  .col-sm-10 {width: 83.3333333333%;}
  .col-sm-11 {width: 91.6666666667%;}
  .col-sm-12 {width: 100%;}
}

@media (min-width: 768px) {
  .col-md-1 {width: 8.3333333333%;}
  .col-md-2 {width: 16.6666666667%;}
  .col-md-3 {width: 25%;}
  .col-md-4 {width: 33.3333333333%;}
  .col-md-5 {width: 41.6666666667%;}
  .col-md-6 {width: 50%;}
  .col-md-7 {width: 58.3333333333%;}
  .col-md-8 {width: 66.6666666667%;}
  .col-md-9 {width: 75%;}
  .col-md-10 {width: 83.3333333333%;}
  .col-md-11 {width: 91.6666666667%;}
  .col-md-12 {width: 100%;}
}

@media (min-width: 992px) {
  .col-lg-1 {width: 8.3333333333%;}
  .col-lg-2 {width: 16.6666666667%;}
  .col-lg-3 {width: 25%;}
  .col-lg-4 {width: 33.3333333333%;}
  .col-lg-5 {width: 41.6666666667%;}
  .col-lg-6 {width: 50%;}
  .col-lg-7 {width: 58.3333333333%;}
  .col-lg-8 {width: 66.6666666667%;}
  .col-lg-9 {width: 75%;}
  .col-lg-10 {width: 83.3333333333%;}
  .col-lg-11 {width: 91.6666666667%;}
  .col-lg-12 {width: 100%;}
}

@media (min-width: 1200px) {
  .col-xl-1 {width: 8.3333333333%;}
  .col-xl-2 {width: 16.6666666667%;}
  .col-xl-3 {width: 25%;}
  .col-xl-4 {width: 33.3333333333%;}
  .col-xl-5 {width: 41.6666666667%;}
  .col-xl-6 {width: 50%;}
  .col-xl-7 {width: 58.3333333333%;}
  .col-xl-8 {width: 66.6666666667%;}
  .col-xl-9 {width: 75%;}
  .col-xl-10 {width: 83.3333333333%;}
  .col-xl-11 {width: 91.6666666667%;}
  .col-xl-12 {width: 100%;}
}

#register{
  text-align: center;
}

#subscribe-btn{
  padding: 5px;
  font-family: 'Century Gothic';
  font-size: 0.9rem;
  font-weight: bold;
  height: 40px;
  width: 340px;
  justify-content: center;
  align-items: center;
}

/* Confirm Delete Input Field */
#confirm-delete{
  padding: 10px;
  border-radius: 30px;
  /* border: none; */
  border-color: #3399ff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#unsubscribe-btn{
  cursor: pointer;
  padding: 10px;
  font-family: 'Century Gothic';
  border-radius: 20px;
  border: none;
  background-color: orangered;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#unsubscribe-btn:hover{
  background-color: rgb(198, 59, 59);
}

/* Style for Loading spinner */
.body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.loading-container {
  text-align: center;
}

.spinner-loader {
  margin-right: auto;
  margin-left: auto;
  display: block;
  border: 10px solid #fff;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

  100% {
      transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 24px;
  margin-bottom: 20px;
}

.loading-label {
  font-size: 16px;
}