@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

body {
  background: var(--background-color);
  color: var(--secondary-color);
}

main {
  max-width: 1024px;
  margin: auto;
  padding: 2rem;
}

.carrier-status {
  position: relative;
  align-items: center;
  display: flex;
  border-radius: 6px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 1em;
  background: var(--foreground-color);
}
.carrier-status:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 7%;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
}
.carrier-status.warning {
  background: var(--accent-color) !important;
}
.carrier-status .date {
  margin-right: 1.25rem;
  font-weight: 500;
}
.carrier-status .description {
  flex: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3.375em 0 2.625em;
}
.topbar img.logo {
  width: 50%;
}
@media only screen and (min-width: 481px) {
  .topbar img.logo {
    width: 35%;
  }
}
@media only screen and (min-width: 1024px) {
  .topbar img.logo {
    width: 20%;
  }
}

.status-card {
  padding: 0 1.75em;
}
@media only screen and (min-width: 1024px) {
  .status-card {
    max-width: 55%;
    width: 55%;
  }
}
.status-card h3 {
  padding: 1.75em 0;
  font-size: 1.3125rem;
}
.status-card .image-container {
  position: relative;
  overflow: hidden;
  margin: 0 -1.75em;
}
.status-card img.status-image {
  width: 100%;
}
.status-card .status-track {
  transform: translateY(-58%);
  display: flex;
  justify-content: center;
}
.status-card .status-track .status-bubbles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.status-card .status-track .status-bubbles .status-bubble {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  padding: 0.75em;
  background: var(--foreground-color);
  font-size: 1rem;
}
.status-card .status-track .status-bubbles .status-bubble:before {
  content: "";
  position: absolute;
  opacity: 10%;
  top: 0;
  left: 0;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
}
.status-card .status-track .status-bubbles .status-bubble svg {
  width: 1em;
  height: 1em;
  fill: var(--secondary-color);
}
.status-card .status-track .status-bubbles .status-line {
  opacity: 10%;
  width: 100%;
  min-height: 9%;
  background: var(--secondary-color);
}
.status-card .status-track .status-bubbles .filled {
  opacity: 100%;
  background: var(--accent-color);
}
.status-card .status-track .status-bubbles .filled:before {
  opacity: 0;
}
.status-card .carrier-statuses {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  max-height: 0;
  font-size: 0.875rem;
}
.status-card .status-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1em;
}
.status-card .status-card-footer .expand-button {
  display: flex;
  align-items: center;
  border: none;
  padding: 1.5em 0 1.5em 1.5em;
  background: transparent;
  cursor: pointer;
}
.status-card .status-card-footer .expand-button span {
  margin-right: 0.5em;
  font-size: 1rem;
}
.status-card .status-card-footer .expand-button img {
  width: 1.5rem;
}
.status-card svg.street {
  color: var(--primary-color);
}
.status-card svg.truck {
  position: absolute;
  left: 0;
  bottom: 25%;
  width: 11%;
  animation: driving-truck 2.5s forwards, bouncing 0.4s 5 forwards;
  color: var(--accent-color);
  stroke: var(--secondary-color);
  stroke-width: 0.65812px;
}
.status-card svg.truck[data-position="0"] {
  transform: translateX(-100%);
}
.status-card svg.truck[data-position="1"] {
  transform: translateX(50%);
}
.status-card svg.truck[data-position="2"] {
  transform: translateX(285%);
}
.status-card svg.truck[data-position="3"] {
  transform: translateX(525%);
}
.status-card svg.truck[data-position="4"] {
  transform: translateX(750%);
}
@keyframes driving-truck {
  from {
    transform: translateX(-100px);
  }
}
@keyframes bouncing {
  0% {
    bottom: 25%;
  }
  25% {
    bottom: 24.5%;
  }
  50% {
    bottom: 25%;
  }
  75% {
    bottom: 25.5%;
  }
  100% {
    bottom: 25%;
  }
}

.shipment-info {
  padding: 1.75em;
}
@media only screen and (min-width: 1024px) {
  .shipment-info {
    max-width: 45%;
    width: 45%;
  }
}
.shipment-info svg {
  width: 1em;
  height: 1em;
  background-color: red;
  fill: currentColor;
}
.shipment-info h2 {
  margin-block: 0.25em;
  font-size: 1.75rem;
}
.shipment-info .info {
  font-size: 0.875rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.shipment-info .info .title {
  padding-top: 1em;
  font-weight: 700;
  line-height: 1.5rem;
}
.shipment-info .info p {
  line-height: 1.3125rem;
}
.shipment-info .customs-warning {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 0.25em;
  margin-inline: calc(-0.5rem - 3px);
  padding: 0.5rem;
  border-radius: 10px;
  border: 3px solid var(--accent-color);
  background-color: transparent;
  z-index: 1;
  font-size: 0.875rem;
}
.shipment-info .customs-warning::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  opacity: 30%;
  z-index: -1;
}
.shipment-info .customs-warning a {
  box-sizing: border-box;
  margin-top: 0.25rem;
}
@media only screen and (min-width: 481px) {
  .shipment-info .customs-warning a {
    margin: 0.25rem;
    align-self: end;
    max-width: 25%;
    width: 25%;
  }
}
.shipment-info .customs-warning a button {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 0.75em;
  background-color: var(--accent-color);
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  transition: 0.25s ease-in-out;
}
.shipment-info .customs-warning a button:hover {
  opacity: 0.75;
}

.not-found {
  padding-top: 8em;
  position: relative;
}
.not-found .open-parcel {
  margin: 0 50%;
  transform: translateX(-50%);
}
.not-found .street {
  bottom: 0;
  position: fixed;
}
.not-found h1 {
  font-size: 8em;
  font-weight: 300;
  text-align: center;
}
.not-found h2 {
  text-align: center;
  opacity: 0.6;
}

.postal-code-form__info {
  font-size: 0.875rem;
}
.postal-code-form__wrapper {
  display: flex;
  padding: 20px 0 0;
}
.postal-code-form__wrapper form {
  display: flex;
  align-items: start;
}
.postal-code-form__wrapper * {
  box-sizing: border-box;
}
.postal-code-form__wrapper input {
  margin-bottom: 15px;
}
.postal-code-form__wrapper input[type=text] {
  background-color: var(--foreground-color);
  color: var(--secondary-color);
  border: none;
  box-shadow: inset 0 0 0 1px var(--accent-color);
  height: 36px;
  padding: 6px 16px;
  width: 245px;
}
.postal-code-form__wrapper input[type=text]:focus {
  box-shadow: inset 0 0 0 1px var(--primary-color);
  outline: none;
}
.postal-code-form__wrapper button {
  align-items: center;
  color: var(--secondary-color);
  cursor: pointer;
  background: var(--accent-color);
  border: none;
  border-radius: 0 3px 3px 0;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 700;
  height: 36px;
  letter-spacing: 0;
  justify-content: center;
  outline: 0;
  padding: 2px 22px 0;
  position: relative;
  text-decoration: none;
  text-indent: 0;
  text-transform: none;
  transition-duration: 0.28s;
  transition-property: box-shadow, transform, opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
.postal-code-form__wrapper button:hover {
  opacity: 0.8;
}

.postal-code-form--error {
  position: relative;
}
.postal-code-form--error::after {
  color: red;
  content: "Invalid postal code supplied.";
  font-size: 0.675rem;
  animation: move-in 0.25s ease-out;
  position: absolute;
  bottom: -2px;
  left: 1px;
}

@keyframes move-in {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
.payments {
  height: calc(100svh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.payments svg.success {
  color: hsl(120, 50%, 30%);
  height: 8rem;
}
.payments .detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.card {
  border-radius: 6px;
  background: var(--foreground-color);
}

.details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
}

@media only screen and (min-width: 1024px) {
  .details {
    flex-direction: row;
  }
}

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