@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700&display=swap');

:root {
  --sl-green: #4cbb1a;
  --sl-green-light: #53cc1c;
}

*:focus {
  outline: none;
}

*::selection {
  color: #ffffff;
  background-color: rgba(76, 187, 26, 0.3);
}

html,
body,
#app,
#app > div:first-child {
  height: 100%;
}

body {
  font-family: 'PT Sans', sans-serif;
  color: #798084;
  background-color: #eaeaea;
  margin: 0;
}

button {
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  color: #f5f5f5;
  padding: 5px 10px;
  transition: all 0.4s ease;
}

button,
input:checked + .slider,
.checkbox input:checked + .check,
.react-contexify__item:not(.react-contexify__item--disabled):hover
  > .react-contexify__item__content,
.swiper-pagination-bullet-active {
  background-color: var(--sl-green);
}

button:hover {
  background-color: var(--sl-green-light);
}

a {
  text-decoration: none;
  transition: color 0.4s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

label {
  display: block;
}

nav {
  width: 100%;
  height: 100%;
}

nav a {
  margin: 0 1em;
}

form {
  display: flex;
  flex-direction: column;
}

form button {
  margin: 0 5%;
  font-size: 20px;
  padding: 2% 1%;
}

form div {
  margin: 3%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

form input,
select {
  color: rgba(60, 60, 60, 0.6);
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 5px 5px 30px;
  margin: 0 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

form input:focus {
  color: #3c3c3c;
  background-color: #ffffff;
  border: 1px solid var(--sl-green);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 2px var(--sl-green);
}

form label {
  font-family: 'Overlock SC', sans-serif;
  margin: 0 5%;
  position: absolute;
  top: -75%;
  font-weight: 600;
  font-size: 1.3vw;
}

#header {
  height: 65px;
}

#header a,
#auth-bg a {
  color: #f5f5f5;
  font-weight: 700;
  display: flex;
  align-items: center;
}

#hero-bg {
  background: linear-gradient(135deg, #607d8b 0%, #5d9440 100%);
  margin-top: -65px;
}

#hero {
  background: url(/images/tags-bg.png) center/175px repeat;
}

#hero > div {
  justify-content: space-around;
  display: flex;
  padding-top: 180px;
}

#hero #bottom-border {
  overflow-x: hidden;
  padding-top: 100px;
  margin-top: -13vw;
}

#hero #bottom-border > div {
  border-top: 100px solid transparent;
  border-right: 100vw solid #eaeaea;
}

#hero-text {
  color: #f5f5f5;
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hero-text h1 {
  font-size: 4vw;
  margin: 1vw;
}

#hero-text p {
  font-size: 2vw;
  margin: 0;
}

#hero-text button {
  margin-top: 2vw;
  padding: 6px 15px;
}

#hero-text button a {
  font-size: 1.7vw;
  color: #f5f5f5;
  display: flex;
  align-items: center;
}

#hero-img {
  flex: 2;
}

#hero-img > div {
  background: url(/images/dots-bg.png) center/9vw repeat #eaeaea;
  height: 27vw;
  width: 25vw;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1vw;
  box-shadow: 2.2vw 2.5vw 2.2vw rgba(0, 0, 0, 0.22);
  transform: rotateX(-25deg) rotateY(20deg) rotateZ(15deg) scale(1);
  animation: hero infinite 4s ease-in-out alternate;
}

#hero-img > div > div {
  animation: hero-child infinite 4s ease-in-out 1s alternate;
}

#hero-img > div div {
  background-color: rgba(255, 255, 255, 0.3);
  width: 95%;
  height: 95%;
  margin: auto;
  border-radius: 1vw;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateX(-2vw) translateY(-2vw) scale(1);
  box-shadow: inset 0 0 1vw rgba(255, 255, 255, 0.15),
    2.2vw 2.5vw 2.2vw rgba(0, 0, 0, 0.09);
}

#hero-img > div > div > div:nth-child(2) {
  height: 35%;
  animation: hero-child infinite 4s ease-in-out 1s alternate;
}

#hero-img > div > div > div:last-child {
  animation: hero-child infinite 4s ease-in-out 1.5s alternate;
  height: 50%;
  margin-top: 1.7vw;
}

#hero-img > div span {
  color: rgba(0, 0, 0, 0.3);
  position: absolute;
  right: 0.7vw;
  top: 0.3vw;
  font-size: 1.5vw;
  text-shadow: 2vw 2vw 1vw rgba(0, 0, 0, 0.2);
}

#home-2 {
  display: flex;
  padding: 6vw;
}

#home-2 > div,
#home-2 > div:last-child > div {
  text-align: center;
  padding: 2vw;
}

#home-2 > div:first-child {
  flex: 2;
}

#home-2 > div:last-child {
  display: flex;
  flex: 3;
}

#home-2 > div:last-child > div:first-child i {
  margin-left: 0.8vw;
}

#home-2 > div:last-child > div h3 {
  font-size: 1.4vw;
  margin-bottom: 0;
}

#home-2 > div:last-child > div p {
  font-size: 1.15vw;
}

#home-2 > div h2 {
  font-size: 2.5vw;
}

#home-2 > div:first-child p {
  font-size: 1.3vw;
}

#home-2 > div i {
  font-size: 3vw;
  color: var(--sl-green);
}

#logo {
  z-index: 1;
  font-size: 33px;
  user-select: none;
}

#logo span,
#settings-bar a:hover {
  color: var(--sl-green);
}

#logo span {
  font-weight: 400;
}

#logo::before,
#logo::after {
  font-size: 33px;
  transition: all 0.4s ease;
}

#logo::before {
  content: '{';
  transform: translateY(-1.5%);
}

#logo::after {
  content: '}';
  transform: translate(-15%, -1.5%);
}

#logo:hover::before {
  content: '{';
  transform: translate(-0.3vw, -1.5%);
}

#logo:hover::after {
  content: '}';
  transform: translate(0.3vw, -1.5%);
}

#nav-editor-button {
  margin-right: 20px;
  z-index: 1;
}

#nav-editor {
  font-size: 16px;
  margin: 0;
  transform: translateX(3px);
  transition: all 0.4s ease;
}

#nav-editor:hover {
  transform: translateX(-2px);
}

#nav-editor i {
  opacity: 0;
  transition: all 0.4s ease;
}

#nav-editor:hover i {
  opacity: 1;
  color: #f5f5f5;
  transform: translateX(5px);
}

#editor {
  background-color: #eaeaea;
  display: flex;
  height: calc(100% - 65px);
  border-top: 65px solid #282e31;
  margin-top: -65px;
  overflow-x: hidden;
}

#editor-panel {
  width: 100%;
  transition: width 0.4s ease;
}

#editor-panel.edit-mode {
  width: calc(100% - 360px);
  position: relative;
}

#editor-panel.edit-mode #main {
  background: url(/images/dots-bg.png) center/40px repeat;
  position: relative;
}

#editor-panel.edit-mode #settings-bar + div {
  pointer-events: auto;
}

#editor-panel #help-button {
  color: #ffffff;
  opacity: 0;
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-size: 30px;
  cursor: pointer;
  background-color: var(--sl-green);
  border-radius: 50%;
  border: 2px solid #dadada;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

#editor-panel.edit-mode #help-button:hover {
  opacity: 1;
}

#editor-panel.edit-mode #help-button {
  opacity: 0.5;
}

#editor-panel #help-button i {
  transform: scale(1.1);
  display: block;
}

#nav-user {
  color: #f5f5f5;
  font-size: 30px;
  position: relative;
  align-items: center;
  margin: 0 30px;
  height: 100%;
  cursor: pointer;
}

#nav-user-menu {
  display: flex;
  flex-direction: column;
  align-items: initial;
  position: absolute;
  font-family: 'PT Sans', sans-serif;
  background-color: #f7f7f7;
  right: 0;
  width: 85px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60%) scale(0.9);
  transition: all 0.3s ease;
}

#nav-user:hover #nav-user-menu {
  pointer-events: all;
  transform: translateY(80%) scale(1);
  opacity: 1;
}

#nav-user-menu a {
  color: #7a8185;
  margin: 0;
  font-size: 16px;
  padding: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#nav-user-menu a:last-child {
  border-bottom: none;
}

#main {
  background: transparent center;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.05);
  direction: rtl;
  transition: all 0.4s ease;
}

#main div,
#main p,
#main img {
  direction: ltr;
  transition: all 0.4s ease;
}
#main div.edit-mode,
#main p.edit-mode,
#main img.edit-mode {
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  position: relative;
  margin: 20px;
  padding: 20px;
  border-radius: 3px;
}

#main img.edit-mode {
  padding: 0;
}

#main div.edit-mode.selected,
#main p.edit-mode.selected,
#main img.edit-mode.selected {
  transform: scale(1.01);
  filter: drop-shadow(-3px 0px 0 var(--sl-green))
    drop-shadow(0 0px 3px rgba(0, 0, 0, 0.05)) brightness(105%);
}

#main div.edit-mode.selected > div,
#main div.edit-mode.selected > p,
#main div.edit-mode.selected > img {
  filter: brightness(95%);
}

#main span {
  font-family: 'PT Sans', sans-serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.2);
  margin: 5px;
  font-size: 15px;
  pointer-events: none;
}

#style-bar {
  width: 0;
  background-color: #f5f5f5;
  transition: width 0.4s ease;
}

#style-bar.edit-mode {
  width: 360px;
}

#style-bar-header {
  height: 50px;
  align-items: center;
  display: flex;
  border-left: 1px solid rgba(0, 0, 0, 0.025);
  padding: 0 20px;
  justify-content: space-between;
  background-color: #ffffff;
}

#style-bar-header i {
  color: rgba(255, 213, 91, 0.5);
  cursor: pointer;
  transition: color 0.4s ease;
}

#style-bar-header i:hover {
  color: #ffd55b;
}

#style-bar #style-bar-header span {
  color: #dadada;
  margin-right: 10px;
  font-weight: 700;
  font-size: 10px;
  opacity: 0;
  transition: all 0.3s ease;
}

#style-bar.edit-mode #style-bar-header span {
  font-size: 30px;
  opacity: 1;
}

#style-bar-content {
  height: calc(100% - 51px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

#auth-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

#auth-button i {
  position: absolute;
  right: 25px;
  opacity: 0;
  animation: rotate 1.5s linear infinite;
  transition: all 0.4s ease;
}

#auth-button.active i {
  opacity: 1;
}

#auth-bg {
  margin-top: -65px;
  background-color: #eaeaea;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
  z-index: 2;
}

#auth-bg #logo {
  transform: scale(1.5);
  color: #798084;
  margin-top: 50px;
  margin-bottom: 40px;
}

#auth-bg > div:last-child {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 10px;
  width: 300px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

#auth-bg > div:last-child a {
  color: var(--sl-green);
  margin-left: 10px;
}

#auth-form {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px;
  width: 300px;
  text-align: center;
  background-color: #f5f5f5;
}

#auth-form .google-auth {
  margin: 5%;
  font-size: 17px;
  padding: 1.6% 1%;
  width: 84%;
  background-color: #fbfbfb;
  color: #4cbb19;
  border: 1px solid #eaeaea;
}

#auth-form > a {
  display: flex;
  justify-content: center;
}

#auth-form i.input-icon {
  opacity: 0.3;
  position: absolute;
  left: 20px;
  font-size: 14px;
}

#auth-form h1 {
  margin: 10px;
}

#auth-form hr {
  margin: 2% 5%;
  height: 1px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
}

#footer {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  background-color: #efefef;
  color: #8d9091;
  padding: 15px 20px;
  border-top: 1px solid #e1e1e1;
}

#footer a {
  color: #8d9091;
}

#settings-bar {
  height: 50px;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

#app-main.darkmode,
#app-main.darkmode #auth-bg,
#app-main.darkmode #editor,
#app-main.darkmode #home-2 {
  background-color: #2e3033;
}

#app-main.darkmode #settings-bar,
#app-main.darkmode #style-bar-header,
#app-main.darkmode #auth-form,
#app-main.darkmode #hero-img > div,
#app-main.darkmode #footer,
#app-main.darkmode .popup > div,
#app-main.darkmode .set-name > div,
#app-main.darkmode .popup textarea,
#app-main.darkmode .popup input,
#app-main.darkmode .set-name input,
#app-main.darkmode .tutorial .swiper-container {
  background-color: #3d4044;
}

#app-main.darkmode .style-section {
  border-top: 1px solid #35383c;
  background-color: #3d4044;
}

#app-main.darkmode #style-bar {
  background-color: #34363a;
}

#app-main.darkmode #style-bar-content {
  border-left: 1px solid rgb(53, 56, 60);
}

#app-main.darkmode #auth-form .google-auth {
  background-color: #53575d;
  border: 1px solid #3d4044;
}

#app-main.darkmode #hero #bottom-border > div {
  border-right: 100vw solid #2e3033;
}

#app-main.darkmode #footer {
  border-top: 1px solid #4e5156;
}

#app-main.darkmode #hero-img > div div {
  background-color: rgba(78, 78, 78, 0.3);
}

#app-main.darkmode #hero-img > div span {
  color: rgba(255, 255, 255, 0.3);
}

#app-main.darkmode #hero-text {
  color: #2e3033;
}

#app-main.darkmode #main div.edit-mode,
#app-main.darkmode #main p.edit-mode,
#app-main.darkmode #main img.edit-mode {
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #44484c;
}

#app-main.darkmode #main span {
  color: rgba(255, 255, 255, 0.2);
}

#app-main.darkmode .popup > div span,
#app-main.darkmode .set-name > div span {
  border-bottom: 1px solid #222426;
  background-color: #282e31;
}

#app-main.darkmode .popup input,
#app-main.darkmode .popup textarea,
#app-main.darkmode .set-name input {
  color: #b7bcbf;
}

#app-main.darkmode #template-list > div:first-child span,
#app-main.darkmode #template-list #no-template {
  color: rgba(255, 255, 255, 0.2);
}

#app-main.darkmode #template-list #no-template {
  border-top: 1px solid #424242;
}

#app-main.darkmode #template {
  border: 1px solid #424242;
  border-width: 1px 0;
}

#app-main.darkmode #template > div > button {
  background-color: #434446;
}

#settings-bar > div,
#settings-bar > div > div {
  display: flex;
  align-items: center;
}

#settings-bar + div {
  height: calc(100% - 51px);
  /* pointer-events: none; */
}

#settings-bar a,
#settings-bar span {
  color: #b7bcbf;
  font-weight: 700;
}

#settings-bar a {
  margin-left: 30px;
  transition: all 0.4s ease;
}

#settings-bar .download.hidden,
#settings-bar .new-template.hidden {
  opacity: 0;
  font-size: 0;
  margin: 0;
  pointer-events: none;
}

#settings-bar span {
  margin-right: 10px;
}

#template-list {
  border-top: 65px solid #282e31;
  margin-top: -65px;
  height: calc(100% - 65px);
  padding: 0 20%;
  overflow-y: auto;
}

#template-list > div:first-child {
  margin: 40px 0 5px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

#template-list > div:first-child span {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

#template-list h1 {
  font-size: 32px;
  margin: 0;
}

#template-list #no-template {
  font-size: 20px;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid #dcdcdc;
  color: rgba(0, 0, 0, 0.2);
}

#template {
  border: 1px solid #dcdcdc;
  padding: 30px 0;
  justify-content: space-between;
  display: flex;
  align-items: center;
  border-width: 1px 0;
  margin-bottom: -1px;
}

#template span {
  font-size: 20px;
  font-weight: 700;
  color: rgba(121, 128, 132, 0.5);
}

#template > div > a {
  margin-right: 20px;
}

#template > div > button {
  background-color: #e2e2e2;
  color: #ce6161;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#template > div > button:hover {
  border: 1px solid #d84250;
  color: #d84250;
}

#template button {
  font-size: 14px;
}

.navbar {
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.navbar div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  outline: none;
}

.switch input {
  opacity: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dedede;
  transition: background-color 0.4s ease;
  border-radius: 25px;
}
.slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: transform 0.4s ease;
  border-radius: 50%;
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--sl-green);
}
input:checked + .slider:before {
  transform: translateX(26px);
}

.error-warning {
  text-align: center;
  font-size: 13px;
  opacity: 0;
  height: 25px;
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
}

.error-warning.active {
  opacity: 1;
  animation: fade 0.4s linear 4s forwards;
}
.collapse-css-transition {
  transition: height 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.style-section {
  font-size: 0;
  padding: 0 20px;
  border-top: 1px solid #f5f5f5;
  border-left: 4px solid transparent;
  cursor: pointer;
  background-color: #ffffff;
  color: transparent;
  font-weight: 700;
  min-height: 45px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.style-section.edit-mode {
  color: #b7bcbf;
  font-size: 20px;
}

.style-section.edit-mode i {
  color: #dadada;
}

.style-section:hover {
  color: rgba(76, 187, 25, 0.5);
}

.style-section.active {
  color: rgba(76, 187, 25, 0.5);
  border-left: 4px solid var(--sl-green);
}

.style-section.hidden {
  display: none;
}

.style-section:last-child {
  flex: 1;
  min-height: 0;
  cursor: default;
}

.style-section + div {
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.04);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: -1px;
}

.style-section + div input,
.style-section + div select {
  cursor: pointer;
}

.style-section + div select {
  width: 90px;
  height: 23px;
  padding: 0;
  margin: 0;
}

.style-section + div input[type='text'] {
  color: rgba(60, 60, 60, 0.6);
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 83px;
  height: 20px;
  padding: 0 0 1px 5px;
}

.style-section + div input[type='text']:focus {
  cursor: text;
}

.style-section + div input[type='color'] {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0 1px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
  width: 86px;
  height: 21px;
}

.style-section + div > div {
  padding: 10px 20px;
}

.style-section + div > div > div {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.style-section + div > div > div > div {
  align-items: center;
  display: flex;
}

.style-section + div > div > div > div span {
  margin-right: 7px;
}

.style-section + div > div span {
  font-weight: 700;
  color: #b7bcbf;
}

.style-section + div button {
  margin: 12px 0 5px 0;
  font-size: 14px;
}

.popup,
.tutorial,
.set-name {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
  transition: all 0.4s ease;
}

.popup > div,
.set-name > div {
  width: 450px;
  height: 200px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -90px;
}
.popup > div > div,
.set-name > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.popup > div span,
.set-name > div span {
  font-weight: 700;
  color: #b7bcbf;
  font-size: 20px;
  padding: 6px 0 2px 0;
  width: 100%;
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 3px 3px 0 0;
}

.popup textarea {
  resize: none;
  padding: 5px;
  width: 90%;
  height: 100px;
  margin: 10px;
  border: none;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  color: rgba(60, 60, 60, 0.6);
}

.popup input,
.set-name input {
  font-family: 'PT Sans', sans-serif;
  font-size: 20px;
  color: rgba(60, 60, 60, 0.6);
  width: 90%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 60px 0 30px 0;
}

.popup button,
.set-name button {
  font-size: 13px;
}

.popup.active,
.tutorial.active,
.set-name.active {
  opacity: 1;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.25);
}

.tutorial .swiper-container {
  width: 450px;
  height: 400px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -70px;
}

.tutorial .swiper-slide {
  display: flex;
  flex-direction: column;
}

.tutorial .swiper-slide img {
  width: 450px;
  height: 300px;
}

.tutorial .swiper-slide div {
  text-align: center;
  padding: 17px 20px;
  font-size: 16px;
}

.undo-redo {
  margin-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 8px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.undo-redo.hidden {
  pointer-events: none;
  opacity: 0;
}

.undo-redo i {
  margin: 5px 10px;
  color: #b7bcbf;
  cursor: pointer;
  transition: color 0.4s ease;
}

.undo-redo i.disabled {
  color: hsla(202, 6%, 73%, 0.5);
  pointer-events: none;
}

.undo-redo i:hover {
  color: var(--sl-green);
}

.checkbox {
  position: relative;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 14px;
  height: 14px;
}

.checkbox {
  position: relative;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 14px;
  height: 14px;
}

.checkbox .check {
  background-color: transparent;
  height: 10px;
  width: 10px;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 3.5px;
  pointer-events: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox input {
  opacity: 0;
  position: absolute;
  bottom: -2px;
  right: -2px;
  cursor: pointer;
}

.checkbox input:checked + .check {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

#add-section {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

#add-section.edit-mode {
  pointer-events: initial;
  opacity: 1;
}

#add-section span {
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.4s ease;
}

#add-section span:hover {
  color: var(--sl-green);
}

.react-contexify__item__content {
  justify-content: space-between;
}

.react-contexify__item__content span + span {
  font-size: 13px;
  opacity: 0.3;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  filter: hue-rotate(235deg) brightness(1.38) saturate(0.833);
}

.Toastify__toast--success {
  border-radius: 3px;
  font-family: 'PT Sans', sans-serif;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  font-size: 18px;
  padding-left: 20px;
  background-color: var(--sl-green);
}

@keyframes hero {
  0% {
    box-shadow: 2.2vw 2.5vw 2.2vw rgba(0, 0, 0, 0.22) scale(1);
    transform: rotateX(-25deg) rotateY(20deg) rotateZ(15deg);
  }
  100% {
    transform: rotateX(-25deg) rotateY(20deg) rotateZ(15deg)
      translate(0.4vw, 0.6vw) scale(0.98);
    box-shadow: 2vw 2vw 1.5vw rgba(0, 0, 0, 0.27);
  }
}

@keyframes hero-child {
  0% {
    transform: translateX(-2vw) translateY(-2vw) scale(1);
    box-shadow: inset 0 0 1vw rgba(255, 255, 255, 0.15),
      2.2vw 2.5vw 2.2vw rgba(0, 0, 0, 0.09);
  }
  100% {
    transform: translateX(-1.8vw) translateY(-1.5vw) scale(0.99);
    box-shadow: inset 0 0 1vw rgba(255, 255, 255, 0.15),
      2vw 2vw 2vw rgba(0, 0, 0, 0.1);
  }
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
