/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  text-align: center;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Media queries */

@media (min-width: 1440px) and (max-width: 1820px) {
  html, body {
    font-size: 1rem;
  }
}
@media (min-width: 0px) and (max-width: 767px) {
  html, body {
    font-size: 1rem;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  h1 br {
    display: none;
  }
}


/* My stuff */

html, body {
  font-family: "Inter", Arial, sans-serif;
  color: #2b1111;
  background-image:linear-gradient(to top, #ff6666, #ffe884);
}

a {
  padding-bottom: 2px;
  border-bottom: 1px solid;
  -webkit-transition: color 0.1s ease-in-out;
  -moz-transition: color 0.1s ease-in-out;
  -ms-transition: color 0.1s ease-in-out;
  -o-transition: color 0.1s ease-in-out;
  transition: color 0.1s ease-in-out;
}


.home {
  font-size: 1em;
  line-height: 1.4em;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  max-width: 66rem;
  padding-bottom: 2rem;
  display: inline-block;
  text-align: left;
}

.section, .about {
  font-size: 1.5em;
  line-height: 1.2em;
}
.about {
  font-size: 1.5em;
  line-height: 1.2em;
/*  color: #1267a1;*/
  padding: 1em 3em; 
  margin: 0 auto;
  width: 80%; 
}
.section {
/*  width: 90%;*/
  margin: 1em 0 .6em 0
}
.about {
  margin: 3em 0 ;
}
.home h1 {
  font-weight: 300;
  font-size: 1.75em;
  line-height: 1.1em;
  letter-spacing: -.02em;
  padding: .5em 0;
}
.logo {
  margin: 2rem auto;
  float: right;
  display: block;
  width: 40%;
  fill: #F1ECDB;
}
.logo.nym {
  width: 30%;
}
.section p {
  margin: 1em 0 0 0;
  line-height: 1.4em;
}
.section p strong {
  font-weight: 700;
}
.section h2 {
  font-weight: 300;
  margin: 1.5em 0 1em 0;
  font-size: 1.5em;
}
.main-body {
  background: #fffdf1b0;
  padding: 1em 3em;
  border-radius: .75em;
  margin: 0 auto;
  width: 80%;
}
input, select, textarea, button {
  font-size: 1em;
  padding: .5em;
  border-radius: .5em;
  margin: .5em 0;
  border: 1px solid #cbc0ab;
}
input, textarea {
  width: 50%;
}
button {
  background: #fff;  
  border: 1px solid #ff6867;
  cursor: pointer;  
  color: #884040;
  font-size:.8em;
  font-weight: 900;
}
#rsvp-form label {
  display: block;
}

@media (min-width: 767px) {
  .home {
    width: 100%;
/*    margin: 0 0 3em 5em;*/
  }
  .section li {
    display: block;
    margin: .5em 0;
  }
  .section li a{
    padding: 0 0 .1em 0;
    border-bottom: 1px solid;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .home {
    max-width: 100%;
    margin: 0;
  }
  .about {
    margin: 1em 0;
    width: 88%;
    padding: 0 0 1em 1em;
  }
  .logo {
    float: none;
    margin-bottom: none;
  }
  .main-body {
    width: 88%;
    padding: 1em;
  }
  .home h1 {
    font-size: 1.35em;
  }
  .section {
    width: 94%;
    font-size: 1.3em;
    line-height: 1.3em;
  }
  .icon {
    width: 10%;
  }
  .icon.nym {
    width: 40%;
  }
  .section li  {
    margin: .5em 0;
  }
  .section li a {
    font-weight: 400;
  }


}

.footer > ul li {
  display: inline-block;
  margin-right: 1em;
}
