@import url("variables.css");

#contact {
  perspective: 1000px;
  -webkit-perspective: 1000px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

code {
  font-size: 15px;
}

.contact-container {
  color: var(--text-color);
  position: relative;
  width: 30rem;
  height: 15rem;
  transition: 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.contact-active {
  transform: rotateX(180deg);
}

.contact {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.front-side {
  font-size: 35px;
  text-transform: capitalize;
  background-color: var(--background-color);
}

.back-side {
  transform: rotateX(180deg);
  flex-direction: column;
  background-color: var(--background-color);
}

.front-side:before,
.back-side:before {
  position: absolute;
  top: -40px;
  right: -40px;
  content: "";
  width: 80px;
  height: 80px;
  background-color: rgba(245, 245, 245, 0.08);
  transform: rotate(45deg);
  z-index: 1;
}

.bx-revision {
  font-family: boxicons;
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  transform: rotate(45deg);
  z-index: 2;
  cursor: pointer;
}

.line-numbers {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  background-color: rgba(245, 245, 245, 0.03);
  font-size: 13px;
}

.line-numbers > span {
  padding: 2.5px 0;
}

.indent {
  padding-left: 30px;
}

.operator {
  color: #4dd0e1;
}

.string,
.string a {
  color: #9ccc65;
}

.variable {
  color: #ba68c8;
}

.property {
  color: #ef5350;
}

.method {
  color: #29b6f6;
}

.function {
  color: #fdd835;
}
