* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: .7px;
}

:root {
    --primary-color: #fefbf1;
    --secondary-color: #1a1819;
    --tertiary-color: #01cb36;
    --btn-padding: ;
    --btn-font-size: ;
    --btn-min-width: ;
    --btn-max-width: ;
    --padding: ;

    --paragraph-font-size: clamp(11px, 2vw, 20px)
}

@font-face {
    font-family: poppin;
    src: url('../fonts/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: mono;
    src: url('../fonts/MartianMono-ExtraBold.ttf') format('truetype'),

}

@font-face {
    font-family: tung;
    src: url('../fonts/Tungsten-Bold.ttf') format('truetype'),

}

@font-face {
    font-family: space;
    src: url('../fonts/Space_Mono/SpaceMono-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: hel;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Medium.ttf') format('truetype'),

}

@font-face {
    font-family: hel-thin;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Regular.ttf') format('truetype'),

}



html {
    width: 100%;
}

html,
body {
    font-size: 24px;
    overflow-x: clip;
    background-color: var(--primary-color);
}


/* hero */

nav {
    position: absolute !important;
}

.hero {
    padding: 5rem 2.5rem;
    padding-top: 0px;
    padding-bottom: 0rem;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: var(--tertiary-color);
    font-family: sans-serif;
    align-items: center;
    color: var(--primary-color);
    height: 110vh;
    justify-content: center;
    /* height: 100vh !important; */
}

.hero h1 {
    font-size: .9rem;
    font-family: hel;
    font-weight: lighter;
}

.hero .middle-content {
    position: relative;
    width: min(100%, 600px) !important;
    height: 450px !important;
    top: 5%;
    /* bottom: 30px !important; */

}

.hero .middle-content .tray {
    width: 100%;
    top: 50%;
    height: 125%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .middle-content .barcode-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
}

.hero .middle-content .barcode-container .barcode {
    width: 100%;
    margin: 15px 0px;

}




@media (max-width:570px) {
    .hero .middle-content .barcode-container .barcode {
        width: 120vw;
        position: relative;
        right: 16px;
        height: 55px;
    }
}

.hero .middle-content .barcode-container h3 {
    font-family: space;
    text-align: center;
    font-weight: lighter;
    letter-spacing: .8rem;
    font-size: clamp(13px, 3.85vw, 22px);
    letter-spacing: 35px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

@media (max-width:570px) {
    .section-2 .middle-content .barcode-container h3 {
        left: calc(10px + 2.5vw)
    }
}

.hero .bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: flex-end;
    gap: 1rem;

}

.hero .top h3{
    font-size: clamp(16px, 3.3vw, 21px);
    margin: 0 auto;
    text-align: center;
    line-height: 25px;
}

.hero .bottom p {
        text-align: center;
    width: min(900px, 96%);
    font-size: calc(9.5px + .3vw);
    line-height: calc(15px + .65vw);
    letter-spacing: .7px;
    margin: 0 auto;
    margin-top: 70px;
}

.hero .bottom button {
    background-color: var(--secondary-color);
    border: none;
    font-family: space;
    color: var(--primary-color);
    padding: var(--btn-padding);
    font-size: var(--btn-font-size);
    letter-spacing: .7px;
    text-transform: uppercase;
    margin: 0 auto;
    margin-top: 35px;


    width: 100%;
    max-width: var(--btn-max-width);
    min-width: var(--btn-min-width);
    white-space: nowrap;
    display: flex;
    justify-content: center;

    /* font-weight: lighter; */
    &:hover {
        cursor: pointer;
    }
}


.hero  .bottom{
    position: relative;
    bottom: 25px;
}

@media (max-width:760px) {
    .hero .middle-content {
        height: 70vw !important;
    }
}

@media (max-width:550px) {
    .hero.hero {
        max-height: 100dvh !important;
    }

    .hero .middle-content .barcode-container h3 {
        position: relative;
        left: calc(10px + 2.5vw);
    }

    .hero .middle-content .barcode-container .barcode {
        width: 100vw;
        position: relative;
        right: 16px;
        height: 55px;
    }

}


/* section-1 */

.section-1 {
    min-height: 100vh;

}

.section-1 .intro {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: fit-content;
    z-index: 2;
    margin-bottom: 35px;

}

.section-1 .intro .line {
    height: .6px;
    background-color: var(--secondary-color);
    width: 100%;
    position: absolute;
    /* transform: translate(0%,-50%); */
    left: 0px;
    top: 50%;
    z-index: -1;
    left: 0px;
}

.section-1 .intro h1 {
    font-size: clamp(10px + .7vw, 2.1vw, 14px);
    font-family: space;
    /* font-weight: lighter; */
    z-index: 3;
    width: fit-content;
    background-color: var(--primary-color);
    height: 100%;
    margin: 0 auto;
    padding: 0rem 2rem;
    text-transform: uppercase;
    letter-spacing: .3px;

}

.section-1 .container {
    display: grid;
    grid-template-columns: auto calc(300px + 8vw);
    gap: 70px;
}

.section-1 .container p {
    font-size: 12.5px;
    font-family: hel-thin;

}

.section-1 .container .left {}

.section-1 .container .left .img {
    /* background-color: rgb(170, 170, 170); */
    width: 100%;
    height: 570px;
    margin-bottom: 20px;
}

.section-1 .container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-1 .container .left .text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-1 .container .left .desc {
    line-height: 21px;
    width: 90%;
}

.section-1 .container .left h3 {
    font-family: tung;
    font-size: 65px;
}





.section-1 .right {}

.section-1 .right h2 {
    font-family: hel;
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.section-1 .right .posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-1 .right .posts .post {
    display: grid;
    grid-template-columns: 135px 1fr;
    padding-top: 30px;
    padding-bottom: 10px;
    border-top: 1px solid var(--secondary-color);
    /* border-bottom: 1px solid var(--secondary-color); */
    align-items: stretch;
    gap: 15px;
}

.section-1 .right .post .img {
    aspect-ratio: 1/1;

    width: 100%;
}

.section-1 .right .post .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-1 .right h3 {
    font-family: hel;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-1 .right p {
    font-size: 12px;
    line-height: 19px;
}






/* section-2 */


.section-2 {
    min-height: 100vh;
    padding: var(--padding);
}



.section-2 .intro {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: fit-content;
    z-index: 2;
    margin-bottom: 70px;

}

.section-2 .intro .line {
    height: .6px;
    background-color: var(--secondary-color);
    width: 100%;
    position: absolute;
    /* transform: translate(0%,-50%); */
    left: 0px;
    top: 50%;
    z-index: -1;
    left: 0px;
}

.section-2 .intro h1 {
    font-size: clamp(32px + .7vw, 4.5vw, 70px);
    font-family: tung;
    font-weight: lighter;
    z-index: 3;
    width: fit-content;
    background-color: var(--primary-color);
    height: 100%;
    margin: 0 auto;
    padding: 0rem 2rem;
    text-transform: uppercase;
    letter-spacing: .3px;

}


.section-2 .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
    row-gap: 50px;
}

.section-2 .container .post {
    min-height: 300px;
}

.section-2 .container .img {
    aspect-ratio: 1/1;
    /* background-color: #01cb36; */
}

.section-2 .container .img img {
    width: 100%;
    height: 100%;
}

.section-2 .container .post .text {
    margin-top: 28px;

}

.section-2 .post .text h5 {
    font-family: hel-thin;
    font-size: 13.5px;
    /* margin-bottom: 26px; */
    letter-spacing: 1px;
    width: 90%;
    height: 62px;
    text-transform: uppercase;
}

.section-2 .post .text p {
    font-family: hel-thin;
    font-size: 11px;

}






@media (max-width:1000px) {

    .section-1 .container {
        grid-template-columns: 1fr;
    }

    .section-1 .container .left h3{
        font-size: clamp(33px, 7vw, 65px);
    }

    .section-1 .right p {
        font-size: clamp(12px, 2vw, 14px);
        line-height: clamp(15px, 3vw, 19px);
    }

    .section-1 .right h3{
        font-size: clamp(16px, 2.5vw, 18px);
    }

    .section-2 .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-2 .post .text h5 {
        font-size: max(calc(8px + .5vw), 14.5px);
        height: unset;
        min-height: calc(30px + 3vw);
    }
    .section-2 .container .post .text{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width:760px) {
    .section-2{
        padding-top: 9vw !important;
    }
}

@media (max-width:500px) {
    .section-2 .container {
        grid-template-columns: 1fr;
    }

    .section-2 .post .text h5{
        font-size: clamp(14px, 4.1vw, 17px);

    }

    .hero .top h3{
        font-size: 4.2vw;
    }
}