/*fonts.css*/
@font-face {
  font-family: "TT-norms";
  src: url("srcs/TT\ Norms\ Pro\ Medium.ttf") format("truetype");
}

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

body {
  width: 100%;
  /* height: 100vh; */
  width: 100%;
  font-family: "TT-norms";
}

a {
  color: black;
  text-decoration: none;
  font-weight: 600;
}

/* ====================================BORDER */
/* .container {
    border: 3px solid red;
}
.box_logo {
    border: 1px solid black;
}
.box_form {
    border: 1px solid orange;
}
.box_end {
    border: 1px solid blue;
} */

/* =======================================BOX */
.container {
  max-width: 1000px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
/* =====================================================Sartorius_Logo */

.sartoriusbox {
  width: 100%;
  height: 100px;
  background-color: #ffed00;
  /* position: relative; */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.sartorius_logo {
  width: 130px;
  position: absolute;
  left: 20px;
  top: 30%;
  /* animation-duration: 3s;
    animation-name: slidein_logo; */
}

@keyframes slidein_logo {
  from {
    margin-left: 100px;
    width: 130px;
  }

  to {
    /* .sartorius_logo에서 image의 위치는 left와 top으로 정해졌지만 animation에서의 위치는 다르다 */
    margin-left: 0px;
    width: 130px;
  }
}

#openspecialistwindow {
  /* position: absolute; */
  width: 80px;
  height: 25px;
  margin: 15px;
  color: white;
  background-color: black;
  text-align: center;
  line-height: 25px;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.service-button {
  /* position: absolute; */
  width: 80px;
  height: 25px;
  margin: 23px 0px 23px 23px;
  color: white;
  background-color: black;
  text-align: center;
  line-height: 25px;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.button-container {
  display: flex;
  align-items: center;
}

/* ==============================================box logo */
.boxlogo {
  width: 100%;
  height: 60px;
  background-color: #ffed00;
  position: relative;
}
.logoimage {
  position: absolute;
  width: 160px;
  height: 30px;
  left: 20px;
  /* background-color: yellow; */
  top: 50%;
  transform: translate(0, -50%);
}
.logoimage img {
  width: 100%;
}
/* ============================================box_form */
.boxform {
  width: 100%;
  /* height: 300px; */
  background-color: white;
  padding: 20px;
}

.item label,
.item select {
  cursor: pointer;
  font-weight: 500;
}
.item {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  font-size: 14px;
}
.item label {
  font-size: 15px;
}
.item select {
  width: 100%;
  height: 35px;
  padding: 5px;
  border: none;
  background-color: #f5f5f5;
  border-bottom: 1px solid #dadada;
  outline: none;
  font-family: "TT-norms";
}
.submit input {
  margin-top: 30px;
  margin-bottom: 10px;
  height: 40px;
  border: 0px;
  font-weight: 600;
  cursor: pointer;
  display: none;
}

#firstchildselect {
  display: none;
  animation-duration: 1.5s;
  animation-name: fadeinout03;
}

#secondchildselect {
  display: none;
  animation-duration: 1.5s;
  animation-name: fadeinout03;
}

@keyframes fadeinout03 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===========================================box_count */
.boxcount {
  margin-top: 10px;
  margin-bottom: 30px;
  width: 100%;
  height: 40px;
  background-color: #f5f5f5;
}
.boxcount h3 {
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 40px;
}

/* =============================================box_item */
.boxitem {
  width: 100%;
  /* height: 600px; */
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* grid-template-rows: 1fr 1fr 1fr; */
  row-gap: 8px;
  column-gap: 8px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.product {
  height: 260px;
  border: 1px solid #ffed00;
  /* background-color: #FFF100; */
  display: flex;
  flex-direction: column;
  animation-duration: 1.5s;
  animation-name: fadeinout01;
}
@keyframes fadeinout01 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.productimage {
  /* border: 1px solid green; */
  width: 100%;
  height: 210px;
  /* 위 250px에 대한 60% */
  /* border: 1px solid red; */
  overflow: hidden;
  /* overflow의 위치가 중요 */
}
.productimage img {
  /* border: 1px solid green; */
  width: 100%;
  height: 100%;
  scale: 1.1;
  object-fit: cover;
  cursor: pointer;
}

.productname {
  /* border: 1px solid blue; */
  padding: 3px 2px 3px 2px;
  width: 100%;
  /* height: 15%; */
  /* line-height: 20px; */
  text-align: center;
  font-weight: 600;
  font-size: 11px;
}
.productdescription {
  /* border: 1px solid purple; */
  padding: 2px;
  width: 100%;
  color: #e6007d;
  /* height: 10%; */
  /* line-height: 20px; */
  text-align: center;
  font-weight: 500;
  font-size: 10px;
}
.productmanufacturer {
  /* border: 1px solid red; */
  padding: 2px;
  width: 100%;
  /* height: 10%; */
  /* line-height: 30px; */
  text-align: center;
  font-size: 10px;
  font-weight: 500;
}

/* ============================================box_end */
.boxend {
  margin-top: 80px;
  width: 100%;
  height: 170px;
  background-color: black;
  color: white;
  /* position: absolute;
    bottom: 0px;
    left: 0px; */
}

/* ================================================popup */
.popupcontainer {
  display: none;
  /* max-width: 1000px; */
  width: 100%;
  height: 100%;
  top: 0;
  margin: 0 auto;
  position: fixed;
  animation-duration: 1s;
  animation-name: fadeinout02;
  top: 0;
  left: 0;
  /* min-height: 100vh; */
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

@keyframes fadeinout02 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup {
  position: relative;
  /* display: none; */
  background-color: white;
  max-width: 1000px;
  width: 400px;
}
.popupimage {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
#popupimagea {
  width: 100%;
  height: 100%;
  scale: 1.2;
  object-fit: cover;
}
.popupclosebutton {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  /* background-color: black; */
  cursor: pointer;
  font-size: 25px;
  line-height: 50px;
  text-align: center;
  font-weight: 600;
}
.popupbutton {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.popupbutton01,
.popupbutton02,
.popupbutton03 {
  height: 50px;
  /* line-height: 100px; */
  color: red;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.popupbutton01 {
  background-color: #ffed00;
}
.popupbutton02 {
  background-color: lightgrey;
}
.popupbutton03 {
  background-color: black;
}

.popupbutton01 a,
.popupbutton02 a,
.popupbutton03 a {
  position: relative;
}

.popupbutton01 a img,
.popupbutton02 a img,
.popupbutton03 a img {
  width: 30%;
  top: 50%;
  left: 50%;
  transform: translate(0, 15%);
}
.popupbutton03 a img {
  filter: invert(100%);
}
.popupname {
  width: 100%;
  height: 50px;
  font-weight: 600;
  background-color: rgb(250, 240, 240);
  display: flex;
}
.popupnamebox {
  width: 100%;
  justify-content: center;
  margin: auto;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.popupdescription {
  width: 100%;
  height: 100%;
  padding: 20px 30px;
  background-color: white;
  font-size: 13px;
}
/* ======================================================== SPECIAL LIST */

#specialistcontainer,
.specialistbox,
.buttonbox01,
.specialist,
.specialist01,
.specialist02,
.specialist03,
.specialist04 {
  border: 0px solid red;
}

#specialistcontainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
  animation-duration: 1s;
  animation-name: fadeinout02;
}

@keyframes fadeinout02 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.specialistbox {
  width: 350px;
  height: 700px;
  display: flex;
  flex-direction: column;
  margin: auto;
  background-color: white;
  position: relative;
}

.specialistchart {
  position: absolute;
  width: 85%;
  height: 50px;
  background-color: #ffed00;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  font-weight: 600;
}

.buttonbox01 {
  position: absolute;
  top: 0;
  right: 0;
  width: 15%;
  height: 50px;
  background-color: black;
  border-radius: 0 0 0 0;
}

#closebutton01 {
  color: white;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}

.specialist {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  row-gap: 5px;
  margin-top: 80px;
  padding: 10px;
}

/* ===========================SEPCIALIST= */

.specialist01,
.specialist02,
.specialist03,
.specialist04 {
  width: 100%;
  height: 100%;
  padding: 5px;
  margin-top: 10px;
  /* background-image: url("specialist/프리지아_03.jpg"); */
  background-size: 100%;
  background-position: center;
  font-size: 14px;
  text-align: center;
}
.name {
  margin-top: 0px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}
.email {
  font-size: 12px;
}
.tel {
  width: 150px;
  height: 20px;
  background-color: #ffed00;
  color: black;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  line-height: 20px;
}

/* ===============================================================footer */

.footer {
  margin-top: 50px;
  height: 170px;
  background-color: black;
}

.sartoriusend {
  /* Bottom을 0으로 할 경우 list 부분의 내용이 잘릴 수 있다. 이 떄 scroll을 써보면 어떨까? */
  /* bottom: 0; */
  width: 100%;
  bottom: 0px;
  margin-top: 0px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .sartoriusend img {
  width: 40px;
  /* bottom: 0px; */
  filter: invert(100%);
  margin: 8px;
}
