* {
    box-sizing: border-box;
    font-family: 'Sarabun', sans-serif;
    letter-spacing: .4em;
    text-transform: uppercase;
    font-weight: 200;
    color: black;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    width: 100%;
    height: 100vh;
    font-size: .95em;
    margin: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 80px auto 90px 90px;
    grid-template-areas: ". n n n n n n n n n n d" "m c c c c c c c c c c a" "s c c c c c c c c c c a" "s . . . . . . . . . . b";
}

.centerItem {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.topBar {
    grid-area: n;
    display: flex;
    align-items: center;
    padding-right: 20px;
    justify-content: space-between;
    animation: 5s ease-out 0s 1 fadeIn !important;
}

span {
    box-sizing: border-box;
    position: relative;
}

.logo {
  position: relative;
}

.logo::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  border-bottom: 1px solid black;
  bottom: -0.4em;
  left: 0;
  animation: 3s ease-out 0s 1 logoLineAnimation;
}

strong {
    font-weight: 800;
    -webkit-text-stroke: 1px black;
}

.leftNavBar {
    grid-area: m;
    align-self: start;
}

.leftNavBar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    transform: rotate(180deg);
}

.leftNavBar ul li {
    writing-mode: vertical-rl;
    padding-top: 6vh;
    transform: translateX(25%);
}

li a.active {
    display: block;
    padding-left: .5em;
    border-left: 1px solid black;
    animation: 3s ease-out 0s 1 slideInFromBottomActive;
}

.aside {
    grid-area: a;
    display: grid;
    position: relative;
    top: -2px;
    align-content: end;
}

.aside i {
    color: #632C65 !important;
}

.aside a {
    display: block;
    font-size: 1em;
    letter-spacing: 0 !important;
    padding-bottom: 2em;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .1)) drop-shadow(3px 3px 3px rgba(0, 0, 0, .1));
}

.aside a:nth-child(1) {
    animation: slideInFromTop 2s ease-out 0s;
}

.aside a:nth-child(2) {
    animation: slideInFromTop 1s ease-out 0s;
}

.aside a:nth-child(3) {
    animation: slideInFromTop .5s ease-out 0s;
}

.aside a:nth-child(4) {
    animation: slideInFromTop .25s ease-out 0s;
}

.container {
    grid-area: c;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 200px;
    grid-gap: 20px;
    grid-auto-flow: dense;
    overflow: auto;
    padding-right: 20px;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.container::-webkit-scrollbar {
    display: none;
}

.container>div:not(.scroll-anchor) {
    z-index: 1;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .2), 5px 5px 25px rgba(0, 0, 0, .1);
    transition: all .3s ease-in-out;
}

.container div img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: all .6s ease-in-out;
}

.container>div:hover {
    transform: scale(1.05);
}

.vertical {
    grid-row: span 2;
}

.horizontal {
    grid-column: span 2;
}

.big {
    grid-row: span 2;
    grid-column: span 2;
}

.section-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.5em;
    font-weight: 800;
    letter-spacing: .2em;
    padding: 60px 0 20px 0;
    color: #4B384C;
}

.scroll-anchor {
    position: relative;
    top: -80px;
    height: 0;
    width: 0;
}

.footer {
    position: relative;
    z-index: 2;
    grid-column: 2/span 9;
    grid-row: 4;
    background: #4B384C;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    align-content: center;
    justify-items: start;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, .3), 0 -5px 20px rgba(0, 0, 0, .2);
}

.scroll-icon-wrapper {
    position: relative;
    grid-column: 6;
}

.footer .scroll-icon {
    display: block;
    position: relative;
    width: 20px;
    left: -50%;
    filter: invert(100%);
}

.footer-right {
    z-index: 3;
    display: flex;
    grid-column: 11/13;
    grid-row: 4;
    background: black;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, .3), 0 -5px 20px rgba(0, 0, 0, .2);
}

.footer-right h1 {
    display: block;
    position: relative;
    color: white;
    font-weight: 900;
    letter-spacing: 0;
    font-family: 'Roboto', sans-serif;
}

.footer-right h1:after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 120%;
    border-bottom: 1px solid white;
    animation: 3s ease-out 0s 1 slideInFromRight;
}

.arrowButton {
    z-index: 3;
    grid-area: s;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .1), 5px 5px 25px rgba(0, 0, 0, .1);
}

.arrowButton button {
    display: block;
    width: 100%;
    height: 50%;
    background: #E2A9E5;
    border: none;
    color: white;
    cursor: pointer;
}

div.arrowUpIcon,
div.arrowDownIcon {
    width: 1.5vmin;
    height: 1.5vmin;
    box-sizing: border-box;
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: white;
    position: absolute;
    left: 50%;
    top: 25%;
    transform-origin: 0 0;
    transform: rotate(45deg);
}

div.arrowDownIcon {
    top: 75%;
    transform: rotate(225deg);
}

button:focus {
    outline: none;
}

.searchDiv {
    position: relative;
    display: flex;
    grid-area: d;
    align-items: center;
    justify-content: center;
}

.searchDiv img {
    display: block;
    box-sizing: content-box;
    width: 20px;
    object-fit: cover;
}

.searchDiv:after {
    display: block;
    position: absolute;
    height: 100%;
    width: 30%;
    content: "";
    border-bottom: 1px solid #E2A9E5;
    animation: 3s ease-out fadeIn;
}

.menuButton {
    position: relative;
    border: none !important;
    width: 16px;
    height: 16px;
    padding: 0;
    margin-left: auto;
    margin-right: 0;
    background: none;
    outline: none;
    cursor: pointer;
}

.menu-icon {
    width: 16px;
    height: 1px;
    border: none !important;
    background: black;
    position: relative;
    transform: translateY(-700%);
    transition: opacity .2s ease-in-out;
}

.menu-icon::after {
    content: '';
    width: 6px;
    height: 1px;
    background: black;
    position: absolute;
    top: 10px;
    left: 0px;
}

.menu-icon::before {
    content: '';
    width: 10px;
    height: 1px;
    background: black;
    position: absolute;
    top: 5px;
    left: 0;
}

.section-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.nav-dot:hover {
    background-color: #632C65;
}

.nav-dot.active {
    background-color: #4B384C;
    transform: scale(1.3);
}

*:not(a) {
    animation: 3s ease-out 0s 1 fadeIn;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-130%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes logoLineAnimation {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(300%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromBottomActive {
    0% {
        padding-bottom: 300px;
    }
    100% {}
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        margin-bottom: -100%;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
