@font-face {
  font-family: thin;
  src: url(../font/THIN\ 400.otf);
}

* {
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

:root {
  --mainColor: #e8f1f2;
  --secColor: #20bf55;
  --thirColor: #081535;
}

html {
  font-size: 62.5%;
}

@media only screen and (max-width: 50em) {
  html {
    font-size: 56.25%;
  }
}

@media only screen and (max-width: 25em) {
  html {
    font-size: 50%;
  }
}

body {
  background-color: var(--mainColor);
  color: var(--thirColor);
  font-family: "Chakra Petch", sans-serif;
}

img,
picture,
svg {
  user-select: none;
}

/* UTILITIES */
.txt-s-clr {
  color: var(--secColor);
}

.parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.btn,
.btn:link,
.btn:visited {
  text-decoration: none;

  position: relative;
  background: none;

  background-size: 80%;
  background-repeat: no-repeat;
  color: var(--secColor);
  font-size: 2.6rem; 
  font-weight: bold;
  outline-offset: 2px;
  padding: 0.3em 1.2em;

  outline: 2px solid var(--secColor);
  cursor: pointer;
  overflow: hidden;

  z-index: 55;
}

.btn::before {
  position: absolute;

  top: 0;
  left: -1rem;
  display: block;
  content: "";
  width: 120%;
  height: 100%;
  background: var(--secColor);
  transform: skew(-15deg);
  scale: 0 1;
  transition: scale 0.5s;
  transform-origin: 0;
  z-index: -144;
}

.btn:hover::before {
  transform: skew(-15deg);

  scale: 1;
}

.btn:hover {
  color: var(--mainColor);
}

.profile-photo {
  margin-bottom: 2rem;

  border-radius: 50%;

  outline: 2px solid #20bf55;
  outline-offset: 2px;

  width: 17rem;
  height: 17rem;
}
