@import url("https://cdn.jsdelivr.net/npm/modern-normalize@2.0.0/modern-normalize.css");

:root {
  --dark-grey: #0A0A0A;
  --accent-grey: #3A3A3A;
  --highlighter-yellow: #FBF719;
  line-height: 1.5;
}

* {
  color: white;
  font-family: 'Phudu';
}

body {
  margin: 27% 3% 25% 3%;
  background-color: var(--dark-grey);
}

h1, h2, h3, h4, h5, figure, p, ol, ul {
  margin: 0;
}

ol[role="list"], ul[role="list"] {
  list-style: none;
  padding-inline: 0;
}

h1, h2, h3, h4, h5 {
  font-size: inherit;
  font-weight: inherit;
}

img {
  display: block;
  max-inline-size: 100%;
}

button {
  cursor: pointer;
}

/* End global */

.section-divider {
  display: flex;
  overflow: hidden;
  width: 100%;
  border: 1px dashed var(--accent-grey);
  margin: 15% 0;
}

h1,
h2 {
  text-align: center; 
  font-weight: 800;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.9rem;
}

@media (min-width: 450px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 600px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (min-width: 780px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.5rem;
  }
}



.highlight {
  color: var(--dark-grey);
  background-color: var(--highlighter-yellow);
  padding: 0 2%;
  border: 2px dashed var(--dark-grey);
  display: inline;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
  justify-self: center;
  height: 3rem;
  width: 100%;
  padding: 0 0 1% 0;
  position: absolute;
  background-color: black;
  overflow: hidden;
}

.header-logo {
  height: 1.3rem;
}

.info-section {
  display: grid;
  justify-content: center;
  align-items: center;
  justify-self: center;
  align-self: center;
  grid-template: 1fr 1fr / 1fr;
  gap: 10%;
}

.required-field {
  color: red;
  font-weight: 800;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  margin: 5% 0;
}

.rsvp-form * {
  margin: 3% 2%;
}

.rsvp-button {
  font-size: 1rem;
  margin: 7% 2%;
  padding: 2% 0;
  font-weight: 800;
  color: var(--dark-grey);
  background-color: var(--highlighter-yellow);
  border: 2px dashed var(--dark-grey);
}

.no-spam {
  font-size: 0.7rem;
  font-weight: 400;
}

.rsvp-goal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
  font-size: 0.7rem;
  margin: 10% 0;
}

input {
  color: black;
  padding: 2%;
  border: 1px dashed var(--dark-grey);
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer * {
  margin: 2% 0;
}

.social-media-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 5%;
}
