@import 'reset.css';

:root {
  --bg-color-main: linear-gradient(
    180deg,
    #00ab84 0%,
    #6abd79 73.44%,
    #61c1be 100%
  );
  --text-color-black: #162f3a;
  --color-white: #ffffff;
  --color-gray: #f4f4f5;
  --text-color-green: #00ab84;
  --color-border: #c4c4c4;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-color-main);
  border-radius: 20px;
}

body {
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

main {
  min-height: 100vh;
}

.line-head {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -16px;
    width: 58px;
    height: 4px;
    background: var(--bg-color-main);
    border-radius: 4px;
    transform: rotate(-30deg);
  }
}

.line-head-white {
  &::after {
    background: var(--color-white);
  }
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 230px;
  padding: 18px 18px 18px 32px;
  background-color: var(--color-white);
  font-size: 16px;
  border-radius: 100px;
  border: 2px solid var(--text-color-green);
  cursor: pointer;
  transition: all 0.2s linear;
  color: var(--text-color-black);

  &:hover {
    background: var(--bg-color-main);
    color: var(--color-white);

    > .button__icon {
      background: var(--color-white);
      color: var(--text-color-green);
    }
  }
}

.button > .button__icon {
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 24px;
  background: var(--bg-color-main);
  border-radius: 100px;
  color: var(--color-white);
}

.button-contained {
  background: var(--bg-color-main);
  color: var(--color-white);
}

.hidden {
  visibility: hidden !important;
}
.show {
  visibility: visible !important;
}
