/* GENERALE */
html {
  box-sizing: border-box;
}

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

body {
  background-color: #f0f0f2;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 100%;
}

/* SECTIONS, ROWS AND COL */

.section {
  clear: both;
  padding: 0;
  margin: 0;
}

.row {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.minirow {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.superrow {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  overflow: hidden;
}

.col {
  flex: 1;
}

/* TEXT CLASSES AND FORMATTING */

.text-150 {
  font-size: 150%;
}

.text-90 {
  font-size: 90%;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.centered {
  text-align: center;
}

.mrg_centered {
  margin: 0 auto;
}

.justified {
  text-align: justify;
}

/* PADDINGS AND MARGINS */

.pad_50 {
  padding: 50px;
}

.pad_20 {
  padding: 20px;
}

.pad_10 {
  padding: 10px;
}

.pad_4 {
  padding: 4px;
}

.mrg_top_24 {
  margin-top: 24px;
}

.mrg_top_10 {
  margin-top: 10px;
}

.pad_bottom_4 {
  padding-bottom: 4px;
}

.pad_left_50 {
  padding-left: 50px;
}

.mrg_left_8 {
  margin-left: 8px;
}

.mrg_right_8 {
  margin-right: 8px;
}

.mrg-row {
  margin-top: 150px;
  margin-bottom: 10px;
}

.mrg-title {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* HOME */

#overlay {
  display: none;
  z-index: 2;
  background: #000;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  text-align: center;
}

#dialog {
  border-radius: 20px;
  display: none;
  position: fixed;
  z-index: 3;
  left: 10%;
  right: 10%;
  top: 15%;
  background: #FFF;
  color: #000;
}

#error,
#result {
  display: none;
}

#error {
  color: #ff0000;
}

#result_space {
  padding: 20px 50px 40px;
  display: flex;
  flex-flow: column;
}

#form_container {
  display: flex;
  flex-flow: column;
  padding: 24px 24px;
}

.close_char {
  text-align: right;
  margin-top: 6px;
  margin-right: 20px;
  font-size: 240%;
  cursor: pointer;
}

.form_title {
  text-transform: uppercase;
  text-align: center;
}

.form_input {
  border-radius: 5px;
  padding: 2px;
  margin-bottom: 10px;
  outline: none;
  box-shadow: none;
  border: 1px solid #aaaaaa;
}

.form_label {
  border-radius: 5px;
  font-weight: 400;
  margin-bottom: 10px;
  font-size: 90%;
}

.text_area {
  height: 80px;
}

.send_btn {
  border-radius: 10px;
  text-transform: uppercase;
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  font-weight: 700;
  font-size: 100%;
  background-color: #CD8518;
  color: #000000;
  align-self: center;
}

.send_btn:hover {
  background-color: #e79e32;
}

#logo_section {
  background-color: #043361;
}

#logo_div {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px 0 5px 30px;
}

.logo_img {
  max-width: 150px;
  width: auto;
}

#download_section {
  background-image: url(../img/main_photo_800.png);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
  text-align: center;
}

#play_store_div {
  padding: 50px 30px;
}

.play_store_titolo {
  padding: 0 20px;
  margin-top: 24px;
  color: #ffffff;
  font-size: 90%;
  line-height: 168%;
}

.download_btn {
  text-transform: uppercase;
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  font-weight: 700;
  font-size: 110%;
  background-color: #CD8518;
  color: #000000;
}

.download_btn:hover {
  background-color: #e79e32;
}

#play_store_phone {
  display: none;
}

/* VOICES SECTION */

#voices_section {
  background-color: #ffffff;
}

#voices_container {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
}

.voices_headline {
  font-size: 130%;
  padding-top: 30px;
  text-transform: uppercase;
  text-align: center;
  color: #053361;
}

.voices_headline::after {
  display: block;
  content: " ";
  width: 64px;
  height: 3px;
  background-color: #CD8518;
  margin: 0 auto;
  margin-top: 16px;
}

.voice {
  padding: 24px 40px;
  display: flex;
}

.img_voice {
  padding-top: 2px;
  padding-right: 8px;
}

.img_voice img {
  max-width: 32px;
  width: auto;
}

.voice_title {
  text-transform: uppercase;
  padding-bottom: 4px;
  color: #043361;
}

.long_text {
  line-height: 160%;
  font-size: 90%;
  font-weight: 300;
}

/* STEPS SECTION */

#steps_section {
  background-color: #031D37;
}

#steps_container {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps_headline {
  font-size: 130%;
  padding-top: 30px;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
}

.steps_headline::after {
  display: block;
  content: " ";
  width: 64px;
  height: 3px;
  background-color: #CD8518;
  margin: 0 auto;
  margin-top: 16px;
}

.step {
  padding: 30px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img_step img {
  max-height: 72px;
  height: auto;
}

.img_step_divider img {
  max-width: 30px;
  transform: rotate(90deg);
  width: auto;
}

.text_step {
  text-align: center;
  font-size: 90%;
  line-height: 140%;
}

.step_title {
  padding-top: 16px;
  font-size: 90%;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
}

/* DONATE SECTION */

#donate_section {
  padding: 50px 50px;
  background-color: #ffffff;
}

#donate_container {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate_title {
  font-size: 110%;
  color: #000000;
  line-height: 150%;
  font-weight: 400;
  text-align: center;
}

.donate_btn {
  text-transform: uppercase;
  margin-top: 24px;
  padding: 12px 20px;
  border: none;
  font-weight: 700;
  font-size: 110%;
  background-color: #CD8518;
  color: #000000;
}

.donate_btn:hover {
  background-color: #e79e32;
}

/* FOOTER */

#footer_container {
  background-color: #043361;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.footer_links {
  display: flex;
  padding: 4px 16px 16px;
}

.footer_links a {
  padding: 0 16px;
  text-decoration: none;
  color: #ffffff;
}

.footer_span {
  font-size: 90%;
  opacity: 0.8;
}

.footer_span:hover {
  opacity: 1;
}

.footer_text {
  font-size: 80%;
}

.footer_pics {
  display: flex;
  padding: 0 40px 16px;
}

.footer_img {
  padding: 0 16px;
  cursor: pointer;
  opacity: 0.8;
}

.footer_img:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  #dialog {
    left: 20%;
    right: 20%;
    top: 20%;
  }

  #logo_div {
    padding: 10px 0 10px 30px;
  }

  .logo_img {
    max-width: 180px;
    width: auto;
  }

  #download_section {
    background-image: url(../img/main_photo_1000.png);
  }

  #play_store_div {
    padding: 60px;
    margin: 0 auto;
  }

  .play_store_titolo {
    margin-top: 60px;
    font-size: 140%;
  }

  .long_text {
    font-size: 110%;
  }

  .voice {
    padding: 30px 60px;
    display: flex;
  }

  .img_voice {
    padding-top: 4px;
    padding-right: 12px;
  }

  .img_voice img {
    max-width: 48px;
  }

  .img_step img {
    max-height: 64px;
  }

  .img_step_divider img {
    max-width: 36px;
  }

  .step_title {
    padding-top: 24px;
    font-size: 110%;
  }

  .donate_title {
    padding-top: 24px;
    font-size: 120%;
  }

  #footer_container {
    padding: 24px;
  }

  .footer_span {
    font-size: 96%;
  }

  .footer_text {
    font-size: 84%;
  }
}

@media (min-width: 992px) {
  #dialog {
    left: 25%;
    right: 25%;
    top: 20%;
  }

  #download_section {
    background-image: url(../img/main_photo_1200.png);
  }

  #download_container {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #play_store_phone {
    display: flex;
  }

  .phone_img {
    width: 192px;
    max-width: auto;
    align-self: flex-end;
  }

  #play_store_div {
    flex: 3;
  }

  #play_store_phone {
    flex: 2;
    align-self: flex-end;
  }

  #voices_container {
    padding: 50px 0;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }

  #steps_container {
    padding: 50px 0;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .voice {
    padding: 30px 40px;
  }

  .img_voice {
    padding-top: 2px;
    padding-right: 8px;
  }

  .img_voice img {
    max-width: 32px;
  }

  .long_text {
    font-size: 100%;
  }

  .step {
    padding: 30px 40px;
    justify-content: center;
  }

  .img_step img {
    max-height: 48px;
  }

  .img_step_divider img {
    max-width: 24px;
    transform: rotate(0deg);
  }

  .step_title {
    padding-top: 16px;
    font-size: 100%;
  }

  #donate_container {
    padding: 50px 80px;
    flex-direction: row;
    justify-content: center;
  }

  #div_title {
    flex: 2;
  }

  .donate_title {
    padding-top: 0;
  }

  #div_btn {
    flex: 1;
    margin: 0 auto;
    text-align: center;
  }

  .donate_btn {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  #dialog {
    left: 30%;
    right: 30%;
    top: 22%;
  }

  #download_section {
    background-image: url(../img/main_photo.png);
  }

  #play_store_div {
    padding: 100px;
    margin: 0 auto;
  }

  .play_store_titolo {
    margin-top: 40px;
    font-size: 144%;
  }

  .download_btn {
    margin-top: 32px;
    padding: 16px 32px;
    font-size: 115%;
  }

  .phone_img {
    padding-top: 20px;
    width: 256px;
    max-width: auto;
  }

  .long_text {
    font-size: 115%;
  }

  .voices_headline {
    padding-top: 48px;
    font-size: 140%;
  }

  .voice {
    padding: 30px 60px;
    display: flex;
  }

  .img_voice {
    padding-top: 6px;
    padding-right: 18px;
  }

  .img_voice img {
    max-width: 56px;
  }

  .steps_headline {
    padding-top: 48px;
    font-size: 140%;
  }

  .img_step img {
    max-height: 56px;
  }

  .img_step_divider img {
    max-width: 32px;
  }

  .step_title {
    padding-top: 24px;
    font-size: 110%;
    line-height: 140%;
  }

  #donate_container {
    padding: 50px 128px;
  }

  .donate_title {
    font-size: 130%;
  }

  .donate_btn {
    margin-top: 0;
    padding: 16px 32px;
    font-size: 115%;
  }

  #footer_container {
    padding: 32px;
  }
}

@media (min-width: 1400px) {
  #dialog {
    left: 33%;
    right: 33%;
    top: 25%;
  }

  #download_section {
    background-image: url(../img/main_photo_extra.png);
    background-size: cover;
  }

  .phone_img {
    padding-top: 30px;
    width: 320px;
    max-width: auto;
  }
}