@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");

/* selection bar style 지정 */
body {
  font-family: 'Pretendard Variable';
  color: rgb(83, 83, 83);
}
.outer .prod2 {
    border-bottom: .125em solid rgb(0, 140, 255);
  }
.outer .prod2 a {
  font-weight: 600;
}

.first_cont {
  margin-top: 3%;
}

.first_cont .cont_intro {
  font-size: 1.5em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5em;
}

.first_cont .ibox {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  height: 40%;
  margin-top: 3%;
  margin-bottom: 7%;
}

.first_cont .ibox .lb{
  background-image: url(/image/spom_ctrl.png);
  background-position: 50%;
  width: 50%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}

.first_cont .ibox .rb{
  background-image: url(/image/psopm.png);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  width: 50%;
  height: 100%;
}

.first_cont .down {
  margin-top: 3%;
  margin-bottom: 1.5%;
  margin-right: 10%;
  display: flex;
  justify-content: right;
}

.first_cont .down a{
  font-size: 1.1em;
  border: 1px solid rgb(110, 110, 110);
  width: 240px;
  height: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first_cont .down a img { 
  width: 1.1em;
  margin-left: 5%;
}

.first_cont .down #dwt{
  display: none;
}
.first_cont .down a:hover{
  background-color: rgb(121, 195, 255);
  transition: 1s;
  color: white;
  border: 1px solid white;
}
.first_cont .down a:hover #dbk{
  display: none;
}
.first_cont .down a:hover #dwt{
  display: block;
  transition: 1s;
}

.hr1 {
  width: 80%;
  background-color: rgb(110, 110, 110);
}
.hr2 {
  width: 80%;
  border: none;
  height: 1px;
  background-color: rgb(177, 177, 177);
}

.con {
  font-family: 'Pretendard Variable';
  display: flex;
  justify-content: center;
}
.con .fbox {
  display: flex;
  width: 80%;
  justify-content: center;
  position: relative;
  margin-bottom: 5%;
}
.con .fbox .leftb {
  color: rgb(58, 58, 58);
  font-weight: 600;
  font-size: 1.3em;
  position: absolute;
  left: 0;
}
.con .fbox .rightb {
  justify-content: center;
  margin-left: 45%;
  font-size: 1.05em;
  line-height: 1.3em;
  font-weight: 300;
}



.detail .sub .sub-1 {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: 37.5%;
  max-height: 450px;
  margin-bottom: 2%;
}
.detail .sub .sub-1 .ov {
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 10px;
}
.detail .sub .sub-1 .cont_box {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: 35%;
  max-height: 400px;
  display: flex;
}
.detail .sub .sub-1 .cont_box .control,
.detail .sub .sub-1 .cont_box .booster{
  width: 50%;
  height: 100%;
}
.detail .sub .sub-1 .cont_box .control,
.detail .sub .sub-1 .cont_box .booster {
  position: relative;
}
/* Base state of the pseudo-elements */
.detail .sub .sub-1 .cont_box .control::after,
.detail .sub .sub-1 .cont_box .booster::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0); /* Start with transparent background */
  opacity: 0;
  transition: background-color .2s ease-in-out, opacity .2s ease-in-out; /* Transition for both properties */
  z-index: 2;
}

/* Hover state changes the background color and opacity */
.detail .sub .sub-1 .cont_box .control:hover::after,
.detail .sub .sub-1 .cont_box .booster:hover::after{
  background-color: rgba(0, 0, 0, 0.3); /* End with semi-transparent black */
  opacity: 1;
}


/* control unit */
.detail .sub .sub-1 .cont_box .control .bg-1,
.detail .sub .sub-1 .cont_box .booster .bg-2 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* Adjusted to cover */
  width: 100%;
  margin-top: 5%;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  justify-items: center;
}

.detail .sub .sub-1 .cont_box .control .bg-1{
  background-image: url("/image/spom1h8_flow.png");
  height: 80%; 
  background-size: contain;
  width: 100%;
  color: transparent;
  text-align: center;
}
.detail .sub .sub-1 .cont_box .booster .bg-2{
  background-image: url("/image/spom1h8_diagram.png");
  height: 80%; 
  background-size: contain;
  color: transparent;
  text-align: center;
  width: 100%;
}
.detail .sub .sub-1 .cont_box .control .bg-1 span {
  position: absolute;
  bottom: 1%;
  left: 42.5%;
  z-index: 1000000;
}

.detail .sub .sub-1 .cont_box .booster .bg-2 span {
  position: absolute;
  bottom: 1%;
  left: 45%;
  z-index: 1000000;
}

.detail .sub .sub-1 .cont_box .control:hover .bg-1 span,
.detail .sub .sub-1 .cont_box .booster:hover .bg-2 span {
  color: rgb(255, 255, 255); /* Color on hover */
  font-weight: 700;
}


/* 테이블 */
.detail .sub .sub-2 .spec {
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 10px;
  margin-bottom: 1%;
}


.detail .sub .sub-2 .spec {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}


.detail .sub .sub-2 table {
  font-size: 1.1em;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  margin-bottom: 2.5%;
  line-height: 1.3em;
}

.detail .sub .sub-2 table td {
  padding: 0.6%;
}



.detail .sub .sub-2 table #row1 {
  background-color: rgb(230, 230, 230);
  font-weight: 700;
}
.detail .sub .sub-2 table #row2 {
  background-color: rgb(255, 255, 255);
}

@media all and (min-width:1024px) and (max-width:1279px) { 
  .first_cont .cont_intro {
    font-size: 1.3em;
  }
} 

/* 테블릿 가로 (해상도 768px ~ 1023px)*/ 
@media all and (min-width:768px) and (max-width:1023px) { 
  .first_cont .cont_intro {
    font-size: 1.3em;
  }
} 

/* 모바일 가로 & 테블릿 세로 (해상도 480px ~ 767px)*/ 
@media all and (min-width:480px) and (max-width:767px) {
  .first_cont .cont_intro {
    font-size: 1.1em;
  }
} 

/* 모바일 세로 (해상도 ~ 479px)*/ 
@media all and (max-width:479px) {
  .first_cont .cont_intro {
    font-size: .9em;
  }
  .con .fbox .leftb {
    font-size: 1em;
  }
  .detail .sub .sub-2 table #row1,
  .detail .sub .sub-2 table #row2 {
    font-size: 0.4em;
  }
}