@media screen and (max-width: 894px) {
  :root{
    /* PAGE SETTING */
    --page-width: 20.25rem;
    --header-height: 4.25rem;
  }
  main section, .footer-section {
    max-width: 100%;
    text-align: left;
  }
  .sub-header {
    padding-top: 2rem;
    padding-bottom: 6.375rem;
    text-align: left;
    width: 100%;
    height: fit-content;
  }
  #about-page .sub-header h2 {
    width: 19.8125rem;
  }

  .sub-header h2 {
    top: 2rem;
    font-size: 2.25rem;
    width: 19.8125rem;
  }
  .sub-header p {
    margin-top: 2rem;
    font-size: 1.125rem;
    width: 19.8125rem;
  }
  .sub-header p strong::after {
    -webkit-transform: scale(0.55); 
    -o-transform: scale(0.55);
    -moz-transform: scale(0.55);
    transform: scale(0.55);
    top: 1.5rem;
    left: -16pt;
  }
  .header-container {
    width: var(--page-width);
    margin: 1.125rem auto 0;
    transition: width 0s;
  }
  .header-container .logo {
    top: .5rem;
    left: 1rem;
    width: 33px;
    height: 47px;
  }
  #nav-menu-icon {
    top: 0.3rem;
    -webkit-transform: scale(0.75); 
    -o-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
  }
  .cards {
    grid-row: auto;
    flex-direction: column-reverse;
    width: var(--page-width);
    height: 29rem;
  }
  .cards:not(.experience) .description,
  .cards:not(.experience) .description.behance {
    padding: 2rem;
    min-width: var(--page-width);
    border-radius: 0 0 5px 5px;
  }
  .cards:not(.experience) .description h3 {
    font-size: 1.5rem;
    width: 100%;
    margin-bottom: 0rem;
  }
  
  .description .tags {
    width: 100%;
    gap: 0.75rem;
  }
  .description .tags li,
  #experiences .tags li {
    font-size: 0.75rem;
    padding: 1px 6px;
  }
  .dropdown-button span {
    font-size: 2.25rem;
  }
  hr {
    margin: 1.5rem auto;
  }
  
  #selected-work,
  #experiences,
  #side-project {
    grid-template-columns: var(--page-width);
    grid-template-rows: auto;
  }
  #selected-work h2,
  #experiences h2,
  #side-project h2 {
    grid-row: auto;
    grid-column: 1;
    justify-self: left;
  }
  #selected-work .cards.card-one {
    grid-row: auto;
    flex-direction: column-reverse;
  }
  
  #selected-work .cards,
  #side-project .cards {
    overflow: hidden;
    height: 26.625rem;
  }
  
  #selected-work .cards .description,
  #side-project .cards .description {
    grid-column: auto;
    width: var(--page-width);
    height: 11.25rem;
  }
  #selected-work .cards img,
  #side-project .cards img {
    grid-column: auto;
    max-width: var(--page-width);
    max-height: 15.375rem;
    border-radius: 5px 5px 0 0;
  }
  #selected-work .card-one img,
  #selected-work .card-three img {
    -webkit-transform: scale(.80); 
    -o-transform: scale(.80);
    -moz-transform: scale(.80);
    transform: scale(.80);
  }
  #selected-work .card-one:hover img,
  #selected-work .card-three:hover img {
    -webkit-transform: scale(.90); 
    -o-transform: scale(.90);
    -moz-transform: scale(.90);
    transform: scale(.90);

  }
  #selected-work .card-two img {
    width: auto;
    height: 14rem;
  }
  #experiences {
    grid-template-columns: var(--page-width);
  }
  .cards.experience {
    height: 15.375rem;
    padding: 2rem;
  }
  .cards.experience .tags {
    order: 2;
    margin-bottom: 0;
  }
  .cards .tags {
    order: 1;
  }
  #side-project .cards {
    grid-column: auto;
    grid-row: auto;
  }
  #side-project .card-two,
  #side-project .card-two .button-links {
    width: var(--page-width);
    height: 11.25rem;
  }
  #side-project .card-two .button-links {
    top: 0;
  }
  
  .description p {
    display: none;
  }
  
  footer {
    margin-top: 6.625rem;
  }
  footer hr {
    max-width: 80%;
    margin: 0 auto 1.5;
  }
  .footer-section:first-of-type,
  .footer-section:last-of-type {
    align-self: center;
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .footer-section:last-of-type {
    flex-direction: column;
  }
  .footer-section .to-top {
    order: 1;
    position: relative;
    top: 1rem;
    left: auto;
    margin: 0rem auto 2.25rem;
  }
  .footer-section h2 {
    order: 2;
    margin-top: 0;
    font-family: "Work Sans", sans-serif; font-weight: var(--semibold);
    font-size: 1.5rem;
    width: 17.125rem;
    padding-bottom: 0;
  }
  .footer-section .button-links.mailto-link {
    order: 3;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
    background-color: var(--sky-blue);
  }
  .footer-section .social-links {
    order: 1;
    margin-top: 2.25rem auto 2rem;
    font-size: 0.875rem;
    align-self: center;
    column-gap: 1.75rem;
    margin: 0;
  }
  .footer-section .social-links .logos {
    -webkit-transform: scale(.75); 
    -o-transform: scale(.75);
    -moz-transform: scale(.75);
    transform: scale(.75);
  }
  .footer-section .logo {
    position: relative;
    order: 2;
    align-self: center;
    margin: 1.6875rem auto 0;
    left:0;
    width: 1.375rem;
  }
  .footer-section .copyright {
    order: 3;
    align-self: center;
    top: auto;
    left: auto;
    margin: 0.75rem auto 2.625rem;
    font-size: 0.625rem;
  }
  .languages-dropdown ul {
    top: 3rem;
    gap: 0.5rem
  }
  .mouse-cursor, .mouse-cursor2 {
    display: none;
  }
  h1 {
    left: -1rem;
  }
  header h2 {
    margin-top: 2.5rem;
  }
  .download {
    margin-top: 3rem;
    -webkit-transform: scale(.6); 
    -o-transform: scale(.6);
    -moz-transform: scale(.6);
    transform: scale(.6);
  }
  
  #about-page .sub-header h2,
  #about-page .sub-header p,
  .sub-header .social-links {
    left: 0;
  }
  #about-page .sub-header .img-container {
    display: none;
  }
  #about-page .sub-header .container {
    width: var(--page-width);
  }
  #about-page .sub-header .container p {
    width: 100%;
    font-size: 1.1rem;
  }
  
  #about-page .sub-header {
    height: 35rem;
    padding-top: 2rem;
  }
  
  #about-page main section:not(.sub-header) {
    width: var(--page-width);
  }
  section:not(.sub-header, .footer-section) {
    margin-top: 4rem;
  }
  .section-title:not(.sub-header) {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
  }
  .sub-header .social-links a {
    scale: .6;
  }
  .sub-header .social-links {
    position: relative;
    gap: 1.5rem;
    left: -0.25rem;
    top:1.5rem;
    width: 100%;
    align-content: center;
    margin-top: 0;
  }
  .centered + .download{
    margin-top: 0rem;
  }

  .project article:not(.overview) h3:not(.project .project-summary h3) {
    margin-top: 4rem;
  }
  .project article.overview h3 {
    margin-top: 3rem;
  }
  .project {
    --page-width: 20.25rem;
  }
  
  .projects .project {
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }
  .projects main .sub-header {
    padding: 0;
    z-index: 1;
    width: 100vw;
    height: 15rem;
    overflow: hidden;
    background-size: auto 15rem;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 21px rgba(0,0,0,0.11),
                inset 0px 4px 4px rgba(0,0,0,0.25)
    ;
  }
  .projects .project h2 {
    order: 1;
    margin: 2rem 0 1rem;
    padding: 0;
  }
  .projects .project-summary {
    order: 2;
    align-self: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    width: var(--page-width);
    height: fit-content;
    justify-content: space-between;
    margin-top: 2rem;
  }
  .projects .project-summary  article {
    width: 8rem
  }
  .projects .project-summary  article:first-of-type,
  .projects .project-summary  article:nth-of-type(2) {
    margin-bottom: 1.5rem;
  }
  .projects .project-summary h3 {
    margin-top: 0;
  }
  .project article {
    order: 3;
  }
  .project article p,
  .project article li {
    font-size: 1rem;
  }
  .projects .discover-more .container {
    flex-direction: column;
    height: auto;
    gap: 1.5rem;
  }
  .projects .discover-more .container .cards:not(.experience) {
    height: calc(26.625rem * 0.8);
    width: calc(22.25rem * 0.8);
  }
  .projects .discover-more .cards:not(.experience) .description {
    height: calc(11.25rem * 0.8);
  }
  .projects .discover-more .container .cards:not(.experience) img {
    max-height: calc(13.25rem * 0.8);
  }
  .projects:not(.experiences) .discover-more .container .cards.experience img {
    margin-top: 3.5rem;
  }
  .cards .button-links {
    margin: 0;
    padding: 0;
    content: "";
    position: absolute;
    height: 26.625rem;
    width: var(--page-width);
    left: 0rem;
    top: -15.375rem;
    background-color: transparent;
    border: none;
  }
  .cards.experience .button-links {
    height: 15.375rem;
    left: 0rem;
    top: 0;
    background-color: transparent;
    border: none;
  }
  .cards .button-links span,
  .cards .button-links span::after,
  .cards .button-links .wave,
  .cards .button-links .wave::before {
    display: none;
  }
}