@import url("https://fonts.googleapis.com/css2?family=Nunito&=swap");

body {
  font-family: 'Nunito', 'sans-serif';
  margin: 0;
  height: 100vh;
}

* {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom-select:focus {
  box-shadow: 0px 0px !important;
  -webkit-box-shadow: 0px 0px !important;
}

.btn {
  border-radius: 0px;
}

.calculator-section {
  margin: 1rem;
  padding: 2rem 2.5rem;
}

.cal-img {
  height: 75px;
  margin: 2.5% 45%;
}

.due-date-results__info {
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 auto;
  max-width: 90%;
}

.due-date-results__info h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 4%;
  color: #603091;
  letter-spacing: 1px;
}

.due-date-results__info__sub-headline {
  color: #4a4a4a;
  font-size: 1.3rem;
}

.due-date-results__recalcLink {
  font-size: 1rem;
  color: #432c6c;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid;
  cursor: pointer;
}

.progress-icon {
  position: absolute;
  bottom: 5px;
  height: auto;
  left: inherit;
}

.due-date-results__calendar-wrapper {
  background: url(//images.agoramedia.com/wte3.0/gcms/redesign/ddc-calendar-v3.svg) center center no-repeat;
  background-size: contain;
}

.due-date-results__calendar {
  background: url(//images.agoramedia.com/wte3.0/gcms/redesign/animation-confetti.gif) center center no-repeat;
  background-size: contain;
  width: 100%;
  /* height: 0; */
  padding: 0;
  /* padding-bottom: 100%; */
  text-align: center;
  position: relative;
  margin: 2em 0;
  /* padding-bottom: 45%; */
}

.due-date-results__calendar__month {
  /* position: absolute;
  width: 98vw;
  top: 25%; */
  color: #1e1853;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 2rem;
  line-height: 1.25rem;
}

.due-date-results__calendar__day {
  /* position: absolute;
  width: 98vw;
  top: 38%; */
  color: #1e1853;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 5rem;
  line-height: 6rem;
}

.due-date-results__calendar__year {
  /* position: absolute;
  width: 98vw;
  top: 73%; */
  font-size: 1.5em;
  color: #1e1853;
  font-weight: 900;
  line-height: 3.5rem;
  letter-spacing: 0px;
  font-size: 2rem;
}

.pregnancy-timeline__headline {
  font-size: 1.25em;
  color: #603091;
  font-weight: 700;
  line-height: 1.2em;
  letter-spacing: normal;
  margin: 1.5rem 0 1rem 0;
}

.result-box {
  min-height: 120vh;
  min-width: 100%;
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ebfff3), color-stop(26%, #defffb), to(#b6dff1));
  background-image: linear-gradient(to bottom, #ebfff3, #defffb 26%, #b6dff1);
  background-repeat: no-repeat;
}

.result-box .result-img {
  background: url("./bird_with_baby.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100vw;
}

.result-box .result-text {
  padding: 6rem;
  font-family: 'Nunito';
  font-size: 2.2rem;
  text-align: right;
  color: black;
  font-stretch: expanded;
  letter-spacing: 2px;
}

.result-box .result-text .you-are {
  font-size: 1.3rem;
  color: #255a1b;
  border-bottom: 3px #2a335a solid;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
}

.result-box .c-due-date {
  font-size: 5rem;
  padding: 1rem;
  color: red;
  background: -webkit-linear-gradient(280deg, #4e0ade, #dc0e0e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-transform: rotate3d(1, 1, 1, 145deg) translate3d(1260px, 1000px, 1000px) scale(5.5);
  transform: rotate3d(1, 1, 1, 145deg) translate3d(1260px, 1000px, 1000px) scale(5.5);
}

.result-box .cross {
  position: fixed;
  top: 5%;
  right: 5%;
  font-size: 2rem;
  cursor: pointer;
  -webkit-transition: all 1s;
  transition: all 1s;
}

.result-box .cross:hover {
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  -webkit-transition: all 1s;
  transition: all 1s;
}

.btn:hover {
  -webkit-box-shadow: 0px 8px 7px 0px #48484887;
  box-shadow: 0px 8px 7px 0px #48484887;
  text-shadow: 0px 6px 3px #263c4e;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

@media screen and (max-width: 600px) {
  .result-text {
    padding: 2rem !important;
    padding-top: 3.5rem !important;
    margin-top: 10%;
  }

  .c-due-date {
    font-size: 2.4rem !important;
  }

  .bar {
    /* bottom: 20% !important; */
  }

  .result-box {
    min-height: 120vh !important;
    position: fixed !important;
  }

  .bar-text {
    font-size: 0.8rem !important;
  }

  .due-date-results__calendar__month {
    font-size: 1rem;
    line-height: 0.75rem;
  }

  .due-date-results__calendar__day {
    font-size: 2.8rem;
    line-height: 3rem;
  }

  .due-date-results__calendar__year {
    font-size: 1rem;
    line-height: 1.75rem;
  }
}

@media screen and (min-width: 1100px) {
  .result-box {
    min-height: 120vh !important;
    max-width: 102vw !important;
  }

  .due-date-results__calendar__year {
    font-size: 2.5rem;
    line-height: 5rem;
  }

  .due-date-results__calendar__month {
    font-size: 2.5rem;
    line-height: 2rem;
  }

  .due-date-results__calendar__day {
    font-size: 8rem;
    line-height: 9rem;
  }

  .bar {
    /* bottom: 10% !important; */
  }
}

.bar {
  position: absolute;
  /* bottom: 20%; */
  left: 7%;
  height: 30px;
  width: 85vw;
  background: -webkit-gradient(linear, left top, right top, color-stop(25%, #5fcdd2bf), color-stop(75%, #7a66a4a1));
  background: linear-gradient(90deg, #5fcdd2bf 25%, #7a66a4a1 75%);
  border-radius: 25px;
  opacity: 1;
  padding: 0.5rem;
  display: inline-block;
}

.bar .bar-progress {
  position: absolute;
  height: 15px;
  border-radius: 25px;
  width: 0%;
  background: -webkit-gradient(linear, left top, right top, color-stop(10%, #ec4444), color-stop(50%, #ad48b9), color-stop(95%, #7b48e6));
  background: linear-gradient(90deg, #ec4444 10%, #ad48b9 50%, #7b48e6 95%);
  -webkit-animation-name: pg-bg-animate;
  animation-name: pg-bg-animate;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.bar .bar-text {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: white;
  position: relative;
  top: 30px;
  text-shadow: 1px 2px 1px #6c51a5;
  -webkit-box-shadow: 2px 3px 2px #9a88bf61;
  box-shadow: 2px 3px 2px #9a88bf61;
  background: #8291b9;
  border-radius: 10px;
  padding: 0.5rem;
}

.bar .tr-line {
  background-color: white;
  width: 3px;
  height: 15px;
  z-index: 99;
}

.bar .trimester-date {
  position: relative;
  left: 6%;
  color: #1a5a00;
  font-size: 20px;
  font-weight: 900;
  top: -40px;
  -webkit-transform: translateX(5000%);
  transform: translateX(5000%);
}

@-webkit-keyframes pg-bg-animate {
  from {
    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);
  }

  to {
    -webkit-filter: hue-rotate(0);
    filter: hue-rotate(0);
  }
}

@keyframes pg-bg-animate {
  from {
    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);
  }

  to {
    -webkit-filter: hue-rotate(0);
    filter: hue-rotate(0);
  }
}

/* Datepicker sass */
.ui-datepicker,
.ui-datepicker-material-header {
  font-family: 'Nunito';
  width: auto !important;
}

.ui-datepicker-material-header {
  display: block;
  background-color: #5284f0;
  color: white;
  text-align: center;
}

.ui-datepicker-material-header .ui-datepicker-material-day {
  background-color: #35669e;
  padding: 10px;
  font-size: 0.8rem;
}

.ui-datepicker-material-header .ui-datepicker-material-date {
  padding: 20px;
}

.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-month,
.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-day-num,
.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-year {
  padding: 5px;
}

.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-month {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-day-num {
  font-size: 5.5rem;
}

.ui-datepicker-material-header .ui-datepicker-material-date .ui-datepicker-material-year {
  font-size: 1.5rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.4);
}

.ui-datepicker {
  padding: 0;
  border: none;
  -webkit-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
  box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
  width: 325px;
}

.ui-corner-all {
  border-radius: 0;
}

.ui-widget-header {
  border: 0;
}

.ui-datepicker-header {
  text-align: center;
  background: white;
  padding-bottom: 15px;
  font-weight: 300;
}

.ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker-header .ui-datepicker-next,
.ui-datepicker-header .ui-datepicker-title {
  border: none;
  outline: none;
  margin: 5px;
}

.ui-datepicker-prev.ui-state-hover,
.ui-datepicker-next.ui-state-hover {
  border: none;
  outline: none;
  background: white;
}

.ui-datepicker-calendar .ui-state-default {
  background: none;
  border: none;
  text-align: center;
  height: 33px;
  width: 33px;
  line-height: 36px;
}

.ui-datepicker-calendar .ui-state-highlight {
  color: #5284f0;
}

.ui-datepicker-calendar .ui-state-active {
  border-radius: 50%;
  background-color: #5284f0;
  color: white;
}

.ui-datepicker-calendar thead th {
  color: #999999;
  font-weight: 200;
}

.ui-datepicker-buttonpane {
  border: none;
}

.ui-datepicker-buttonpane .ui-state-default {
  background: white;
  border: none;
}

.ui-datepicker-buttonpane .ui-datepicker-close,
.ui-datepicker-buttonpane .ui-datepicker-current {
  background: white;
  color: #5284f0;
  text-transform: uppercase;
  border: none;
  opacity: 1;
  font-weight: 200;
  outline: none;
}

.ui-datepicker-buttonpane .ui-datepicker-close:hover,
.ui-datepicker-buttonpane .ui-datepicker-current:hover {
  background: white;
}

/*# sourceMappingURL=main.css.map */