*{
  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.5rem, 1vw, 1.15rem);
  --M-button-font-size: clamp(0.35rem, 0.5vw, 1.5rem);

  --S-header-font-size: clamp(1rem, 1.5vw, 2rem);
  --S-des-font-size: clamp(0.35rem, 0.75vw, 0.95rem);

  --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;
  --lightGrey0: #ededed;
  --lightGrey1: #c6c6c6;
  --lightGrey2: #a2a2a2;
  --black: #000;
  --gladient-darkblue: linear-gradient(90deg, #030b3f 40%, #010629 60%, #00020d 100%);
}

section.thermowell{
  width: 100%;
  /* height: 100%; */
  height: 100vh;
  /* height: var(--display-height); */
  /* position: relative; */
  padding-top: calc(8.5rem / 1.8);;
  /* top: calc(8.5rem / 1.8); */
  display: flex;
  /* border: solid red 3px; */
  align-items: center;
}

section.thermowell .mainContainer{
  padding: 3vw 15vw;
  /* background: linear-gradient(to right,  rgba(255, 255, 255, 0.5) 50%,#e4e4e4 50%); */
}

section.thermowell .mainContainer,
section.thermowell .mainContainer .productContainer{
  width: 100%;
  height: 100%;
  /* border: solid red 3px; */
}

section.thermowell .mainContainer .productContainer{
  display: grid;
  grid-template-columns: 1fr 0.15fr 1fr;
  grid-template-rows: 1fr;
  /* padding: 1rem;  */
  /* border: solid gray 3px; */
}

section.thermowell .articleCon{
  height: 100%;
  padding: 1rem;
  padding-left: 2rem;
  /* border: solid red 3px; */
  /* border-radius: 2rem; */
  /* background-color: var(--lightGrey1); */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* align-items: flex-end !important; */
  padding-top: 3.5rem;
  grid-row: 1/2;
  grid-column: 3/4;
}

section.thermowell .header{
  font-family: var(--main-font);
  margin-bottom: 2.5vw;
  font-size: var(--Xl-header-font-size);
  h2{
    /* border: solid red 3px; */
    font-weight: var(--normal-font-w) !important;
  }
}

section.thermowell article.articleCon .description{
  font-family: var(--des-font);
  font-size: var(--L-des-font-size);
  line-height: 2rem;
  p{
    font-weight: var(--light-font-w);
  }
}

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

section.thermowell .productCardContainer{
  width: 100%;
  aspect-ratio: 1;
  /* background-color: #e4e4e4; */
  border-radius: 2.75rem;
  transition: all ease .3s;
  display: grid;
  /* border: solid purple 3px; */
  grid-template-columns: repeat(25, 1fr);
  grid-template-rows: repeat(25, 1fr);
}

section.thermowell .cardItem{
  width: 100%;
  height: 100%;
  /* border: solid var(--darkBlue1) 2px; */
  background-color: #ededed;
  border-radius: 2rem;
  padding: 0.5rem;
  opacity: 1;
  transition: all ease .3s ;
}

section.thermowell #cardItem1,
section.thermowell #cardItem2,
section.thermowell #cardItem3,
section.thermowell #cardItem4{
  display: flex;
  width: 100%;
  height: 100%;
  opacity: 1;
}

section.thermowell #cardItem1 {
  grid-column: 1/13;
  grid-row: 1/13;
  /* display: none; */
  /* grid-column: 1 / 26 !important;
  grid-row: 1 / 26 !important;
  .articleCon{
    display: flex;
  } */
}

section.thermowell #cardItem2 {
  grid-column: 14/26;
  grid-row: 1/13;
  /* display: none; */
}

section.thermowell #cardItem3 {
  grid-column: 1/13;
  grid-row: 14/26;
  /* display: none; */
}

section.thermowell #cardItem4 {
  grid-column: 14/26;
  grid-row: 14/26;
  /* display: none; */
  /* grid-column: 1 / 26 !important;
  grid-row: 1 / 26 !important;
  .articleCon{
    display: flex;
  }  */
  
}

section.thermowell .productCardContainer .cardItem:hover {
  grid-column: 1 / 26 !important;
  grid-row: 1 / 26 !important;
  z-index: 999;
  .cardWrapper{
    display: grid;
    grid-template-rows: 1fr 1fr !important;
  }
  .imgCon{
    grid-row: 1/2;
    grid-column: 1/2;

  }
  .articleCon{
    grid-row: 2/3;
    grid-column: 1/2;
    display: flex;
  }
}

section.thermowell .productCardContainer .cardItem:not(:hover) {
  opacity: 0;
  display: none;
}


section.thermowell .cardWrapper{
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  /* border: solid green 3px; */
}

section.thermowell .cardWrapper .imgCon{
  width: 100%;
  position: relative;
  /* border: solid red 3px; */
  /* opacity: 0.5; */
  transition: all ease .3s;
}

section.thermowell .cardWrapper .imgCon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute; 
  top: 0;
  left: 0;
}

section.thermowell .cardWrapper .articleCon{
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  /* align-items: center !important; */
  padding: 0.5vw 1.25vw;
}

section.thermowell .cardWrapper .header{
  font-family: var(--main-font);
  margin-bottom: 1vw;
  font-size: var(--Xl-header-font-size);
  text-align: center;
  h6{
    font-weight: var(--normal-font-w);
  }
}

section.thermowell .cardWrapper .description{
  display: none;
  font-family: var(--des-font);
  margin-bottom: 1vw;
  font-size: var(--S-des-font-size);
  p{
    font-weight: var(--light-font-w);
  }
}

section.thermowell .cardWrapper button{
  color: var(--darkBlue1);
  border-color: var(--black) !important;
  border-radius: 3rem !important;
  font-size: var(--S-button-font-size);
  padding: 0.5rem 1rem;
  width: fit-content;
  background-color: transparent;
  a{
    text-decoration: none;
    font-family: var(--des-font);
    color: var(--darkBlue1);
  }
  i{
    font-weight: 500 !important;
    margin-right: 0.5rem;
    color: var(--darkBlue1);
  }
}

section.thermowell .cardWrapper button::before{
  content: "";
}

section.thermowell .cardWrapper .button ul.downloadLst{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  li{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* border: solid red 3px; */
    padding: 0 !important;
  }
  p{
    font-size: var(--S-button-font-size);
    font-weight: var(--bold-font-w) !important;
    font-family: var(--des-font);
  }
}

@media screen and (max-width: 1023px) {
  .productContainer{
    display: flex !important;
    flex-direction: column !important;
  }

  section.thermowell .articleCon{
    padding: 0;
    padding-top: 3.5rem;
  }

  section.thermowell .header,
  section.thermowell article.articleCon .description{
    text-align: center;
    /* font-size: smaller; */
  }
}

@media screen and (max-width: 300px) {
  section.thermowell .header,
  section.thermowell article.articleCon .description{
    font-size: smaller;
  }

  section.thermowell .header h2{
    font-weight: var(--bold-font-w) !important;
  }
}