*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root{
  /* display */
  --display-height: calc(100vh - (8.5rem / 1.8));

  /* font */
  --Xl-header-font-size: clamp(1.5rem, 2.5vw, 3rem);
  --Xl-des-font-size: clamp(1rem, 1.5vw, 1.55rem);
  --Xl-button-font-size: clamp(0.85rem, 0.95vw, 1.85rem);

  --L-header-font-size: clamp(1.5rem, 2.25vw, 2.5rem);
  --L-des-font-size: clamp(0.75rem, 1.25vw, 1.5rem);
  --L-button-font-size: clamp(0.85rem, 0.95vw, 1.85rem);

  --M-header-font-size: clamp(1.25rem, 1.75vw, 2.25rem);
  --M-des-font-size: clamp(0.75rem, 1.25vw, 1.5rem);
  --M-button-font-size: clamp(0.85rem, 0.95vw, 1.85rem);

  --S-header-font-size: clamp(1rem, 1.5vw, 2rem);
  --S-des-font-size: clamp(0.5rem, 1vw, 1.25rem);

  --main-font: "Nanum Myeongjo", serif;
  --des-font: "Urbanist", sans-serif;

  --light-font-w: 300;
  --normal-font-w: 500;
  --bold-font-w: 700;

  /* color */
  --whiteS: whitesmoke;
  --darkBlue0: #081671;
  --darkBlue1: #030b3f;
  --darkBlue2: #00020d;
  --lightGrey1: #c6c6c6;
  --lightGrey2: #a2a2a2;
  --black: #000;
  --gladient-darkblue: linear-gradient(90deg, #030b3f 40%, #010629 60%, #00020d 100%);
}

section.pressureGauge,
section.temperatureGauge{
  width: 100%;
  height: 100vh;
  padding-top: calc(8.5rem / 1.8);
  display: flex;
  align-items: center;
}

#prevCard, #nextCard{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: var(--darkBlue1);
  opacity: 0.8;
  padding: 0.1rem;
  i{
    /* border: solid red 3px; */
    font-weight: 500 !important;
    font-size: var(--Xl-header-font-size);
    /* color: var(--darkBlue1); */     
    color: var(--whiteS);
  }
}

#prevCard{
  left: 0;
  border-radius: 0 1rem 1rem 0;
}

#nextCard{
  right: 0;
  border-radius: 1rem 0 0 1rem ;
}

.pressureGauge .mainContainer,
.temperatureGauge .mainContainer{
  width: 100%;
  height: calc(var(--display-height) / 1.25);
  padding: 0 3vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: solid red 3px; */
}

.pressureGauge .productContainer,
.temperatureGauge .productContainer{
  width: 100%;
  height: calc(var(--display-height) / 1.25);
  /* border: solid darkcyan 2px; */
  padding-left: 2.5rem;
  background-color: var(--lightGrey1);
  display: grid;
  border-radius: 1.5rem;
  grid-template-columns: 1fr 0.85fr;
  grid-template-rows: calc((var(--display-height) / 1.25) * 5/6) 1fr;
}

section.pressureGauge article.articleCon,
section.temperatureGauge article.articleCon{
  width: 100%;
  height: 100%;
  grid-column: 1/2;
  grid-row: 1/2;
  padding: 1vw;
  /* border: solid red 3px; */
}

section.pressureGauge .header,
section.temperatureGauge .header{
  font-size: var(--Xl-header-font-size);
  margin-bottom: 2.5vw;
  font-family: var(--main-font) !important;
  h2{
    font-weight: var(--normal-font-w) !important;
  } 
}

section.pressureGauge .description,
section.temperatureGauge .description{
  font-size: var(--Xl-des-font-size);
  margin-bottom: 2vw;
  font-family: var(--des-font);
  /* border: solid red 2px; */
  p{
    font-weight: var(--light-font-w) !important;
  }
}

.productItem{
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  transition: all ease .3s;
}

.productItem.active{
  display: flex;
}

section.pressureGauge .articleCon,
section.temperatureGauge .articleCon{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1.5vw;
  padding-right: 1vw;
  width: 100%;
  height: 100%;
  justify-content: center;
  /* border: solid green 3px; */
}

section.productCardArea{
  width: 100%;
  height: 100%;
  grid-row: 1/3;
  grid-column: 2/3;
  padding: 1rem;
  /* border: solid green 3px; */
}

.productCardContainer{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center; 
  gap: 1rem;
  /* border: solid red 3px; */
}

.cardItem{
  display: none;
  width: 100%;
  height: calc(((var(--display-height) / 1.25) - 2rem))!important;
  min-height: 100% !important;
  border-radius: 1.25rem;
  /* background-color: var(--whiteS); */
  background-color: transparent;
  transition: all ease .3s;
}

.cardItem.active{
  display: flex;
}

.cardItem.selected{
  display: flex;
  border: solid var(--lightGrey2) 4.5px;
}

.cardWrapper{
  width: 100%;
  height: 100%;
  /* border: solid red 3px; */
  display: grid;
  padding: 0.25rem;
  border-radius: 1rem;
  background-color: var(--whiteS);
  grid-template-rows: calc(((var(--display-height) / 1.5)) / 2) 1.5fr;
}

.pressureGauge .imgCon,
.temperatureGauge .imgCon{
  width: 100%;
  padding: 1rem;
  height: auto;
  /* border: solid red 3px; */
}

.cardWrapper img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cardWrapper .articleCon{
  padding-top: 1rem;
  justify-content: flex-start;
  /* border: solid red 3px; */
  padding: 1rem;
  overflow: auto;
}

.productCardContainer .header{
  font-family: var(--main-font);
  font-size: var(--M-header-font-size) !important;
  /* border: solid red 3px; */
  width: fit-content  !important;
  h6{
    font-weight: var(--bold-font-w);
  }
}

section.pressureGauge .cardItem .description,
section.temperatureGauge .cardItem .description{
  font-size: var(--S-des-font-size) !important;
  margin-bottom: 1.5vw;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden; 
}

section.pressureGauge button,
section.temperatureGauge button{
  margin-bottom: 1vw;
  color: var(--darkBlue1);
  border-color: var(--black) !important;
  border-radius: 3rem !important;
  font-size: var(--Xl-button-font-size);
  padding: 0.5rem 1.5rem;
  a{
    text-decoration: none;
    font-family: var(--des-font);
    color: var(--darkBlue1);
  }
  i{
    font-weight: 500 !important;
    margin-right: 0.5rem;
    color: var(--darkBlue1);
    /* border: solid red 1px; */
  }
}

section.indicator{
  /* border: solid blueviolet 3px; */
  grid-row: 2/3;
  grid-column: 1/2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pIndicatorContainer{
  /* border: solid red 3px; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

li.pIndicatorItem{
  list-style: none;
  background-color: var(--darkBlue1);
  width: 1.75rem;
  height: 0.175rem;
  border-radius: 2rem;
  opacity: 0.2;
  transition: 0.3s all ease;
}

li.pIndicatorItem.active{
  opacity: 1;
}

@media screen and (max-width: 770px) {
  section.pressureGauge,
  section.temperatureGauge{
    height: 100% !important;
    /* border: solid red 3px; */
  }

  section.pressureGauge .mainContainer,
  section.temperatureGauge .mainContainer{
    height: 100% !important;
    /* border: solid red 3px; */
    padding: 1rem;
  }

  section.pressureGauge .productContainer,
  section.temperatureGauge .productContainer{
    grid-template-columns: 1fr !important;
    grid-template-rows: 0.25fr 0.5fr 0.5fr !important;
    /* height: calc(var(--display-height) / 1.25) !important; */
    height: 100%;
    /* border: solid red 3px; */
    padding-top: 1rem;
    overflow: auto;
    padding-left: 0 !important;
  }

  article.articleCon{
    grid-column: 1/2;
    grid-row: 1/2;
    height: 100% !important;
    /* border: solid red 3px; */
  }

  .productItem .articleCon{
    align-items: center !important;
  }

  .articleCon .header, 
  .articleCon .description{
    text-align: center;
  }

  section.indicator{
    grid-column: 1/2;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: solid red 3px; */
  }

  section.productCardArea{
    grid-column: 1/2;
    grid-row: 3/4;
    height: fit-content;
    /* border: solid red 3px; */
  }

  .cardItem.active {
    display: flex;
  }
}

@media screen and (max-width: 410px){
  .cardItem .articleCon{
    align-items: center !important;
    p{
      text-align: center;
    }
    .button{
      /* border: solid red 3px; */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }
}

@media screen and (min-height: 1000px){
  .pressureGauge .mainContainer,
  .temperatureGauge .mainContainer{
    height: 50vh;
  }

  .pressureGauge .productContainer,
  .temperatureGauge .productContainer{
    height: 50vh;
    grid-template-rows: 10fr 1fr;
  }

  .productCardArea{
    padding: 1rem;
  }

  .cardItem{
    height: 100% !important;
  }

  .cardWrapper{
    grid-template-rows: 1fr 1fr;
  }
}