/* root and body */
* {
  margin: 0;
  padding: 0;
}
:root {
  --primary: #45a049;
  --secondary: #047857;
  --light: #f8f9fa;
  --dark: #343a40;
  --border: #dee2e6;
  --highlight: #e9ecef;
  --accent: #ff9100;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #ffffff; /* bg-white */
  margin-inline: auto;
}

/* header */
header{
  padding-left: 1rem;
  padding-right: 1rem; 
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: #ffffff; /* text-white */
}
.header-virtual-hackathon {
  background: url("./img/virtual-banner.png") center center/cover no-repeat;
}
h1 {
  text-align: center;
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  line-height: 2.5rem; /* text-4xl */
  margin-bottom: 1rem; /* mb-4 */
}
@media (min-width: 768px) {
  h1 { 
    font-size: 3rem;
    line-height: 1; 
  }}
/* maybe also include adjusted subheader fonts */
/* subheader shows up in index header,
could work for virtual */
.subheader {
  text-align: center; 
  font-size: 1.25rem;
  line-height: 1.75rem; 
}

/* main and info sections */
main {
  padding-left: 1rem;
  padding-right: 1rem;
}
h2 {
  line-height: 2.25rem;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* button card styling */
.cards-container{
  display: grid;
  justify-self: center;
  align-items: stretch;
  justify-items: center;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.info {
  padding: 1.5rem; 
  border-radius: 0.5rem; 
  max-width: 25rem;
  width: 100%;
  box-sizing: content-box;
  vertical-align: top;
}
.hackathon-card {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem; 
  padding-left: 1rem;
  padding-right: 1rem;
  color: #000000; 
}
button {
  padding: 1.5rem;
  width: 100%;
  font-size: 1rem;
  border-radius: 0.5rem; 
  border-width: 0px; 
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
}
/* button text
could be relocated to a? */
button p {
  margin-bottom: 1rem; 
}
/* heading for button */
h3 {
  margin-bottom: 1rem; 
  font-size: 1.5rem;
  line-height: 2rem; 
  font-weight: 700; 
  color: #047857; 
}
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* newsletter signup */
#newsletter {
  padding-left: 1.5rem;
  padding-right: 1.5rem; 
  padding-top: 3rem;
  padding-bottom: 3rem; 
  border-radius: 0.5rem; 
  text-align: center; 
  background-color: #ECFDF5; 
  margin-bottom: 1.5rem; 
  max-width: 42rem; 
}
/* need to put padding between form field and newsletter description */
footer {
  margin: auto;
}
.sender-form-field {
  padding-top: 1rem; /* maybe this is better positioned elsewhere */
  background-color: #ECFDF5; 
}