/* CSS Document */

:root {
  --main-hex: #5E58DF;
  --main-hex-a: #3F34BD;
  --accent-hex: #F44040;
  --accent-hex-a: #C8192E;
  --secondary-hex: #FFB037;
  --secondary-hex-a: #ED770A;
  --border-hex: #3E3B42;
  --border-hex50: #3E3B4280;
  --border-hex-a: #000000;
  --background-hex: #232126;
  --success-hex: #96D84F;
  --error-hex: #DE4141;
  --light-bg: #FFFFFF;
  --light-accent: #E3DEDB;

  font-size: 15px;
}

@font-face {
  font-family: "Cera Round Pro Black";
  src: url(../fonts/customfonts/CeraRoundPro-Black.otf) format("opentype");
}

@font-face {
  font-family: "Cera Round Pro Bold";
  src: url(../fonts/customfonts/CeraRoundPro-Bold.otf) format("opentype");
}

@font-face {
  font-family: "Cera Round Pro Medium";
  src: url(../fonts/customfonts/CeraRoundPro-Medium.otf) format("opentype");
}

@font-face {
  font-family: "Cera Round Pro Regular";
  src: url(../fonts/customfonts/CeraRoundPro-Regular.otf) format("opentype");
}

html {
  min-height: 100vh;
}

body {
  font-family: "Cera Round Pro Regular", Helvetica, Arial, sans-serif;
  line-height: 145%;
  font-size: 1rem;
  background-color: var(--light-bg);
}

h1,
h2,
h3 {
  color: var(--main-hex);
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  padding-bottom: 20px;
}

h1 {
  font-family: "Cera Round Pro Black", Helvetica, Arial, sans-serif;
  letter-spacing: .5px;
  font-size: 2.2rem;
  line-height: 2.3rem;
  padding-bottom: 20px;
}

h2 {
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  line-height: 2rem;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.4rem;
}

a:hover {
  text-decoration: none !important;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  padding: 10px;
}

input[type="submit"] {
  background-color: var(--main-hex);
  border: 0px;
  padding: 10px 20px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

a,
input[type="submit"],
button {
  cursor: pointer;
}

a {
  color: var(--main-hex);
  font-size: 1rem;
  text-decoration: none;
}

header {
  width: 100%;
  height: 80px;
  height: 80px;
  max-height:80px;
  padding: 2.5em 20px;
  background-color: var(--light-bg);
  position: fixed;
  z-index: 50000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#search_box {
  display: flex;
  background-color: #ffffff;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--light-accent);
  border-radius: 100px;
  margin-left: 3em;

  & input{
    width: auto;
    padding-right: 2em;
  }
}

#search_box > form {
  display: flex;
}

#search_box input[type="search"] {
  background-color: #ffffff;
  border: 0px;
  padding: 5px;
  margin-left: 1em;
  width: 17em;
}

#search_box input[type="submit"] {
  background-image: url(../img/search.svg);
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: center;
  background-color: unset !important;
  border: 0px;
  text-indent: -5000px;
  position: relative;
}

header {
  -webkit-box-shadow: 0px -2px 12px 0px rgba(17, 81, 127, 0.25);
  box-shadow: 0px -2px 12px 0px rgba(17, 81, 127, 0.25);
}

header .left {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
}

header .logo {
}

.logo {
  &path {
    fill: var(--main-hex);
  }
}

.logo svg {
    width: 7em;
}

.post_composer img {
  border-radius: 30em;
}

.post_composer .post {
  border-radius: 30em;
}

header .logo:hover {
  color: var(--secondary-hex);
}

header nav a {
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  color: var(--main-hex) !important;
  display: flex;
  align-items: center;
  gap: .5em;
  text-decoration: none !important;
  margin-right: 20px;

    & path{
      fill: var(--main-hex);
    }
}

header nav a:hover {
  color: var(--main-hex-a) !important;
  transition: 300ms all;
  text-decoration: none !important;

    & path{
      fill: var(--main-hex-a);
      transition: 300ms all;
    }
}


header nav {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-left: 20px;
}

main {
  width: 80%;
  margin: 0px auto;
  padding-top: 80px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

main#home aside,
main#search aside,
main#password aside,
main#edit_profile aside {
  width: 30%;
  margin-left: 5em;
  padding-left: 1em;
  border-left: 1px solid var(--light-accent);
  align-self: flex-start;
}

main#register aside, #password_page aside  {
  margin-left: 8em;
}

main#search aside {
  margin-left: 0;
}


main#index aside {
  width: 50%;
}

#login-form {
  background-color: var(--light-bg);

}

.login-position {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 53ch;
  transform: translate(0, 12vh);
  background-color: var(--light-bg);
  padding-top: 4em;
  padding-bottom: 4em;
  border-radius: 1.5em;
  box-shadow: 0px 3px 7px -2px rgba(35,33,38,0.26);
  & p {
    color: var(--border-hex50);
  }
}

.background-login {
  height: 100vh;
  background-image: url("../img/confetti-bg-gs.svg");
  background-size: 40em;
  background-color: #eeeeee;

}

main#profile aside {
  padding: 1em;
  width: 40%;
  align-self: center;
}

main#profile aside h2,
main#profile aside h3 {
  width: 100%;
  line-height: inherit;
  text-align: center;
}

main#profile {
  flex-wrap: wrap;
  margin-top: 0px;
  background-color: white;
}

.follow_button, .like_button {
  padding-right: 1.5em;
}

main#profile .cover_photo {
  width: 100%;
  padding-bottom: 1em;
  min-height: 320px;
  background-color: var(--border-hex50);
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

main#profile .cover_photo .avatar {
  width: 10em;
  height: 10em;
  margin: 0px auto;
  overflow: hidden;
  position: absolute;
  top: 16em;
  left: 50%;
  transform: translateX(-50%);
}

main#profile .cover_photo .avatar img {
  width: 100%;
  width: 10em;
  height: 10em;
  border-radius: 50em;
  object-fit: cover;
}

main#profile section {
  width: 100%;
  display: flex;
  margin-top: 6em;
  padding-bottom: 4em;
}

main#index .page_pane {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 4em;
}

main#index .page_pane h1,
main#index .page_pane h2,
main#index .page_pane p {
  width: 100%;
}

main#index h1 {
  font-size: 2.5rem;
  font-family: "Cera Round Pro Black";
  line-height: 140%;
}

main#index p {
  /*font-size: 1.4rem;*/
  line-height: 140%;
  color: var(--border-hex);
}

#container {
  width: 100%;
  /*padding-top: 9em;*/
}

#news_feed {
  width: 100%;
}

#form {
  width: 100%;
  /*padding-right: 20px;*/
}

#search_results {
  width: 70%;
  padding-right: 20px;
}

#login_form {
  width: 25em;

  & h2{
    font-family: "Cera Round Pro Black";
  }
}

/*#login_form label,*/
/*#form label {*/
/*  font-family: "Cera Round Pro Bold";*/
/*  margin-top: 2em;*/
/*  color: var(--main-hex);*/
/*  width: 100%;*/
/*  display: block;*/
/*  clear: both;*/
/*}*/

/*#login_form input,*/
/*#form input {*/
/*  font-family: "Cera Round Pro medium";*/
/*  width: 100%;*/
/*  border: 0px;*/
/*  background-color: #ffffff00;*/
/*  border: 2.25px solid var(--border-hex50);*/
/*  border-radius: 10em;*/
/*  padding: 16px 2em;*/
/*  color: var(--border-hex);*/
/*  font-size: 1rem;*/
/*  margin-top: 5px;*/
/*}*/

.splotch {
  position: absolute;
  width: 30em;
  z-index: -10;
  top: -30em;
  left: -10em;
}

#form input :focus{
  transition: 200ms all;
}

#form input {
  border: 1px solid var(--main-hex);
}

.login-text {
  margin-bottom: 1em;
  text-align: center;
  & .purple {
    color: var(--main-hex);
    font-family: "Cera Round Pro Medium";
    position: relative;
    &::after {
      content: '';
      position: absolute;
      bottom: -7px;
      left: 0;
      width: 0;
      height: 0.15em;
      border-radius: 100px;
      background-color: var(--main-hex);
      transition: all 0.3s ease-in-out;
    }
    &:hover::after{
      width: 100%;
    }
  }
}

#login_form input[type="submit"],
#form input[type="submit"] {
  font-family: "Cera Round Pro Bold";
  letter-spacing: .5px;
  width: 100%;
  border-radius: 10px;
  color: #ffffff;
  padding: 18px 20px;
  margin-top: 3em;
  background-color: var(--main-hex);
  box-shadow: 0px 6px 0px 0px #3F34BD;
  font-weight: bold;
  font-size: 1rem;
  transition: all 2ms ease-in-out;
  &:hover {
    opacity: .9;
    transition: 200ms all;
  }
  &:active{
    transform: translateY(6px);
    box-shadow: 0px 0px 0px 0px #000000 !important;
    transition: 100ms;
    outline: none;
  }
}

#form input[type="submit"]:hover {
  background-color: var(--main-hex-a);
}

.login-btn-wrap #signup {
  font-family: "Cera Round Pro Bold";
  width: 100%;
  letter-spacing: .5px;
  border: 0px;
  color: #ffffff;
  padding: 15px 20px;
  margin-top: 25px;
  background-color: var(--border-hex);
  box-shadow: 0px 6px 0px 0px #000000;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;

  &:hover {
    opacity: .9;
  transition: 200ms all;
  }

  &:active {
    transform: translateY(6px);
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 100ms;
  }
}

.login-btn-wrap{
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

#form input[type="submit"].save_button {
  margin-top: 40px;
}

#login_form input[type="submit"].wide_butt,
#form input[type="submit"].wide_butt {
  width: auto;
}

#login_form a:nth-child(2) {
  color: var(--main-hex);
  font-size: 1rem;
  text-decoration: none;
}

#login_form #forgot-pass {
  font-family: "Cera Round Pro Bold";
  color: var(--border-hex);
  font-size: 1rem;
  text-decoration: none;
  transition: 200ms all;
  opacity: .7;

  &:hover{
    color: var(--main-hex);
    opacity: 1;
  }
}

#form .avatar {
  width: 15em;
  height: 15em;
  margin-top: 20px;
  border-radius: 50em;
}

#form .cover_photo_holder {
  width: 100%;
  padding-bottom: 35%;
  background-color: var(--light-accent);
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 40px;
  margin-top: 20px;
}

#post_creator {
  margin-bottom: 20px;
  position: relative;
}

#post_blackout {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--main-hex-a);
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
}

.follow_button {
  /*background-color: var(--main-hex);*/
  border: 0px;
  /*color: #ffffff;*/
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  border: 30em;
  padding: 10px 20px;
  padding-left: 50px;
  font-size: 1.1em;
  background-color: unset;
  background-size: contain;
  background-position: 5px center;
  background-repeat: no-repeat;
  display: block;
  margin: 10px auto;
}

.follow_button {
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  border: 30em;
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: unset;
  background-size: contain;
  background-position: 5px center;
  background-repeat: no-repeat;
  display: block;
  margin: 10px auto;
}
.like_button, .liked_button {
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  border: 30em;
  padding: 10px 20px 10px 50px;
  font-size: 1.1em;
  background-color: unset;
  background-size: contain;
  background-position: 5px center;
  background-repeat: no-repeat;
  margin: 10px 5em;
  width: 2em;
  height: 2em;

 }

.post_block .row_full .follow_button {
  margin: 0px;
}

.follow_button.follow_user {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15' fill='none'%3E%3Cpath d='M13 7.5H2M7.5 2V13' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: .75em;
  background-position: right;
}

.like_button {
  background-image: url("../img/like.svg");
  background-size: contain;
}

.liked_button{
  background-image: url("../img/liked.svg");
  background-size: contain;
}

.follow_button.following_user {
  background-image: url("../img/following-icon.png");
}

.link_as_button {
  background-color: var(--main-hex);
  border-radius: 10px;
  border: 0px;
  padding: 10px 20px;
  color: var(--light-bg);
  font-weight: bold;
  cursor: pointer;
  text-decoration: none !important;
  margin-top: 20px;
  &:hover {
    background-color: var(--main-hex-a);
  }
}

.page_pane {
  width: 100%;
}

.paint {
  margin-top: 3em;
}

.post_block {
  width: 100%;
  background: white;
  padding: 2em;
  border-radius: 2em;
  margin-bottom: 1em;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0;
  & main#profile aside {
    align-self: center;
  }
}

.post_viewer {
  width: 100%;
  margin-bottom: 0px;
}

.post_block .row {
  display: flex;
  width: 100%;
  align-items: stretch;
  .like_button .liked_button{
    margin-left: 0em;
  }
}

.post_block .row_full {
  display: flex;
  /*width: 100%;*/
  justify-content: space-between;
  align-items: center;
  & .follow_button.follow_user.following_user {
    padding-top: 0;
    padding-bottom: 0;
    &:hover {
      opacity: .75;
    }
    &:active {
      opacity: .5;
    }
  }
}

.required {
  resize: none;
}

.post_block .row.right {
  justify-content: right;
}

.post_block img.avatar {
  min-width: 70px;
  height: 70px;
  margin-right: 20px;
  border-radius: 20em;
  object-fit: cover;
}

.post_block img.attachment {
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: .5em;
}

.post_content {
  width: 100%;
}
.post_content p {
  margin-top: 10px;
  width: 100%;
  clear: both;
}

.post_content a {
  color: var(--main-hex);
  text-decoration: none;
  &:hover {
    color: var(--main-hex-a);
  }
}

.user-at:hover {
  color: var(--border-hex-a);
}

.post_content a.user_name {
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  font-size: 1rem;
}

.user-at {
  color: var(--border-hex);
  opacity: .8;
}

.post_content a.delete {
  color: var(--error-hex);
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.4rem;
}

.post_content a.delete:hover {
  color: #000000;
  text-decoration: none;
}

.post_composer {
  width: 100%;
  /*border-bottom: 1px solid var(--light-accent);*/
  padding-bottom: 20px;
  margin-bottom: 0px;
  background: white;
  border-radius: 0 0 2em 2em;
  padding: 2em;
}

.post_composer .row {
  display: flex;
  width: 100%;
  /*align-items: stretch;*/
}

.post_composer .row.right {
  justify-content: right;
}

.post_composer img {
  width: 70px;
  height: 70px;
  display: block;
  margin-left: auto;
}

.post_composer textarea {
  width: 100%;
  resize: none;
  min-height: 100px;
  border: 0;
  align-self: stretch;
  margin-left: 20px;
  border-radius: .5em;
  font-size: 1.5rem;
  :focus :focus-visible {
    border: none;
  }
}

.post_composer .file {
  width: 100%;
  border-radius: .5em;
  margin-top: 20px;
  margin-right: 20px;
  padding: 10px 20px;
  border: 1px solid var(--border-hex50);
  color: var(--main-hex);
}

.post_composer .post {
  margin-top: 20px;
  flex-basis: 100px;
  background-color: var(--main-hex);
  color: var(--light-bg);
  padding: 1em 3em;
  border-radius: 10px;
  box-shadow: 0px 6px 0px 0px #3F34BD;
  font-size: 1rem;
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  letter-spacing: 1px;

  &:hover {
    opacity: .9;
    transition: 200ms all;
  }

  &:active {
    transform: translateY(6px);
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 100ms;
  }
}

.profile_right {
  margin-top: 1em;
  width: 60%;
  & h2 {
    padding: 0 0 2em;
    text-align: center;
  }
}

.edit_profile {
  text-align: center;
  margin: 1em 0 2em;
  & a {
    color: var(--border-hex);
    font-size: 1.2rem;
    text-decoration: none;
    &:hover {
      color: var(--main-hex);
    }
  }
}

.followers {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 3em;
  & a {
    font-size: 1.2rem;
    color: var(--border-hex);
    &:hover {
      color: var(--main-hex);
    }
  }
}

.followers span.top {
  padding: 0px 10px;
}

.tabs {
  width: 100%;
  /*margin-top: 20px;*/
  /*padding-bottom: 10px;*/
  /*margin-bottom: 20px;*/
}

.tabs a {
  margin-right: 20px;
}

.tabs a.active {
  font-weight: bold;
}

.search_feed_people {
  display: none;
}

.no_posts {
  width: 100%;
  border: 10px dashed var(--light-accent);
  color: var(--light-accent);
  font-weight: bold;
  padding: 100px 0px;
  text-align: center;
  font-size: 2rem;
  background: white;
}

.g-root {
  z-index: -20;
  /*margin-top: 60px;*/
}

.toolspace-row-button__submit.toolspace-row-button__submit {
  background: var(--main-hex);
}

#home {
  margin-top: 0;
}

body.kl-theme-dark .toolspace-row-button__submit.toolspace-row-button__submit:hover {
  background: var(--main-hex);
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* input placeholder float */
/* https://stackoverflow.com/questions/38301774/how-to-do-floating-of-labels-in-css */
.input-group {
  position: relative;
  /*margin: 40px 0 20px;*/
  margin: 60px 0 20px;
}

input {
  font-size: 18px;
  padding: 14px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--border-hex50);
  background-color: #FFFFFF00;
}

input:focus {
  outline: none;
  border-bottom: 1.5px solid var(--border-hex);
}

label {
  color: var(--border-hex50);
  font-family: "Cera Round Pro Medium";
  font-size: 1.15em;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 0px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

input:focus ~ label,
input:valid ~ label {
  top: -20px;
  font-size: 1em;
  font-family: "Cera Round Pro Medium";
  color: var(--main-hex);
}

/*Register, forgot password, and edit profile pages styling*/
#register, #password_page, #edit_profile{
  background-color: white;
  padding: 8em 3em 5em 3em;
  height: 100vh;

  & p{
    margin-bottom: 4em;
  }
  & #form{
    & input {
      font-size: 18px;
      padding: 14px;
      display: block;
      width: 100%;
      border: none;
      border-bottom: 1.5px solid var(--border-hex50);
      background-color: #FFFFFF00;
      padding-left: 0;
    }

    & input:focus ~ label,
    & input:valid ~ label {
      top: -20px;
      font-size: 1em;
      font-family: "Cera Round Pro Medium", sans-serif;
      color: var(--main-hex);
    }

    & input:focus {
      outline: none;
      border-bottom: 1.5px solid var(--border-hex);
    }

    & input[type="submit"] {
      padding: 18px 20px;
      background-color: var(--main-hex);
    }
  }
}

#register, #edit_profile {
  max-width: 53ch;
  /*padding-right: 3em;*/
}

#edit_profile {
  height: initial;
  & input {
    margin-top: 3em;
  }

  & .avatar {
    margin-top: 2em;
  }

  & .wide_butt {
    width: 20em;
    font-size: 1rem;
  }

  & p {
    color: var(--main-hex);
    font-family: "Cera Round Pro Medium", sans-serif;
    margin-bottom: 0;
    margin-top: 2em;
  }
}

.search-top {
  margin: 0 0 2em 0;
  background: white;
  border-radius: 0 0 2em 2em;
  padding: 2em;
}

.canvas-button, .post-doodle {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: .5em;
  position: fixed;
  bottom: 3em;
  right: 3em;
  background-color: var(--main-hex);
  color: var(--light-bg) !important;
  padding: 1em 3em 1em 2.5em;
  border-radius: 10px;
  box-shadow: 0px 6px 0px 0px #3F34BD;
  font-size: 1rem;
  font-family: "Cera Round Pro Bold", Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  text-decoration: none !important;

  &:hover {
    opacity: .9;
    transition: 200ms all;
  }

  &:active {
    transform: translateY(6px);
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 100ms;
  }
}

body.kl-theme-dark button {
  background-color: var(--main-hex) !important;
  box-shadow: 0px 6px 0px 0px #3F34BD !important;
  &:active {
    box-shadow: 0px 0px 0px 0px #3F34BD !important;
  }
}

.ppl_you_know_holder {
  width: 30em;
  padding: 20px;
  border-radius: 0 0 2em 2em;
  background-color: white;
  position: fixed;
  & .post_block {
    padding: 0;
  }
  & .post_block .row {
    align-items: center;
  }
}

.ppl_you_know_holder .row_space {
  margin-top: 10px;
}

.ppl_you_know_holder .post_block img.avatar {
  width: 6em;
}

.youtube_video {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 10px 0;
  border-radius: 2em;
}

.g-root {
  margin-top: 80px !important;
}

a:hover, a:not([href]):hover {
  text-decoration: none !important;
}

body.kl-theme-dark a:link, body.kl-theme-dark a:not([href]), body.kl-theme-dark a:visited {
  color: var(--main-hex);
}

textarea:focus, input:focus {
  box-shadow: 0 0 0px rgba(0,0,0,0) !important;
}

.kl-checkbox__inner {
  position: static !important;
  pointer-events: initial !important;
  display: initial;
}

.modal {
  position: absolute;
  display: none; /* Hidden by default */
  z-index: 50; /* Sit on top */
  margin-top: 20%;
  background-color: var(--border-hex);
  padding: 1.5em 2em;
  border-radius: 1em;
  & body.kl-theme-dark input, & body.kl-theme-dark textarea {
    color: var(--light-bg) !important;
  }
  & .post {
    color: var(--light-bg) !important;
  }
  & input {

  }
}

/* The Close Button */
.close {
  color: var(--light-accent);
  font-size: 3rem;
  font-weight: bold;
  float: right;
  margin-bottom: 10px;
}

.close:hover,
.close:focus {
  color: var(--light-bg);
  text-decoration: none;
  cursor: pointer;
}

body.kl-theme-dark input, body.kl-theme-dark textarea {
  color: var(--light-bg);
}

body.kl-theme-dark input, body.kl-theme-dark textarea #search_box {
  color: var(--border-hex) !important;
}

#draw {
  display: flex;
  justify-content: center;
  padding-top: 0;
}
#gallery{
  padding-bottom: 80px;
  justify-content: center;

  .page_pane {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 5em;
    padding-right: 0;
    flex-wrap: wrap;

    & .gallery-list{
      width: 20em;
      display: flex;
      gap: 1em;
      transition: 200ms all ease-out;

      & a{
        background: white;
        padding: 0.75em;
        border-radius: 10px;
        width: 100%;

        & img{
          width: 100%;
          height: 100%;
          object-fit: cover;
          background-color: #5e5e5e;
        }
      }
    }
  }
}

.gallery-list:hover {
  transform: translateY(-10px);
  transition: 200ms all ease-out;
  box-shadow: 0px 1px 12px 0px rgba(160, 176, 183, 0.25);
}

#edit_profile {
  & input[type="file"] {
    /*display: none !important;*/
  }
}

#textarea {
  &:focus-visible {
    outline: none;

  }
}

.kl-stabilizer {
  position: static;
}

#profile {
  .post_block{
    width: 100%;
    background: white;
    padding: 2em;
     border-radius: 0;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--border-hex50);
  }
}

.gallery-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5em;
}

.title {
  display: flex;
  align-items: baseline;
  background-color: var(--main-hex);
  padding: 1em 5em;
  border-radius: 10px;

  & h1 {
    padding-bottom: 0;
    color: var(--light-bg);
  }
  & svg{
    overflow: visible;
    margin-right: 1em;
  }
  & svg path{
    fill: var(--light-bg);
    stroke: var(--light-bg);
  }
}

.user_faces {
  width: 100%;
  display:flex;
  flex-wrap: nowrap;
  gap:20px;
  padding:20px;
  justify-content: center;
}

.user_face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  width: 13em;
  & p {
    font-family: "Cera Round Pro Medium", sans-serif;
    font-size: 1.3rem;
    &:hover {
      color: var(--main-hex-a);
    }
  }
}

.follow-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  padding: 2em 0 4em;
  & h2 {
    padding-bottom: 0;
  }
  & img {
    width: 28em;
  }
  & img:nth-child(3) {
    transform: scaleX(-1);
  }
}

.user_face img {
  width: 8em;
  height: 8em;
  border-radius: 50em;
}

main#profile aside h4 {
  color: var(--main-hex);
  font-weight:bold;
  margin-top:20px;
  text-align:center;
  font-size:1.2rem;
}

.has-text {
  top: -20px;
  font-size: 1em;
  font-family: "Cera Round Pro Medium";
}

#edit_profile {
  & input:nth-child(3) {
    margin-top: 0;
  }
  & input:nth-child(6) {
    margin-top: 0;
  }
}

#followers, #following{
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 8em 3em 5em 3em;
  height: 100vh;

  & h1{
    padding: 1em 0;
    text-align: center;
  }
}

body.kl-theme-dark .popup-x {
  filter: initial !important;
}

body.kl-theme-dark button:not(.kl-button-primary):not(.kl-button-cancel) img:not(.dark-no-invert) {
  filter: initial !important;
}

main#edit_profile{
  flex-direction: column;
}

.no-follow {
  font-family: "Cera Round Pro Medium", sans-serif;
}