
/* Elements
 -------------------------------------------------------------------- */

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

html {
  background-image: url("mailto-link-generator-background.png");
  background-repeat: repeat;
  box-sizing: border-box;
}

body {
  color: #111111;
  font-family: Georgia, serif;
  min-width: 20rem; /*320px*/
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2 {
  font-family: Tahoma, Arial, sans-serif;
}

p,
ol,
ul {
  font-size: 1.3125rem; /*21px*/
  line-height: 1.6;
}



/* Generic classes
 -------------------------------------------------------------------- */

.big {
  font-size: 4rem;
}

.bold {
  font-weight: 700;
}

.center {
  text-align: center;
}



/* Sections
 -------------------------------------------------------------------- */

.section {
  margin-left: auto;
  margin-right: auto;
  max-width: 46.25rem; /*740px*/
  padding-left: 1.25rem; /*20px*/
  padding-right: 1.25rem; /*20px*/
}

.section-header {
  margin-bottom: 4.5rem; /*72px*/
  text-align: center;
}

.section-form {
  margin-bottom: 5.25rem; /*84px*/
}

.section-cta-top {
  margin-bottom: 4rem; /*64px*/
  position: relative; /*for positioning testimonials*/
  text-align: center;
}

.section-how-to {
  margin-bottom: 8.5rem; /*136px*/
}

.section-cta-bottom {
  margin-bottom: 5.25rem; /*84px*/
  text-align: center;
}

.section-footer {
  margin-bottom: 1.25rem; /*20px*/
  text-align: center;
}

.section-thank-you {
  margin-top: 5.25rem; /*84px*/
}

.section-vishrant {
  margin-top: 12.5rem; /*200px*/
  margin-bottom: 5.25rem; /*84px*/
}



/* Drawings
 -------------------------------------------------------------------- */

.drawing {
  position: absolute;
  -webkit-user-select: none; /*safari*/
  -ms-user-select: none; /*edge*/
  user-select: none;
}
/**
 * Hide drawings when they start getting cut off because of small
 * screen size.
 */
 @media screen and (max-width: 60rem) {

  .drawing.hide {
    display: none !important;
  }
}

.drawing-to {
  left: 210px;
  top: -60px;
  width: 98px;
}

.drawing-subject {
  right: -126px;
  top: -13px;
  width: 189px;
}

.drawing-body {
  left: -110px;
  top: 48px;
  width: 58px;
}

.drawing-link-text {
  right: -103px;
  top: -33px;
  width: 132px;
  z-index: -9;
}

.drawing-mailto-link {
  display: none;
  left: -109px;
  top: -35px;
  width: 108px;
}

.drawing-html-code {
  display: none;
  left: -140px;
  top: 30px;
  width: 119px;
}

.drawing-thank-you {
  right: 97px;
  top: 6px;
  width: 52px;
  z-index: -9;
}



/* Testimonials
 -------------------------------------------------------------------- */

.testimonial {
  position: absolute;
  -webkit-user-select: none; /*safari*/
  -ms-user-select: none; /*edge*/
  user-select: none;
}
/**
* Hide testimonials when more than half are not visible anymore
* because of small screen size.
*/
@media screen and (max-width: 75rem) {

  .testimonial.hide {
    display: none !important;
  }
}

.testimonial-01 {
  left: -475px;
  top: 0px;
  width: 382px;
}

.testimonial-02 {
  right: -425px;
  top: 0px;
  width: 318px;
}

.testimonial-03 {
  left: -300px;
  top: 225px;
  width: 295px;
}

.testimonial-04 {
  right: -475px;
  top: 225px;
  width: 439px;
}

.testimonial-05 {
  left: -500px;
  top: 475px;
  width: 433px;
}

.testimonial-06 {
  right: -375px;
  top: 450px;
  width: 263px;
}



/* section-header
 -------------------------------------------------------------------- */

.section-header h1 a,
.section-header h1 a:visited,
.section-header h1 a:hover,
.section-header h1 a:active {
  color: inherit;
  text-decoration: none;
}

.site-title {
  font-size: 2rem; /*32px*/
  margin-top: 1.25rem; /*20px*/
  margin-bottom: 1rem; /*16px*/
}

.site-description {
  margin-top: 0;
}



/* section-form
 -------------------------------------------------------------------- */

.columns {
  display: flex;
}
.column-1 {
  margin-right: 1.5rem; /*24px*/
  width: 60%;
}
.column-2 {
  width: 40%;
}
/* more accessible inputs on smaller screens */
@media screen and (max-width: 35rem) {

  .columns {
    flex-direction: column;
  }
  .column-1,
  .column-2 {
    width: 100%;
  }
}

.input-group {
  display: block; /*not inline*/
  margin-bottom: 2rem; /*32px*/
  position: relative; /*for positioning drawings*/
}

.input-label {
  display: inline-block; /*for padding*/
  font-size: 1.3125rem; /*21px*/
  padding-bottom: 0.125rem; /*2px*/
}

.input-field,
.output-field {
  border-radius: 0.1875rem; /*3px*/
  color: #111111;
  display: block; /*for resizing textareas*/
  font-family: Arial, sans-serif;
  font-size: 1.25rem; /*20px*/
  letter-spacing: 0.25px; /*better readability*/
  width: 100%;
}

.input-field {
  border-color: rgba(0,0,0,0.2);
  border-style: solid;
  border-width: 0.125rem; /*2px*/
  padding: 0.625rem; /*10px*/
}

.output-field {
  background-color: rgba(0,0,0,0.08);
  border: 0;
  padding-top: 1rem; /*16px*/
  padding-left: 1.125rem; /*18px, easier to select text*/
  padding-right: 1.125rem; /*18px*/
  padding-bottom: 1rem; /*16px*/
}

.button-copy-to-clipboard {
  background-color: rgba(0,0,0,0.08);
  border: 0;
  border-radius: 0.1875rem; /*3px*/
  display: block;
  margin-top: 0.4375rem; /*7px*/
  margin-left: auto;
  padding-top: 0.625rem; /*10px*/
  padding-left: 1rem; /*16px*/
  padding-right: 1rem; /*16px*/
  padding-bottom: 0.625rem; /*10px*/
  white-space: normal;
}
.button-copy-to-clipboard:hover,
.button-copy-to-clipboard:active {
  background-color: rgba(0,0,0,0.16);
}

.button-main {
  background-color: #ffd140; /*paypal yellow*/
  border: 0;
  border-radius: 0.1875rem; /*3px*/
  box-shadow: 0.125rem 0.125rem 0.5rem rgba(0,0,0,0.1);
  font-size: 1.5rem; /*24px*/
  margin-bottom: 3.25rem; /*52px*/
  padding-top: 1.5rem; /*24px*/
  padding-left: 1.125rem; /*18px*/
  padding-right: 1.125rem; /*18px*/
  padding-bottom: 1.5rem; /*24px*/
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
  white-space: normal;
  width: 100%;
}
.button-main:hover {
  box-shadow: 0.125rem 0.4rem 1rem rgba(0, 0, 0, 0.25);
  -webkit-transition: all 800ms ease;
  -moz-transition: all 800ms ease;
  -ms-transition: all 800ms ease;
  -o-transition: all 800ms ease;
  transition: all 800ms ease;
}
.button-main:active {
  box-shadow: 0.125rem 0.125rem 0.5rem rgba(0,0,0,0.1);
  -webkit-transition: all 100ms ease;
  -moz-transition: all 100ms ease;
  -ms-transition: all 100ms ease;
  -o-transition: all 100ms ease;
  transition: all 100ms ease;
}



/* section-cta-top
 -------------------------------------------------------------------- */

.section-cta-top h2 {
  display: inline-block;
}

.cta-group {
  margin-top: 6rem; /*96px*/
}

.cta-button {
  background-color: #ffd140; /*paypal yellow*/
 }
.cta-button,
.cta-button:hover,
.cta-button:active {
  border: 0;
  border-radius: 99px;
  box-shadow: 0.0625rem 0.125rem 0.25rem rgba(0,0,0,0.15);
  color: #003087; /*paypal blue*/
  display: inline-block;
  font-family: sans-serif;
  font-size: 1rem; /*16px*/
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.75rem; /*12px*/
  padding-left: 1.5rem; /*24px*/
  padding-right: 1.5rem; /*24px*/
  padding-bottom: 0.75rem; /*12px*/
  text-decoration: none;
}
.cta-button:hover,
.cta-button:active {
  background-color: #ffc305;
}

.cta-character {
  display: block;
  left: 152px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: -92px;
  -webkit-user-select: none; /*safari*/
  -ms-user-select: none; /*edge*/
  user-select: none;
  width: 108px; /*original: 132px*/
  z-index: -9;
}

.cta-explanation {
  display: inline-block;
  margin-top: 1rem;
}

.cta-small-print {
  color: #777777;
  font-size: 0.75rem; /*12px*/
}



/* section-how-to
 -------------------------------------------------------------------- */

.section-how-to h2 {
  margin-top: 5.25rem; /*84px*/
}

.section-how-to pre {
  background-color: #eeeeee;
  border-radius: 3px;
  font-size: 1.3125rem; /*21px*/
  line-height: 1.5;
  padding-top: 1.25rem; /*20px*/
  padding-left: 2rem; /*32px*/
  padding-right: 2rem; /*32px*/
  padding-bottom: 1.25rem; /*20px*/
  white-space: -moz-pre-wrap;
  white-space: -o-pre-wrap;
  white-space: -pre-wrap;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* randomly chosen smaller screen size */
@media screen and (max-width: 30rem) {

  .section-how-to pre {
    padding-left: 1.25rem; /*20px*/
    padding-right: 1.25rem; /*20px*/
  }
}



/* section-cta-bottom
 -------------------------------------------------------------------- */

.section-cta-bottom h2 {
  font-size: 2.25rem; /*36px*/
}



/* section-footer
 -------------------------------------------------------------------- */

.section-footer a,
.section-footer a:visited,
.section-footer a:hover,
.section-footer a:active {
  color: #959595;
  text-decoration: none;
}



/* section-thank-you
 -------------------------------------------------------------------- */

.thank-you {
  font-size: 4rem;
  font-weight: 700;
  position: relative;
  text-align: center;
}



/* section-vishrant
 -------------------------------------------------------------------- */

.section-vishrant img {
  width: 100%;
}