* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #020024;
  background-image: linear-gradient(to right top, #845ec2, #0085e4, #00a2e5, #00b9cc, #00c9a7);
  background-repeat: no-repeat;
  min-height: 100vh;
}
@font-face {
  font-family: poppins-regular;
  src: url(font/Poppins-Regular.ttf);
}
@font-face {
  font-family: poppins-medium;
  src: url(font/Poppins-Medium.ttf);
}
@font-face {
  font-family: poppins-semibold;
  src: url(font/Poppins-SemiBold.ttf);
}
@font-face {
  font-family: poppins-bold;
  src: url(font/Poppins-Bold.ttf);
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
#lifeHead {
  padding: 25px 0;
}
#lifeHead h1 {
  color: white;
  font-family: poppins-semibold;
  font-size: 48px;
}
#lifeBody {
  width: 100%;
  margin-top: 30px;
}
#lifeBody .bodyHead {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
#lifeBody .bodyHead .bodyHeadItem {
  flex-basis: calc(33.33333333%);
  padding: 5px 15px;
}
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput label {
  display: block;
  margin-bottom: 10px;
  font-family: poppins-semibold;
  font-size: 19px;
  color: white;
}
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput input {
  width: 100%;
  height: 48px;
  padding: 5px 12px;
  border: 1px solid #A2D5F2;
  border-radius: 5px;
  outline: none;
  font-family: poppins-regular;
  font-size: 18px;
  color: #00A8CC;
  text-transform: capitalize;
}
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday {
  display: flex;
}
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday input {
  width: calc(33.33333333%);
  margin: 0 7px;
}
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday input::-webkit-outer-spin-button,
#lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#lifeBody .bodyFoot {
  margin-top: 20px;
  display: none;
  background-color: #ffffff;
  padding: 18px 12px;
  border-radius: 8px;
  box-shadow: 0 0 2px #008CCC;
}
#lifeBody .bodyFoot .resultUserName {
  font-family: poppins-semibold;
  font-size: 24px;
  color: #008CCC;
  text-align: center;
}
#lifeBody .bodyFoot .resultList {
  list-style-type: none;
  display: flex;
  margin-top: 18px;
}
#lifeBody .bodyFoot .resultList .resultItem {
  flex: 1;
  display: inline-block;
  text-align: center;
  font-family: poppins-medium;
  font-size: 20px;
  color: #008CCC;
  padding: 7px 0;
}
#lifeBody .bodyFoot .resultList .resultItem span {
  display: block;
  margin-top: 5px;
}
#lifeBody p {
  margin-top: 10px;
  color: #FFA41B;
  font-family: poppins-medium;
  font-size: 16px;
}
#lifeBody .bodyFootActive {
  display: block;
}
#lifeBody .bodyHeadButton {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}
#lifeBody .bodyHeadButton #result {
  border: none;
  outline: none;
  box-shadow: none;
  font-family: poppins-bold;
  font-size: 24px;
  color: white;
  background-color: #008CCC;
  box-shadow: 0 0 2px white;
  padding: 5px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
#lifeBody .bodyHeadButton #result:hover {
  color: #008CCC;
  background-color: white;
  border: 1px solid #008CCC;
  cursor: pointer;
  transform: scale(1.05);
}
#lifeFoot {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #008CCC;
}
#lifeFoot div {
  text-align: center;
  padding: 15px 0;
  font-family: poppins-bold;
  font-size: 14px;
  color: white;
}
#lifeFoot div a {
  text-decoration: none;
  color: #FFA41B;
}
.lifeFootBack {
  height: 120px;
}
.PopUp {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all .4s ease;
}
.PopUp .popItem {
  width: 400px;
  padding: 30px 10px 40px 10px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px #950101;
}
.PopUp .popItem .popItemDesing {
  text-align: center;
  width: 100%;
  height: 100%;
}
.PopUp .popItem .popItemDesing p {
  padding: 20px 0 30px 0;
  font-family: poppins-semibold;
  font-size: 25px;
  color: black;
}
.PopUp .popItem .popItemDesing #popCloseBut {
  border: none;
  outline: none;
  box-shadow: none;
  font-family: poppins-bold;
  font-size: 20px;
  color: white;
  background-color: #008CCC;
  box-shadow: 0 0 2px grey;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  min-width: 70px;
}
.PopUp .popItem .popItemDesing #popCloseBut:hover {
  color: #008CCC;
  background-color: white;
  border: 1px solid #008CCC;
  cursor: pointer;
  transform: scale(1.02);
}
.popUpActive {
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 768px) {
  #lifeHead {
    padding: 10px 0;
  }
  #lifeHead h1 {
    font-size: 36px;
  }
  #lifeBody {
    margin: 0;
    margin-top: 10px;
  }
  #lifeBody .bodyHead {
    margin: 0;
  }
  #lifeBody .bodyHead .bodyHeadItem {
    flex-basis: 100%;
    padding: 8px 0px;
  }
  #lifeBody .bodyHead .bodyHeadItem .bodyHeadInput label {
    margin-bottom: 5px;
    font-size: 17px;
  }
  #lifeBody .bodyHead .bodyHeadItem .bodyHeadInput input {
    height: 40px;
    font-size: 15px;
  }
  #lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday {
    flex-wrap: wrap;
  }
  #lifeBody .bodyHead .bodyHeadItem .bodyHeadInput .birtday input {
    width: 100%;
    margin: 3px 0;
  }
  #lifeBody .bodyFoot {
    margin-top: 15px;
  }
  #lifeBody .bodyFoot .resultUserName {
    font-size: 20px;
  }
  #lifeBody .bodyFoot .resultList {
    margin-top: 12px;
    flex-wrap: wrap;
  }
  #lifeBody .bodyFoot .resultList .resultItem {
    flex: 50%;
    font-size: 18px;
  }
  #lifeBody .bodyFoot .resultList .resultItem span {
    margin-top: 3px;
  }
  #lifeBody p {
    margin-top: 5px;
    font-size: 14px;
  }
  #lifeBody .bodyHeadButton {
    margin-top: 20px;
  }
  #lifeBody .bodyHeadButton #result {
    font-size: 20px;
    padding: 5px 14px;
    border-radius: 8px;
  }
  #lifeFoot div {
    padding: 12px 0;
    font-size: 12px;
  }
  .PopUp .popItem {
    width: 275px;
    padding: 20px 10px 30px 10px;
    border-radius: 7px;
  }
  .PopUp .popItem .popItemDesing p {
    padding: 15px 0 20px 0;
    font-size: 20px;
  }
  .PopUp .popItem .popItemDesing #popCloseBut {
    font-size: 18px;
    padding: 3px 10px;
    border-radius: 4px;
    min-width: 60px;
  }
  .PopUp .popItem .popItemDesing #popCloseBut:hover {
    color: rgba(8, 87, 112, 0.8);
    background-color: white;
    border: 1px solid rgba(8, 87, 112, 0.8);
    cursor: pointer;
    transform: scale(1.02);
  }
}
