:root {
    --black: #231F20;
    --red: #FF4B4B;
  }
  @font-face {
    font-family: 'Lato';
    src: url('font/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
  }
  
  @font-face {
    font-family: 'Lato';
    src: url('font/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
  }
body, html {
    font-family: 'Lato', sans-serif;
    height: 100%;
    margin: 0;
    background-color: var(--black);
    scroll-behavior: smooth;
  }
  body{
    overflow-x: hidden;
  }
  p{
    font-size: 25px;
  }
/* main image */

.bg {
    /* The image used */
    background-image: url("../img/mainImg.jpg");
  
    /* Full height */
    height: 100%; 
  
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* header */
.nav-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.nav-item::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-item_white {
    color: white;
}

.nav-item_white::after {
    background-color: white;
}

.nav-item:hover::after {
    transform: scaleX(1);
}

header {
    position: fixed;
    z-index: 10;
    width: 100vw;
    overflow-x: hidden;
    color: white;
}

#header_div {
    width: 100vw;
    height: 13vh;
    background-color: var(--black);
    display: flex;
}

#header_logo {
    margin-left: 20px;
    width: 32.5vh;
    height: 13vh;
}

#header_div div {
    justify-content: flex-end;
    width: calc(100vw - 32.5vh);
    align-items: center;
    display: flex;
    margin-right: 20px;
}

#header_div div h2 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: x-large;
}

@media (max-width: 640px) {

    #header_div {
        width: 100vw;
        height: 10vh;
        background-color: var(--black);
        display: flex;
    }

    #header_logo {
        width: 25vh;
        height: 10vh;
    }

    #header_div div h2 {
        padding-left: 5px;
        padding-right: 5px;
        font-size: medium;
    }

    #header_div div {
        margin-right: 10px;
        width: calc(100vw - 15vh);
    }
}

@media (max-width: 340px) {

    #header_div {
        height: 8vh;
    }

    #header_logo {
        width: 20vh;
        height: 8vh;
    }

    #header_div div h2 {
        font-size: smaller;
    }

    #header_div div {
        width: calc(100vw - 12vh);
    }
}

/* products */
#product_container{
    min-height: 80vh;
    width: 100vw;
    margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
background-color: white;
}
.product{
    padding: 1rem;
    height: 4rem;
}
.product div{
    height: calc(49vh + 105px);
    border: solid var(--black) 3px;
}
.product div div{
    padding-top: 20px;
    border: none;
}
.product div div div{
    padding: 0;
    height: 50px;
}
.product_left{
    float: left;
    margin: 0;
    padding-left: 20px;
    font-size: 50px;
}
.product_right{
    float: right;
    margin: 0;
    padding-right: 20px;
    font-size: 50px;
}
.product div img{
   width: 100%;
   height: 35vh;
   object-fit: cover;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 1000px) {
    #product_container { grid-template-columns: repeat(2, 1fr); }
  }
  
  /* Screen larger than 900px? 3 columns */
  @media (min-width: 1500px) {
    #product_container { grid-template-columns: repeat(3, 1fr); }
  }
.button_1{
    margin-left: 5%;
    width: 90%;
    height: 6vh;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    border: none;
    background-color: var(--red);
    font-size: x-large;
    margin-bottom: 1vh;
    color: black;
    transition: 0.3s;
}
.button_1:hover{
   color: white;
}
/* text and image */
#about{
    background-color: white;
    flex-direction: row-reverse;
    color: black;
}
.textAndImage {
    display: flex;
    background-color: var(--black);
    color: white;
}
.textAndImage video,
.textAndImage img {
    width: 60vw;
    max-height: 50vh;
    object-fit: cover;
}

.textAndImage div {
    text-align: center;
    align-self: center;
}

.textAndImage div p {
    text-align: justify;
    font-size: 20px;
    margin-right: 10%;
    margin-left: 10%;
}

@media (max-width: 1000px) {
    .textAndImage {
        display: block;
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .textAndImage video,
    .textAndImage img {
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
        max-height: 50vh;
        object-fit: cover;
    }

    .textAndImage div p {
        text-align: start;
    }
}
/* review */
.review-container{
    width: 100vw;
    padding-bottom: 5vh;
    padding-top: 5vh;
    background-color: white;
}
.review{
    width: 85vw;
    margin-left: 7.5vw;
    margin-right: 7.5vw;
    border-radius: 20px;
    padding-bottom: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.review-header{
    padding-left: 5vw;
    padding-right: 5vw;
    display: flex;
    padding-top: 20px;
    padding-bottom: 10px;
}
.review-header-rating{
   position: absolute;
   right: calc(5vw + 20px);
    color: gray;
}
.review-header img{
   height: 80px;
   width: 80px;
   object-fit: cover;
   border-radius: 50%;
   margin-right: 10px;
}
.review p{
    padding-left: 5vw;
    padding-right: 5vw;
}

