@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;600&display=swap");
:root {
  --color-primary: #969392;
  --color-primary-light: #b47d6b;
  --color-primary-dark: #4c4948;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #333;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2rem 5rem rgba(0, 0, 0, 0.06);
  --line: 1px solid var(--color-grey-light-2);
}

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-grey-dark-1);
}
body.color {
  min-height: 100vh;
  background: linear-gradient(-45deg, var(--color-primary), var(--color-primary-dark));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-1-5 {
  margin-left: 1.5rem;
}

.color-1 {
  color: var(--color-primary);
}

.color-2 {
  color: var(--color-primary-light);
}

.color-3 {
  color: white;
}

.font-1 {
  font-family: "Raleway", sans-serif;
}

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

.text-end {
  text-align: right;
}

.heading__1 {
  text-transform: uppercase;
  border-bottom: 1px solid white;
  text-align: right;
}
.heading__2 {
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 200;
}

.btn-1 {
  display: inline-block;
  border: none;
  background: transparent;
  text-decoration: none;
  color: var(--color-grey-dark-1);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-1:hover, .btn-1:active {
  color: var(--color-primary-light);
}
.btn-1:disabled,
.btn-1 .disabled {
  pointer-events: none;
  color: var(--color-grey-dark-3);
}
.btn-1.larger {
  font-size: 1.2rem;
}
.btn-1.full-size {
  display: block;
}

.link-1 {
  display: block;
  text-decoration: none;
  color: var(--color-primary-light);
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.2s;
}
.link-1::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 0;
  background-color: var(--color-primary-light);
  border-radius: 100rem;
  transition: all 0.5s;
}
.link-1:hover::after {
  width: 100%;
}

.link-logo {
  display: inline-block;
  transition: all 0.2s;
}
.link-logo:hover {
  transform: translateY(0.5rem);
}

/* Loader 1 */
.loader-1 {
  margin: 0 auto;
  height: 32px;
  width: 32px;
  -webkit-animation: loader-1-1 4.8s linear infinite;
  animation: loader-1-1 4.8s linear infinite;
}

@-webkit-keyframes loader-1-1 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes loader-1-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-1 span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 32px;
  width: 32px;
  clip: rect(0, 32px, 32px, 16px);
  -webkit-animation: loader-1-2 1.2s linear infinite;
  animation: loader-1-2 1.2s linear infinite;
}

@-webkit-keyframes loader-1-2 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(220deg);
  }
}
@keyframes loader-1-2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(220deg);
  }
}
.loader-1 span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 32px;
  width: 32px;
  clip: rect(0, 32px, 32px, 16px);
  border: 3px solid #FFF;
  border-radius: 50%;
  -webkit-animation: loader-1-3 1.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  animation: loader-1-3 1.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@-webkit-keyframes loader-1-3 {
  0% {
    -webkit-transform: rotate(-140deg);
  }
  50% {
    -webkit-transform: rotate(-160deg);
  }
  100% {
    -webkit-transform: rotate(140deg);
  }
}
@keyframes loader-1-3 {
  0% {
    transform: rotate(-140deg);
  }
  50% {
    transform: rotate(-160deg);
  }
  100% {
    transform: rotate(140deg);
  }
}
.tag-group > li, .project-list > a .tag {
  display: inline-block;
  background-color: var(--color-primary-light);
  font-size: 12px;
  color: white;
  padding: 0.1rem 0.75rem;
  border-radius: 100rem;
}

.profile {
  display: grid;
  grid-template-columns: 350px auto;
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "side-1 main" "side-2 main" "side-3 main";
}
@media only screen and (max-width: 767px) {
  .profile {
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto;
    grid-template-areas: "side-1 side-2" "side-1 side-3" "main main";
  }
}
@media only screen and (max-width: 575px) {
  .profile {
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: "side-1" "side-2" "side-3" "main";
  }
}
.profile__left {
  padding: 0 2rem 1rem;
  background-color: var(--color-primary-dark);
  color: white;
}
@media only screen and (max-width: 767px) {
  .profile__left {
    padding-bottom: 0;
  }
}
.profile__left--top {
  padding: 2rem;
  margin-bottom: 1rem;
  background-color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
}
@media only screen and (max-width: 767px) {
  .profile__left--top {
    height: 100%;
  }
}
@media only screen and (max-width: 575px) {
  .profile__left--top {
    max-width: 286px;
    height: auto;
    margin: 0 auto;
  }
}
.profile__left--top > p {
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}
.profile__left--top > img {
  display: block;
  width: 100%;
}
.profile__left--name {
  grid-area: side-1;
}
.profile__left--contact {
  grid-area: side-2;
}
@media only screen and (max-width: 767px) {
  .profile__left--contact {
    padding-top: 1rem;
    padding-left: 0;
  }
}
@media only screen and (max-width: 575px) {
  .profile__left--contact {
    padding-left: 1rem;
  }
}
.profile__left--skill {
  grid-area: side-3;
}
@media only screen and (max-width: 767px) {
  .profile__left--skill {
    padding-bottom: 1rem;
    padding-left: 0;
  }
}
@media only screen and (max-width: 575px) {
  .profile__left--skill {
    padding-left: 1rem;
  }
}
.profile__right {
  padding: 2rem;
  grid-area: main;
}

.icon-box {
  display: flex;
  align-items: center;
}
.icon-box__icon {
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  font-size: 1.25rem;
  border-radius: 3rem;
  margin-right: 1rem;
  color: var(--color-primary-dark);
}
.icon-box__tit {
  color: var(--color-primary);
}
.icon-box__text {
  color: white;
}

.skill-box {
  display: flex;
  justify-content: space-between;
}
.skill-box__tit {
  margin-bottom: 0;
}
.skill-box__level {
  display: flex;
  gap: 0.4rem;
  margin: 0.2rem 0;
}
.skill-box__level > i {
  display: block;
  background-color: var(--color-primary);
  border-radius: 10px;
  width: 5px;
}

.time-line {
  display: flex;
}
.time-line__period {
  min-width: 200px;
  flex-basis: 200px;
  text-align: right;
  padding: 1rem;
  margin-right: 1rem;
  border-right: 1px solid var(--color-grey-dark-1);
  position: relative;
}
@media only screen and (max-width: 1199px) {
  .time-line__period {
    min-width: 120px;
    flex-basis: 120px;
    padding-left: 0;
  }
}
.time-line__period::after, .time-line__period::before {
  content: "";
  display: block;
  border-radius: 100rem;
  position: absolute;
}
.time-line__period::before {
  background-color: var(--color-grey-dark-1);
  height: 8px;
  width: 8px;
  right: -4px;
  top: 26px;
}
.time-line__period::after {
  border: 1px solid var(--color-grey-dark-1);
  height: 12px;
  width: 12px;
  right: -6px;
  top: 24px;
}
.time-line__txt {
  flex-grow: 1;
  padding: 1rem;
}
@media only screen and (max-width: 575px) {
  .time-line__txt {
    padding-right: 0;
  }
}

header, main, footer {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  background-color: white;
}

header {
  padding: 3rem 0 0;
  text-align: center;
}
header .logo {
  width: auto;
  height: 36px;
  margin-bottom: 1rem;
}

main {
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  white-space: nowrap;
  min-height: calc(100vh - 251px);
}

footer {
  padding: 1rem;
}

nav {
  padding: 1rem 0 4rem;
}
nav > ol {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media only screen and (max-width: 767px) {
  nav > ol {
    display: block;
    white-space: nowrap;
    overflow-x: scroll;
    text-align: center;
  }
}
nav > ol > li {
  text-align: center;
  min-width: 160px;
  margin: 0.5rem;
}
@media only screen and (max-width: 767px) {
  nav > ol > li {
    display: inline-block;
    min-width: auto;
    margin: 0.5rem 0.375rem;
  }
}
nav > ol > li button {
  width: 100%;
  color: var(--color-primary-dark);
  border: none;
  border-bottom: 1px solid var(--color-primary-dark);
  background-color: transparent;
  padding: 0.5rem 1.5rem;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  nav > ol > li button {
    padding: 0.5rem 0.75rem;
  }
}
nav > ol > li button.active, nav > ol > li button:hover {
  color: white;
  background-color: var(--color-primary-light);
}

footer {
  color: white;
  background-color: var(--color-primary-dark);
  text-align: center;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1rem;
  padding-bottom: 4rem;
}
@media only screen and (max-width: 767px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 575px) {
  .project-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.project-list > a {
  display: block;
}
.project-list > a .img {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid white;
}
.project-list > a .img > img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.project-list > a .img::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.2s;
}
.project-list > a .img .text {
  position: absolute;
  text-align: center;
  width: 100%;
  color: white;
  top: 100%;
  z-index: 5;
  transition: all 0.2s;
}
.project-list > a .tag {
  margin-top: 0.5rem;
}
.project-list > a:hover .img::after {
  background-color: rgba(0, 0, 0, 0.65);
}
.project-list > a:hover .img .text {
  top: 50%;
  transform: translateY(-50%);
}

.menu-side, .page-side {
  transition: all 0.5s;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  white-space: normal;
  margin-left: 0;
  padding: 0 1.5rem;
}

.menu-side.no-active {
  margin-left: calc(-100% - 5px);
  opacity: 0;
}

.page-side {
  color: var(--color-primary-dark);
}
.page-side.no-active {
  opacity: 0;
}
.page-side img {
  border-radius: 3px;
  border: 1px solid white;
}
.page-side article a {
  color: var(--color-primary-light);
}
.page-side article a:hover {
  text-decoration: none;
}

.tag-group {
  list-style: none;
  padding: none;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.flex-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
@media only screen and (max-width: 575px) {
  .flex-box {
    flex-direction: column;
  }
}
.flex-box > * {
  flex: 1;
}
.flex-box img {
  max-width: 100%;
}

.center-box {
  display: grid;
  place-content: center;
}

@media print {
  @page {
    margin: 0.5cm;
    size: A4 portrait;
  }
  body {
    font-size: 56.25%;
    -webkit-print-color-adjust: exact;
  }
  .profile {
    grid-template-columns: 190px auto;
    min-height: 100vh;
  }
  .profile__left {
    padding: 0 15px;
  }
  .profile__left--top {
    padding: 15px 10px 5px 10px;
  }
  .profile__left--top img {
    display: inline-block;
    width: 100%;
    max-width: 100%;
  }
  .profile__left--top > p {
    margin-bottom: 10px;
  }
  .profile__right {
    padding: 15px;
  }
  .time-line__period {
    min-width: 100px;
    flex-basis: 100px;
    padding: 10px 20px 10px 0;
  }
  .time-line__period::before {
    top: 16px;
  }
  .time-line__period::after {
    top: 14px;
  }
  .time-line__txt {
    padding: 10px 0 10px 10px;
  }
  .mb-2 {
    margin-bottom: 1rem;
  }
  .heading__2.mb-1 {
    margin-bottom: 10px;
  }
  .icon-box__icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    margin-right: 10px;
  }
  .skill-box__level {
    gap: 3px;
  }
  .skill-box__level > i {
    width: 3px;
  }
  a {
    text-decoration: none;
  }
  .no-print {
    display: none;
  }
}/*# sourceMappingURL=main.css.map */