html,
body {
  font-family: Arial;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  max-width: 100vw;
  background-color: #dee2e6;
  color: #0b0b0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5rem;
}

main {
  margin: 0.5rem;
  max-width: 1200px;
  width: 100%;
  overflow-x: hidden;
  z-index: 10;
  position: relative;
}


section {
  margin-top: 4rem;
  z-index: 10;
  position: relative;
}

table {
  width: 100%;
}

h1,
h2,
h3,
a {
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: 4rem;
}

p {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

::selection {
  color: #dee2e6;
  background-color: #0b0b0b;
}

a:focus,
a:hover {
  background-color: #0b0b0b;
  color: #dee2e6;
}

img {
  max-width: 100%;
}

.zoomIn {
  transform: scale(1.5);
}

.zoomIn {
  transform: scale(1.5);
}


.rotated {
  transform: rotate(90deg);
}

/* ------------------------TOP SECTION------------------------ */

.topSection {
  height: 98vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0;
}

.top h1 {
  position: sticky;
  top: 0;
}

.middle {
  align-self: flex-end;
  text-align: right;
}

.middle > ul {
  list-style: none;
}

.middle > ul > li {
  margin: 0.5rem;
  padding: 0.5rem;
}

.navlink {
  padding: 0.5rem;
}

/* .navItem a:active, .active {
    background-color: #0B0B0B;
    color: #DEE2E6;
} */

/* .navLink[aria-current="page"]{
    background-color: #0B0B0B;
    color: #DEE2E6;
} */

a:is(:link, :active, :visited).active {
  background-color: #0b0b0b;
  color: #dee2e6;
}

.bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 100%;
  align-items: flex-end;
}

.description {
  text-align: justify;
  max-width: 80%;
}

.icon {
  font-size: 2.5rem;
}

.workIcon {
  transition: all ease-out 900ms;
}

/* ------------------------------------------------ */

/* -----------------------RWD------------------ */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3rem;
  }

  a,
  p {
    font-size: 1.3rem;
  }

  table {
    font-size: 1.3rem;
  }

  .description {
    max-width: 60%;
  }

  .icon {
    font-size: 3.5rem;
  }

  .profileImg {
    width: 60%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .work {
    max-width: 50%;
  }

  .profileImg {
    width: 40%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  h1 {
    font-size: 8rem;
  }

  h2 {
    font-size: 4rem;
  }

  a,
  p {
    font-size: 1.6rem;
  }

  table {
    font-size: 1.8rem;
  }

  .description {
    max-width: 60%;
  }

  .icon {
    font-size: 4rem;
  }
}
