* {
  box-sizing: border-box;
  
}

html {
  background-color:#9e9e9e;
}

body {
  background:white;
  max-width: 500px;
  padding: 0;
  margin: 16px auto;
  border-radius:8px;
}

header {
  margin: 0;
  padding: 16px;
  text-align: center;
}

header img {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

header h1 {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  font-weight:400;
}

.contact-card {
  position: relative;
  display: block;
  min-height: 74px;
  padding: 16px;
  margin: 0;
  text-decoration:none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color:black;
  font-family: 'Roboto', sans-serif;
}

.contact-card:first-child {
  border-top: 2px solid #ddd;
}

.contact-card:last-child {
  border-bottom: 2px solid #ddd;
}






.contact-card > .icon {
  display:block;
  position:absolute;
  background:white;

  width: 40px;
  height: 40px;
}

.contact-card p {
  background: white;
  text-align:left;
  margin:0;
  margin-left:56px;
}



.icon > img {
  position:absolute;
  max-height:36px;
  max-width:36px;
  
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}
.donate > img {
  width:36px;
  height:36px;
}

#donate_options {
  display:none;
  margin: -1px 0;
}

.donate_btn {
  display: block;
  width:80%;
  height:40px;
  
  background-repeat: no-repeat;
  background-size: auto 28px;
  background-position: center center;
  
  margin:0 auto;
  
}

.paypal {
  background-image: url("icons/paypal-wide.svg");
  background-color: #EEEEEE;
}

.cashapp {
  background-image: url("icons/cashapp.svg");
  background-color: #00D54B;
}





footer {
  padding: 16px;
  text-align: center;
}

/* Use a media query to add a breakpoint at 500px: */

@media screen and (max-width: 500px) {
  html {
    background: white;
  }
  body {
    border-radius: 0;
  }
}

@media screen and (max-width: 275px) {
  .donate_btn {
    width: 100%;
  }
  
  .contact-card > .icon {
    position:relative;
    display:block;
    margin:0 auto 16px auto;
  }
  
  .contact-card > p {
    text-align:center;
    margin:0;
  }
}


@media screen and (max-width: 250px) {
  header, .contact-card, footer {
    padding:16px 6px;
  }
}

@media screen and (max-width: 200px) {
  header, .contact-card, footer {
    padding:16px 2px;
  }
}



/* override styles when printing */

@media print {
  html {
    background-color:white;
  }
  body {
    margin: 0 auto;
    color: #000;
    background-color: white;
  }
  header img {
    display: none;
  }
  footer,
  .contact-card > .icon {
    display: none;
  }

  .contact-card > p {
    margin: 0;
  }
  
  .contact-card:nth-child(1) {
    display:none;
  }

  
}