@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oleo+Script:wght@400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

:root {
  --yellow-color: #d2ae33;
  --green-color: #2a804e;
  --text-color: #26517e;
  --text-gray-color: #808080;
  --white-color: #fff;
  --black-color: #212121;
  --red-color: #ff0000;
}

a {
    text-decoration: none;
}

/* ************** NAVBAR-SECTION ************** */

.navbar-section {
  height: 90px;
  background-color: var(--white-color);
  width: 100%;
}

.navbar-section .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-section .logo,
.footer-section .logo {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.navbar-section .logo .logo-text,
.footer-section .logo .logo-text {
  font-family: "Oleo Script", system-ui;
  font-size: 30px;
  font-weight: 700;
  line-height: 41.49px;
  letter-spacing: -0.02em;
  color: var(--black-color);
}

.btn-sec {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-sec .loginBtn {
  padding: 7px 30px;
  color: var(--white-color);
  background-color: var(--green-color);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: 2px solid var(--text-color);
  border-radius: 100px;
  text-transform: capitalize;
  transition: 0.3s;
}

.btn-sec .loginBtn:hover {
  opacity: 0.8;
}

.btn-sec .registerBtn {
  padding: 7px 30px;
  color: var(--white-color);
  background-color: var(--yellow-color);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: 2px solid var(--text-color);
  border-radius: 100px;
  text-transform: capitalize;
  transition: 0.3s;
}

.btn-sec .registerBtn:hover {
  opacity: 0.8;
}

.navbar-section .user-details {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar-section .user-details .user-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.navbar-section .user-details .user-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.border-part {
  height: 9px;
  background-color: var(--yellow-color);
  border-top: 3px solid var(--text-color);
  border-bottom: 3px solid var(--green-color);
}

/* ************** HERO-SECTION ************** */

.hero-section {
  padding: 70px 0px;
  background-color: var(--white-color);
  width: 100%;
  border-bottom: 5px solid var(--yellow-color);
}

.hero-section .container {
  height: 100%;
  padding-top: 50px;
}

.hero-section .left {
  padding-right: 20px;
}

.hero-section .title {
  font-size: 38px;
  font-weight: 700;
  line-height: 50px;
  color: var(--text-color);
}

.hero-section .sub-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--yellow-color);
  margin-top: 25px;
}

.hero-section .desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: justify;
  margin-top: 25px;
  color: var(--text-gray-color);
}

.hero-section .right {
  padding-left: 30px;
}

.hero-section .right img {
  width: 100%;
}

/* ************** JOIN-FAMLACY ************** */

.join-famlacy {
  padding: 80px 0px;
  background-color: var(--white-color);
  border-bottom: 5px solid var(--green-color);
}

.join-famlacy .card-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.join-famlacy .card-section .card-item {
  padding: 20px 15px;
  border: 2px solid var(--text-color);
  background-color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.join-famlacy .card-section .card-item .number {
  height: 35px;
  width: 35px;
  background-color: var(--yellow-color);
  color: var(--white-color);
  font-size: 20px;
  line-height: 35px;
  font-weight: 500;
  border-radius: 50%;
  text-align: center;
}

.join-famlacy .card-section .card-item .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-color);
  margin-top: 30px;
}

.join-famlacy .card-section .card-item .desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-gray-color);
  margin-top: 20px;
  margin-bottom: 30px;
  min-height: 150px;
}

.join-famlacy .card-section .card-item .img img {
  width: 100%;
}

/* ************** STORY-SECTION ************** */

.story-section {
  padding: 80px 0px;
  background-color: var(--white-color);
  width: 100%;
}

.story-section .content {
  width: 80%;
}

.story-section .title {
  font-size: 38px;
  font-weight: 700;
  line-height: 46px;
  color: var(--text-color);
}

.story-section .sub-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--yellow-color);
  margin-top: 25px;
}

.story-section .desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: justify;
  margin-top: 25px;
  color: var(--text-gray-color);
}

.story-section .img img {
  width: 100%;
}

/* ************** REFER-FRIEND ************** */

.refer-friend {
  background-color: var(--text-color);
  color: var(--white-color);
  padding: 80px 0px;
  border-top: 5px solid var(--yellow-color);
}

.refer-friend .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.refer-friend .container .content {
  text-align: center;
}

.refer-friend .container .content .title {
  font-size: 38px;
  font-weight: 700;
  line-height: 50px;
  color: var(--white-color);
}

.refer-friend .container .content .desc {
  color: var(--white-color);
  opacity: 80%;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  margin-top: 15px;
}

.refer-friend .container .content .input-box {
  margin-top: 20px;
  height: 60px;
  width: 500px;
  background-color: var(--white-color);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: 0.2s;
}

.refer-friend .container .content .input-box input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  outline: none;
}

.refer-friend .container .content .input-box .joinBtn {
  padding: 8px 20px;
  background-color: var(--yellow-color);
  color: var(--white-color);
  font-weight: 500;
  text-transform: capitalize;
  text-align: center;
  border: none;
  border-radius: 6px;
}

.refer-friend .container .content .input-box:focus-within {
  border: 2px solid var(--yellow-color);
  transition: 0.2s;
}

/* ************** FOOTER-SECTION ************** */

.footer-section {
  padding: 60px 0px;
  width: 100%;
}

.footer-section .desc {
  margin-top: 15px;
  width: 50%;
}

.footer-section .mail {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  align-items: center;
}

.footer-section .tele i,
.footer-section .mail i {
  font-size: 22px;
}

.footer-section .tele {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  align-items: center;
}

.footer-section .tele a,
.footer-section .mail a {
  text-decoration: none;
  color: #212121;
  font-size: 14px;
}

.footer-section .info .title {
  font-size: 20px;
  font-weight: 700;
  line-height: 29.26px;
}

.footer-section .info a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 21.94px;
  color: var(--text-gray-color);
  margin-top: 10px;
}

.footer-section .follow .title {
  font-size: 20px;
  font-weight: 700;
  line-height: 29.26px;
}

.footer-section .icon {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

.footer-section .icon .item {
  background-color: var(--green-color);
  color: var(--white-color);
  height: 30px;
  width: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
}

/* ! **************** RESPONSIVE **************** */

@media screen and (max-width: 1200px) {
  /* Join-famlacy */

  .join-famlacy .card-section {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 991px) {
  .hero-section .right {
    margin-top: 40px;
  }
  /* Join-famlacy */

  .join-famlacy .card-section {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /*stoty section */

  .story-section {
    padding: 80px 0px;
    background-color: var(--white-color);
    width: 100%;
  }

  .story-section .content {
    width: 100%;
  }

  .story-section .right {
    margin-top: 50px;
  }

  .footer-section .desc {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* Join-famlacy */

  .join-famlacy .card-section {
    grid-template-columns: 1fr 1fr;
  }

  .join-famlacy .card-section .card-item .desc {
    min-height: auto;
    margin-bottom: 30px;
  }

  .footer-section .info,
  .footer-section .follow {
    margin-top: 30px;
  }
}

@media screen and (max-width: 576px) {
  .navbar-section .logo .logo-text,
  .footer-section .logo .logo-text {
    font-size: 26px;
  }

  .btn-sec {
    gap: 5px;
  }

  .btn-sec .loginBtn {
    padding: 5px 15px;
    font-size: 14px;
  }

  .btn-sec .registerBtn {
    padding: 5px 15px;
    font-size: 14px;
  }

  /* hero-section */

  .hero-section {
    padding: 50px 12px;
  }

  .hero-section .col-lg-7,
  .hero-section .col-lg-5 {
    padding: 0;
  }

  .hero-section .container {
    padding-top: 30px;
    width: 100%;
  }

  .hero-section .left {
    padding-right: 0px;
  }

  .hero-section .title,
  .story-section .title {
    font-size: 30px;
    line-height: 38px;
  }

  .hero-section .sub-title,
  .story-section .sub-title {
    font-size: 20px;
    line-height: 28px;
  }

  .hero-section .desc,
  .story-section .desc {
    font-size: 15px;
    line-height: 20px;
  }

  .hero-section .right {
    padding-left: 0px;
  }

  /* Join-famlacy */
  .join-famlacy .card-section {
    grid-template-columns: 1fr;
  }

  /* REFER-FRIEND */

  .refer-friend .container .content .title {
    font-size: 30px;
    line-height: 38px;
  }

  .refer-friend .container .content .desc {
    font-size: 15px;
    line-height: 22px;
  }

  .refer-friend .container .content .input-box {
    height: 50px;
    width: 100%;
  }
}

/* ************** JOIN-US-SECTION ************** */

.join-us {
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
}

.join-us .left-section {
    width: 40%;
    position: relative;
}

.join-us .left-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-us .left-section .title {
    font-size: 45px;
    font-weight: 700;
    line-height: 50px;
    color: var(--white-color);
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 3;
    padding-right: 10px;
}

.join-us .left-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #00000080;
    z-index: 1;
}

/* ************** login-page ************** */

.login-page{
    display: flex;
    height: calc(100vh - 100px);
}

.login-page .left{
    width: 50%;
    overflow: hidden;
}

.login-page .left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-page .login-box {
    width: 50%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.login-page .login-box input {
    display: block;
    width: 100%;
}

.login-page .login-box input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #c5c6cc;
    margin-top: 20px;
}

.login-page .login-box input::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #8f9098;
    text-transform: capitalize;
}

.login-page .login-box input:focus {
    border-color: var(--yellow-color);
}

.login-page .login-box .login-btn {
    padding: 10px 25px;
    background-color: var(--yellow-color);
    color: var(--white-color);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: none;
}

/* ? ~~~~~~~~~~~~ INPUT-SECTIOLN ~~~~~~~~~~~~ */

.join-us .right {
    width: 60%;
    padding-right: 60px;
}

.join-us .input-section {
    padding: 20px 50px;
    width: 100%;
}

.join-us .input-section .input-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
}

.join-us .input-section .radio-items {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.join-us .input-section .titleLabel {
    font-size: 14px;
    font-weight: 500;
}

.join-us .input-section .input-item .left select {
    width: 110px;
    padding: 10px 15px;
    border-radius: 8px;
    outline: none;
    color: #8f9098;
    border: 1px solid #c5c6cc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position-x: 90%;
    background-position-y: 50%;
    cursor: pointer;
}

.join-us .input-section .radio-items .item {
    display: flex;
    gap: 5px;
}

.join-us .input-section .radio-items .item label {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.5px;
    cursor: pointer;
}

.join-us .input-section .upload-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.join-us .input-section .upload-img .icon-circle {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: #2a804e1a;
    line-height: 100px;
    text-align: center;
    cursor: pointer;
}

.join-us .input-section .upload-img .up-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
    margin-top: 8px;
}

.join-us .input-section .input-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
}

.join-us .input-section .input-item-grid input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #c5c6cc;
}

.join-us .input-section input::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #8f9098;
    text-transform: capitalize;
}

.join-us .input-section input:focus {
    border-color: var(--yellow-color);
}

.join-us .input-section .input-with-label {
}

.join-us .input-section .input-with-label label {
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    margin-bottom: 5px;
}

.join-us .input-section .input-item-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.join-us .input-section .input-item-three select {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    outline: none;
    color: #8f9098;
    border: 1px solid #c5c6cc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position-x: 93%;
    background-position-y: 50%;
    cursor: pointer;
}
/* todo ~~~~~~~~~~~~~~~~ FOR CREATE-SHARE.HTML PAGE ~~~~~~~~~~~~~~~~ */
.join-us .input-section .input-item-grid select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    outline: none;
    color: #8f9098;
    border: 1px solid #c5c6cc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position-x: 92%;
    background-position-y: 50%;
    cursor: pointer;
}

.join-us .input-section .input-item-grid select:focus {
    border-color: var(--yellow-color);
}

.join-us .input-section .input-item-three input:focus {
    border-color: var(--yellow-color);
}

.join-us .input-section .creating-account {
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
}

.join-us .input-section .btn-selection {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.join-us .input-section .btn-selection .family-mem-btn {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--white-color);
    border: 1px solid #d2ae33;
    color: var(--yellow-color);
    padding: 10px 25px;
    border-radius: 100px;
    transition: 0.2s;
}

.activeBar {
    background-color: var(--yellow-color) !important;
    color: var(--white-color) !important;
    transition: 0.2s;
}

.join-us .input-section .btn-selection .myself-btn {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--white-color);
    border: 1px solid #d2ae33;
    color: var(--yellow-color);
    padding: 10px 25px;
    border-radius: 100px;
    transition: 0.3s;
}

.join-us .input-section .next-btn-sec {
    text-align: right;
    margin-top: 30px;
}

.join-us .input-section .next-btn-sec .next-btn {
    padding: 10px 25px;
    background-color: var(--yellow-color);
    color: var(--white-color);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: none;
}

/* todo ~~~~~~~~~~~~~~~~ FOR CREATE-SHARE.HTML PAGE ~~~~~~~~~~~~~~~~ */

.next-btn-sec .back-btn {
    padding: 10px 40px;
    background-color: var(--green-color);
    color: var(--white-color);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--text-color);
    text-transform: capitalize;
}

.next-btn-sec .save-btn {
    padding: 10px 40px;
    background-color: var(--yellow-color);
    color: var(--white-color);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--text-color);
    text-transform: capitalize;
}

/* todo ~~~~~~~~~~~~~~~~ FOR CREATE-COMMUNITY.HTML PAGE ~~~~~~~~~~~~~~~~ */

.create-community .user-profile {
    display: flex;
    gap: 20px;
    align-items: center;
}

.create-community .user-profile .img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.create-community .user-profile .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.create-community .right {
    padding: 30px 50px;
}

.create-community .user-info .name {
    font-size: 24px;
    font-weight: 700;
    color: var(--black-color);
}

.create-community .user-info .country {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray-color);
}

.create-community .invite-btn {
    padding: 10px 40px;
    background-color: var(--text-color);
    text-align: center;
    color: var(--white-color);
    border-radius: 100px;
    border: none;
    margin-top: 20px;
    text-transform: capitalize;
}

.create-community .add-items {
    margin-top: 30px;
}

.create-community .add-items .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dde2e5;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.create-community .add-items .item .title {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.create-community .add-items .item .add-btn {
    padding: 5px 25px;
    text-align: center;
    background-color: var(--green-color);
    color: var(--white-color);
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    border-radius: 30px;
    border: none;
}

@media screen and (max-width: 1350px) {
    .join-us .left-section .title {
        font-size: 36px;
        line-height: 44px;
    }

    .join-us .input-section {
        padding: 50px 30px;
    }

    .join-us .input-section .btn-selection .family-mem-btn {
        padding: 8px 18px;
    }
}

@media screen and (max-width: 1200px) {
    .join-us .input-section .btn-item-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 1080px) {
    .join-us .left-section .title {
        font-size: 32px;
        line-height: 38px;
    }
}

@media screen and (max-width: 991px) {
    .join-us {
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    .join-us .input-section {
        padding: 50px 100px;
    }

    .join-us .left-section {
        width: 100%;
        position: relative;
        height: 350px;
    }

    .join-us .right {
        width: 100%;
        position: relative;
        padding-right: 0;
    }

    /* Login page */

    .login-page{
        flex-direction: column;
    }

    .login-page .left{
        width: 100%;
        overflow: hidden;
    }

    .login-page .left img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .login-page .login-box {
        width: 100%;
        padding: 20px 15vw;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

}

@media screen and (max-width: 768px) {
    .join-us .input-section {
        padding: 50px 20px;
    }
}

@media screen and (max-width: 576px) {
    .join-us .input-section {
        padding: 40px 12px;
    }

    .join-us .input-section .input-item {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .join-us .input-section {
        padding: 20px;
        width: 100%;
    }

    .join-us .input-section .input-item-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
        gap: 20px;
    }

    .join-us .left-section .title {
        font-size: 28px;
        line-height: 36px;
    }


    .login-page .login-box {
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

    /* ***************** CREATE-COMMUNITY-PAGE ***************** */
    .create-community .right {
        padding: 30px 20px;
    }

    .create-community .user-profile .img {
        height: 70px;
        width: 70px;
    }

    .create-community .user-info .name {
        font-size: 22px;
    }

    .create-community .user-info .country {
        font-size: 14px;
    }

    .create-community .invite-btn {
        padding: 10px 30px;
    }

    .create-community .add-items .item .title {
        font-size: 14px;
        font-weight: 500;
        line-height: 18px;
    }

    .create-community .add-items .item .add-btn {
        font-size: 14px;
    }
}

/* ************** WELCOME-SECTION ************** */

.welcome-section {
    padding: 40px 0px;
    background-color: #fafbfc;
}

.welcome-section .container {
    width: 100%;
    display: flex;
    gap: 20px;
}

.welcome-section .aside-left {
    width: 27%;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.welcome-section .main {
    width: 45%;
}

.welcome-section .aside-right {
    width: 27%;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.welcome-section .user-profile {
    display: flex;
    gap: 20px;
    align-items: center;
}

.welcome-section .user-profile .img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.welcome-section .user-profile .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.welcome-section .user-info .name {
    font-size: 22px;
    font-weight: 700;
    color: var(--black-color);
}

.welcome-section .user-info .country {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray-color);
}

.welcome-section .add-items {
    margin-top: 30px;
}

.welcome-section .add-items .item {
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    justify-content: space-between;
    border: 1px solid #dde2e5;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    text-decoration: none;
}

.add-items .item .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--black-color);
}

.welcome-section .add-items .item .add-btn {
    padding: 2px 20px;
    text-align: center;
    background-color: var(--green-color);
    color: var(--white-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    border-radius: 30px;
    border: none;
}

.welcome-section .main .share-memory {
    display: flex;
    gap: 10px;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    padding: 10px;
    align-items: center;
    background-color: var(--white-color);
    height: 75px;
}

.welcome-section .main .share-memory .img {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
}

.welcome-section .main .share-memory .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-section .main .share-memory .img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-section .main .share-memory .input-box {
    padding: 5px 8px;
    border: 1px solid #dde2e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 50px);
    border-radius: 6px;
    height: 42px;
}

.welcome-section .main .share-memory .input-box textarea {
    height: 100%;
    overflow-y: hidden; /* Скрива скролбара, докато не се достигне max-height */
    resize: none;

    width: 100%;
    outline: none;
    border: none;
}


.welcome-section .main .share-memory .input-box textarea::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #8f9098;
}

/* post */

.main .post-item {
    background-color: var(--white-color);
    padding: 10px;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    margin-top: 20px;
}

.main .post-item .post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .post-item .post-header .user {
    display: flex;
    gap: 10px;
}

.main .post-item .post-header .user .img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.main .post-item .post-header .user .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main .post-item .post-header .user .name {
    font-size: 16px;
    font-weight: 600;
    line-height: 21.94px;
    color: var(--black-color);
    text-transform: capitalize;
}

.main .post-item .post-header .user .user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main .post-item .post-header .user .time {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
    color: var(--text-gray-color);
}

.main .post-item .post-header .type-name .type {
    font-size: 12px;
    font-weight: 500;
    line-height: 14.63px;
    background-color: #d2ae331a;
    color: var(--yellow-color);
    padding: 5px;
    border-radius: 4px;
}

.main .post-item .post-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--black-color);
    margin-top: 10px;
}

.main .post-item .post-image {
    margin-top: 20px;
}

.main .post-item .post-image .img {
    height: 400px;
    width: 100%;
}

.main .post-item .post-image .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main .post-item .post-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
    border-bottom: 1px solid #dde2e5;
    margin-top: 10px;
}

.main .post-item .post-details .left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.main .post-item .post-details .right {
    display: flex;
    gap: 15px;
}

.main .post-item .post-details .left .total-react span {
    display: inline-block;
    height: 25px;
    width: 25px;
    text-align: center;
    line-height: 20px;
    background: #2a804e1a;
    border-radius: 50%;
}

.main .post-item .post-details .left .total-react i {
    color: var(--green-color);
    font-weight: 800;
}

.main .post-item .post-details .date-time,
.main .post-item .post-details a {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
    text-decoration: none;
    color: var(--text-gray-color);
}

.main .post-item .react-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
}

.main .post-item .react-section .left {
    display: flex;
    gap: 20px;
}

.main .post-item .react-section .left a {
    text-decoration: none;
    color: var(--black-color);
}

.main .post-item .react-section .left .like i {
    color: var(--green-color);
}

.main .post-item .react-section .left .like-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    color: var(--green-color);
}

.main .post-item .react-section .left .engage-text,
.main .post-item .react-section .left .share-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    color: var(--black-color);
}

.main .post-item .react-section .follow-btn {
    padding: 5px 25px;
    border: none;
    background-color: var(--yellow-color);
    color: var(--white-color);
    border-radius: 50px;
}

.main .post-item .add-engage {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

.main .post-item .add-engage .img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.main .post-item .add-engage .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main .post-item .add-engage .engage-box {
    height: 40px;
    border: 1px solid #dde2e5;
    width: calc(100% - 50px);
    display: flex;
    gap: 8px;
    padding: 0px 10px;
    border-radius: 4px;
}

.main .post-item .add-engage .engage-box:focus-within {
    border-color: var(--yellow-color);
}

.main .post-item .add-engage .engage-box input {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
}

.main .post-item .add-engage .engage-box input::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--text-gray-color);
}

.main .post-item .add-engage .engage-box .send-btn {
    font-size: 22px;
    height: 100%;
    background-color: transparent;
    border: none;
    color: var(--green-color);
}

/* aside right */

.welcome-section .aside-right {
    padding: 15px;
    background-color: var(--white-color);
    border: 1px solid #dde2e5;
    border-radius: 8px;
    height: 340px;
    position: sticky;
    right: 0;
}

.welcome-section .aside-right .title {
    font-size: 16px;
    font-weight: 500;
    line-height: 19.5px;
    color: var(--black-color);
}

.welcome-section .aside-right .invite-box input {
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    background-color: transparent;
    width: 100%;
    border: 1px solid #dde2e5;
    outline: none;
}

.welcome-section .aside-right .invite-box textarea {
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    background-color: transparent;
    width: 100%;
    border: 1px solid #dde2e5;
    outline: none;
    min-height: 120px;
    max-height: 140px;
    resize: none;
}
.welcome-section .aside-right .invite-box input:focus {
    border-color: var(--yellow-color);
}

.welcome-section .aside-right .share-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.welcome-section .aside-right .share-details .icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.welcome-section .aside-right .share-details .icon img {
    width: 100%;
}

.welcome-section .aside-right .invite-btn {
    padding: 8px 15px;
    background-color: var(--green-color);
    text-align: center;
    font-size: 14px;
    color: var(--white-color);
    border-radius: 100px;
    border: none;
    text-transform: capitalize;
}

/* *************** EDUCATION.HTML PAGE *************** */

.education .add-items .item.activeItem {
    background-color: var(--yellow-color);
}

.education .main {
    padding-top: 80px;
}

.education .main input:focus {
    border-color: var(--yellow-color) !important;
}

.education .main .first-input {
    width: 100%;
}

.education .main .first-input input {
    width: 75%;
    height: 45px;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    padding: 10px;
    outline: none;
}

.education .main .date-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.education .main .date-grid .input-part {
    display: flex;
    gap: 10px;
}

.education .main .date-grid select,
.education .main select {
    height: 45px;
    width: 120px;
    border: 1px solid #dde2e5;
    color: var(--text-gray-color);
    border-radius: 8px;
    padding: 8px;
    outline: 1px solid #dde2e5;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position-x: 90%;
    background-position-y: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.education .main .date-grid select:focus,
.education .main select:focus {
    border-color: var(--yellow-color);
    outline-color: var(--yellow-color);
    transition: 0.2s;
}

.education .main .date-grid label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.education .main .btn-section {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 40px;
}

.education .main .btn-section .add-an-btn {
    padding: 10px 15px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background-color: var(--green-color);
    border: none;
    border-radius: 100px;
}

.education .main .btn-section .next-btn {
    padding: 10px 35px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background-color: var(--yellow-color);
    border: none;
    border-radius: 100px;
}

.education .main .subject-grade {
    margin-top: 40px;
}

.education .main .subject-grade .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.education .main .subject-grade .item input {
    width: calc(100% - 120px);
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dde2e5;
    outline: none;
    padding: 10px;
}

/* *************** EMPLOYMENT.HTML PAGE *************** */

.message-box {
    margin-top: 20px;
}

.message-box textarea {
    height: 200px;
    width: 100%;
    border: 1px solid #dde2e5;
    outline: none;
    padding: 10px;
    border-radius: 8px;
    resize: none;
}

.message-box textarea:focus {
    border-color: var(--yellow-color);
}

/* ! ~~~~~~~~~~~~~~~~~~~ RESPONSIVE ~~~~~~~~~~~~~~~~~~~ */

@media screen and (max-width: 1400px) {
    .welcome-section .container {
        gap: 10px;
    }
    .welcome-section .aside-right .share-details .icon .img:last-child {
        display: none;
    }

    /* *************** EDUCATION.HTML PAGE *************** */

    .education .container {
        gap: 15px;
    }

    .education .main .date-grid select,
    .education .main select {
        width: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .welcome-section .user-profile {
        gap: 15px;
    }

    .welcome-section .user-profile .img {
        height: 70px;
        width: 70px;
    }

    .welcome-section .user-info .name {
        font-size: 20px;
    }

    .welcome-section .aside-right {
        height: 400px;
    }

    .welcome-section .aside-right .share-details .icon .img:last-child {
        display: block;
    }

    .welcome-section .aside-right .share-details {
        flex-direction: column;
        gap: 20px;
    }

    .main .post-item .post-image .img {
        height: 350px;
    }

    /* *************** EDUCATION.HTML PAGE *************** */

    .education .main .date-grid select,
    .education .main select {
        width: 95px;
    }
}

@media screen and (max-width: 991px) {
    .welcome-section .container {
        flex-direction: column;
    }

    .welcome-section .aside-left {
        position: static;
        width: 100%;
    }

    .welcome-section .aside-right {
        position: static;
        width: 100%;
        height: 330px;
        margin-top: 40px;
    }

    .welcome-section .main {
        position: static;
        width: 100%;
        margin-top: 40px;
    }

    .welcome-section .aside-right .share-details {
        flex-direction: row;
    }

    /* *************** EDUCATION.HTML PAGE *************** */

    .education .main .date-grid select,
    .education .main select {
        width: 120px;
    }
}

@media screen and (max-width: 576px) {
    /* *************** EDUCATION.HTML PAGE *************** */

    .education .main {
        padding-top: 0px;
    }

    .education .main .first-input input {
        width: 100%;
    }

    .education .main input {
        font-size: 14px;
    }

    .education .main .date-grid {
        flex-direction: column;
        width: 100%;
    }

    .education .main .date-grid .start-date,
    .education .main .date-grid .end-date {
        width: 100%;
    }

    .education .main .date-grid select {
        width: 100% !important;
    }

    .education .main .date-grid select,
    .education .main select {
        font-size: 14px;
    }

    .education .main .subject-grade .item {
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .welcome-section .add-items .item .title {
        font-size: 12px;
        line-height: 18px;
    }

    .welcome-section .main .share-memory .input-box textarea::placeholder {
        font-size: 12px;
    }

    .welcome-section .aside-right .invite-box input::placeholder {
        font-size: 12px;
    }

    .welcome-section .aside-right .invite-box textarea::placeholder {
        font-size: 12px;
    }

    .main .post-item .post-details .date-time {
        display: none;
    }
    .main .post-item .post-details .date-time,
    .main .post-item .post-details a {
        font-size: 10px;
    }

    .main .post-item .post-details .left .total-react span {
        height: 20px;
        width: 20px;
        line-height: 20px;
    }

    .main .post-item .react-section .left {
        gap: 10px;
    }

    .main .post-item .react-section .left .like-text {
        font-size: 10px;
    }

    .main .post-item .react-section .left .engage-text,
    .main .post-item .react-section .left .share-text {
        font-size: 10px;
    }

    .main .post-item .react-section .follow-btn {
        padding: 5px 15px;
        font-size: 12px;
    }

    .welcome-section .aside-right .share-details {
        flex-direction: column;
    }

    .welcome-section .aside-right {
        position: static;
        width: 100%;
        height: 380px;
    }
}
/* ************** MY-FAVOURTIES-SECTION ************** */

.my-favourites .header-img {
    height: 280px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-favourites .header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-favourites .header-img .title {
    font-size: 45px;
    font-weight: 700;
    line-height: 50px;
    color: var(--white-color);
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    z-index: 3;
    padding: 12px;
    padding-right: 10px;
}

.my-favourites .header-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #00000080;
    z-index: 1;
}

.my-favourites .favourite-sec {
    padding-top: 70px;
}

.my-favourites .user-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.my-favourites .user-profile {
    display: flex;
    gap: 20px;
    align-items: center;
}

.my-favourites .user-profile .img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.my-favourites .user-profile .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.my-favourites .user-info .name {
    font-size: 22px;
    font-weight: 700;
    color: var(--black-color);
}

.my-favourites .user-info .country {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray-color);
}

.my-favourites .invite-btn {
    padding: 12px 35px;
    background-color: var(--text-color);
    text-align: center;
    font-size: 16px;
    color: var(--white-color);
    border-radius: 100px;
    border: none;
    text-transform: capitalize;
}

.my-favourites .friends-btn {
    padding: 12px 35px;
    background-color: var(--green-color);
    text-align: center;
    font-size: 16px;
    color: var(--white-color);
    border-radius: 100px;
    border: none;
    text-transform: capitalize;
}

.my-favourites .follow-btn {
    padding: 12px 35px;
    background-color: var(--yellow-color);
    text-align: center;
    font-size: 16px;
    color: var(--white-color);
    border-radius: 100px;
    border: none;
    text-transform: capitalize;
}

.my-favourites .favourite-items {
    padding: 50px 200px;
}
.my-favourites .favourite-items .item {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 25px;
}

.my-favourites .favourite-items .item .name {
    font-size: 18px;
    font-weight: 500;
    color: var(--black-color);
    width: 100%;
    margin-bottom: 10px;
}

.my-favourites .favourite-items .item .input-box {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.my-favourites .favourite-items .item .input-box input {
    width: calc(100% - 130px);
    height: 40px;
    padding: 10px;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    font-size: 14px;
    line-height: 18px;
}

.my-favourites .favourite-items .item .add-btn {
    font-size: 16px;
    color: var(--white-color);
    background-color: var(--green-color);
    text-align: center;
    width: 120px;
    height: 35px;
    border: none;
    border-radius: 50px;
    text-transform: capitalize;
}

/* todo ************** ACTIVE-USER.HTML PAGE ************** */

.active-user-items {
    padding: 50px 0px;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px 20px;
    align-items: start;
}

.active-user-items .item {
    padding: 10px;
    border-radius: 16px;
    border: 0.6px solid #00000040;
    box-shadow: 0px 4px 56px 2px #00000012;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
    margin-top: 20px;
}

.active-user-items .item:hover {
    background-color: #d2ae33;
    transition: 0.2s;
}

.active-user-items .item .item-details {
    display: flex;
    gap: 10px;
    align-items: center;
}

.active-user-item {
    border: 10px solid #062749 !important;
    border-radius: 16px 16px 0px 0px !important;
    background-color: #062749 !important;
    box-shadow: 0px 4px 54px 0px #00000040;
}

.active-user-item .name {
    color: #fff !important;
}

.active-user-items .item .img {
    height: 60px;
    width: 60px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #000;
}

.active-user-items .item .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.active-user-items .item .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    text-transform: capitalize;
}

.active-user-items .item .status {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.active-user-items .item .status.accept {
    color: #027602;
}

.active-user-items .item .status.pending {
    color: #4d4d4d;
}

.hide-items {
    position: relative;
    width: 100%;
    grid-column: 1 / span 3;
    background-color: #062749;
    border-radius: 0px 0px 16px 16px;
    padding: 30px 20px;
    margin-bottom: 20px;
    display: none;
}

.hide-item-one {
    display: block;
}

.hide-items .hide-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.hide-items .hide-item-details .circle {
    background-color: #fff;
    color: #062749;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 42px;
    text-align: center;
    padding: 5px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #808080;
}

.hide-items .hide-item-details .circle:hover {
    background-color: #d2ae33;
    transition: 0.2s;
}

/* todo ************** ACTIVE-USER.HTML (V2) PAGE ************** */

.active-user-v2 .active-user-item {
    border: 10px solid #d2ae33 !important;
    border-radius: 16px 16px 0px 0px !important;
    background-color: #d2ae33 !important;
    box-shadow: 0px 4px 54px 0px #00000040;
}

.active-user-v2 .active-user-items .item:hover {
    background-color: #062749;
    transition: 0.2s;
}

.active-user-v2 .active-user-items .item:hover .name {
    color: #fff;
}

.active-user-v2 .hide-items {
    background-color: #d2ae33;
}

.active-user-v2 .hide-items .hide-item-details .circle:hover {
    background-color: #062749;
    transition: 0.2s;
    color: #fff;
}

@media screen and (max-width: 1200px) {
    .my-favourites .favourite-items {
        padding: 50px 20px;
    }
}

@media screen and (max-width: 991px) {
    .my-favourites .header-img .title {
        font-size: 34px;
        line-height: 40px;
    }
    .my-favourites .favourite-items {
        padding: 50px 20px;
    }

    /* todo ************** ACTIVE-USER.HTML PAGE ************** */

    .active-user-items {
        padding: 50px 0px;
        gap: 0px 20px;
    }

    .active-user-items .item .img {
        height: 45px;
        width: 45px;
    }

    .active-user-items .item .name {
        font-size: 16px;
    }

    .active-user-items .item .status {
        font-size: 14px;
        font-weight: 600;
        text-transform: capitalize;
    }

    .hide-items .hide-item-details {
        gap: 10px;
    }

    .hide-items .hide-item-details .circle {
        background-color: #fff;
        color: #062749;
        text-align: center;
        font-size: 16px;
        line-height: 22px;
        padding: 5px;
        font-weight: 600;
        border-radius: 6px;
    }
}

@media screen and (max-width: 768px) {
    /* todo ************** ACTIVE-USER.HTML PAGE ************** */

    .active-user-items .item .img {
        height: 50px;
        width: 50px;
        overflow: hidden;
        border-radius: 50%;
    }

    .active-user-item {
        border: 5px solid #062749 !important;
        border-radius: 8px 8px 0px 0px !important;
    }

    .active-user-v2 .active-user-item {
        border: 5px solid #d2ae33 !important;
        border-radius: 8px 8px 0px 0px !important;
    }

    .active-user-items {
        gap: 0px 10px;
    }

    .active-user-items .item {
        border-radius: 8px;
        padding: 10px;
    }

    .hide-items .hide-item-details {
        grid-template-columns: 1fr 1fr;
    }

    .active-user-items .item .item-details {
        flex-direction: column;
        gap: 6px;
        justify-content: center;
        align-items: center;
    }

    .active-user-items .item .name {
        font-size: 14px;
        text-align: center;
    }

    .active-user-items .item .status {
        font-size: 12px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .my-favourites .header-img .title {
        font-size: 26px;
        line-height: 32px;
    }
    .my-favourites .favourite-items {
        padding: 50px 15px;
    }

    .my-favourites .user-profile .img {
        height: 60px;
        width: 60px;
    }

    .my-favourites .user-profile {
        gap: 10px;
    }

    .my-favourites .user-info .name {
        font-size: 20px;
    }

    .my-favourites .invite-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    .community-info .invite-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .active-user-items .item {
        padding: 8px 5px;
    }

    .active-user-items .item .name {
        font-size: 10px;
    }

    .active-user-items .item .status {
        font-size: 9px;
    }

    .active-user-items .item .img {
        height: 35px;
        width: 35px;
    }

    .hide-items .hide-item-details {
        grid-template-columns: 1fr;
    }

    .hide-items .hide-item-details .circle {
        padding: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .my-favourites .favourite-items {
        padding: 50px 0px;
    }

    .my-favourites .favourite-items .item .name {
        font-size: 14px;
        line-height: 18px;
    }
}
/*  ************** PROFILE TOGGLE MENU ************** */
.user-details {
    position: relative;
    cursor: pointer;
}

.user-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
    padding: 10px;
}

.dropdown-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
}

.dropdown-menu .menu-item:hover {
    background-color: #f5f5f5;
}

.dropdown-menu .menu-item span {
    margin-left: 10px;
    flex-grow: 1;
}

.dropdown-menu .menu-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/*  ************** PROFILE ************** */
.introduction-section {
    background-color: #062749;
    border-radius: 16px;
    box-shadow: 0px 4px 56px 2px #00000012;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.introduction-section .card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.introduction-section .card-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Правим елементите по-малки и по-достъпни на мобилни устройства */
.introduction-section .item {
    padding: 12px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0px 2px 16px 0px #00000040;
    transition: 0.2s;
    overflow: hidden; /* Предотвратяване на излизане извън контейнера */
}

.introduction-section .item:hover {
    background-color: #d2ae33;
    transition: 0.2s;
}

.introduction-section .item .item-details {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* За да може съдържанието да се подрежда в нови редове на малки екрани */
}

.introduction-section .item .img {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.introduction-section .item .img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.introduction-section .item .details .name {
    font-size: 14px;
    font-weight: 600;
    color: #062749;
}

.introduction-section .item .details .info {
    font-size: 12px;
    color: #333;
}

.introduction-section .item .details a {
    color: #062749;
    text-decoration: none;
    font-weight: 600;
}

.introduction-section .item .details a:hover {
    color: #d2ae33;
    text-decoration: underline;
}

.edit-info-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}


@media (max-width: 1024px) {
    .introduction-section .card-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .introduction-section .item .item-details {
        gap: 10px;
    }

    .introduction-section .item .details .name {
        font-size: 12px;
    }

    .introduction-section .item .details .info {
        font-size: 11px;
    }
}

/* За екрани до 768px (таблети и по-малки устройства) */
@media (max-width: 768px) {
    .introduction-section .card-body {
        grid-template-columns: 1fr; /* Подреждаме в една колона */
        padding: 10px;
    }

    .introduction-section .item {
        padding: 10px;
    }

    .introduction-section .item .item-details {
        gap: 8px;
        flex-direction: column; /* Подреждаме елементите вертикално */
        align-items: flex-start;
    }

    .introduction-section .item .img {
        height: 30px;
        width: 30px;
    }

    .introduction-section .item .details .name {
        font-size: 14px;
    }

    .introduction-section .item .details .info {
        font-size: 12px;
    }
}

/* За екрани до 480px (мобилни устройства) */
@media (max-width: 480px) {
    .introduction-section .card-body {
        padding: 5px;
    }

    .introduction-section .item {
        padding: 8px;
    }

    .introduction-section .item .item-details {
        gap: 5px;
        flex-direction: column; /* Подреждаме елементите вертикално */
        align-items: flex-start;
    }

    .introduction-section .item .img {
        height: 25px;
        width: 25px;
    }

    .introduction-section .item .details .name {
        font-size: 12px;
    }

    .introduction-section .item .details .info {
        font-size: 10px;
    }

    .edit-info-btn {
        margin-top: 15px;
    }
}


.btn-invite {
    background-color: #d2ae33;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.btn-invite:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}
.edit-info-btn a {
    text-decoration: none;
}

.notification-icon {
    position: relative;
}

.notification-svg {
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 9px;
}

.dropdown-menu {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification-header {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    color: var(--black-color);
    padding: 10px;
}


.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.notification-item.unread {
    background-color: #e0f7fa;
}

.notification-item p {
    margin: 0;
}

.notification-item a {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.notification-item a:hover {
    background-color: #0056b3;
}

/* *************** COMMUNITY PAGE *************** */

.community .add-items .item.activeItem {
    background-color: var(--yellow-color);
}

.community .main {
    padding-top: 80px;
}

.community .main input:focus {
    border-color: var(--yellow-color) !important;
}

.community .main .first-input {
    width: 100%;
}

.community .main .first-input input {
    width: 75%;
    height: 45px;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    padding: 10px;
    outline: none;
}

.community .main .date-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.community .main .date-grid .input-part {
    display: flex;
    gap: 10px;
}

.community .main .date-grid select,
.community .main select {
    height: 45px;
    width: 120px;
    border: 1px solid #dde2e5;
    color: var(--text-gray-color);
    border-radius: 8px;
    padding: 8px;
    outline: 1px solid #dde2e5;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position-x: 90%;
    background-position-y: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.community .main .date-grid select:focus,
.community .main select:focus {
    border-color: var(--yellow-color);
    outline-color: var(--yellow-color);
    transition: 0.2s;
}

.community .main .date-grid label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.community .main .btn-section {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 40px;
}

.community .main .btn-section .add-an-btn {
    padding: 10px 15px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background-color: var(--green-color);
    border: none;
    border-radius: 100px;
}

.community .main .btn-section .next-btn {
    padding: 10px 35px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background-color: var(--yellow-color);
    border: none;
    border-radius: 100px;
}

.community .main .subject-grade {
    margin-top: 40px;
}

.community .main .subject-grade .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.community .main .subject-grade .item input {
    width: calc(100% - 120px);
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dde2e5;
    outline: none;
    padding: 10px;
}
.community-info {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.community-name {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', sans-serif;
}

.community-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    font-family: 'Arial', sans-serif;
}

.community-info .invite-btn {
    padding: 10px 25px;
    background-color: #2A804E;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border-radius: 50px;
    border: none;
    text-transform: capitalize;
    display: inline-block;
}

.engage-box {
    position: relative;
}

.engage-box textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none; /* Препоръчително да скрием ръчното разширяване */
    min-height: 40px; /* Минимална височина */
    box-sizing: border-box;
}

.send-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #2a804e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
}

.send-btn:hover {
    background-color: #246c3c;
}
.dropdown-menu {
    min-width: 200px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    margin-right: 10px;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.share-text {
    margin-left: 5px;
}

.fab, .fas {
    font-size: 18px;
}

.username-requirements {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Comments */
.comments-section {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.comment {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.comment-user {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.comment-user .img img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-details {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.comment-details .name {
    font-weight: bold;
    color: #1877f2;
    text-decoration: none;
}

.comment-details .time {
    font-size: 12px;
    color: #65676b;
}

.comment-content {
    background: #f0f2f5;
    padding: 8px 12px;
    border-radius: 16px;
    max-width: 80%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 14px;
    color: #050505;
    line-height: 1.4;
}

.add-engage {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.add-engage .img img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.engage-box {
    flex-grow: 1;
    position: relative;
}

.engage-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.send-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1877f2;
    font-size: 18px;
}
.comment-details .name {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

#infoModal .modal-body .list-group-item {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    word-break: break-all;
}
.left-section {
    position: relative;
    display: inline-block;
}

.background-image {
    width: 100%;
    height: auto;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2; /* Поставяме текста над псевдоелемента */
}

.main-text {
    font-size: 40px;
    font-weight: bold;
    color: white;
}

.sub-text {
    font-size: 22px;
    font-weight: normal;
    margin-top: 10px;
    color: white;
}

.section-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: white;
    font-size: 24px;
    z-index: 2;
}

/* Profile Add Items */
.profile .add-items {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.profile .add-items .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dde2e5;
    padding: 12px 15px;
    border-radius: 4px;
    width: calc(33.33% - 10px);
    box-sizing: border-box;
}

.profile .add-items .item .title {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.profile .add-items .item .add-btn {
    padding: 5px 25px;
    text-align: center;
    background-color: var(--green-color);
    color: var(--white-color);
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    border-radius: 30px;
    border: none;
}

@media screen and (max-width: 768px) {
    .profile .add-items .item {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 576px) {
    .profile .add-items .item {
        width: 100%;
    }

    .profile .add-items .item .title {
        font-size: 14px;
        font-weight: 500;
        line-height: 18px;
    }

    .profile .add-items .item .add-btn {
        font-size: 14px;
    }
}
.edit-post a{
    color: var(--green-color) !important;
}
.delete-post a{
    color: var(--red-color) !important;
}
.just-button {
    padding: 10px 15px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background-color: var(--green-color);
    border: none;
    border-radius: 100px;
}
.item form {
    display: contents;
}
/* FILTER */
.filter-section {
    background-color: #062749;
    border-radius: 16px;
    box-shadow: 0px 4px 56px 2px #00000012;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
}
.btn-filter {
    background-color: #d2ae33;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.btn-filter:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.post-image .img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .section-title {
        display: none;
    }
}

.single-comment {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.comment-img img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-info {
    display: flex;
    flex-direction: column;
}

.comment-author {
    font-weight: 600;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.comment-time {
    font-size: 12px;
    color: #757575;
}

.comment-body p {
    margin: 4px 0 0 46px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}
.load-more-comments {
    background: none;
    color: #0073b1;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    margin-top: 10px;
}

.load-more-comments i {
    font-size: 20px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.load-more-comments:hover i {
    transform: translateY(5px);
}

.load-more-comments:hover {
    color: #004b87;
}

.load-more-comments .load-more-text {
    font-weight: 500;
}

@media (max-width: 768px) {
    .add-items-mobile {
        display: none;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        text-align: center;
        padding: 10px;
        background-color: transparent;
        border: none;
    }


    .arrow-container {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
    }


    .arrow {
        width: 15px;
        height: 15px;
        border: solid 2px black;
        border-width: 0 2px 2px 0;
        display: inline-block;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }


    .arrow-container.active .arrow {
        transform: rotate(-135deg);
    }
}


@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}
.add-items.active {
    display: block;
}

.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.top-text {
    font-size: 10px;
    font-weight: bold;
    color: black;
    text-align: center;
    position: absolute;
    top: 20px;
}

.plus-icon {
    font-size: 20px;
    font-weight: bold;
    color: black;
    position: absolute;
    bottom: 10px;
}
.input-item-full {
    grid-template-columns: none !important;
}
