@font-face {
  font-family: "PP Pangram Sans Rounded";
  font-weight: normal;
  src: local("PP Pangram Sans Rounded"), url("../fonts/PPPangramSansRounded-CompactRegular.woff2") format("woff2"), url("../fonts/PPPangramSansRounded-CompactRegular.woff") format("woff"), url("../fonts/PPPangramSansRounded-CompactRegular.otf") format("opentype");
}
@font-face {
  font-family: "PP Pangram Sans Rounded";
  font-weight: 500;
  src: local("PP Pangram Sans Rounded"), url("../fonts/PPPangramSansRounded-Medium.woff2") format("woff2"), url("../fonts/PPPangramSansRounded-Medium.woff") format("woff"), url("../fonts/PPPangramSansRounded-Medium.otf") format("opentype");
}
@font-face {
  font-family: "PP Pangram Sans Rounded";
  font-weight: bold;
  src: local("PP Pangram Sans Rounded"), url("../fonts/PPPangramSansRounded-Bold.woff2") format("woff2"), url("../fonts/PPPangramSansRounded-Bold.woff") format("woff"), url("../fonts/PPPangramSansRounded-Bold.otf") format("opentype");
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.base {
  font-family: "PP Pangram Sans Rounded", sans-serif;
  height: 100%;
  color: #000000;
  margin-left: 2em;
  padding-block: 12vh;
}

.profile-title {
  position: absolute;
  top: -10px;
  left: -10px;
  padding: 0.4rem 1.5rem;
  border-radius: 5rem;
  background-color: #1ba8b9;
  color: #81dae5;
  font-size: 2em;
  text-align: center;
  font-weight: bold;
  z-index: 2;
}

.profile-grid {
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.profile-content {
  position: relative;
  width: 350px;
  min-height: 400px;
  height: 100%;
  background-color: #fff;
  border-radius: 1rem;
  padding: 2.5rem 1rem;
}

.profile-tabs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.5em;
  padding-block: 2rem;
}

.tab {
  height: 4rem;
  width: 3.5rem;
  padding: 0.5rem;
  background-color: #cae7ee;
  border-radius: 0 0.5rem 0.5rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 200ms ease-in-out;
  /* transform: rotateY(-45deg);
  transform-origin: left; */
}

.selected-tab {
  width: 3.8rem;
  background-color: #fff;
  /* transform: rotateY(0); */
}

.tab-img {
  filter: hue-rotate(180deg);
  opacity: 40%;
  height: 100%;
  width: auto;
}

.selected-tab .tab-img {
  filter: grayscale(0%);
  opacity: 100%;
}

.coloris {
  cursor: pointer;
}

.avatar-input {
  width: 150px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  box-sizing: border-box;
}

input {
  border-radius: 12px;
  height: 52px;
  line-height: 52px;
  border: 0;
  color: #1ba8b9;
  background-color: #e0f5f8;
  width: 95%;
  font-weight: 500;
  font-size: 14px;
  transition: 0.5s;
  padding-left: 10px;
}

input[type=text] {
  color: #1ba8b9;
  padding-right: 10px;
}

input[type=button] {
  height: 60px;
  background-color: #f24740;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  padding: 0;
  transition: 100ms;
  padding-bottom: 5px;
  border: none;
  cursor: pointer;
}

input[type=button]:hover {
  background-color: #da433e;
}

input[type=file] {
  cursor: pointer;
}

input[type=file]::file-selector-button {
  float: right;
  right: 0;
  font-weight: 500;
  background-color: #1ba8b9;
  color: white;
  border: 0;
  margin: 0;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  position: relative;
}

input::placeholder {
  color: #1ba8b9;
  font-weight: 400;
  opacity: 1;
}

input:focus {
  transition: 0.5s;
  outline: solid 1px #1ba8b9;
}

.profiletxt {
  width: 100%;
}

.clr-field button {
  position: absolute;
  left: 1em;
  width: 3em !important;
  height: 3em !important;
  border-radius: 100%;
}

.clr-field button::after {
  border: none;
  box-shadow: none;
}

.clr-field .avatar-input:focus {
  outline: none;
}

.clr-field .avatar-input {
  height: 2.8em;
  width: 8em;
  font-size: 1.8em;
  font-weight: bold;
  color: #8e8e8e;
  padding-left: 30%;
  text-align: center;
  background-color: rgba(203, 203, 203, 0.2);
  border: none;
  border-radius: 0.6em;
  caret-color: transparent;
}

.profile-save-button {
  position: absolute;
  bottom: -1.2em;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  min-width: max-content;
  background-color: #f24740;
  color: #fff;
  font-weight: bold;
  font-size: 1.8em;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 0.8em;
}

.containerskin {
  position: relative;
}

.profile-close {
  cursor: pointer;
  background-color: white;
  border: none;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 2;
}

.profile-close > img {
  width: 20px;
}

.content-sections {
  overflow-y: scroll;
  height: 100%;
}

.content-section {
  margin-block: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.content-section-title {
  color: #f24740;
  font-weight: bold;
  background-color: rgba(242, 71, 64, 0.2);
  width: fit-content;
  border-radius: 2rem;
  text-align: center;
  font-size: 1.5em;
  padding: 0.2rem 1.5rem;
}

.content-section-text {
  line-height: 14px;
  font-weight: 500;
}

.content-types {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}

.type {
  border-radius: 100%;
  height: 4rem;
  width: 4rem;
  background-color: #f0f0f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selected-type {
  outline: solid 2px #f24740;
  outline-offset: 3px;
  background-color: rgba(242, 71, 64, 0.2);
}

.selected-type .type-img {
  /* filter: grayscale(0%); */
  filter: hue-rotate(0);
  opacity: 100%;
}

.type img {
  height: 80%;
  width: auto;
  /* filter: grayscale(100%); */
  filter: hue-rotate(185deg);
  opacity: 50%;
}

.loading-profile {
  display: none;
  background-color: rgba(0, 0, 0, 0.2588235294);
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  border-radius: 1rem;
  z-index: 1;
}

@media screen and (max-width: 950px), screen and (max-device-width: 950px) {
  .base {
    height: 50%;
    padding: 0;
    top: 50%;
    right: 0;
    margin: 0;
  }
  .profile-grid {
    flex-direction: column-reverse;
  }
  .profile-tabs {
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0;
    gap: 0.3rem;
  }
  .tab {
    border-radius: 0.5rem 0.5rem 0 0;
    width: 80%;
  }
  .selected-tab {
    width: 100%;
  }
  .profile-content {
    width: 100%;
    border-radius: 0;
    padding: 2.5rem 1rem 4rem;
    min-height: 300px;
  }
  .profile-save-button {
    bottom: 0.2em;
  }
}
