:root {
    --primary1: hsl(200, 100%, 75%);
    --primary2: hsl(200, 100%, 60%);
    --primary3: hsl(200, 100%, 45%);
    --secondary1: hsl(358, 85%, 52%);
    --secondary2: hsl(358, 85%, 42%);
    --secondary3: hsl(358, 85%, 35%);
    --secondary4: hsl(358, 85%, 25%);
    --disabled: hsl(200, 17%, 50%);
    --text6: hsl(200, 17%, 47%);
    --text5: hsl(200, 17%, 33%);
    --text4: hsl(200, 17%, 27%);
    --text3: hsl(200, 17%, 20%);
    /* #2a363c */
    --text2: hsl(200, 17%, 12%);
    --text1: hsl(200, 17%, 8%);
    --background1: hsl(0, 0%, 98%);
    /* #fafafa */
    --background2: hsl(0, 0%, 92%);
    --background3: hsl(0, 0%, 89%);
    --background4: hsl(0, 0%, 75%);
    --background5: hsl(0, 0%, 67%);
    --vertical-padding: 3rem;
    --horizontal-padding: 10rem;
    --bottom-section-margin: 2rem;
    --button-transition-time-in: 50ms;
    --button-transition-time-out: 400ms;
    --sidebar-transition-time-in: 200ms;
    --sidebar-transition-time-out: 100ms;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    color: var(--background1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Urbanist', sans-serif;
}
html {
    scroll-behavior: smooth;
}
body{
    /* background-color: var(--background3); */
    overflow-x: hidden;
}
.section-divider {
    height: 6vh;
    width: 100%;
    background-color: var(--secondary2);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.9) inset;
}
.left-origin {
    position: relative;
    left: -20px;
    opacity: 0;
}
.right-origin {
    position: relative;
    right: -20px;
    opacity: 0;
}
.top-origin {
    position: relative;
    top: -10px;
    opacity: 0;
}
.bottom-origin {
    position: relative;
    bottom: -10px;
    opacity: 0;
}
.bottom-origin-2 {
    position: relative;
    bottom: -20px;
    opacity: 0;
}
.center-origin {
    opacity: 0;
}
.scaleDown {
    font-family: 'Lexend', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}
.red {
    color: var(--secondary2);
}
.bold--red {
    /* font-family: inherit;  */
    font-weight: 700;
    color: var(--secondary2);
}
.container-grid {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
/* Sidebar */
.sidebar-container {
    /* display: none; */
    width: 20%;
    height: 100vh;
    background-color: var(--text1);
    top: 0;
    left: 0;
    position: fixed;
    box-shadow: 0 0 10px black;
    z-index: 99;
    transition: width var(--sidebar-transition-time-out) ease-out;
}
#sidebar > .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.sidebar__header {
    padding: 1.5rem 1rem 1rem 1rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: var(--background1);
    transition: all var(--button-transition-time-out) ease-out;
}
.sidebar__hover-guide-text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--background1);
}
.sidebar__hover-guide-icon {
    width: 100%;
    display: flex;
    justify-content: center;
}
.sidebar__hover-guide-icon > i {
    font-size: 1.8rem;
    height: 32px;
    color: var(--background1);
}
.sidebar__product-divisions {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 0.6rem;
    padding-bottom: 7rem;
}
.sidebar__product-slide {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
}
.sidebar__product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: blur(5px) brightness(60%);
    scale: 1.1;
    transition: all var(--button-transition-time-out) linear;
    z-index: 0;
}
.sidebar__product-division-name {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--background1);
    text-shadow: 0 0 8px rgb(0, 0, 0);
    transition: all var(--button-transition-time-out) linear;
}
.sidebar__visit-product-icon {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 50%;
    right: -48px;
    opacity: 1;
    transform: translate(-48px, -24px) scaleY(1);
    transition: all var(--button-transition-time-out) ease;
}
.sidebar__visit-product-icon > i {
    font-size: 2rem;
    height: 48px;
    /* transform: translateY(-8px); */
    color: var(--background1);
}
.sidebar__product-slide:hover {
    border-left: 8px solid var(--secondary3);
}
.sidebar__product-slide:hover > .sidebar__visit-product-icon {
    transform: translate(-48px, -24px) scaleY(1.5) scaleX(1.1);
    transition: all var(--button-transition-time-in) linear;
}
.sidebar__product-slide:hover > .sidebar__product-img {
    scale: 1.05;
    transition: none;
}
.sidebar__product-slide.active {
    border-left: 8px solid var(--secondary3);
}
.sidebar__product-slide.active > .sidebar__product-img {
    transition: none;
    filter: none;
}
.sidebar__product-slide.active > .sidebar__product-division-name {
    display: none;
}
.sidebar__product-slide.active > .sidebar__visit-product-icon {
    top: 50%;
    right: 100%;
    transform: translate(-48px, -20px) rotate(180deg);
}
.sidebar__product-slide.active:hover > .sidebar__product-img {
    scale: 1.1;
}
.sidebar-container.user-scroll {
    width: 5%;
    transition: all var(--sidebar-transition-time-in) ease-out;
}
.sidebar-container.user-scroll .sidebar__header {
    opacity: 0;
    transition: none;
}
.sidebar-container.user-scroll .sidebar__product-img {
    filter: none;
    transition: all var(--sidebar-transition-time-in) ease-out;
}
.sidebar-container.user-scroll .sidebar__product-division-name {
    display: none;
    transition: none;
}
.sidebar-container.user-scroll .sidebar__visit-product-icon {
    transform: translate(0, -24px) scaleY(1)
}
.back-button {
    transition: all var(--button-transition-time-out) ease-out;
    position: absolute;
    top: 2rem;
    right: 3rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: var(--background1);
    padding: 10px 22px;
    background-color: var(--secondary4);
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}
.back-button:hover {
    background-color: var(--secondary2);
    color: var(--background1);
    transition: none;
}
.back-button > i {
    font-size: 1.5rem;
    color: var(--background1);
    height: 24px;
    width: 24px;
    transform: translateY(-6.4px);
    position: relative;
    transition: all var(--button-transition-time-out) ease-out;
}
.back-button:hover > i {
    color: var(--background1);
    transition: none;
}

.container-right {
    width: 80%;
    height: 100vh;
    position: absolute;
    left: 20%;
    top: 0;
}
.product-slider {
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    top: 0;
}
/* Products */
.product-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    padding: var(--vertical-padding) var(--horizontal-padding);
    position: relative;
    justify-content: start;
    align-items: start;
    /* background-image: linear-gradient(to left, var(--background1) 30%, var(--text1) 210%); */
    /* background-color: blue; */
}
.product-slider .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;   
    width: 100%;
    margin-top: 1rem;
    /* background-color: red; */
}
.product__header {
    font-size: 3rem;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    color: var(--text3);
    line-height: 0.8;
    margin-bottom: 0.5rem;
}
.product__banner {
    height: 200px;
    width: 80vw;
    object-fit: cover;
    margin-bottom: 1rem;
    margin-bottom: 2rem;
}
.product__banner.active {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    position: absolute;
    width: 100%;
    height: 90vh;
    z-index: 10;
    border: 3px solid var(--text1);
    box-shadow: -8px 12px 6px rgba(0, 0, 0, 0.4);
}
.product__paragraph {
    width: 80%;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text4);
    margin-bottom: 2rem;
}
.product__paragraph .indent {
    margin-left: 1rem;
    color: var(--text4);
}
.product__product-header {
    font-size: 2rem;
    font-weight: 600;
    line-height: 0.8;
    margin-bottom: 1.5rem;
    color: var(--text3);
}
.product__product-container {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.5rem;
}
.product__product-container:has(.product__product-card--16by9) {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.5rem;
}
.product__product-container:has(.product__product-card--noimg) {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.5rem;
}
.product__product-container:has(.product__product-card-row) {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.5rem;
}
.product__product-card-row {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.5rem;
    margin-bottom: 1rem;
}
.product__product-subheader {
    font-size: 1.5rem;
    line-height: 0.8;
    color: var(--text3);
    text-align: center;
}
.product__product-card {
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--background4);
    position: relative;
    width: calc(calc(100% - 3rem)/4);
}
.product__product-card--16by9 {
    padding: 0.5rem 0.75rem;
    width: calc((100% - 2rem)/3);
    border: 2px solid var(--background4);
}
.product__product-card--wText {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
    width: 100%;
    display: flex;
    align-items: start;
    border: 2px solid var(--background4);
    border-radius: 2px;
}
.product__product-card-row > .product__product-card {
    width: calc((100% - 3rem)/4);
}
.product__product-card--noimg {
    width: calc((100% - 2rem)/3);
    display: flex;
    flex-direction: column;
}
.product__product-profile {
    display: flex;
    flex-direction: column;
    width: 20%;
}
.product__product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}
.product__product-card--16by9 > .product__product-img {
    aspect-ratio: 16/9;
    object-fit: cover;
}
.product__product-card--wText .product__product-img {
    width: 100%;
    aspect-ratio: 16/21;
    object-fit: contain;
}
.product__product-tagline {
    color: var(--text4);
    font-weight: 500;
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
}
.product__product-card--noimg > .product__product-tagline {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--background4);
}
.product__product-application {
    font-size: 1rem;
    color: var(--text4);
    text-align: left;
}
.product__product-text {
    margin-left: 1rem;
    font-size: 1rem;
    width: 100%;
    color: var(--text4);
}
.product__product-text > .text__header {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    color: var(--text3);
    line-height: 0.8;
}
.product__product-text > a {
    color: var(--text3);
    text-decoration: underline;
}