* {
    font-size: 0;
    padding: 0;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

@font-face {
    font-family: "Xarrovv";
    src: url("fonts/Xarrovv.ttf") format("truetype");
}

/* global */
html {
    scroll-padding-top: 100px;
}

body {
    background-color: #f5e2cc;
    color: #f5e2cc;
    font-family: Arial;
}

div {
    box-sizing: border-box;
}

.no-wrap {
    white-space: nowrap;
}

.inline-logo {
    user-select: all;
    -moz-user-select: all;
    -webkit-user-select: all;
    -ms-user-select: all;
    cursor: text;
}

/* fixed navbar (mobile) */
#mobileMenu {
    position: fixed;
    display: none;
    top: 80px;
    width: 100%;
    background-color: white;
    z-index: 3;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: 0px 0px 16px 16px;
}

#mobileMenu > a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: #000000;
    font-size: 16pt;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#top-fixed-mobile {
    position: fixed;
    display: none;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    z-index: 3;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
}

#top-fixed-mobile > a {
    display: contents;
}

#top-fixed-mobile > a > img:nth-child(1) {
    position: absolute;
    width: 116px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

#mobileMenu > a:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#top-fixed-mobile > img:nth-child(2) {
    width: 40px;
    margin-left: auto;
}

/* fixed navbar */
#top-fixed {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100px;
    flex-direction: column;
    align-items: stretch;
    z-index: 1;
}

#top-fixed > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-fixed-nav-wrapper {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

#top-fixed-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 960px;
    padding-top: 8px;
    padding-bottom: 8px;
}

#top-fixed-nav > a:nth-child(1) {
    display: contents;
}

#top-fixed-nav > a:hover {
    text-decoration: underline;
}

#top-fixed a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    font-size: 12pt;
    text-align: center;
}

#top-fixed-contact {
    background-color: #000000;
    flex: 1;
}

.top-fixed-social {
    display: inline-block;
    height: 16px;
}

.top-fixed-phone {
    margin-top: 4px;
}

#top-fixed-contact a {
    text-decoration: none;
    padding: 5px;
    font-size: 12pt;
    color: hsl(0, 0%, 100%);
}

#top-fixed-contact > a > img {
    width: 14pt;
}

#top-fixed-logo {
    height: 50px;
}

#top-fixed-language {
    position: relative;
    display: flex;
    flex: 1;
    box-sizing: border-box;
    justify-content: end !important;
    padding-right: 64px;
    width: 100%;
    top: 128px;
}

#top-fixed-language-box {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    gap: 4px;
}

#top-fixed-language-selected {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

#top-fixed-language-selected > p {
    font-size: 10pt;
    color: #000000;
    font-weight: 600;
}

#top-fixed-language-selected > a > img {
    width: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

#top-fixed-language-list {
    display: none;
    flex-direction: column;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    text-decoration: none;
}

.language-selector:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.language-selector:not(:last-child) {
    padding-bottom: 8px;
}

.language-selector > p {
    font-size: 10pt;
    color: #000000;
}

.language-selector > img {
    width: 16px;
    object-fit: contain;
}

/* top banner */
#top-banner-wrapper {
    display: flex;
    background-color: #1E3916;
    align-items: center;
    justify-content: center;
    width: 100%;

    box-sizing: content-box;
    padding-top: 160px;
    padding-bottom: 40px;
    overflow: hidden;

    /*background-image: url("grain-left.png");*/
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto;
}

#top-banner {
    /*display: flex;*/
    display: grid;
    width: 960px;
    height: 480px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
}

#top-banner-right {
    grid-row: span 3;
}

#top-banner-left-slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    
}

#getDiscountButton {
    margin-top: 16px;
}

#top-banner-left-slogan > p:nth-child(1) {
    font-size: 32pt;
    font-weight: bold;
}

#top-banner-left-slogan > p:not(:nth-child(1)) {
    font-size: 24pt;
    font-family: "Xarrovv";
}

#top-banner-left-boastings {
    display: flex;
    justify-content: space-between;
}

.boasting-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.boasting-item > div:nth-child(1) > p {
    font-size: 14pt;
}

.boasting-item > div:nth-child(2) > p {
    font-size: 28pt;
    font-weight: bold;
    color: #ffffff;
}

#top-banner-right {
    display: flex;
    justify-content: left;
    align-items: center;
}

#top-banner-right > img {
    width: 300px;
}

#top-banner-contact {
    display: flex;
    flex-direction: column;
    gap: 16px
}

#top-banner-contact > div {
    display: flex;
    flex-direction: column;
}

#top-banner-contact a, #top-banner-contact p {
    color: #f5e2cc;
}

#top-banner-contact a {
    font-size: 16pt;
    text-decoration: none;
    color: #f5e2cc;
    font-weight: 600;
    line-height: 24pt;
}

#top-banner-contact p {
    font-size: 12pt;
    font-weight: normal;
}

#top-banner-left-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top-banner-left-offer-logo {
    width: 150px;
}

#top-banner-left-offer > button {
    font-size: 12pt;
    background-color: #ffffff;
    border: none;
    color: #000000;
    border-radius: 8px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12pt;
    padding-bottom: 12pt;
    font-weight: 600;
    cursor: pointer;
}

/* description */
#description-box-wrapper {
    display: flex;
    width: 100%;
    background-color: #1E3916;
    justify-content: center;
    background-image: url("images/forest-yellow.png");
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

#description-box {
    display: flex;
    flex-direction: column;
    flex: 2;
}

#description-box-show-off { 
    margin-bottom: 32px;
    width: 420px;
}

#description-box-show-off > p {
    font-size: 12pt;
    font-weight: 600;
}

#description-box-description {
    margin-bottom: 96px;
}

#description-box-description > p {
    font-size: 18pt;
    line-height: 24pt;
    font-weight: 600;
}

#description-box-description > p > img {
    height: 16px;
}

#description-box-top {
    display: flex;
    width: 960px;
    height: 100%;
    background-color: #f5e2cc;
    border-radius: 8px 8px 0px 0px;
    box-sizing: border-box;
    padding-top: 48px;
    padding-left: 32px;
    padding-right: 32px;
    color: #000000;
    gap: 8px;
}

#bags-image {
    flex: 1;
}

#bags-image > img {
    width: 100%;
}

#description-box-planet {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 16px;
}

#description-box-planet > img {
    width: 96px;
}

#description-box-planet > div {
    display: flex;
    flex-direction: column;
    margin-left: 32px;
    height: 100%;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 8px;
    box-sizing: border-box;
}

#description-box-planet > div > p {
    font-size: 16pt;
    font-weight: bold;
    flex: 1;
}

#description-additional-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

#description-additional {
    display: flex;
    width: 960px;
    height: 100%;
    justify-content: space-between;
    padding-bottom: 64px;
    gap: 16px;
    padding-left: 24px;
    padding-right: 24px;
}

.description-item {
    display: flex;
    flex-direction: column;
    color: #000000;
    flex: 1 1 0;
}

.description-item > img {
    width: 48px;
    margin-bottom: 8px;
}

.description-item > div:nth-child(2) {
    margin-bottom: 16px;
    width: 256px;
}

.description-item > div:nth-child(3) {
    width: 260px;
}

.description-item > div:nth-child(2) > p {
    font-size: 16pt;
    font-weight: bold;
}

.description-item > div:nth-child(3) > p {
    font-size: 12pt;
}

/* why us */
#why-us-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    
    background-image: url("images/forest-green.png");
    background-size:contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

#why-us {
    display: flex;
    width: 960px;
    border-radius: 8px;
    background-color: #ffffff;
    flex-direction: column;
    color: #000000;
    justify-content: space-between;
    box-sizing: border-box;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 32px;
    padding-right: 32px;
}

#why-us-top {
    margin-bottom: 48px;
}

#why-us-top > p {
    font-size: 32pt;
    font-weight: bold;
}

#why-us-top > div > p {
    font-size: 16pt;
}

#why-us-conclusion > p {
    font-size: 12pt;
    text-align: right;
    font-weight: 600;
}

#why-us-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 48px;
    column-gap: 96px;
}

.why-us-item {
    display: flex;
    flex-direction: column;
}

.why-us-item > div:nth-child(1) {
    display: flex;
    background-color: #f2f2f2;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 16px;
}

.why-us-item > div:nth-child(1) > img {
    width: 32px;
    height: 32px;
}

.why-us-item > div:nth-child(2) > p {
    font-size: 16pt;
    font-weight: 600;
    line-height: 24pt;
    text-decoration: none;
}

.why-us-item > div:nth-child(2) {
    margin-bottom: 16px;
}

.why-us-item > div:nth-child(3) > p, .why-us-item > div:nth-child(3) > p > a {
    font-size: 12pt;
    line-height: 16pt;
    text-decoration: none;
}

.why-us-item > div:nth-child(3) > p > a {
    text-decoration: underline;
    color: black;
}

/* order details */
#order-details-wrapper {
    display: flex;
    width: 100%;
    background-color: #1E3916;
    justify-content: center;
    padding-top: 64px;
    box-sizing: border-box;
    padding-left: 24px;
    padding-right: 24px;
}

#order-details {
    display: flex;
    height: 100%;
    width: 960px;
    padding-left: 16px;
    padding-right: 16px;
}

#order-details > div {
    flex: 1;
}

#order-details-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    gap: 24px;
}

#order-details-left > p:nth-child(1) {
    color: #f5e2cc;
    font-weight: 600;
    font-size: 22pt;
    line-height: 32pt;
}

#order-details-left > div p {
    color: #ffffff;
    font-size: 16pt;
    font-weight: 600;
}

#order-details-left > div p:nth-child(1) {
    font-size: 14pt;
}

#order-details-left > button {
    font-size: 12pt;
    background-color: #ffffff;
    cursor: pointer;
    border: none;
    color: #000000;
    border-radius: 8px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12pt;
    padding-bottom: 12pt;
    font-weight: 600;
    width: fit-content;
}

#order-details-right {
    display: flex;
    justify-content: center;
    align-items: center;

}

#order-details-right > img {
    width: 256px;
}

/* gallery */
#gallery-wrapper {
    display: flex;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    background-color: #1E3916;
    justify-content: center;
}

#gallery {
    margin-top: 16px;
    display: grid;
    height: 100%;
    width: 960px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    padding-bottom: 48px;
}

.gallery-image-item {
    height: fit-content;
    /*cursor: zoom-in;*/
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image-item > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

#our-products-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 48px;
    flex-direction: column;
}

#our-products {
    display: flex;
    width: 960px;
    flex-direction: column;
    gap: 48px;
    padding-left: 16px;
    padding-right: 16px;
}

#our-products > p {
    font-size: 32pt;
    font-weight: 600;
    color: #000000;
}

#our-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 48px;
}

.our-products-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 24px;
}

.our-products-item > p {
    font-size: 14pt;
    color: #000000;
    font-weight: 600;
}

.our-products-item > img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.our-products-item > button {
    background-color: #1E3916;
    border: 0;
    font-size: 12pt;
    font-weight: 600;
    color: #ffffff;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: fit-content;
    height: fit-content;
    border-radius: 8px;
    cursor: pointer;
}

#need-heat {
    margin-top: 48px;
    margin-bottom: 48px;
    display: flex;
    width: 960px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    justify-content: space-between;
    box-sizing: border-box;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 32px;
    padding-right: 32px;
}

#need-heat-left {
    display: flex;
    flex-direction: column;
    flex: 2;
    gap: 16px;
}

#need-heat-left > p:nth-child(1) {
    font-size: 32pt;
    font-weight: 600;
    align-self: flex-start;
}

#need-heat-left > p:nth-child(2) {
    font-size: 24pt;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: auto;
}

#need-heat-left > div:nth-child(3) {
    width: 384px;
    margin-top: auto;
}

#need-heat-left > div:nth-child(3) > p {
    font-size: 12pt;
}

#need-heat-left > button {
    background-color: #1E3916;
    border: 0;
    font-size: 12pt;
    font-weight: 600;
    color: #ffffff;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: fit-content;
    height: fit-content;
    border-radius: 8px;
    cursor: pointer;
}

#need-heat-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#need-heat-right > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

#need-heat-right > div > img {
    width: 192px;
}

#need-heat-right > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#need-heat-right > div > div > p {
    font-size: 14pt;
    font-weight: 600;
}

#need-heat-right > div > div > p:nth-child(1) {
    font-size: 18pt;
    font-weight: 600;
}

#need-heat-right > div > div > div {
    margin-bottom: 12px;
    max-width: fit-content;
}

#need-heat-right > div > div > div > img {
    height: 24px;
    text-decoration: underline;
}

#need-heat-right > div > div > div > hr {
    margin-top: 4px;
    border: 1px solid black;
}

/* how do we work */
#how-work-wrapper {
    display: flex;
    background-color: #1E3916;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 24px;
}

#how-work {
    display: flex;
    flex-direction: column;
    width: 960px;
    align-items: center;
}

#how-work > p {
    font-size: 32pt;
    font-weight: 600;
}

#how-work-grid {
    display: grid;
    margin-top: 16px;
    width: 100%;
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
}

.how-work-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 48px;
}

.how-work-steps > div {
    display: flex;
    gap: 24px;
    flex: 1;
}

.how-work-steps > div > div:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* prevents flex from shrinking this element */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.how-work-steps > div > div:nth-child(1) > p {
    font-size: 16pt;
    font-weight: 600;
}

.how-work-steps > div > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-work-steps > div > div:nth-child(2) > p:nth-child(1) {
    font-size: 16pt;
    font-weight: 600;
}

.how-work-steps > div > div:nth-child(2) > p:nth-child(2) {
    font-size: 14pt;
}

.how-work-bag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-work-bag > img {
    width: 80%;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* trading company */
#trading-company-wrapper {
    display: flex;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    margin-top: 48px;
}

#trading-company {
    display: flex;
    width: 960px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    justify-content: space-between;
    align-items: stretch;
    box-sizing: border-box;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 32px;
    padding-right: 32px;
}

#trading-company > div {
    flex: 1;
}

#trading-company-left {
    align-self: center;
}

#trading-company-left > p {
    font-size: 32pt;
    font-weight: 600;
}

#trading-company-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

#trading-company-short {
    display: flex;
    align-items: center;
    gap: 32px;
}

#trading-company-short > div:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#trading-company-short > div:nth-child(1) > p {
    font-size: 12pt;
    line-height: 18pt;
}

#trading-company-short > div:nth-child(1) > p:nth-child(1) {
    font-weight: 600;
}

#trading-company-short > div:nth-child(2) > img {
    width: 192px;
}

#trading-company-long > p, #trading-company-long > a {
    font-size: 12pt;
    line-height: 18pt;
}

#trading-company-long > a {
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}

/* laboratoty testing */
#laboratory-testing-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 48px;
}

#laboratory-testing {
    display: flex;
    width: 960px;
    flex-direction: column;
    height: 100%;
    padding-left: 16px;
    padding-right: 16px;
    gap: 64px;
}

#laboratory-top { 
    display: flex;
    color: #000000;
    flex-direction: column;
}

#laboratory-top > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#laboratory-top > div:nth-child(1) > p {
    font-size: 36pt;
    font-weight: 600;
}

#laboratory-top > div:nth-child(1) > img {
    width: 125px;
}

#laboratory-top > div:nth-child(2) {
    width: 384px;
}

#laboratory-top > div:nth-child(2) > p {
    font-size: 12pt;
    font-weight: 600;
    line-height: 18pt;
}

#laboratory-table {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    background-color: #ffffff;
    width: 512px;
    align-self: center;
    overflow: hidden;
    border-radius: 8px;
}

#laboratory-table > div { /* row */
    display: contents;
}

#laboratory-table > div > div { /* cell */
    padding: 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#laboratory-table > div > div:nth-child(2n) {
    border-right: none;
}

#laboratory-table > div:last-child > div {
    border-bottom: none;
}

#laboratory-table > div > div > p {
    font-size: 12pt;
    color: #000000;
    font-weight: 600;
}

/* pdf preview */
#pdf-preview-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 48px;
}

#pdf-preview {
    display: flex;
    width: 960px;
    height: 100%;
    justify-content: space-between;
}

#pdf-preview > a > img {
    width: 256px;
}

/* contact */
#contact-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 48px;
    padding-top: 96px;
    background-color: #1E3916;
    padding-bottom: 48px;
}

#contact {
    display: flex;
    width: 960px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#contact > p:nth-child(1) {
    font-size: 32pt;
    color: #f5e2cc;
    font-weight: 600;
}

#contact > p:nth-child(2) {
    font-size: 16pt;
    color: #f5e2cc;
    margin-bottom: 32px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

#contact-form > * {
    font-size: 12pt;
    width: 384px;
    border: 0;
}

#contact-form > textarea {
    resize: vertical;
    min-height: 12pt;
    max-height: 256px;
}

#contact-form > input, #contact-form > textarea {
    padding: 8px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#contact-form > input::placeholder, #contact-form > textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#contact-form > input:focus, #contact-form > textarea:focus {
    outline: none;
}

#contact-form > button {
    background-color: #ffffff;
    border: 0;
    font-size: 12pt;
    font-weight: 600;
    color: #000000;
    padding-left: 48px;
    padding-right: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: fit-content;
    height: fit-content;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 32px;
}

/* footer */
#footer-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 96px;
    background-color: #1E3916;
    padding-bottom: 24px;
}

#footer {
    display: flex;
    height: 100%;
    width: 960px;
    justify-content: space-between;
    align-items: top;
    gap: 16px;
}

#footer > div > img {
    width: 100px;
}

#footer > div:nth-child(2), #footer > div:nth-child(3) {
    display: flex;
    flex-direction: column;
    line-height: 15pt;
}

#footer > div:nth-child(3) {
    display: flex;
    align-items: end;

}

#footer > div > p:nth-child(1) {
    font-weight: 600;
}

#footer > div p, #footer > div a {
    font-size: 12pt;
}

#footer > div a {
    text-decoration: none;
    color: #f5e2cc;
    font-size: 12pt;
    font-weight: 600;
}

#footer > div > div {
    margin-bottom: 8px;
}

/* item preview */
#item-preview-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 4;
    overflow: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 32px 16px;
}

#item-preview {
    display: flex;
    width: 960px;
    background-color: #f5e2cc;
    border-radius: 8px;
    flex-direction: column;
    padding: 16px;
    gap: 32px;
    box-sizing: border-box;

    max-height: calc(100% - 64px);
    overflow-y: auto;
}

#closeItemPreview {
    display: flex;
    flex-shrink: 0;
    align-self: flex-end;
    background-color: rgba(0, 0, 0, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#closeItemPreview > img {
    width: 12px;
    opacity: 50%;
}

#item-preview-box {
    display: flex;
    gap: 48px;
    padding: 8px;
    box-sizing: border-box;
}

#item-preview-box > div {
    flex: 1;
}

#item-picture-view {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

#item-picture-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#item-picture-box > div:not(:nth-child(2)) {
    display: flex;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    border-radius: 16px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

#item-picture-box > div:not(:nth-child(2)) > img {
    width: 25%;
}

#item-picture-box > div {
    display: flex;
    width: 384px;
    height: 384px;
    align-items: center;
    justify-content: center;
}

#activeProductImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#item-gallery-box {
    display: flex;
    gap: 16px;
    justify-content: center;
}

#item-gallery-box > div {
    display: flex;
    width: 64px;
    height: 64px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 8px;
    box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.itemClicked {
    background-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: none !important;
}

#item-gallery-box > div:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#item-gallery-box > div > img {
    width: 32px;
    object-fit: contain;
}

#item-description {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#item-description-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#item-description-title > div:nth-child(1) {
    width: 270px;
}

#item-description-title > div > p {
    font-size: 24pt;
    font-weight: 600;
    color: #000000;
}

#item-description-title > div > img {
    height: 80px;
}

#item-description-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#item-description-specs > div {
    display: contents;
}

#item-description-specs > div > div {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#item-description-specs > div:last-child > div {
    border-bottom: none;
}

#item-description-specs > div > div > p, #item-description-specs > div > div > p > span {
    font-size: 12pt;
    color: #000000;
    line-height: 16pt;
}

#item-description-specs > div > div:nth-child(1) > p {
    font-weight: 600;
}

/* contact (new) */
#contact-new-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 48px;
    padding-top: 96px;
    background-color: #1E3916;
    padding-bottom: 48px;
}

#contact-new {
    display: flex;
    width: 960px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#contact-new > p:nth-child(1) {
    font-size: 32pt;
    color: #f5e2cc;
    font-weight: 600;
}

#contact-new > p:nth-child(2) {
    font-size: 16pt;
    color: #f5e2cc;
    margin-bottom: 32px;
}

#contact-new > div {
    display: flex;
    width: fit-content;
    flex-direction: column;
}

#contact-new > div > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-bottom: 20px;
}

#contact-new > div > div > p:nth-child(1) {
    font-size: 16pt;
    font-weight: 600;
}

#contact-new > div > div > a:not(:nth-child(1)) {
    font-size: 24pt;
    font-weight: 600;
}

#contact-new a {
    text-decoration: none;
    color: #f5e2cc;
}

@media (max-width: 976px) {
    /* too difficult to make it even smaller */
    #content {
        zoom: 0.8;
    }

    /* adjust the components themselves */
    html {
        scroll-padding-top: 63px;
    }

    #laboratory-top > div:nth-child(1) > img {
        display: none;
    }

    #top-fixed {
        display: none;
    }

    #top-fixed-mobile {
        display: flex;
    }

    #item-picture-box {
        justify-content: center;
    }

    #top-banner-right {
        grid-row: initial;
    }

    .top-fixed-phone {
        font-size: 15pt !important;
    }

    #top-fixed-language {
        padding-right: 32px;
        top: 134px !important;
    }

    #top-fixed-language-selected > p {
        font-size: 16pt;
    }

    #top-fixed-language-selected > a > img {
        width: 40px;
        border-radius: 4px;
    }

    .language-selector > p {
        font-size: 14pt;
    }

    #description-box-description {
        margin-bottom: 32px;
        top: 300px !important;
    }

    #description-additional {
        flex-direction: column;
        align-items: left;
        padding-left: 64px;
        padding-right: 64px;
    }

    .description-item > img {
        width: 48px;
    }
    
    .description-item > div:nth-child(2) {
        width: 100%;
    }
    
    .description-item > div:nth-child(3) {
        width: 100%;
    }

    #description-box {
        align-self: center;
        flex: 1;
    }

    #description-box-planet {
        justify-content: center;
    }

    #bags-image {
        flex: 0;
    }

    #bags-image > img { 
        display: none;
    }

    #description-box-top {
        border-radius: 0;
        width: 100%;
    }

    #why-us {
        width: 100%;
        border-radius: 0;
        padding-bottom: 16px;
    }

    #why-us-points {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, auto);
        row-gap: 24px;
    }

    #why-us-conclusion > p {
        margin-top: 32px;
        text-align: center;
    }

    #order-details-left {
        flex: 1;
    }

    #order-details-right {
        display: none;
        flex: 0;
    }

    #gallery {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
    }

    #gallery-wrapper {
        padding-top: 48px;
    }

    .gallery-image-item > img {
        height: 256px;
    }

    #our-products-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    #our-products {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    #our-products-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 1fr;
    }

    #need-heat {
        width: 100%;
        border-radius: 0;
        padding-bottom: 32px;
        flex-direction: column;
        gap: 16px;
    }

    #need-heat-left {
        flex: 1;
        gap: 32px;
    }

    #need-heat-right > div > div > p {
        font-size: 18pt;
    }

    #need-heat-left > button {
        align-self: center;
    }

    .how-work-bag {
        display: none;
    }

    #how-work-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 48px;
        margin-top: 48px;
        padding-bottom: 32px;
    }

    .how-work-steps {
        padding-bottom: 0;
        padding-top: 0;
        gap: 48px;
    }

    #laboratory-testing {
        width: 100%;
    }

    #pdf-preview {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    #contact-new {
        width: 100%;
    }

    #footer {
        width: 100%;
    }

    #laboratory-top {
        gap: 48px;
    }

    #footer-mobile-top-padding {
        margin-top: 24px;
    }

    #contact-new-wrapper {
        box-sizing: border-box;
    }

    #contact-new > p {
        text-align: center;
    }

    #contact-new > div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        gap: 24px;
        width: 100%;
    }

    #contact-new > div > div {
        width: 384px;
    }

    #laboratory-table {
        width: 100%;
    }

    #footer {
        flex-direction: column;
    }

    #footer > div:nth-child(3) {
        align-items: center;
    }

    #top-banner-wrapper {
        padding-top: 180px !important;
    }

    #top-banner {
        padding-left: 16px;
        padding-right: 16px;
        gap: 24px;
        height: auto;
        place-items: center;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, auto);
    }

    #top-banner-contact {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #top-banner-contact {
        gap: 28px;
    }

    #top-banner-contact > div:nth-child(1) {
        align-items: center;
    }

    #top-banner-contact a {
        font-size: 20pt;
        line-height: 28pt;
    }

    #top-banner-contact p {
        font-size: 16pt;
    }

    #top-banner-right {
        justify-content: center;
    }

    #top-banner-right > img {
        width: 50%;
    }

    #top-banner-left {
        gap: 32px;
    }

    #top-banner-left > :nth-child(1) {
        display: none;
    }

    #top-banner-left-boastings {
        flex-direction: column;
        gap: 32px;
    }

    #footer-wrapper {
        padding-top: 32px;
    }

    #top-banner-right {
        flex: 0;
    }

    #top-banner-left {
        flex: 1;
    }

    #item-preview-wrapper {
        padding: 0;
    }

    #item-preview {
        width: 100%;
        border-radius: 0;
        max-height:max-content;
    }

    #item-preview-box {
        flex-direction: column;
    }

    /* font scalings */
    .our-products-item > p {
        font-size: 18pt;
    }

    button {
        font-size: 20pt !important;
    }

    .boasting-item > div > p {
        font-size: 18pt !important;
    }

    #top-banner-left-slogan > p:nth-child(1) {
        font-size: 26pt;
    }

    .description-item > div:nth-child(2) > p {
        font-size: 18pt;
    }

    .description-item > div:nth-child(3) > p {
        font-size: 18pt;
    }

    #description-box-planet > div:nth-child(2) > p {
        font-size: 18pt;
    }

    .why-us-item > div:nth-child(2) > p {
        font-size: 20pt;
    }

    .why-us-item > div:nth-child(3) > p {
        font-size: 18pt;
        line-height: 24pt;
    }

    #why-us-conclusion > p {
        font-size: 18pt;
    }

    #order-details-left > div:nth-child(2) > p {
        font-size: 18pt;
    }

    #need-heat-left > div > p {
        font-size: 18pt !important;
    }

    .how-work-steps > div > div:nth-child(2) > p:nth-child(1) {
        font-size: 20pt;
    }

    .how-work-steps > div > div:nth-child(2) > p:nth-child(2) {
        font-size: 18pt;
    }

    #laboratory-top > div:nth-child(2) > p {
        font-size: 18pt;
        line-height: 24pt;
    }

    #laboratory-table > div > div > p {
        font-size: 18pt;
    }

    #contact-new > p:nth-child(2) {
        font-size: 18pt;
    }

    #itemPreviewLeft {
        justify-self: left;
    }

    #item-description-specs > div > div {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #item-description-specs > div > div > p {
        font-size: 16pt;
        line-height: 24pt;
    }

    #footer > div p, #footer > div a {
        font-size: 16pt;
        line-height: 20pt;
    }
    
    #footer > div a {
        font-size: 16pt;
    }
}
