*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  background-color: #0A192F; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }
  @media screen and (max-width: 769px) {
    html {
      font-size: 50%; } }
  @media screen and (max-width: 550px) {
    html {
      font-size: 37.5%; } }

body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; }

.container {
  display: grid;
  grid-template-columns: [full-start] minmax(6rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 13rem) [col-end]) [center-end] minmax(6rem, 1fr) [full-end];
  grid-template-rows: auto 90vh repeat(2, min-content) 60vh 10rem; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Poppins,sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: var(--mainSpacing); }

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 1.25rem;
  color: var(--darkGrey); }

p {
  font-family: Proza Libre,sans-serif;
  font-size: 1.5rem;
  line-height: 25px; }

.contact {
  grid-column: center-start/center-end;
  align-self: center;
  justify-self: center;
  text-align: center; }
  .contact__title {
    font-size: 4rem;
    margin-bottom: 5rem;
    color: #CCD6F6;
    font-weight: 900; }
  .contact__phone {
    font-size: 3rem;
    color: #CCD6F6; }
  .contact__btn {
    width: 18rem;
    height: 6rem;
    margin-top: 3rem;
    font-size: 1.6rem;
    color: #41FBDA;
    background-color: #0A192F;
    border-radius: .4rem;
    border: 0.25rem solid #41FBDA;
    cursor: pointer;
    transition: all .3s ease; }
    .contact__btn a {
      text-decoration: none;
      color: #41FBDA;
      background-color: #0A192F; }

.links {
  width: 4rem;
  position: fixed;
  bottom: 0;
  left: 4rem;
  right: auto;
  z-index: 10; }
  .links::after {
    content: "";
    display: block;
    width: .1rem;
    height: 9rem;
    background-color: #909C9E;
    margin: 0 auto; }
  .links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    list-style: none;
    padding: 0 0 1.2rem; }
  .links .icon {
    display: list-item;
    font-size: 2.5rem;
    margin: 1.2rem 0;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    cursor: pointer;
    color: #7E8AA7;
    fill: #7E8AA7;
    width: 2.5rem;
    height: 2.5rem; }
    .links .icon:hover {
      fill: #41FBDA;
      transform: translateY(-5px); }
  @media screen and (max-width: 769px) {
    .links {
      display: none; } }

.header {
  grid-column: 1/-1;
  z-index: 100; }
  .header__main {
    grid-column: full-start/full-end;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4%;
    border-bottom: 0.1rem solid #CCD6F6;
    background-color: #0A192F;
    box-shadow: 0 2.5px 2px -2px #e7e7e7; }
    @media screen and (max-width: 769px) {
      .header__main {
        padding: 0.5rem 2%; } }
    .header__main .logo {
      height: 8rem;
      width: 8rem;
      cursor: pointer; }
      @media screen and (max-width: 769px) {
        .header__main .logo {
          height: 8rem;
          width: 8rem; } }
  .header .nav__links {
    list-style: none; }
    .header .nav__links li {
      display: inline-block;
      padding: 0 1rem; }
  .header a {
    font-size: 2rem;
    font-weight: 600; }
  .header .nav__link {
    background-color: #0A192F;
    color: #AFC5C7;
    outline: none;
    padding: .9rem 2rem;
    border: none;
    border-radius: .4rem;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease 0s; }
    .header .nav__link:hover {
      background-color: #41FBDA;
      color: #0A192F; }
  .header .btn {
    color: #41FBDA;
    padding: .9rem 3rem;
    margin-left: 1rem;
    background-color: #0A192F;
    border-radius: .4rem;
    border: 0.2rem solid #41FBDA;
    cursor: pointer;
    transition: all .3s ease 0s; }
    .header .btn:hover {
      background-color: #0d1b6d; }
  @media screen and (max-width: 769px) {
    .header .nav__link,
    .header .nav__link-resume {
      display: none; } }
  .header .toggle-button {
    display: inline-block;
    cursor: pointer;
    margin-top: .5rem; }
    .header .toggle-button__bar1, .header .toggle-button__bar2, .header .toggle-button__bar3 {
      width: 2.1rem;
      height: .25rem;
      background-color: #AFC5C7;
      margin: .4rem 0;
      border-radius: 1rem;
      transition: .3s; }
  @media screen and (min-width: 769px) {
    .header .toggle-button {
      display: none; } }

@media screen and (min-width: 769px) {
  .navigation {
    display: none; } }

.navigation__checkbox {
  display: none; }

.navigation__button {
  background-color: transparent;
  height: 7rem;
  width: 7rem;
  position: fixed;
  top: 1rem;
  right: 5rem;
  border-radius: 50%;
  z-index: 2000;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer; }

.navigation__nav {
  height: 100vh;
  align-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  opacity: 0;
  width: 50%;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }

.navigation__list {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  font-size: 5rem;
  color: #fff; }

.navigation__item {
  margin: 5rem; }

.navigation__link:link, .navigation__link:visited {
  font-size: 3rem;
  font-weight: 300;
  padding: 1rem 2rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background-size: 220%;
  transition: all .4s; }

.navigation__checkbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100%; }

.navigation__icon {
  position: relative;
  margin-top: 3.5rem; }
  .navigation__icon, .navigation__icon::before, .navigation__icon::after {
    width: 3rem;
    height: 2px;
    background-color: #fff;
    display: inline-block; }
  .navigation__icon::before, .navigation__icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: all .2s; }
  .navigation__icon::before {
    top: -.8rem; }
  .navigation__icon::after {
    top: .8rem; }

.navigation__button:hover .navigation__icon::before {
  top: -1rem; }

.navigation__button:hover .navigation__icon::after {
  top: 1rem; }

.navigation__checkbox:checked + .navigation__button .navigation__icon {
  background-color: transparent; }

.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
  top: 0;
  transform: rotate(135deg); }

.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
  top: 0;
  transform: rotate(-135deg); }

.email {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 4rem;
  position: fixed;
  bottom: 0;
  right: 4rem;
  left: auto;
  z-index: 10; }
  .email::after {
    content: "";
    display: block;
    width: .1rem;
    height: 9rem;
    background-color: #909C9E;
    margin: 0 auto; }
  .email a {
    display: inline-block;
    text-decoration: none;
    color: #7E8AA7;
    position: relative;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    writing-mode: vertical-rl;
    margin: 2rem auto;
    padding: 1rem;
    font-size: 1.7rem; }
    .email a:hover {
      color: #41FBDA;
      transform: translateY(-5px); }
  @media screen and (max-width: 769px) {
    .email {
      display: none; } }

.hero {
  grid-column: center-start/center-end;
  padding: 25% 0;
  height: 100%;
  align-self: center;
  justify-self: center; }
  .hero__content {
    padding: 5% 4%;
    display: grid;
    align-content: center;
    height: 100%; }
  .hero__text {
    margin: 0;
    font-size: 1.8rem;
    color: #41FBDA; }
  .hero__name, .hero h1 {
    margin: 0;
    font-size: 8rem;
    color: #CCD6F6;
    font-family: Poppins, sans-serif;
    font-weight: 900;
    letter-spacing: 2px; }
  .hero__dot {
    height: 1.5rem;
    width: 1.5rem;
    background-color: #CCD6F6;
    border-radius: 50%;
    display: inline-block; }
  .hero__subtitle, .hero h2 {
    margin-top: 2rem;
    font-size: 5rem;
    color: #7E8AA7;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    letter-spacing: 2px; }
  .hero__dot1 {
    height: 1rem;
    width: 1rem;
    background-color: #7E8AA7;
    border-radius: 50%;
    display: inline-block; }
  .hero__text-2 {
    padding: 3rem 0s;
    margin: 4rem 0;
    font-size: 1.8rem;
    color: #909C9E; }
  .hero__btn {
    width: 18rem;
    height: 6rem;
    margin-top: 3rem;
    font-size: 1.6rem;
    color: #41FBDA;
    background-color: #0A192F;
    border-radius: .4rem;
    border: 0.2rem solid #41FBDA;
    cursor: pointer;
    transition: all .3s ease; }
    .hero__btn:hover {
      background-color: #0d1b6d; }

.work {
  grid-column: center-start /center-end;
  padding: 15rem 4%; }
  @media screen and (max-width: 769px) {
    .work {
      padding: 15rem 0; } }
  .work__title {
    display: flex;
    font-size: 3.2rem;
    color: #CCD6F6; }
    .work__title::after {
      content: '';
      display: block;
      height: 1px;
      width: 30rem;
      background-color: #CCD6F6;
      position: relative;
      top: 2.5rem;
      margin-left: 20px; }
      @media screen and (max-width: 769px) {
        .work__title::after {
          width: 22vw;
          margin-left: 15px; } }
  .work__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto, 1fr);
    grid-row-gap: 10rem; }
    @media screen and (max-width: 769px) {
      .work__wrapper {
        grid-template-rows: 1fr;
        grid-row-gap: 5rem; } }

.project {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 3rem 0; }
  @media screen and (max-width: 769px) {
    .project {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 1fr;
      margin-bottom: 5rem; } }
  .project__img-wrapper {
    grid-column: 1/span 7;
    height: 100%; }
    @media screen and (max-width: 769px) {
      .project__img-wrapper {
        grid-row: 1/span 1;
        grid-column: 1; } }
  .project__img-wrapper1 {
    width: 100%;
    position: relative;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    border: 0.2rem solid #CCD6F6;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1); }
  .project__info {
    position: absolute;
    grid-column: 7/-1;
    z-index: 2;
    display: grid;
    grid-template-rows: 6rem 6rem min-content 6rem 6rem;
    background-color: transparent; }
    @media screen and (max-width: 769px) {
      .project__info {
        grid-column: 1;
        grid-row: 2;
        align-items: center;
        grid-template-rows: 3rem 5rem min-content 4rem 4rem; } }
  .project__info h5 {
    justify-self: self-end;
    align-self: center;
    color: #41FBDA;
    font-family: Space Mono, monospace;
    font-size: 1.3rem;
    margin: 0; }
    @media screen and (max-width: 769px) {
      .project__info h5 {
        padding-top: 2%;
        font-size: 1.2rem; } }
  .project__info h4 {
    justify-self: self-end;
    margin: 0;
    font-size: 2.8rem;
    color: #909C9E; }
    @media screen and (max-width: 769px) {
      .project__info h4 {
        font-size: 2.4rem; } }
  .project__about {
    width: 100%;
    color: #AFC5C7;
    height: auto;
    border: 0.2rem solid #CCD6F6;
    background-color: #172A45;
    padding: 4%;
    border-radius: 3px;
    font-size: 1.8rem; }
    .project__about p {
      background-color: #172A45; }
      @media screen and (max-width: 769px) {
        .project__about p {
          background-color: #0A192F; } }
    @media screen and (max-width: 769px) {
      .project__about {
        border: none;
        padding: 2% 0;
        box-shadow: none;
        background-color: #0A192F; } }
  .project__info ul {
    position: relative;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-self: self-end;
    align-self: center;
    z-index: 2;
    margin-left: 6rem;
    padding: 1rem; }
  .project__info ul li {
    font-size: 1.5rem;
    padding: 1rem;
    color: #909C9E; }
  .project__links {
    justify-self: self-end;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 2.5rem; }
  .project__icon {
    color: #CCD6F6;
    margin-left: 2rem;
    cursor: pointer;
    transition: all .3s ease-in;
    fill: #7E8AA7;
    width: 2.5rem;
    height: 2.5rem; }
    @media screen and (max-width: 769px) {
      .project__icon {
        margin-top: 1rem; } }

.about {
  display: grid;
  grid-column: center-start/center-end;
  grid-template-columns: repeat(5, 1fr);
  padding: 15rem 0;
  align-self: center; }
  .about__wrapper {
    grid-column: 2/-1;
    padding-right: 5%; }
  .about__title {
    display: flex;
    margin-bottom: 4rem;
    font-size: 3.2rem;
    color: #CCD6F6;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 2px; }
    .about__title::after {
      content: '';
      display: block;
      height: 1px;
      width: 30rem;
      background-color: #CCD6F6;
      position: relative;
      top: 2.5rem;
      margin-left: 20px; }
  .about__text {
    font-family: sans-serif;
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 1.25rem;
    color: #CCD6F6; }

.footer {
  grid-column: full-start/full-end;
  background-color: #0A192F;
  display: grid;
  grid-row-gap: 2rem;
  align-content: center;
  justify-content: center; }
  .footer__links ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
    list-style: none;
    padding: 0 0 1.2rem; }
  .footer__links .icon {
    display: list-item;
    font-size: 2.5rem;
    margin: 1.2rem 0;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    cursor: pointer;
    color: #7E8AA7;
    fill: #7E8AA7;
    width: 2.5rem;
    height: 2.5rem; }
  @media screen and (min-width: 769px) {
    .footer__links {
      display: none; } }
  .footer__text {
    text-align: center;
    color: #909C9E;
    font-family: sans-serif;
    font-size: 2rem;
    margin: 0;
    padding: 3rem;
    transition: cubic-bezier(0.6, -0.28, 0.735, 0.045);
    cursor: pointer; }
