@import url("https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&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&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0b6fc0;
  --black-color: #000;
  --white-color: #fff;
  --secondary-color: #0c74c2;
  --green-color: #40a737;
  --light-gray: #555555;
  --bg-color: #f6f6f6;
  --btn-gradient: linear-gradient(93.22deg, #0b6fc0 1.06%, #1fd2e5 97.02%);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-color);
}

/* Community Start */
.community-section {
  max-width: 1280px;
  margin: auto;
  background: url("../assets/images/community\ section\ gradient.svg") left
    no-repeat;
  background-size: 30%;
}
.community-content h2 {
  font-size: 40px;
  font-weight: 500;
  color: var(--black-color);
}
.community-content h1 {
  font-size: 50px;
  font-weight: bold;
  color: var(--primary-color);
}

.community-content p {
  color: #2e2e2e;
}

.services-container {
  padding: 70px 0;
}
/* Community End */
.forum-section {
  padding: 5% 0;
}

.forum-options {
  cursor: pointer !important;
}

.user-forum {
  padding: 15px 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.158);
  margin-top: 30px;
}

.forum-heading h1 {
  font-size: 40px;
  font-weight: bold;
}
.forum-section .filter-btns button {
  border: none;
  padding: 0;
  color: var(--primary-color);
  font-size: 16px;
}

.forum-content h5 {
  font-size: 18px;
}

.forum-content p {
  opacity: 80%;
  color: rgb(112, 112, 112);
}

.post-question {
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1;
}

.post-question-container {
  background: #f6f6f6;
  width: 700px;
  border-radius: 30px;
  padding: 60px 50px;
}

.question-form input {
  width: 100%;
  padding: 0 10px;
  height: 45px;
  font-size: 18px;
  border-radius: 10px;
  border: 1px solid #0b6fc0;
  outline: none;
}

.question input {
  height: 70px;
}

.question-post-buttons button {
  width: 185px;
}

.show-form {
  display: flex !important;
}
/* From Uiverse.io by gharsh11032000 */
/* The switch - the box around the slider */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d8d8d8;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  left: 0.2em;
  bottom: 0.3em;
  background-color: rgb(255, 255, 255);
  border-radius: inherit;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.switch input:checked + .slider:before {
  transform: translateX(1.5em);
}
/* join banner start */

.join-banner {
  margin: 10vh 0;
  height: 270px;
  padding: 0 20px;
}
.join-container {
  height: 100%;
  width: 100%;
  border-radius: 30px;
  background: linear-gradient(to right, #24bee0, #0b6fc0);
  position: relative;
}
.banner-right-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0%, -50%);
}
.banner-left-icon {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}
.join-content h1 {
  font-size: 50px;
}

.join-content h1 span {
  font-family: "Corinthia", cursive;
  font-size: 50px;
}

.join-content button {
  padding: 5px 33px !important;
  /* display: none !important; */
  border-radius: 50px;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-size: 18px;
  outline: none !important;
  transition: 0.2s ease;
}
/* join banner end */

footer {
  margin-top: 10vh;
}

.posted-popup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(54, 54, 54, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.popup-box {
  width: 500px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-radius: 15px;
}

.popup-box h5 {
  color: var(--green-color);
  font-size: 25px;
}

.popup-box .ok-btn {
  width: 180px;
  margin: 0 auto;
  /* background: red; */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.close-btn button {
  padding: 3px;
  outline: none !important;
  border: none !important;
}

.forum-popup {
  height: 100vh;
  width: 100%;
  background: #0000002f;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-box {
  width: 740px;
  height: auto;
  background: white;
  border-radius: 10px;
  padding: 20px 30px;
}
.forum-info {
  color: black;
}
.form-content span {
  font-size: 14px;
  color: #9197b3;
}
.form-content h4 {
  font-size: 25px;
}

.user-comment {
  padding: 5px 0;
}

.user-comment h6 {
  font-weight: 800;
  font-size: 14px;
}
.user-comment h5 {
  font-size: 14px;
}
.user-comment span {
  color: #9197b3;
  font-size: 14px;
}
.add-comments {
  background: #ddf2f9;
  border-radius: 50%;
  border: none !important;
}

.community-sub-heading h3{
  color: #303030;
  font-size: 24px;
  padding: 0 10px;
}

.community-card {
  background: white ;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.123);
  border-radius: 10px;
  padding: 20px 30px;
  height: 100%;
}

.community-card h5{
  color: #0b6fc0;
}

.community-card p{
  color: #555555;
  font-size: 14px;
}

.community-content p {
  text-align: left;
}