/* 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; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
  color: #ffffff; /* text-white */
}
.header-hackathon {
  background: url("banner.png") center center/cover no-repeat;
}
.header-virtual-hackathon {
  background: url("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 */

/* main and info sections */
main {
  padding-left: 1rem;
  padding-right: 1rem;
  display: grid;
}
.cards-container{ /* only shows up in index.html to align cards */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem; /* mb-12 */
}
h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600; /* font-semibold */
  color: var(--secondary); /* text-green-700 */ 
  line-height: 2.25rem; /* text-3xl */
  margin-bottom: 1rem; /* mb-4 */
}
.info {
  padding: 1.5rem; 
  border-radius: 0.5rem; 
}
@media (min-width: 768px) {
  /* when screen is large enough, 
  repeat() produces (arg 1) 2 cols, 
  (arg 2) each half of the screen, each min of 0fr and max of 1fr */
  main{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } 
}

/* schedule */
.main-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.schedule-container {
  border-radius: 8px;
  overflow: hidden;
}
.day-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  color: white;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 600;
}
table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  background: white;
}
td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid;
}
tr:nth-child(even) {
  background-color: var(--light);
}
.time-column {
  width: 30%;
  color: var(--dark);
  font-weight: 500;
}
.activity-column {
  width: 70%;
}
.meal {
  font-weight: 600;
  color: var(--primary);
}

/* RSVP button */
.interest-button { 
  display: inline-block; 
  padding: 1.5rem;
  border-radius: 0.5rem; 
  border-width: 1px; 
  font-weight: 700; 
  text-decoration: none;
  color: #ffffff; 
  background-color: var(--accent);
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
}
.interest-button:hover {
  background-color: #c46f00;
}
.contact {
  display: flex;
  flex-direction: column;
  margin-top: 1rem; 
  color: #4B5563; /* not sure how stylistically necessary this grey text is */
}
.contact a {
  color: var(--secondary); 
  text-decoration: none;
  font-weight: 700; 
}
.contact a:hover {
  text-decoration: underline; 
}

/* index.html */
/* button card styling for index */
.hackathon-card {
  display: inline-block; 
  padding-top: 0.5rem;
  padding-bottom: 0.5rem; 
  padding-left: 1rem;
  padding-right: 1rem;
  color: #000000; 
}

/* button for index */
button {
  padding: 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem; 
  border-width: 0px; 
  background-color: #ffffff; 
  max-width: 25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
}

/* heading for button */
h3 {
  margin-bottom: 1rem; 
  font-size: 1.5rem;
  line-height: 2rem; 
  font-weight: 700; 
  color: #047857; 
}

/* button text
could be relocated to a? */
button p {
  margin-bottom: 1rem; 
}

/* subheader shows up in index header,
could work for virtual */
.subheader {
  text-align: center; 
  font-size: 1.25rem;
  line-height: 1.75rem; 
}

/* 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; 
}