/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
        Change favorite color
        Default: hsl(230, 55%, 55%)
        Purple: hsl(245, 55%, 55%) - Blue: hsl(210, 55%, 55%)
        Pink: hsl(340, 55%, 55%) - Green: hsl(162, 55%, 55%)
        Orange: hsl(14, 55%, 55%)

        For more colors visit: https://colors.dopely.top/color-pedia
        -> Choose any color 
        -> Click on tab (Color Conversion)
        -> Copy the color mode (HSL)
  */
  --hue: 230;
  --first-color: hsl(var(--hue), 55%, 55%);
  --first-color-light: hsl(var(--hue), 55%, 65%);
  --first-color-alt: hsl(var(--hue), 50%, 50%);
  --title-color: hsl(var(--hue), 30%, 95%);
  --text-color: hsl(var(--hue), 20%, 80%);
  --text-color-light: hsl(var(--hue), 20%, 70%);
  --body-color: hsl(var(--hue), 40%, 16%);
  --container-color: hsl(var(--hue), 40%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --biggest-font-size: 3rem;
  --big-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 5.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1.125rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
input,
textarea,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  border: none;
  outline: none;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

p {
  line-height: 130%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 2rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

.nav__lang {
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav__lang-btn {
  background-color: var(--container-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--title-color);
  padding: 0.4rem 0.8rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.nav__lang-btn:hover {
  background-color: var(--first-color);
  color: var(--title-color);
  border-color: var(--first-color-light);
}

.nav__toggle, 
.nav__close {
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(var(--hue), 70%, 4%, .2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 80%;
    height: 100%;
    padding: 7rem 3rem;
    transition: right .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--first-color-light);
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .3s;
}

.nav__link:hover {
  color: var(--first-color-light);
}

.nav__link:hover::after {
  width: 30%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Add blur header */
.blur-header::after {
  content: "";
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(var(--hue), 70%, 4%, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link {
  color: var(--first-color-light);
}

.active-link::after {
  width: 30%;
}

/*=============== HOME ===============*/
.home__container {
  row-gap: 2rem;
  padding-top: 1rem;
}

.home__img {
  width: 220px;
  justify-self: center;
  mask-image: linear-gradient(to bottom, 
              hsla(var(--hue), 40%, 16%) 60%, 
              transparent 100%);
  animation: floating 5s ease-in-out infinite;
}

/* Floating animation */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow Circles Background Decor */
.glow-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, hsla(var(--hue), 55%, 55%, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.glow-circle-home-1 {
  top: 10%;
  left: -5%;
}

.glow-circle-home-2 {
  bottom: 15%;
  right: -5%;
}

.glow-circle-1 {
  top: 20%;
  right: -10%;
}

.home, .work {
  position: relative;
}

.section__title-icon {
  color: var(--first-color-light);
  margin-right: 0.5rem;
  font-size: 1.1em;
  vertical-align: middle;
}

.home__name {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  word-break: break-word;
  margin-bottom: 1rem;
}

.home__profession {
  position: relative;
  font-size: var(--big-font-size);
  color: var(--text-color);
}

.home__profession::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 25%;
  height: 3px;
  background-color: var(--text-color);
}

.home__buttons {
  margin-top: 2.5rem;
}

.home__button {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: var(--small-font-size);
  box-shadow: 0 4px 15px hsla(var(--hue), 55%, 55%, 0.25);
  transition: transform .3s, background-color .4s;
}

.home__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--hue), 55%, 55%, 0.35);
}

.home__button i {
  font-size: 1.1rem;
  transition: transform .3s;
}

.home__button:hover i {
  transform: translateY(2px);
}

.home__scroll {
  color: var(--title-color);
  display: inline-flex;
  column-gap: .5rem;
  align-items: center;
  justify-self: center;
  margin-top: 3.5rem;
}

.home__scroll-box {
  background-color: var(--first-color);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.home__scroll-text {
  font-weight: var(--font-semi-bold);
}

.home__scroll-box i {
  animation: scroll-down 3s infinite;
}

/* Animate scroll icon */
@keyframes scroll-down {
  0% {
    transform: translateY(-1rem);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(.6rem);
    opacity: 0;
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  justify-content: center;
  background-color: var(--first-color);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 2rem;
  transition: background-color .4s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

/*=============== WORKS ===============*/
.work {
  background-color: var(--container-color);
}

.work__filters {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
  margin-bottom: 2.5rem;
}

.work__filter-btn {
  background-color: var(--container-color);
  color: var(--text-color);
  padding: 0.6rem 1.2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.work__filter-btn:hover {
  background-color: var(--first-color);
  color: var(--title-color);
  box-shadow: 0 4px 12px hsla(var(--hue), 55%, 55%, 0.25);
}

.work__filter-btn.active-filter {
  background-color: var(--first-color);
  color: var(--title-color);
  border-color: var(--first-color-light);
  box-shadow: 0 4px 15px hsla(var(--hue), 55%, 55%, 0.4);
}

/* CAROUSEL */
.work__carousel-container {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 3.5rem;
}

.work__carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.work__carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 2.5rem;
}

.work__card {
  flex: 0 0 100%;
  width: 100%;
  background: hsla(var(--hue), 40%, 20%, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.work__card:hover {
  transform: translateY(-0.5rem);
  border-color: hsla(var(--hue), 55%, 65%, 0.3);
  box-shadow: 0 12px 24px hsla(var(--hue), 70%, 4%, 0.4), 
              0 0 15px hsla(var(--hue), 55%, 55%, 0.15);
}

.work__link {
  display: block;
  position: relative;
  background-color: transparent !important;
  padding: 0 !important;
  color: var(--text-color);
  transition: none !important;
}

.work__link:hover {
  transform: none !important;
}

.work__img-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.work__card:hover .work__img {
  transform: scale(1.08);
}

.work__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: hsla(var(--hue), 40%, 16%, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--first-color-light);
  padding: 0.35rem 0.75rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.work__info {
  padding: 1.5rem 1.5rem 1.75rem;
}

.work__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
}

.work__title .card-icon {
  color: var(--first-color-light);
  font-size: 1.25rem;
}

.work__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.work__button-text {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color-light);
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  transition: color 0.4s;
}

.work__button-text i {
  font-size: 1.1rem;
  transition: transform 0.4s;
}

.work__card:hover .work__button-text {
  color: var(--title-color);
}

.work__card:hover .work__button-text i {
  transform: translateX(0.25rem);
}

/* CAROUSEL CONTROLS */
.work__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--container-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--title-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.work__carousel-btn:hover {
  background-color: var(--first-color);
  color: var(--title-color);
  border-color: var(--first-color-light);
  box-shadow: 0 4px 15px hsla(var(--hue), 55%, 55%, 0.4);
}

.work__carousel-btn--prev {
  left: 0rem;
}

.work__carousel-btn--next {
  right: 0rem;
}

.work__carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.work__carousel-dots {
  display: flex;
  justify-content: center;
  column-gap: 0.5rem;
  margin-top: 2rem;
}

.work__carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: hsl(var(--hue), 20%, 30%);
  cursor: pointer;
  transition: background-color 0.4s, transform 0.4s;
}

.work__carousel-dot:hover {
  background-color: var(--first-color-light);
}

.work__carousel-dot.active-dot {
  width: 24px;
  border-radius: 5px;
  background-color: var(--first-color);
  box-shadow: 0 0 10px hsla(var(--hue), 55%, 55%, 0.5);
}

/*=============== INFO ===============*/
.info__container {
  row-gap: 3rem;
}

.info__title {
  position: relative;
  font-size: var(--small-font-size);
  color: var(--text-color);
  margin-bottom: 2rem;
}

.info__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
}

/* ABOUT */
.about {
  row-gap: 3rem;
}

.about__description {
  margin-bottom: 2rem;
}

.about__description b {
  color: var(--first-color-light);
}

.about__img {
  width: 250px;
  justify-self: center;
  mask-image: linear-gradient(to bottom, 
              hsla(var(--hue), 40%, 16%) 60%, 
              transparent 100%);
  animation: floating 5s ease-in-out infinite 0.5s;
}

.about__button {
  width: 100%;
}

/* EXPERIENCE */
.experience__content {
  row-gap: 2rem;
}

.experience__content {
  row-gap: 2rem;
}

.experience__data {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 1.5rem;
  position: relative;
}

.experience__company {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  align-self: center;
}

.experience__timeline {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.experience__circle {
  width: 32px;
  height: 32px;
  background-color: var(--body-color);
  border: 2px solid var(--first-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s, color 0.4s, box-shadow 0.4s;
  color: var(--first-color-light);
  font-size: 1rem;
  box-shadow: 0 0 10px hsla(var(--hue), 55%, 55%, 0.15);
}

.experience__data:hover .experience__circle {
  background-color: var(--first-color);
  border-color: var(--title-color);
  color: var(--title-color);
  transform: scale(1.15);
  box-shadow: 0 0 15px hsla(var(--hue), 55%, 55%, 0.4);
}

.experience__line {
  position: absolute;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: hsl(var(--hue), 20%, 30%);
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.experience__data:last-child .experience__line {
  display: none;
}

.experience__info {
  grid-column: 2;
  grid-row: 2;
  padding-bottom: 1.5rem;
}

.experience__profession {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
  color: var(--title-color);
}

.experience__date {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .75rem;
  color: var(--first-color-light);
  font-weight: var(--font-semi-bold);
}

/* EDUCATION */
.education__content {
  row-gap: 2rem;
}

.education__data {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 1.5rem;
  position: relative;
}

.education__institution {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  align-self: center;
}

.education__timeline {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.education__circle {
  width: 32px;
  height: 32px;
  background-color: var(--body-color);
  border: 2px solid var(--first-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s, color 0.4s, box-shadow 0.4s;
  color: var(--first-color-light);
  font-size: 1rem;
  box-shadow: 0 0 10px hsla(var(--hue), 55%, 55%, 0.15);
}

.education__data:hover .education__circle {
  background-color: var(--first-color);
  border-color: var(--title-color);
  color: var(--title-color);
  transform: scale(1.15);
  box-shadow: 0 0 15px hsla(var(--hue), 55%, 55%, 0.4);
}

.education__line {
  position: absolute;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: hsl(var(--hue), 20%, 30%);
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.education__data:last-child .education__line {
  display: none;
}

.education__info {
  grid-column: 2;
  grid-row: 2;
  padding-bottom: 1.5rem;
}

.education__degree {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
  color: var(--title-color);
}

.education__grade {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-size: var(--small-font-size);
  margin-bottom: .75rem;
  color: var(--first-color-light);
  font-weight: var(--font-semi-bold);
}

.education__grade i {
  font-size: 1rem;
}

.education__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.4;
}

/* SKILLS */
.skills__img {
  width: 35px;
  margin-bottom: .5rem;
}

.skills__name {
  font-size: var(--small-font-size);
}

.skills__content {
  grid-template-columns: repeat(3, max-content);
  justify-content: space-around;
  align-items: flex-end;
}

.skills__box {
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.skills__box:hover {
  transform: translateY(-.25rem);
}

.skills__icon {
  font-size: 2.5rem;
  color: var(--first-color-light);
  margin-bottom: .5rem;
}

/*=============== SERVICES ===============*/
.services {
  background-color: var(--container-color);
}

.services__container {
  row-gap: 2rem;
}

.services__card {
  background: hsla(var(--hue), 40%, 20%, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.services__card:hover {
  transform: translateY(-0.5rem);
  border-color: hsla(var(--hue), 55%, 65%, 0.3);
  box-shadow: 0 12px 24px hsla(var(--hue), 70%, 4%, 0.4), 
              0 0 15px hsla(var(--hue), 55%, 55%, 0.1);
}

.services__icon {
  display: block;
  color: var(--first-color-light);
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 4rem;
}

.contact__group, 
.contact__form {
  gap: 1rem;
}

.contact__form {
  position: relative;
}

.contact__input {
  padding: 1.25rem;
  background-color: hsla(var(--hue), 40%, 20%, 0.4) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.contact__input::placeholder {
  color: var(--text-color-light);
}

.contact__input:focus {
  border-color: var(--first-color-light);
  box-shadow: 0 0 10px hsla(var(--hue), 55%, 55%, 0.2);
}

.contact__area {
  height: 10rem;
  resize: none;
}

.contact__button {
  margin-top: 1rem;
  cursor: pointer;
}

.contact__social {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  column-gap: 3rem;
}

.contact__social-link {
  color: var(--title-color);
  display: inline-flex;
  column-gap: .25rem;
  align-items: center;
  transition: color .4s;
}

.contact__social-link i {
  font-size: 1.5rem;
}

.contact__social-link span {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.contact__social-link:hover {
  color: var(--first-color-light);
}

.contact__message {
  position: absolute;
  left: 0;
  bottom: -2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--container-color);
}

.footer__container {
  padding-block: 3rem 2rem;
  row-gap: 3rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  column-gap: 2.5rem;
}

.footer__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.footer__link:hover {
  color: var(--first-color-light);
}

.footer__copy {
  color: var(--title-color);
  font-size: var(--small-font-size);
  text-align: center;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: hsl(var(--hue), 20%, 20%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(var(--hue), 20%, 30%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--hue), 20%, 40%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  display: inline-flex;
  padding: 6px;
  color: var(--title-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(var(--hue), 30%, 8%, .3);
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .container {
    margin-inline: 1rem;
  }

  .skills__content {
    grid-template-columns: repeat(2, max-content);
  }
}

/* For medium devices */
@media screen and (min-width: 540px) {
  .home__container,
  .work__container,
  .info__container,
  .services__container,
  .contact__container {
    grid-template-columns: 350px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }

  .home__container {
    grid-template-columns: repeat(2, 350px);
  }
  .home__data {
    align-self: flex-end;
    padding-bottom: 3rem;
    order: -1;
  }
  .home__scroll {
    grid-column: 1/3;
  }

  .work__container {
    grid-template-columns: repeat(2, 350px);
  }

  .info__container {
    grid-template-columns: initial;
  }

  .about {
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }
  .about__content {
    order: 1;
  }

  .experience__data {
    grid-template-columns: 200px 50px 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .experience__company {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    font-size: var(--h2-font-size);
  }

  .experience__timeline {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .experience__info {
    grid-column: 3;
    grid-row: 1;
  }
  
  .experience__line {
    height: calc(100% + 2rem);
  }

  .education__data {
    grid-template-columns: 200px 50px 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .education__institution {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    font-size: var(--h2-font-size);
  }

  .education__timeline {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .education__info {
    grid-column: 3;
    grid-row: 1;
  }
  
  .education__line {
    height: calc(100% + 2rem);
  }

  .skills__content {
    grid-template-columns: repeat(5, max-content);
    justify-content: initial;
    column-gap: 4rem;
  }
  .services__container {
    grid-template-columns: repeat(2, 320px);
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 5rem;
  }
  .section__title {
    margin-bottom: 4rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__menu {
    width: initial;
    margin-left: auto;
  }
  .nav__lang {
    margin-left: 2rem;
    margin-right: 0;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .home__container {
    grid-template-columns: 420px 350px;
    gap: 3rem 12rem;
  }
  .home__img {
    width: 350px;
  }
  .home__name {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
  }
  .home__profession::after {
    bottom: -1rem;
    width: 35%;
  }

  .work__container {
    grid-template-columns: repeat(2, 540px);
    gap: 2.5rem;
  }
  .work__link {
    padding: 0;
  }
  .work__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  .work__link i {
    font-size: 2rem;
  }

  .info__container {
    row-gap: 4rem;
  }
  .info__title {
    font-size: var(--normal-font-size);
    margin-bottom: 3.5rem;
  }

  .about {
    grid-template-columns: 320px 420px;
    column-gap: 11.5rem;
  }
  .about__img {
    width: 320px;
  }
  .about__description {
    margin-bottom: 3rem;
  }
  .about__button {
    width: initial;
  }

  .experience__content {
    row-gap: 4rem;
  }
  .experience__data {
    grid-template-columns: 320px 60px 380px;
    column-gap: 2.5rem;
  }
  
  .experience__line {
    height: calc(100% + 4rem);
  }
  .experience__company {
    font-size: var(--h1-font-size);
  }
  .experience__profession {
    margin-bottom: .5rem;
  }
  .experience__date {
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
  }

  .education__content {
    row-gap: 4rem;
  }
  .education__data {
    grid-template-columns: 320px 60px 380px;
    column-gap: 2.5rem;
  }
  
  .education__line {
    height: calc(100% + 4rem);
  }
  .education__institution {
    font-size: var(--h1-font-size);
  }

  .skills__content {
    grid-template-columns: repeat(6, max-content);
  }

  .services__container {
    grid-template-columns: repeat(2, 350px);
    gap: 6rem 13rem;
  }
  .services__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .contact__container {
    grid-template-columns: 580px;
  }
  .contact__group {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__area {
    height: 15rem;
  }
  .contact__button {
    width: max-content;
    justify-self: center;
    margin-top: 1.5rem;
  }
  .contact__message{
    bottom: 4.5rem;
  }
  .contact__social {
    grid-template-columns: repeat(3, max-content);
    column-gap: 5rem;
  }

  .footer__container {
    padding-block: 3rem;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .footer__links {
    column-gap: 4rem;
    order: 1;
  }

  .scrollup {
    right: 3rem;
  }
}
