:root {
    scroll-behavior: smooth;
    
    --body-font: "Work Sans", sans-serif;
    --heading-font: "Epilogue", sans-serif;

    --default-transition-duration: 200ms;

    --scroll-image-translate: calc(-100% + 601px);

    /* COLOR */
    --white: #fff;
    --white-60: rgba(255, 255, 255, 0.6);
    --primary-50: #f2f3ff;
    --primary-100: #e5e6ff;
    --primary-100-transparent-90: rgba(229, 230, 255, 0.9);
    --primary-100-transparent-80: rgba(229, 230, 255, 0.8);
    --primary-100-transparent-20: rgba(229, 230, 255, 0.2);
    --primary-100-transparent-10: rgba(229, 230, 255, 0.1);
    --primary-200: #bdbfff;
    --primary-300: #9497ff;
    --primary-400: #6e72ff;
    --primary-main: #444aff;
    --primary-main-transparent-50: rgba(68, 74, 255, 0.5);
    --primary-main-transparent-60: rgba(68, 74, 255, 0.6);
    --primary-main-transparent-80: rgba(68, 74, 255, 0.8);
    --primary-main-transparent-90: rgba(68, 74, 255, 0.9);
    --primary-600: #3136cc;
    --primary-700: #1f2399;
    --primary-800: #0f1266;
    --primary-900: #050733;
    --primary-900-transparent-80: rgba(5, 7, 51, 0.8);
    --primary-900-transparent-50: rgba(5, 7, 51, 0.5);
    --primary-900-transparent-30: rgba(5, 7, 51, 0.3);
    --primary-900-transparent-20: rgba(5, 7, 51, 0.2);
    --primary-900-transparent-10: rgba(5, 7, 51, 0.1);
    --light-text-gradient: linear-gradient(90deg, rgb(229, 230, 255) 0%, rgb(68, 74, 255) 100%);
    --medium-text-gradient: linear-gradient(90deg, rgb(148, 151, 255) 0%, rgb(68, 74, 255) 100%);
    --dark-background-gradient: linear-gradient(45deg, rgba(5,7,51,1) 0%, rgba(15,18,102,1) 100%);
    --light-background-gradient: linear-gradient(45deg, rgb(204, 205, 255) 0%, rgb(242, 243, 255) 100%);

    /* SPACING */
    --standard-width: 1160px;
    --standard-width-sm: 615px;
    --standard-width-md: 860px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 30px;
    --spacing-xl: 64px;
    --spacing-xxl: 120px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 24px;

    /* BOX SHADOW */
    --standard-box-shadow: 0px 2px 40px rgba(0, 0, 0, 0.15);
}


/* ------------------------------------------------- CUSTOM FONTS ----------------------------------------------------------- */

@font-face {
    font-family: "Work Sans";
    src: url("../assets/fonts/WorkSans-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Work Sans";
    src: url("../assets/fonts/WorkSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
}
  
@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}
  
@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
  
@font-face {
    font-family: "Epilogue";
    src: url("../assets/fonts/Epilogue-BoldItalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
}


/* ------------------------------------------------- GENERIC STYLES ----------------------------------------------------------- */

body {
    font-family: var(--body-font);
    font-weight: normal;
    margin: 0;
    text-transform: lowercase;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin: 0;
}

h1, h2 {
    color: var(--white);
    font-size: 88px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: -4px;
}

h3 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: -2px;
}

h4 {
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 30px;
}

h5 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 8px;
    line-height: normal;
}

h6 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: normal;
}

ul {
    margin: 0;
    padding: 0;
}

ul, li {
    list-style: none;
}

button {
    font-family: var(--body-font);
    color: var(--primary-100);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 15px;
    line-height: 126%;
    cursor: pointer;
}

img {
    object-fit: cover;
}

.full-viewport-height {
    min-height: 100dvh;
}

.dark-gradient-background {
    background: var(--dark-background-gradient);
}

.margin-container {
    width: 90%;
    max-width: var(--standard-width);
    margin-inline: auto;
}

.blue-text {
    color: var(--primary-main);
}

.light-gradient-text {
    background: var(--light-text-gradient);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.medium-gradient-text {
    background: var(--medium-text-gradient);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.link-text {
    font-size: 14px;
    line-height: 126%;
    text-decoration: none;
}

.primary-button {
    background-color: var(--primary-main);
}

.secondary-button {
    padding-block: 20px;
    background-color: transparent;
    border: 2px solid var(--primary-main);
    width: 30%;
    max-width: 160px;
    transition: border-color;
    transition-duration: var(--default-transition-duration);
    transition-timing-function: ease-in-out;
}
.secondary-button:hover {
    border-color: var(--primary-100);
}

.italicize {
    font-style: italic;
}

.arrow-down-icon-group {
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    animation: 4000ms ease-out 2300ms infinite move-down-up;
}
.arrow-down-icon-group svg:nth-of-type(1) {
    animation: 4000ms ease-out 2000ms infinite blink;
}
.arrow-down-icon-group svg:nth-of-type(2) {
    animation: 4000ms ease-out 2100ms infinite blink;
}
.arrow-down-icon-group svg:nth-of-type(3) {
    animation: 4000ms ease-out 2200ms infinite blink;
}

.spin-button {
    animation: 500ms ease-in-out rotate-once;
}


/* ------------------------------------------------- HEADER ----------------------------------------------------------- */

#header {
    padding-top: 30px;
}

.top-banner {
    background-color: transparent;
    height: 48px;
    width: 100%;
    max-width: 180px;
    margin-inline: auto;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-banner .logo-link {
    font-size: 0;
}
.top-banner .logo-link:hover > svg {
    transform: scale(1.05);
}

.top-banner .logo-link svg circle {
    fill: var(--primary-main);
}
.top-banner .logo-link svg path {
    fill: var(--white);
}

.top-banner svg {
    transition: transform 200ms ease-in-out;
}


/* ------------------------------------------------- MAIN CONTENT ----------------------------------------------------------- */

main {
    margin-bottom: 240px;
    position: relative;
}
main::before {
    content: "";
    background-color: transparent;
    border-bottom: 1px solid var(--primary-main);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -680px;
    transform: skewY(-20deg);
    z-index: -2;
}
main::after {
    content: "";
    background-color: transparent;
    border-bottom: 1px solid var(--primary-main);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -680px;
    transform: skewY(-20deg);
    z-index: -3;
    filter: blur(4px);
}

main.comfy::before,
main.comfy::after,
main.comfy .image-outer-container,
main.comfy .heading-and-image .heading h5,
main.comfy .heading-and-image .heading .tags {
    display: none;
}

main.comfy .heading-and-image .heading h1,
main.comfy .heading-and-image .heading h4 {
    text-align: center;
}
main.comfy .heading-and-image .heading h4 {
    max-width: 400px;
    line-height: 156%;
    opacity: 0.5;
}

.heading-and-image {
    padding-top: 88px;
    display: flex;
    justify-content: center;
    align-items: start;
}

.heading-and-image .heading {
    margin-top: 16px;
    flex: 0 1 400px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition-property: opacity, transform;
    transition-duration: 600ms;
    transition-timing-function: ease-in-out;
}
.heading-and-image .heading.hidden {
    opacity: 0;
    transform: translateX(-88px);
}

.heading-and-image h5 {
    opacity: 0.5;
}

.heading-and-image h1.ceramics {
    font-size: 72px;
}

.heading-and-image .tags {
    max-width: 240px;
    display: flex;
    justify-content: start;
    gap: 8px;
    flex-wrap: wrap;
}

.heading-and-image .tag {
    height: 30px;
    color: var(--primary-main);
    line-height: normal;
    padding-inline: 16px;
    flex: 0 0 content;
    border: 1px solid var(--primary-main);
    border-radius: 15px;
    opacity: 0.8;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    cursor: default;
}
.heading-and-image .tag:hover {
    opacity: 1;
}

.heading-and-image .image-outer-container {
    width: fit-content;
    padding: 16px;
    background-color: var(--primary-50);
    border-radius: 8px;
    -webkit-box-shadow: 2px 4px 15px 0px rgba(5,7,51,0.3);
    -moz-box-shadow: 2px 4px 15px 0px rgba(5,7,51,0.3);
    box-shadow: 2px 4px 15px 0px rgba(5,7,51,0.3);
    display: flex;
    gap: 16px;
    transition-property: opacity, transform;
    transition-duration: 600ms;
    transition-timing-function: ease-in-out;
}
.heading-and-image .image-outer-container.hidden {
    opacity: 0;
    transform: translateX(88px);
}

.heading-and-image .image-outer-container .restart {
    fill: var(--primary-main);
    opacity: 0.8;
    cursor: pointer;
    transition-property: opacity, transform;
    transition-duration: var(--default-transition-duration);
    transition-timing-function: ease-in-out;
}
.heading-and-image .image-outer-container .restart:hover {
    opacity: 1;
    transform: rotate(0.2turn);
}

.heading-and-image .image-direct-container {
    width: 400px;
    height: 600px;
    border-radius: 6px;
    -webkit-box-shadow: 2px 4px 10px 0px rgba(5,7,51,0.15);
    -moz-box-shadow: 2px 4px 10px 0px rgba(5,7,51,0.15);
    box-shadow: 2px 4px 10px 0px rgba(5,7,51,0.15);
    overflow-y: hidden;
}
.heading-and-image .image-direct-container:hover img {
    animation-play-state: paused;
}

.heading-and-image .image-direct-container img {
    width: 100%;
    animation: 60s linear infinite alternate 3s scroll-image;
}

main h5.more {
    width: fit-content;
    color: var(--primary-900-transparent-50);
    margin-top: 200px;
    margin-bottom: 80px;
    margin-inline: auto;
    text-align: center;
    position: relative;
}
main h5.more::after {
    letter-spacing: normal;
    font-size: 12px;
    font-weight: normal;
    font-family: var(--body-font);
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-900-transparent-50);
    border-radius: 50%;
    display: grid;
    place-content: center;
    position: absolute;
    content: "4";
    top: -20px;
    right: 8px;
}
main h5.more.comfy-page::after {
    content: "5";
}

.carousel-wrapper {
    width: 100%;
    max-width: 530px;
    height: 98px;
    margin-inline: auto;
    border-left: 1px solid var(--primary-main);
    border-right: 1px solid var(--primary-main);
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.carousel-wrapper:hover .carousel {
    animation-play-state: paused;
}

.carousel {
    width: 680px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    animation: 30s linear infinite scroll-carousel;
}
.carousel.comfy-page {
    width: 850px;
}

.carousel .separator {
    background-color: var(--primary-main);
    flex: 0 0 20px;
    height: 32px;
    position: relative;
    z-index: -2;
}

.carousel .separator .background {
    background-color: var(--primary-main);
    width: calc(100% + 4px);
    height: 100%;
    position: absolute;
    left: -2px;
    z-index: -3;
}
.carousel .separator::before {
    content: "";
    background-color: var(--white);
    width: calc(100% + 2px);
    height: 200%;
    border-radius: 6px;
    position: absolute;
    left: -1px;
    bottom: 60%;
    z-index: -1;
}
.carousel .separator::after {
    content: "";
    background-color: var(--white);
    width: calc(100% + 2px);
    height: 200%;
    border-radius: 6px;
    position: absolute;
    left: -1px;
    top: 60%;
    z-index: -1;
}

.carousel .portfolio-item {
    background-color: var(--primary-main);
    max-width: 150px;
    flex: 0 0 150px;
    height: 90px;    
    border: 5px solid var(--primary-main);
    border-radius: 6px;
    box-sizing: border-box;
}

.carousel .portfolio-item figure {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.carousel .portfolio-item figure:hover figcaption {
    transform: translateX(0);
}
.carousel .portfolio-item:not(.team):not(.comfy) figure:hover img {
    transform: scale(1.1);
}
.carousel .portfolio-item.team figure:hover img {
    transform: translateY(-80px) scale(1.1);
}
.carousel .portfolio-item.comfy figure:hover img {
    transform: translateY(-12px) scale(1.1);
}

.carousel .portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.carousel .portfolio-item img {
    width: 100%;
    transition: transform var(--default-transition-duration) ease-in-out;
}
.carousel .team img {
    transform: translateY(-80px);
}
.carousel .comfy img {
    transform: translateY(-12px);
}

.carousel .portfolio-item figcaption {
    background-color: var(--primary-main-transparent-60);
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: transform 400ms ease-in-out;
}
.carousel .portfolio-item figcaption h2 {
    font-size: 18px;
    color: var(--primary-100);
    font-weight: 600;
    letter-spacing: normal;
}


/*------------------------------------------- BOTTOM NAVBAR ------------------------------------------------------------- */

.bottom-nav {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    visibility: hidden;
    transform: translateY(calc(100% + 40px));
    position: sticky;
    bottom: 24px;
    z-index: 99;
    transition-property: transform, visibility;
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
}
.bottom-nav.full-appearance {
    visibility: visible;
    transform: translateY(0);
}

.bottom-nav ul {
    background-color: transparent;
    backdrop-filter: blur(8px);
    padding: 0;
    list-style: none;
    margin: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: 2px 4px 28px 0px rgba(5, 7, 51, 0.2);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    transition-property: background-color, backdrop-filter, box-shadow;
    transition-duration: 400ms;
    transition-timing-function: ease-in-out;
}
.bottom-nav ul.full-background {
    background-color: var(--primary-main);
    backdrop-filter: blur(0px);
    box-shadow: 2px 4px 28px 0px rgba(5, 7, 51, 0.1);
}
.bottom-nav ul.full-background .logo-link svg path {
    fill: var(--primary-100);
}
.bottom-nav ul.full-background > li:first-of-type a,
.bottom-nav ul.full-background > li:nth-of-type(2) a,
.bottom-nav ul.full-background > li:nth-of-type(3) a {
    border-right-color: var(--primary-100-transparent-20);
}
.bottom-nav ul.full-background a {
    color: var(--primary-100);
}
.bottom-nav ul.full-background a:hover {
    background-color: var(--primary-600);
}

.bottom-nav ul > li:nth-of-type(2),
.bottom-nav ul > li:nth-of-type(3) {
    display: flex;
}

.bottom-nav ul > li .link-text {
    padding-top: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-nav a {
    color: var(--primary-900);
    display: block;
    padding-block: 18px;
    padding-inline: 25px;
    transition-property: color, background-color, border-color;
    transition-duration: var(--default-transition-duration);
    transition-timing-function: ease-in-out;
}

.bottom-nav ul > li:first-of-type a,
.bottom-nav ul > li:nth-of-type(2) a,
.bottom-nav ul > li:nth-of-type(3) a {
    border-right: 1px solid var(--primary-900-transparent-20);
}

.bottom-nav a:hover {
    background-color: var(--primary-100);
}

.bottom-nav .logo-link {
    font-size: 0;
}

.bottom-nav .logo-link svg path {
    fill: var(--primary-900);
    transition: fill var(--default-transition-duration) ease-in-out;
}


/* ------------------------------------------------- FOOTER ----------------------------------------------------------- */

footer {
    padding-block: 60px;
    padding-top: 80px;
    box-sizing: border-box;
    color: var(--primary-900);
}

footer h2 {
    color: var(--primary-900);
}

.footer-flex-container {
    flex-grow: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
.footer-flex-container .left-side,
.footer-flex-container .right-side {
    flex: 0 1 30%;
}
.footer-flex-container .left-side {
    min-width: 480px;
}

.lets-talk-link {
    text-align: center;
    display: inline-block;
    margin-top: 40px;
    margin-left: 70px;
}

.lets-talk-link > a {
    text-align: center;
    width: 112px;
    height: 112px;
    border: 1px solid var(--primary-main);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-property: border-color;
    transition-duration: var(--default-transition-duration);
    transition-timing-function: ease-in-out;
}
.lets-talk-link > a:hover {
    border-color: transparent;
}
.lets-talk-link > a:hover span {
    color: var(--primary-100);
}
.lets-talk-link > a::before {
    content: "";
    background-color: var(--primary-main);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateY(100%);
    transition: transform var(--default-transition-duration) ease-in-out;
}
.lets-talk-link > a:hover::before {
    transform: translateY(0);
}

.lets-talk-link > a span {
    color: rgb(0, 0, 238);
    transition: color var(--default-transition-duration) ease-in-out;
}

footer .arrow-down-icon-group {
    margin-bottom: 20px;
}

.lets-talk-link > p {
    margin-bottom: 0;
    font-size: 14px;
}
.lets-talk-link > p span {
    opacity: 20%;
}
.lets-talk-link > p a {
    opacity: 20%;
    text-decoration: none;
    color: var(--primary-900);
    transition: opacity 100ms ease-out;
}
.lets-talk-link > p a:hover {
    opacity: 100%;
}

.footer-social-links {
    max-width: 360px;
    margin-left: auto;
}

.footer-social-links .social-link {
    font-size: 0;
    color: var(--primary-900);
    text-decoration: none;
    padding: 35px 0 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--primary-900-transparent-20);
    transition: background-color 200ms ease-in-out, border 200ms ease-in-out;
}
.footer-social-links .social-link:hover {
    background-color: var(--primary-100);
    border-bottom: 1px solid var(--primary-900);
}
.footer-social-links .social-link:hover > svg {
    opacity: 100%;
    transform: translateX(10px);
}
.footer-social-links .social-link:hover > p {
    opacity: 100%;
    transform: translateX(-10px);
}

.footer-social-links .social-link > svg,
.footer-social-links .social-link > p {
    opacity: 20%;
    transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.footer-social-links .social-link p {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 300;
}

.copyright {
    max-width: 360px;
    margin-left: auto;
    margin-top: 60px;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 30px;
}

.copyright a:first-child {
    font-size: 0;
}

.copyright p {
    margin: 0;
    opacity: 70%;
}



/* ------------------------------------------------- ANIMATIONS ----------------------------------------------------------- */

@keyframes spin {
    70% {
        transform: scale(0.6) rotate(2turn);
    }
    100% {
        transform: scale(1) rotate(0turn);
    }
}

@keyframes rotate-once {
    100% {
        transform: rotate(1.2turn);
    }
}

@keyframes scroll-image {
    99%, 100% {
        transform: translateY(var(--scroll-image-translate));
    }
}

@keyframes scroll-to-initial-position {
    from {
        transform: translateY(var(--scroll-image-translate));
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scroll-carousel {
    100% {
        transform: translateX(-100%);
    }
}

@keyframes blink {
    8% {
        opacity: 0%;
    }
    16%, 100% {
        opacity: 100%;
    }
}

@keyframes move-down-up {
    8% {
        transform: translateY(4px);
    }
    16%, 100% {
        transform: translateY(0px);
    }
}

@keyframes left-arrow-translate {
    50% {
        transform: translateX(-170%);
    }
    100% {
        transform: translateX(-150%);
    }
}

@keyframes right-arrow-translate {
    50% {
        transform: translateX(170%);
    }
    100% {
        transform: translateX(150%);
    }
}


/* ------------------------------------------------- MEDIA QUERIES ----------------------------------------------------------- */

@media only screen and (max-width: 1120px) {

    /* --------------------------------------------------------- GENERIC ------------------------------------------------------------ */

    h1, h2 {
        font-size: 72px;
    }

    h5 {
        font-size: 18px;
        letter-spacing: 7px;
    }

    .primary-button, .secondary-button {
        padding-block: 16px;
    }

    /* -------------------------------------------------------------- FOOTER ------------------------------------------------------------ */

    .footer-flex-container .right-side {
        flex-basis: 35%;
    }

    .footer-flex-container .left-side {
        min-width: 380px;
    }

    .lets-talk-link {
        margin-left: 54px;
    }
}


@media only screen and (max-width: 960px) {

    /* --------------------------------------------------------- GENERIC ------------------------------------------------------------ */

    h1, h2 {
        font-size: 68px;
    }

    h5 {
        font-size: 17px;
        letter-spacing: 3px;
    }

    /* ------------------------------------------------------------ MAIN CONTENT ---------------------------------------------------- */

    .heading-and-image .image-direct-container {
        width: 348px;
    }

    .heading-and-image h1.ceramics {
        font-size: 56px;
    }

    main h5.more::after {
        display: none;
    }

    /* ----------------------------------------------------------- FOOTER ----------------------------------------------------------- */

    .footer-flex-container .right-side {
        flex-basis: 37%;
    }

    .copyright {
        gap: 20px;
    }

    .copyright p {
        font-size: 14px;
    }
}


@media only screen and (max-width: 760px) {

    /* --------------------------------------------------------------- GENERIC ----------------------------------------------------------- */

    h1, h2 {
        font-size: 60px;
        letter-spacing: -3px;
    }

    /* --------------------------------------------------------------- MAIN CONTENT ------------------------------------------------------ */

    .heading-and-image {
        gap: 60px;
    }

    .heading-and-image .image-direct-container {
        width: 252px;
    }

    .heading-and-image h1.ceramics {
        font-size: 48px;
    }

    /* ------------------------------------------------------------FOOTER ------------------------------------------------------------ */

    .footer-flex-container {
        justify-content: space-between;
    }

    .footer-flex-container .left-side {
        min-width: auto;
    }

    .footer-social-links .social-link {
        padding-top: 25px;
        padding-bottom: 16px;
    }

    .footer-social-links .social-link p {
        font-size: 20px;
    }

    .lets-talk-link {
        margin-left: 42px;
    }

    .lets-talk-link .arrow-down-icon-group svg {
        width: 20px;
    }

    .lets-talk-link .arrow-down-icon-group svg:nth-of-type(2),
    .lets-talk-link .arrow-down-icon-group svg:nth-of-type(3) {
        margin-top: -4px;
    }

    .lets-talk-link > a {
        width: 100px;
        height: 100px;
    }

    .copyright p {
        font-size: 12px;
    }
}


@media only screen and (max-width: 620px) {

    /* --------------------------------------------------------------- GENERIC ----------------------------------------------------------- */

    button {
        font-size: 13px;
    }

    h1, h2 {
        font-size: 50px;
    }

    .primary-button, .secondary-button {
        padding-block: 14px;
    }

    /* --------------------------------------------------------------- MAIN CONTENT ------------------------------------------------------ */

    #main{
        margin-bottom: 180px;
    }

    main.comfy .heading-and-image .heading h4 {
        font-size: 18px;
    }

    .heading-and-image {
        padding-top: 64px;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .heading-and-image .heading {
        margin-top: 0;
        flex-basis: auto;
        gap: 30px;
    }

    .heading-and-image .heading h5,
    .heading-and-image .heading h1 {
        text-align: center;
    }

    .heading-and-image h1.ceramics {
        font-size: 50px;
    }

    .heading-and-image .tags {
        justify-content: center;
    }

    .carousel-wrapper {
        max-width: 360px;
    }

    /* ------------------------------------------------------------ FOOTER ------------------------------------------------------------ */

    .bottom-nav a {
        padding-block: 16px;
        padding-inline: 16px;
    }

    .bottom-nav ul > li .link-text {
        padding-top: 17px;
    }

    .footer-flex-container .right-side {
        flex-basis: 35%;
    }

    .footer-social-links .social-link {
        align-items: end;
    }

    .footer-social-links .social-link p {
        font-size: 16px;
    }

    .footer-social-links .social-link svg {
        width: 16px;
    }

    .lets-talk-link {
        margin-left: 28px;
    }

    .copyright {
        gap: 10px;
    }
}


@media only screen and (max-width: 481px) {

    :root {
        --scroll-image-translate: calc(-100% + 401px);
    }

    /* --------------------------------------------------------------- GENERIC ----------------------------------------------------------- */

    h1, h2 {
        font-size: 44px;
    }

    button {
        font-size: 12px;
        border-radius: 4px;
    }

    .primary-button, .secondary-button {
        padding-block: 12px;
    }

    .link-text {
        font-size: 13px;
    }

    /* ---------------------------------------------------------- MAIN CONTENT -------------------------------------------------------- */

    #main {
        margin-bottom: 120px;
    }

    main::before,
    main::after {
        top: -656px;
    }

    .heading-and-image .image-outer-container {
        padding: 8px;
        gap: 8px;
    }

    .heading-and-image .image-direct-container {
        width: 232px;
        height: 400px;
    }

    .heading-and-image h1.ceramics {
        font-size: 44px;
    }

    main h5.more {
        margin-top: 140px;
        margin-bottom: 40px;
    }

    .carousel-wrapper {
        min-width: 100%;
        height: auto;
        border: none;
        overflow: visible;
        justify-content: center;
    }

    .carousel[aria-hidden="true"] {
        display: none;
    }
    .carousel {
        flex-shrink: unset;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0;
        column-gap: 0;
        animation: none;
    }

    .carousel .separator {
        display: none;
    }

    .carousel .portfolio-item {
        background-color: transparent;
        color: var(--primary-900-transparent-20);
        height: 72px;
        border: none;
        border-bottom: 1px solid var(--primary-900-transparent-20);
        border-radius: 0;
        transition: border-color var(--default-transition-duration) ease-in-out;
    }
    .carousel .portfolio-item:hover {
        border-color: var(--primary-900);
        color: var(--primary-900);
    }

    .carousel .portfolio-item a {
        border-radius: 3px;
    }

    .carousel .portfolio-item img {
        display: none;
    }
    
    .carousel .portfolio-item figcaption {
        background-color: transparent;
        transform: translateX(0);
    }
    .carousel .portfolio-item figcaption h2 {
        font-size: 28px;
        color: inherit;
        font-weight: 300;
        font-style: normal;
        transition: color var(--default-transition-duration) ease-in-out;
    }

    /* --------------------------------------------------------- FOOTER ----------------------------------------------------------------- */

    footer {
        padding-block: 40px;
    }

    .bottom-nav ul {
        border-radius: 8px;
        display: grid;
        grid-template-columns: auto;
    }

    .bottom-nav a {
        padding-block: 10px;
    }

    .bottom-nav ul > li .link-text {
        padding-top: 11px;
    }

    .bottom-nav ul > li:first-of-type {
        grid-column: 1;
    }
    .bottom-nav ul > li:nth-of-type(2) {
        grid-column: 2 / 4;
    }
    .bottom-nav ul > li:nth-of-type(3) {
        grid-column: 2 / 4;
    }
    .bottom-nav ul > li:nth-of-type(4) {
        grid-column: 1;
        grid-row: 2;
    }
    .bottom-nav ul > li:nth-of-type(2) a,
    .bottom-nav ul > li:nth-of-type(3) a {
        width: 100%;
    }

    .bottom-nav ul > li:first-of-type a,
    .bottom-nav ul > li:nth-of-type(2) a,
    .bottom-nav ul > li:nth-of-type(3) a,
    .bottom-nav ul > li:nth-of-type(4) a {
        border-right: none;
    }

    .bottom-nav ul > li:first-of-type a,
    .bottom-nav ul > li:nth-of-type(4) a {
        border-right: 1px solid var(--primary-100-transparent-20);
    }

    .bottom-nav ul > li:first-of-type a,
    .bottom-nav ul > li:nth-of-type(2) a {
        border-bottom: 1px solid var(--primary-100-transparent-20);
    }

    .footer-flex-container {
        margin-top: 40px;
        flex-direction: column;
        justify-content: start;
    }

    .lets-talk-link .arrow-down-icon-group {
        margin-bottom: 15px;
    }

    .lets-talk-link {
        margin-top: 30px;
        margin-left: 40px;
    }

    .lets-talk-link > a {
        width: 80px;
        height: 80px;
    }

    .footer-flex-container .right-side {
        margin-top: 40px;
        max-width: 216px;
    }

    .copyright {
        margin-top: 60px;
    }
}


@media only screen and (max-width: 321px) {

    :root {
        --scroll-image-translate: calc(-100% + 361px);
    }

    /* ---------------------------------------------------------- MAIN CONTENT -------------------------------------------------------- */

    .heading-and-image .image-direct-container {
        width: 180px;
        height: 360px;
    }
}


@media only screen and (max-width: 270px) {

    /* --------------------------------------------------------------- GENERIC ----------------------------------------------------------- */

    h1, h2 {
        font-size: 40px;
    }

    /* --------------------------------------------------------------- MAIN CONTENT ------------------------------------------------------- */

    .heading-and-image h1.ceramics {
        font-size: 40px;
    }

    /* --------------------------------------------------------------- FOOTER ----------------------------------------------------------- */

    .lets-talk-link {
        margin-left: 28px;
    }
}