html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  display: block;
}

body,
input,
input::placeholder,
select,
button {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #333333;
}

h1 {
  text-align: center;
  font-size: 2rem;
}

label {
  font-size: 1.25rem;
}

.email-address-adder, .current-email-address-displayer {
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .email-address-adder, .current-email-address-displayer {
    margin-left: 0;
    margin-right: 0;
  }
}

body {
  margin: 0;
}

h1 {
  margin: 2rem 1.5rem;
}

input,
select {
  padding: 0.75rem 1rem;
  margin: 1rem 0.5rem;
}

button {
  display: block;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

.instructions {
  max-width: 13rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
@media (min-width: 500px) {
  .instructions {
    max-width: 20rem;
  }
}
.instructions ol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.instructions li {
  position: relative;
  padding-left: 2.25em;
}

label {
  padding-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .layout__email-address-components-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }
  .email-address-adder,
  .current-email-address-displayer {
    width: 50%;
  }
}
@media (min-width: 1200px) {
  .layout__overall-site-components-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
  .layout__email-address-components-container {
    flex-direction: column;
    align-items: center;
  }
  .email-address-adder,
  .current-email-address-displayer {
    width: 400px;
    margin: 0;
  }
}
body {
  background-color: #dfe4e6;
}

.instructions ol {
  counter-set: item;
}
.instructions ol li:before {
  display: flex;
  justify-content: center;
  align-items: baseline;
  content: counter(item);
  counter-increment: item;
  width: 1.75em;
  height: 1.75em;
  position: absolute;
  padding-top: 0.2em;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.5em;
}

input {
  box-shadow: 0 -8px 15px 0 #a6b4b9, 0 8px 15px 0 #ffffff;
  border: #a6b4b9 0.15em solid;
  border-radius: 0.5em;
  outline: none;
  background-color: #ffffff;
  color: #333333;
  caret-color: #333333;
  transition: all 0.1s ease;
}
input::placeholder {
  color: #a6b4b9;
}
input:hover {
  border-color: #333333;
}
input:focus, input:focus-visible {
  border-color: #ffb600;
}

select {
  box-shadow: 0 -8px 15px 0 #a6b4b9, 0 8px 15px 0 #ffffff;
  border: #a6b4b9 0.15em solid;
  border-radius: 0.5em;
  outline: none;
}
select:hover {
  border-color: #333333;
}
select:focus, select:focus-visible {
  border-color: #ffb600;
}

button {
  box-shadow: 0 -0.5em 1em 0 white, 0 0.5em 1em 0 #a6b4b9;
  border: #a6b4b9 0.15em solid;
  border-radius: 0.5em;
  outline: none;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover, button:focus, button:focus-visible {
  border-color: #333333;
}
button:active {
  border-color: #ffb600;
}
button:not(:disabled):active {
  background-color: rgba(255, 182, 0, 0.05);
  color: #ffb600;
  box-shadow: none;
}
button:disabled {
  color: #a6b4b9;
  cursor: not-allowed;
}
button:disabled:active {
  border-color: #a6b4b9;
}
button:disabled:hover {
  border-color: #a6b4b9;
}

.fetched-image-displayer {
  max-width: 470px;
  padding: 2rem 0 1rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 470px) {
  .fetched-image-displayer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.fetched-image-displayer__image-container {
  width: 100vw;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  min-height: 10rem;
  background-color: #a6b4b9;
  border-radius: 0.5rem;
}
.fetched-image-displayer__image-container img {
  width: 100%;
}

.fetched-image-displayer__another-image-button {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.fetched-image-displayer {
  box-shadow: 0 -0.5em 1em 0 white, 0 0.5em 1em 0 #a6b4b9;
  border-top: 0.15em solid rgba(166, 180, 185, 0.25);
  border-bottom: 0.15em solid rgba(166, 180, 185, 0.25);
}
@media (min-width: 470px) {
  .fetched-image-displayer {
    border: 0.15em solid rgba(166, 180, 185, 0.25);
    border-radius: 0.5em;
  }
}

.fetched-image-displayer__image-container img {
  box-shadow: 0 -8px 15px 0 #a6b4b9, 0 8px 15px 0 #ffffff;
  border-top: 0.15em solid #a6b4b9;
  border-bottom: 0.15em solid #a6b4b9;
}
@media (min-width: 400px) {
  .fetched-image-displayer__image-container img {
    border: 0.15em solid #a6b4b9;
    border-radius: 0.5em;
  }
}

.current-email-address-displayer h2 {
  margin-top: 0;
}
.current-email-address-displayer h3 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.current-email-address-displayer h3::after {
  content: ":";
}

.current-email-address-displayer__displayed-email-address {
  text-align: center;
}

.current-email-address-displayer__email-address-picker label {
  display: block;
  text-align: center;
  font-weight: 600;
}
.current-email-address-displayer__email-address-picker label::after {
  content: ":";
}
.current-email-address-displayer__email-address-picker select {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.current-email-address-displayer__add-current-image-button {
  margin: 2rem auto 0;
}

.current-email-address-displayer__assigned-images-displayer ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.current-email-address-displayer__assigned-images-displayer li {
  display: block;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.current-email-address-displayer__assigned-images-displayer img {
  width: 100%;
}

.current-email-address-displayer {
  box-shadow: 0 -0.5em 1em 0 white, 0 0.5em 1em 0 #a6b4b9;
  border-top: 0.15em solid rgba(166, 180, 185, 0.25);
  border-bottom: 0.15em solid rgba(166, 180, 185, 0.25);
}
@media (min-width: 400px) {
  .current-email-address-displayer {
    border: 0.15em solid rgba(166, 180, 185, 0.25);
    border-radius: 0.5em;
  }
}

.current-email-address-displayer__assigned-images-displayer img {
  box-shadow: 0 -8px 15px 0 #a6b4b9, 0 8px 15px 0 #ffffff;
  border-radius: 0.5rem;
}

.email-address-adder label {
  display: block;
  text-align: center;
}
.email-address-adder label::after {
  content: ":";
}

.email-address-adder__email-input {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.email-address-adder__add-email-button {
  margin: 2rem auto 0;
}

.email-address-adder {
  box-shadow: 0 -0.5em 1em 0 white, 0 0.5em 1em 0 #a6b4b9;
  border-top: 0.15em solid rgba(166, 180, 185, 0.25);
  border-bottom: 0.15em solid rgba(166, 180, 185, 0.25);
}
@media (min-width: 400px) {
  .email-address-adder {
    border: 0.15em solid rgba(166, 180, 185, 0.25);
    border-radius: 0.5em;
  }
}
.email-address-adder label {
  font-weight: 600;
}

.email-address-adder__email-input {
  transition: background-color 0.1s ease-in-out;
}

.email-address-adder__email-input:valid {
  border-color: #4caf50;
}

.email-address-adder__email-input--success {
  background-color: #4caf50;
  border-color: #4caf50 !important;
}

.email-address-adder__email-input--success::placeholder {
  color: #92cf94;
}

.email-address-adder__email-input--invalid {
  border-color: #f44336 !important;
}

.indicator {
  position: fixed;
  bottom: 33.3vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 15rem;
}
@media (min-width: 400px) {
  .indicator {
    width: 20rem;
  }
}

.indicator {
  padding: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #a6b4b9, #6d838c);
  color: #ffffff;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  user-select: none;
}

.indicator--success {
  background: linear-gradient(180deg, #4caf50, #2d682f);
}

.indicator--error {
  background: linear-gradient(180deg, #f44336, #ba160a);
}

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