@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC:500,700&amp;display=swap");
@font-face {
  font-family: 'GenJyuuGothic';
  src: url('../font/GenJyuuGothic-Medium.ttf') format("truetype");
}
* {
  padding: 0;
  margin: 0;
  position: relative;
  font-family: 'GenJyuuGothic', '微軟正黑體', 'Noto Sans TC', sans-serif;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#LOGO .logo_text img{
  margin-left: 3%;
}

#carbon_container {
  display: inline-block;
  width: 50%;
  height: 100%;
}
.carbon_num{
  width: 85%;
  height: 280px;
  margin: 50px auto 0;
  border-radius: 20px;
  background-color: #fff;
  padding: 8% 5%;
}

.co2_box{
  position: relative;
}
.co2_box img{
  position: absolute;
  top: -25px;
}
.cal_box{
  margin-top: -23px;
}

#co2_emission {
  position: relative;
  width: 530px;
  height: 85px;
  border-radius: 50px;
  background-color: #319239;
  color:  #FFF;
  padding-left: 80px;
  left: 45px;
  top:  10px;
  margin-bottom: 50px;
}

#co2_emission span {
  font-size: 50px;
  top: 9px;
  margin: 0 5px;
  left: 30px;
}

.carbon_emission_num {
  background-image: url('../image/co2_bg.png');
  background-repeat: repeat-x;
  background-position: center;
  padding: 0 5px;
  color:  #FFF;
}

.clumb{
    font-size: 44px;
    text-align: center;
    margin-bottom: 15px;
}

#main_title {
  width: 35%;
  margin: 0 auto;
}

#main_title img {
  width: 100%;
}

#carbon_features_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 60vh;
}

#calculator_container, #carbon_container{
  display: inline-block;
  width: 45%;
  height: 100%;
  background-color: #238891;
  border-radius: 30px;
  float: left;
  padding: 30px;
}
#calculator_container{
  margin: 0 1.6665% 0 3.3333%;
}
#carbon_container{
  margin: 0 3.3333% 0 1.6665%;
}

.carbon_text {
  color:  #FFF;
}
.carbon_text h1{
  font-size: 44px;
  text-align: center;
  margin-bottom: 15px;
}

.carbon_text p {
  line-height: 20px;
  font-size: 18px;
  line-height: 25px;
}

.carbon_text span {
  right: 0;
}

.cal_l{
  width: 40%;
  float: left;
}

.cal_l img{
  margin-top: 45px;
}

.cal_r{
  width: 46%;
  float: right;
  border-radius: 20px;
  background-color: #fff;
  padding: 2%;
}

#carbon_emission_calculator {
  display: block;
  width: 280px;
  max-width: 300px;
  height: 250px;
  min-height: 250px;
  top: calc(50% - 325px);
  right: 0;
  left: 0;
  margin: 0 auto;
  padding-top: 7px;
  bottom: 2%;
  background-color: #dadada;
  border-radius: 20px;
}

#result_shower {
  background-color: #fff;
  border-radius: 10px;
  width: 90%;
  height: 36px;
  font-size: 28px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
}

#result_shower p {
  text-align: center;
  color: #221814;
  font-family: '微軟正黑體', 'Noto Sans TC', sans-serif;
}

#calculator_btn_container {
  width: 88%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
}

.calculator_btn {
  width: 30%;
  height: 30px;
  margin-top: 7px;
  border-radius: 5px;
  border: solid 1px #030000;
  background-color: #9f9fa0;
  font-size: 18px;
  color: #ffffff;
/*  -webkit-box-shadow: 2px 2px 6px #777777;
          box-shadow: 2px 2px 6px #777777;*/
  cursor: pointer;
  font-family: '微軟正黑體', 'Noto Sans TC', sans-serif;
}

.calculator_btn:active {
  /*-webkit-box-shadow: none;
          box-shadow: none;*/
  border-color: #666666;
}

.calculate_btn {
  width: 100%;
}

@media screen and (max-height: 855px) {
  #calculator_container, #carbon_container{
    padding: 20px
  }
  .carbon_text p{
    font-size: 15px;
    line-height: 20px;
  }
  #carbon_emission_calculator {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    bottom: 0;
    position: relative;
    height: auto;
    min-height: auto;
    padding-bottom: 10px;
  }
  .calculator_btn{
    height: 26px;
    font-size: 18px;
  }
  .co2_box img{
    width: 30%;
  }
  #co2_emission span{
    font-size: 26px;
  }
  .clumb{
    font-size: 30px;
    margin-bottom: 0;
  }
  .carbon_num{
    height: auto;
    margin-top: 0;
  }
  .carbon_text h1{
    font-size: 32px;
  }
}

@media screen and (max-width: 1680px) {
  #co2_emission{
    width: 470px;
  }
  #co2_emission span{
    font-size: 40px;
    top: 13px;
  }
  .clumb{
    margin-top: 20px;
  }
  .cal_l img {
    margin-top: 30px;
    max-width:  80%;
  }
  #calculator_btn_container{
    margin-top: 0;
  }
}

@media screen and (min-width: 1080px) and (max-width: 1080px) {
  #main_container {
    background-image: url(../image/bg_1080x1920p.png);
  }
  #main_container_C {
    background-image: url(../image/bg_1080x1920p_C.png);
  }
  #carbon_emission {
    width: 60%;
    top: 25%;
  }
  #main_title {
    width: 60%;
  }
}
@media screen and (max-width: 1366px) {
  #co2_emission{
    width: 385px;
    left: 20px;
    height: 60px;
  }
  #co2_emission span{
    font-size: 24px;
  }
  .carbon_num {
    padding: 8% 5% 3%;
  }
  #result_shower{
    font-size: 18px;
    height: 30px;
  }
  #carbon_emission_calculator{
    top: -18px;
  }
  .cal_r{
    max-height: 180px;
    margin-top: -16px;
    width: 60%;
    padding: 0;
  }
  .cal_l{
    width: 40%;
  }
}
@media screen and (max-width: 1280px) {
  .carbon_text h1{
    font-size: 36px;
  }
  .co2_box img{
    max-width: 30%;
  }
  #co2_emission{
    width: 370px;
    left: 5px;
    top: 6px;
  }
  #co2_emission span{
    margin: 0 4px;
  }
  .clumb{
    font-size: 38px;
  }
  .carbon_num {
    height: 225px;
  }
  .cal_r{
    margin-top: 0;
    max-height: none;
    height: 220px;
  }
  .cal_box{
    margin-top: 0;
  }
  #carbon_emission_calculator {
    top: 5px;
    height: 210px;
    min-height: auto;
  }
  #result_shower{
    height: 25px;
  }
  .calculator_btn{
    height: 25px;
  }
}
@media screen and (max-width: 1280px) and (max-height: 800px){
  .cal_r{
    width: 58%;
    margin-top: -60px;
    height: 200px;
  }
  #carbon_emission_calculator {
    top: -3px;
  }
  .cal_l{
    margin-top: -10px;
  }
}
@media screen and (max-width: 1024px) {
  #main_container{
    overflow-y: scroll
  }
  #carbon_features_container{
    display: block;
    height: auto;
    top: 10%;
    padding-bottom: 3%;
  }
  #calculator_container, #carbon_container{
    width: 90%;
    margin: 0 auto 30px;
    float: none;
    height: auto;
    display: block;
    padding: 20px;
  }
  #main_title {
    width: 65%;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
  .carbon_num{
    height: auto;
  }
  #carbon_emission {
    top: 30%;
    width: unset;
  }
  #carbon_emission_box {
    right: 100px;
  }
  #carbon_emission_calculator {
    bottom: 20%;
  }
  .cal_box{
    position: relative
  }
  .cal_l{
    width: 30%;
    position: absolute;
    bottom:  0;
  }
  .cal_r{
    width: 70%;
    margin-top: 20px
  }
  .clumb{
    font-size: 30px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  #main_container_C {
    min-width: unset;
    background-size: cover;
  }
  #main_title {
    top: 0%;
  }
  #carbon_emission span {
    font-size: 30px;
  }
  #co2_emission {
    width: 400px;
  }
  #co2_emission span {
    margin: unset;
    font-size: 30px;
    top:  22px;
    margin-right: 3px;
  }
  .carbon_emission_num {
    font-size: 40px;
    height: 50px;
  }
  #carbon_emission_box {
    right: 70px;
  }
  #carbon_emission_calculator {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@media screen and (max-width: 640px) {
  #main_container_C {
    overflow: auto;
  }
  #carbon_emission {
    top: 250px;
  }
  #carbon_emission_box {
    top: 50px;
    right: 60px;
  }
  #carbon_features_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #carbon_emission_calculator {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    bottom: 0;
  }
  #carbon_emission_calculator {
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
  }
  #result_shower{
    font-size: 30px;
  }
  #result_shower p{
    top: calc( 50% - 21px);
  }
  .carbon_num{
    margin-top: 20px;
    height: auto;
    width: 100%;
    padding-bottom: 70px;
  }
  #co2_emission{
    width: 100%;
    position: relative
  }
  .co2_box img{
    width: 30%;
    top: 0;
  }
  #co2_emission{
    width: 90%;
    height: auto;
    padding: 5px 0 5px 10%;
    top: 16px;
    left: 12%;
  }
  #co2_emission span{
    font-size: 26px;
    top: 0;
  }
  .carbon_emission_num{
    padding: 0 4px;
  }
}

@media screen and (max-width: 480px) {
  #main_container_C {
    height: 100%;
  }
  #carbon_features_container{
    padding-bottom: 20px;
  }
  #main_title {
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
  #carbon_emission {
    position: relative;
    right: unset;
    margin-left: auto;
    margin-right: auto;
    top: 100px;
  }
  #carbon_emission_box {
    top: 30px;
    right: 35px;
  }
  #carbon_emission_box span {
    font-size: 20px;
  }
  .carbon_emission_num {
    font-size: 15px;
    height: 25px;
    margin-left: 2px;
  }
  #carbon_emission_calculator {
    top: unset;
    margin-left: auto;
    margin-right: auto;
    margin-top: -16px;
    height: 255px;
  }
  #result_shower{
    font-size: 20px;
  }
  #result_shower p{
    top: calc( 50% - 16px);
  }
  .calculator_btn{
    font-size: 18px;
    height: 32px;
    margin-top: 9px;
  }
  .carbon_text h1 {
    font-size: 30px;
  }
  #co2_emission span{
    font-size: 18px;
  }
  .clumb{
    font-size: 24px;
  }
  .carbon_num{
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 375px) {
  .calculator_btn{
    height: 28px;
  }
  #carbon_emission_calculator{
    height: 230px;
  }
}

@media screen and (min-height: 800px) and (max-height: 850px) {
  #carbon_emission_calculator {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
}

@media screen and (max-width: 320px) {
  #main_title {
    position: relative;
    min-height: unset;
    height: 20%;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    right: 0;
  }
  #carbon_emission {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-height: 100px;
    top: 0;
    right: 0;
  }
  #carbon_emission span {
    font-size: 12px;
  }
  #carbon_emission_box {
    right: 30px;
    top: 30px;
  }
  .carbon_emission_num {
    font-size: 12px;
    height: 20px;
    margin-left: 3px;
  }
  #carbon_emission_calculator {
    position: relative;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;
    min-height: 100px;
    text-align: center;
    right: 0;
    bottom: 20px;
  }
  #result_shower {
    margin-top: 20px;
    display: inline-block;
  }
  #co2_emission span{
    font-size: 16px;
  }
}
/*# sourceMappingURL=carbon.css.map */