@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap");

:root {
  /* --Font weight */
  --fw-light: 300;
  --fw-default: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --fw-bold: 700;

  /* Colors */
  --blue-primary: #3678ad;
  --blue-tint: #4dabf7;
  --blue-tint-lighter: #82c4f9;
  --blue-tint-lightest: #edf7fe;
  --blue-shade-darker: #17334a;
  --blue-shade-darkest: #081119;
  --grey-primary: #333;

  /* Spacing */
  --section-padding: 9.6rem 0;
}

/* ----------General Styles----------- */

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

body {
  font-family: "Rubik", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  overflow-x: hidden;
  position: relative;
}

img {
  width: 100%;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgb(77, 171, 247, 0.5);
}

.section {
  padding: var(--section-padding);
}

.grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
}

.title--lines {
  max-width: 140rem;
  margin: 0 auto 4.8rem;
  padding: 0 4.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: center;
  align-items: center;
  column-gap: 3.2rem;
}

.title--lines::before,
.title--lines::after {
  content: "";
  display: block;
  background-color: var(--blue-primary);
  height: 2px;
  width: 100%;
}

.heading {
  color: var(--blue-shade-darker);
  font-size: 5rem;
  font-weight: var(--fw-semi-bold);
  text-align: center;
  letter-spacing: -1px;
}

/* ----------Header----------- */

.header {
  background-color: var(--blue-tint-lightest);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
}

.header__nav {
  padding: 0 4.8rem;
  height: 9.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

.header__nav.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  z-index: 9999;
}

/* Mobile Nav */
.hamburger {
  display: none;
}

.header__list {
  display: flex;
  gap: 4.8rem;
  align-items: center;
  list-style: none;
}

.header__logo {
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 4px var(--blue-primary);
  border-radius: 50%;
  padding: 2.8rem;
  overflow: hidden;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.header__home-link:link,
.header__home-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--blue-primary);
  font-size: 3rem;
  font-weight: var(--fw-medium);
  padding: 2rem;
  transition: all 0.3s ease-out;
}


.header__link:link,
.header__link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--blue-shade-darker);
  font-size: 1.8rem;
  transition: all 0.3s ease-out;
}

.header__link:hover,
.header__link:active {
  color: var(--blue-tint);
}

.header__link--button:link,
.header__link--button:visited {
  background-color: var(--blue-primary);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 2.4rem;
}

.header__link--button:hover,
.header__link--button:active {
  background-color: var(--blue-tint);
}

/* ----------Hero section----------- */

.hero__section {
  background-color: var(--blue-tint-lightest);
  min-height: 100vh;
  position: relative;
}

.hero__container {
  max-width: 140rem;
  margin: 9.6rem auto;
  padding: 0 3.2rem;
  column-gap: 3.2rem;
  position: relative;
  z-index: 999;
}

.hero__subheading {
  display: inline-block;
  color: var(--blue-primary);
  font-size: 3.2rem;
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
}

.hero__heading {
  color: var(--blue-shade-darker);
  font-size: 5.4rem;
  margin-bottom: 0.8rem;
  font-weight: var(--fw-semi-bold);
  letter-spacing: -1px;
}

.hero__heading--secondary {
  color: var(--blue-shade-darkest);
  font-size: 5rem;
  margin-bottom: 2.4rem;
  font-weight: var(--fw-semi-bold);
  letter-spacing: -1px;
}

.hero__description {
  color: var(--blue-shade-darkest);
  font-size: 2.2rem;
  margin-bottom: 3.2rem;
  line-height: 1.3;
}

.hero__btn:link,
.hero__btn:visited {
  display: inline-block;
  text-decoration: none;
  background-color: var(--blue-primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 2.4rem;
  padding: 1.2rem 2.4rem;
  transition: all 0.3s ease-out;
}

.hero__btn:hover,
.hero__btn:active {
  background-color: var(--blue-tint);
}

.hero__socials {
  position: fixed;
  z-index: 99;
  left: 6.3rem;
  bottom: 0;
}

.hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero__list::after {
  content: "";
  display: block;
  background-color: var(--blue-tint-lighter);
  width: 2px;
  height: 10rem;
}

.hero__link:link,
.hero__link:visited {
  text-decoration: none;
  color: var(--blue-tint-lighter);
  font-size: 3rem;
  transition: all 0.3s ease-out;
}

.hero__link:hover,
.hero__link:active {
  color: var(--blue-tint);
}

.hero__wave {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 1;
  transform: rotate(180deg);
}

.hero__wave svg {
  position: relative;
  display: block;
  width: calc(200% + 1.3px);
  height: 320px;
  transform: rotateY(180deg);
  transition: width 1.5s ease-out;
}

.hero__wave .wave {
  width: calc(100% + 1.3px);
}

.hero__wave .shape-fill {
  fill: #ffffff;
}

.hero__background {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10%;
  width: 100%;
  background-color: #fff;
}

/* ----------About section----------- */

.about__container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 4.8rem;
  column-gap: 4.8rem;
}

.about__text-box {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.about__text-box p {
  font-size: 2rem;
  color: var(--blue-shade-darkest);
  line-height: 1.3;
}

.about__img img {
  width: 75%;
}

/* ----------Projects section----------- */

.projects__section {
  background-color: var(--blue-tint-lightest);
}

.projects__container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 9.6rem;
}

.project {
  column-gap: 6.4rem;
}

.project__name {
  font-size: 3rem;
  margin-bottom: 1.6rem;
  color: var(--blue-primary);
  font-weight: var(--fw-medium);
}

.project__description {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--blue-shade-darkest);
  margin-bottom: 1.6rem;
}

.my-anime-faves__description {
  margin-bottom: 0.6rem;
}

.project__login {
  color: var(--blue-shade-darkest);
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.6rem;
  gap: 4px;
}

.project__technologies {
  font-size: 1.8rem;
  margin-bottom: 2.4rem;
  color: var(--blue-shade-darkest);
}

.project__login span {
  font-weight: var(--fw-medium);
}

.project__technologies span {
  font-weight: var(--fw-medium);
}

.project__link:link,
.project__link:visited {
  display: inline-block;
  text-decoration: none;
  background-color: var(--blue-primary);
  color: #fff;
  border-radius: 2rem;
  font-size: 1.8rem;
  padding: 0.8rem 1.6rem;
  transition: all 0.3s ease-out;
}

.project__link:hover,
.project__link:active {
  background-color: var(--blue-tint);
}

.project__img-link {
  height: 30rem;
  display: inline-block;
  border-radius: 1rem;
  overflow: hidden;
}

.project__img-link img {
  height: 100%;
  transition: all 0.2s ease-out;
}

.project__img-link img:hover {
  transform: scale(1.3);
}

/* ----------Skills section----------- */

.skills__section {
  text-align: center;
}

.skills__logos {
  max-width: 50rem;
  margin: 0 auto;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.skills__logo-box {
  grid-column: 2 span;
  height: 100%;
}

.skills__logo-box:nth-child(4) {
  grid-column: 2/4;
}

.skills__img {
  height: 70%;
  margin-bottom: 1.2rem;
}

.skills__logo-box:nth-child(4) img {
  transform: scale(1.2);
}

.skills__text {
  font-size: 1.8rem;
  color: var(--blue-shade-darker);
  font-weight: var(--fw-medium);
}

.skills__description {
  font-size: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--blue-primary);
  font-weight: var(--fw-light);
}

.skills__category {
  font-weight: var(--fw-medium);
}

/* ----------Contact section----------- */

.contact__section {
  background-color: var(--blue-tint-lightest);
}

.contact__container {
  max-width: 70rem;
  margin: 0 auto;
  color: var(--blue-shade-darkest);
}

.contact__info {
  margin-bottom: 3.2rem;
  font-size: 2rem;
}

.contact__message {
  margin-bottom: 1.2rem;
}

.contact__email:link,
.contact__email:visited {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-size: 1.8rem;
  font-weight: var(--fw-light);
  transition: all 0.2s ease-out;
}

.contact__email:hover,
.contact__email:active {
  color: var(--blue-primary);
}

.contact__icon {
  color: var(--blue-primary);
}

.contact__form {
  display: flex;
  flex-direction: column;
}

.contact__form *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgb(77, 171, 247, 0.5);
}

.contact__form label {
  font-size: 1.6rem;
  font-weight: var(--fw-medium);
  margin-bottom: 1.2rem;
}

.contact__form input,
.contact__form textarea {
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  color: var(--blue-shade-darker);
  font-family: inherit;
  padding: 1.2rem;
  margin-bottom: 2.4rem;
}

.contact__form-btn {
  display: inline-block;
  background-color: var(--blue-primary);
  color: #fff;
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: var(--fw-semi-bold);
  border: none;
  padding: 1.6rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.contact__form-btn:hover {
  background-color: var(--blue-tint);
}

/* ----------Footer----------- */
.footer {
  text-align: center;
  background-color: var(--blue-tint-lightest);
  color: var(--blue-shade-darker);
  font-size: 1.4rem;
  padding-bottom: 2.4rem;
}
