@import url("https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@400;500;700&family=Kavivanar&display=swap");

*{
  font-family: "Baloo Thambi 2", cursive;
}
body {
    background-size: cover;
    background-position: center;
    position:relative;
    margin:0;
    padding:0;
}
body:before {
    position: absolute;
    content: "";
    background: #ffffffba;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
}
a {
    color: #000;
    text-decoration: none;
}
button {
    border: none;
    background: none;
}
input {
    width: -webkit-fill-available;
    padding: 0.5rem 0.5rem;
    border: 0;
    background: #e5e5e5;
    border-bottom: 2px solid;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
form {
    display: grid;
}
.subs {
    padding: 0rem 0rem 0 1rem;
}
form img {
    width: -webkit-fill-available;
}
.hide{
    display:none !important;
}
.container{
    padding:1rem;
    padding-top:4rem;
    position:relative;
}

button.loginBtn {
    padding: 1rem;
    background: #262626;
    width: -webkit-fill-available;
    color: #fff;
    border-radius: 5px;
    margin: 1rem;
}
input.creatBtn {
    background: #ffb500;
    color: #253890;
}
.regFormHolder {
    background: white;
    color: #000;
    padding: 2rem 1.5rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-top: 1rem;
    position: fixed;
    bottom: 0;
    transform:translateY(100vh);
    width: -webkit-fill-available;
    transition:all 0.3s;
}
.regFormHolder.active {
    transform:translateY(0vh);
}

.logFormHolder {
    transform: translateY(0vh);
    transition:all 0.3s;
}
.logFormHolder.inactive {
    transform:translateY(-100vh);
}
button#openLogForm {
    width: 240px;
    color: #fff;
    background: #ffffff14;
    padding: 0.5rem;
    margin: 1rem 0;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    opacity:0;
    transition:opacity 0.5s;
}


button#openLogForm.active {
    opacity:1;
}
.card {
    padding: 1rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.075);
    margin-bottom: 1rem;
    position: relative;
    border-radius: 5px;
    border: 1px solid #2538901f;
}
.card img {
    width: -webkit-fill-available;
    object-fit: cover;
    background: whitesmoke;
    border-radius: 5px;
}
.card H3 {
    font-size: 1.25rem;
    margin: 0;
    margin-top: 0.5rem;
}

.card p {
    font-size: 1rem;
    margin: 0;
}
.setBtns {
    position: absolute;
    top: 2rem;
    right: 2rem;
}
.setBtns a {
    background: #ffffffc4;
    padding: 0.5rem;
    border-radius: 5px;
}

a.addPost {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #253890;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 1000px;
    z-index: 999;
}
h2.name {
    color: #253890 !important;
    margin: 1rem 0 0 0;
}
p.count {
    margin: 0;
}
a.addPost.project {
    bottom: 4rem;
}
p.status {
    background: #ffbf03;
    width: fit-content;
    padding: 0.25rem 1rem;
    margin-top: 0.5rem;
    border-radius: 5000px;
    text-transform: capitalize;
    font-size: 0.8rem;
}

.container.login {
    padding: 1rem;
    min-height: calc(100vh - 2rem);
    /* background: #253890; */
    color: #000;
    overflow: hidden;
}
.container.login button.loginBtn {
    background: #ffb500;
    color: #253890;
}
.container.login .logFormHolder form {
    text-align: center;
    padding: 0 1.5rem;
}
button#openRegForm {
    width: 100%;
    color: white;
}

.topBar {
    position: fixed;
    background: #ffffff;
    width: -webkit-fill-available;
    left: 0;
    top: 0;
    z-index: 999;
    padding: 0.5rem;

}
.topBar .info {
    display: flex;
    float: right;
    flex-direction: column;
}
.topBar .info p {
    padding: 0;
    margin: 0;
    margin-right: 10px;
}
.navigation {
    position: fixed;
    left: -100%;
    top: 0;
    width: 80%;
    height: 100vh;
    background: #253890;
    z-index: 100;
    padding: 6rem 1rem 1rem 1rem;
    transition:all 0.3s;
}
.navigation.active {
    left: 0;
}
img.actbtn {
    width: 24px;
    margin-right: -1rem;
}
.navigation ul {
    margin:0;
    padding:0;
    list-style:none;
}
.navigation ul li button {
    background: #ffffff0f;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 500px;
}
.navigation ul li a{
    color:#fff;
}
.disTotal {
    font-size: 1.5rem;
    font-weight: 600;
    color: #253890;
    position: relative;
}
.disTotal span {
    font-size: 12px;
    position: absolute;
    top: 5px;
    right: -10px;
}
.disTotalsmall {
    font-size: 10px;
    float: right !important;
    text-align: right;
    margin-top: -0.25rem;
    opacity: 0.5;
}
p.disTotal.small {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
}
img#menuOpener,
img.back{
    width: 35px;
}
img#menuOpener, img.back {
    width: 27px;
    padding: 0.5rem 0.5rem 0 0.5rem;
    z-index:1000;
    position:relative;
}
.balance p {
    margin: 0;
}
.balance {
    color: #fff;
    padding: 0.5rem;
}
.container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 1rem;
}
.container ul li {
    background: #f1f1f1;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}
button#addAnswer {
    padding: 1rem;
    background: #e1e1e1;
    margin: 0.5rem;
    border-radius: 5px;
}
button.submit {
    padding: 1rem;
    background: #000;
    color:#fff;
    border-radius: 5px;
}
button.filter {
    background: black;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    color: #fff;
    text-transform: uppercase;
}
select {
    background: #f1f1f1;
    border: 0;
    padding: 0.5rem;
}

form{
  max-width:720px;
  margin:auto;
  padding:1rem;
  text-align: center;
}
fieldset {
  display: none;
   border: none;
}
fieldset:first-of-type {
  display: block;
}
button.previous {
    display: none;
}
button.next,
button.submit{
  background:#000;
  border:0;
  color:#fff;
  padding:1rem 1rem;
  margin-top:1rem;
  width:calc(75% - 0rem);
  margin-left:1rem;
}
button.previous{
  background:#fff;
  border:1px solid #000;
  color:#000;
  padding:1rem 1rem;
  margin-top:1rem;
  width:calc(25% - 1rem);
   float:left;
}
button.next[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.checkbox-buttons,
.radio-buttons{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;


    justify-content: center !important;
	 /* Stack children vertically */
    align-items: flex-start; /* Center align both image and text horizontally */
    text-align: center;
}

.checkbox-button,
.radio-button{
  display: inline-block;
  padding: 0px 0px;
  margin: 5px;
  font-size: 16px;
  width:45%;
  vertical-align:top;

  font-weight:bold;
  color: #000;
  background-color: #fff;
  border: 0px solid #000;
  border-radius: 0px;
  cursor: pointer;
  box-shadow:0 0 50px rgba(0,0,0,0.1);
  vertical-align:top;
}

.checkbox-button.selected,
.radio-button.selected {
  background-color: #0c399fed;
  color: #fff;
}
.checkbox-button img,
.radio-button img{
 max-width: 100%;
  height:auto;
  display:block;
  border-radius:5px;
  margin:auto;
  object-fit:cover;
  display: inline-block;
  vertical-align:top;
}
input {
    width: -webkit-fill-available;
    padding: 0.75rem 1rem;
    border: 0;
    background: #e5e5e5;
    border-bottom: 2px solid;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.container {
    text-align: center;
    padding: 1rem;
      max-width:720px;
  margin:auto;
  position:relative;
  z-index: 2;
}
.container h1 {
    font-size: 3rem;
    color: #0c399f;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: -1rem;
}
legend {
    display: none;
}
.container.header .logo img {
    height: 100px;
}


div#successMessage {
    position: absolute;
    top: 5rem;
    left: 10%;
    width: calc(80% - 4rem);
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    z-index: 999;
    border: 1px solid #4ab748;
    text-align: center;
}
ul.request {
    background: #fff;
    padding: 1rem;
}
ul.request li {
    padding: 0;
    margin: 0;
    background: none;
}
ul.request .itm {
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
}
li.status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffa000 !important;
    padding: 0.5rem !important;
    font-size: 0.8rem;
    color: white !important;
}
li.btnEdit {
    float: left;
    padding: 0.25rem 1rem !important;
    background: black !important;
    transform: scale(0.8);
}
li.btnEdit a {
    color: white !important;
}
li.btnDelete {
    padding: 0.25rem !important;
}
.popup {
    /* display: none; */
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(236 102 37);
    text-align: center;
    padding: 20px;
    transition: top 0.5s;
    height: 100px;
    z-index: 9;
}

.popup p {
  color: white;
  font-size: 20px;
}

.popup button {
  margin-top: 10px;
}

.show-popup {
  top: 0;
}

div#popup button {
    background: #1e0505;
    color: #fff;
    padding: 0.5rem 1rem;
}
.helpLine button {
    background: #64a044;
    padding: 0.5rem 2rem;
    border-radius: 500px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}
.helpLine button img {
    width: 20px;
    float: left;
    margin-right: 0.5rem;
    animation: callM 1s infinite alternate;
}
.flxMe {
    display: flex;
    gap: 1rem;
}
@keyframes callM {
    0%{transform: translate(0px, 5px);}
    50%{transform: translate(5px, 5px);}
    100%{transform: translate(0px, 5px);}

}
@media(min-width:700px){
body {
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}
.container {
    max-width: 1000px;
    margin: auto;
	
}
.container.hshalf {
    display:flex;
}
.half {
    width: 50%;
    margin: 1rem;
}
}

@media(max-width:700px){
.flxMe {
    display: flex;
    gap: 0;
    flex-direction: column;
}
.container h1 {
    font-size: 1.5rem;
}
h2 {
    text-align: center;
}

.checkbox-button,
.radio-button{
width:45%;
 height: auto;
font-weight:bold;
margin-bottom:10px;
vertical-align:top;
}

.checkbox-button img,
.radio-button img{
        height: auto; /* Ensure proportional scaling for images */
		display: inline-block;
	
    }
.checkbox-buttons, .radio-buttons {
    display: flex;
    justify-content: center !important;
	 /* Stack children vertically */
    align-items: flex-start; /* Center align both image and text horizontally */
    text-align: center;
}
button.next, button.submit {
    position: fixed;
    bottom: 1rem;
    left: 5%;
    width: 90%;
    margin: 0;
}
button.previous {
    position: fixed;
    left: 1.25rem;
    width: max-content;
    text-align: left;
    padding: 0.5rem;
    bottom: 5rem;
    border: 0;
    background: #d9d9d9;
    font-size: 10px;
}

form {
    padding-bottom: 10rem !important;
    padding:0;
}
}

