/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

h2 {
  font-family: "EB Garamond", serif;
  font-weight:400;
}

#guest-search {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:18pt;
}


#guest-intolerances {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#attendance-selection {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#vegan-selection {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#bus-selection {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#bus2-selection {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#prewedding-selection {
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size:20pt;
}

#guest-suggestions {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

#guest-suggestions li {
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
  background-color: #f3f3f3;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "EB Garamond", serif;
}

#guest-suggestions li:hover {
  background-color: #ddd;
}

#rsvp-form {
  margin-top: 0;
  padding: 1rem;
  background: #ecf1f3;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  font-family: "EB Garamond", serif;
}

#rsvp-form label {
  display: block;
  margin-top: 0;
  font-weight: 400;
  color: #000000;
}

#rsvp-form input[type="text"],
#rsvp-form input[type="checkbox"],
#rsvp-form select {
  margin-top: 0.2rem;
  padding: 0.2rem;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

#rsvp-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.3rem;
}

#rsvp-form button {
  margin-top: 1.5rem;
  background-color: #32998c;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#rsvp-form button:hover {
  background-color: #009975;
}

.master
{
    display:flex;
    flex-direction: column;
    width:auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "EB Garamond", serif;
  font-weight:400;
  font-size: 1.25vw;
  background-color: white;
  height: 10%;
}

.top-bar .left,
.top-bar .center,
.top-bar .right {
  display: flex;
  margin: 7px;
  gap: 0.7rem;
}

.top-bar .center {
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  margin-right:4vw;
}

.top-bar .left {
  flex-shrink: 0;
}

.top-bar .right {
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #CCCCCC;
}

a:hover {
  text-decoration: underline;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 30px;
  height : 80%;
}

.centered-main
{
  display: flex;
  flex-direction: column;
  justify-content: top;
  margin-top: 10px;
  height : 80%;   
}

.main-img-container
{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    width:55%;
    height:100%;
}

.main-img-container-centered
{
    display:flex;
    flex-direction: column;
    align-items: center;
    align-self:center;
    justify-content: center;
    width:100%;
    height:auto;
}

.main-text
{
    display:flex;
    flex-direction: column;
    justify-content: left;
    font-family: "EB Garamond", serif;
    font-size: 1.1vw;
    margin-left: 4%;
    margin-right: 3%;
    margin-top:2%;
    width:49%;
}

.main-text-entry
{
    display: flex;
    flex-direction: row;
    align-items: top;
    margin-top:7px;
    margin-bottom:7px;
}

.main-text-entry-notopmargin
{
    display: flex;
    flex-direction: row;
    align-items: top;
    margin-top:0px;
    margin-bottom:7px;
}

.main-text-entry .entry-head
{
  display: flex;
  min-width: 40%;
}

.main-text-entry .entry-body
{
    display: flex;
}

.main-text-entry-notopmargin .entry-head
{
  display: flex;
  min-width: 40%;
}

.main-text-entry-notopmargin .entry-body
{
    display: flex;
}

.palacio-img {
  height: 85vh;
  align-items: center;
  margin-top: 2%;
}

.manduca-img {
  display:flex;
  align-content: center;
  height:auto;
  width:63%;
  margin-top: 8%;
}

.sillicah-img {
  width: 50%;
  margin-left:1px;
  margin-bottom:1px;
  margin-top: 8%;
}

/*Attempt to faff things up for mobile*/

@media (max-aspect-ratio: 13/9) {
    .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: "EB Garamond", serif;
      font-size: 3.5vw;
      background-color: white;
      height:20%;
      z-index: 10; /*dont tell anyone pls*/
    }
    .top-bar .left,
    .top-bar .center,
    .top-bar .right {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .top-bar .center {
        justify-content: center;
        flex-grow: 1;
        text-align: center;
        margin-right:0;
    }
    .centered-main,
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        width : 100%;
        height : 90%;
        margin-top : 10px;
    }
    .main-img-container {
        display:flex;
        flex-direction: column;
        align-items: center;
        
        width:90%;
        height:auto;
        align-self: center;
    }
    .main-img-container-centered
    {
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width:90%;
        height:auto;
    }
    .main-text {
        display: flex;
        flex-direction: column;
        align-self: center;
        margin-left: 10px;
        margin-right: 0;
        width:100%;
        font-family: "EB Garamond", serif;
        font-size: 3.5vw;
    }
    .main-text-entry .entry-head
    {
      display: flex;
      width: 20%;
    }
    .main-text-entry .entry-body
    {
      display: flex;
      width: 275px;
    }
    .palacio-img {
        height: auto;
        width: 75vw;
        align-content: center;
        align-self:center;
        align-items: center;
        margin-bottom: 50px;
    }
    .manduca-img {
      display:flex;
      align-content: center;
      align-self:center;
      height:90%;
      width:90%;
      margin:45px;
    }
    .sillicah-img {
      display:flex;
      flex-direction:column;
      align-content: top;
      align-self:center;
      height:auto;
      width:60%;
      margin:45px;
    }
}

