/* reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

:root {
  /* colors */
  --primary-color: #08aa8a;
  --secondary-color: #045124;
  --background-color: #f4f4f4;

  --gray-1: #333;
  --gray-2: #666;
  --gray-3: #999;
  --gray-4: #ddd;
  --gray-5: #f4f4f4;

  --green-1: #e6f4ea;
  --green-2: #c8e6d3;
  --green-3: #a9d8bb;
  --green-4: #8bcaa4;
  --green-5: #6cbf8e;
}

/* styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: VAR(--gray-5);
  background: #262926;
  background: linear-gradient(
    187deg,
    rgba(38, 41, 38, 1) 0%,
    rgba(47, 64, 47, 1) 50%
  );
}

main,
main .content {
  width: 100%;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ro {
  border: 1px solid red;
}

.hight-full {
  height: 100vh;
}

.weight-full {
  width: 100vw;
}

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

/** flexbox helpers */
.d-flex {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}
.align-items-center {
  align-items: center;
}
.align-items-start {
  align-items: flex-start;
}

.align-items-stretch {
  align-items: stretch;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: flex-start;
}
.justify-content-space-between {
  justify-content: space-between;
}

.mb-0 {
  margin-bottom: 0;
}

.my-lg {
  margin: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: auto;

  padding: 20px;
  border-radius: 5px;
}
.avatar {
  text-align: center;
}
.avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

p {
  color: var(--gray-4);
}
ul {
  list-style: none;
  padding: 0;
}
ul:not(.menu) li {
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  padding: 10px;
  border-left: 4px solid var(--primary-color);
}

.separator {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

.chip {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 25px;
  font-size: 0.9em;
}

.chip-outlined {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  color: var(--primary-color);
  border-radius: 25px;
  font-size: 0.9em;
  border: 2px solid var(--primary-color);
}

.chip-outlined:hover {
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
}

.chip:hover {
  background: var(--secondary-color);
  cursor: pointer;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.text-center {
  text-align: center !important;
}

.experience {
  gap: 20px;
  align-items: flex-start;
}

.job {
  margin-bottom: 20px;
  flex: 1 0 450px;
}

.personal-info {
  margin-top: 10px;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.personal-info .block1 {
  flex: 0 0 30%;
  text-align: center;
}

.personal-info .block2 {
  flex: 1 0 350px;
}

.personal-info .block1 h1 {
  margin: 0;
  padding: 0;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.skill-level {
  align-items: center;
  margin-top: 10px;
  flex: 1 0 300px;
  border: 1px solid var(--gray-);
  align-content: flex-start;
  margin-right: -1px;
  border: 1px solid var(--gray-3);
  padding: 12px;
  border-top: none;
  border-bottom: none;
}

.skill p:not(.chip) {
  margin: 10px;
  padding: 2px;
  font-size: 0.9em;
  max-width: 900px;
}

.job,
.job ul,
.job ul li .job ul li > * {
  width: 100%;
}

.job ul li:hover {
  border-width: 12px;
  cursor: pointer;
  background-color: var(--secondary-color);
}

.job ul li {
  transition: all 0.2s ease-in-out;
  color: var(--green-5);
}

.job ul li strong {
  color: var(--green-3);
}

@media (max-width: 600px) {
  .profile .block1 {
    flex: 1 0 100%;
  }

  .job {
    flex: 1 0 100%;
  }
}

@media (min-width: 1240px) {
  .container {
    padding: 16px 0;
  }
}

.menu li {
  padding: 8px 12px;
  cursor: pointer;
  text-transform: uppercase;
  border: 1px solid transparent;

  a {
    color: var(--green-4);
  }

  &:hover {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    & a {
      text-decoration: none;
      color: white;
    }
  }
}

header {
  background: #262926;
  background: linear-gradient(
    270deg,
    rgba(38, 41, 38, 1) 0%,
    rgba(47, 64, 47, 1) 50%,
    rgba(38, 41, 38, 1) 100%
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

header.h-sticky {
  animation: slide-down 0.4s ease-out forwards;
}

.h-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo p {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 0.9;
  color: var(--green-3);
}

.logo small {
  color: var(--primary-color);
}

.profile,
.stack,
.skill,
.experience {
  padding: 40px 0;
  min-height: 300px;
  width: 100%;
}

.contact a {
  display: inline-block;
  margin-left: 8px;
}

.color-g4 {
  color: var(--green-4) !important;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
