* {
    margin: 0;
    font-family: "Lora", serif;
    -webkit-tap-highlight-color: transparent;
}

h1{
  font-family: "Dancing Script";
  font-optical-sizing: auto;
  font-weight: 800;
  margin:10px;
}

h2 {
    font-family: "Dancing Script";
    margin: 0.25em;
}

h3 {
  font-family: "Lora", serif;
  font-weight:500;
  margin:0.25em;
}

p{
  font-family: "Lora", serif;
  font-size:18px;
  margin-bottom:5px;
}

a{
  text-decoration:none;
  color:#f55;
}

.hidden{
  display:none;
}
.red{
  color:#f33;
}
.black {
  color:#000;
}

.capitalize{
  text-transform: capitalize;
}

header {
    height: 80px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:20px;
}

header h3 {
    font-size: 10pt;
    text-transform: uppercase;
    color:#777;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header h3::before,
header h3::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #999;
  width: 50px;
}

header h3::before {
  margin-right: 10px;
}

header h3::after {
  margin-left: 10px;
}

.panel {
    display: flex;
    align-items: center;
    padding-top: 20px;
    position: relative;
}

.panel h1{
  font-size:40px;
}


.dark-panel{
  color:#eee;
}

.light-panel {
  color:#333;
}

#date-bar {
    background-color: #fff;
    width: 100%;
    display: flex;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 60%);
}

#date-bar h1 {
    color: #f00;
    font-weight: bold;
    font-size: 24px;
}

.left-center{
  position: relative;
  left:25%;
  text-align:center;
}

#cover-panel {
    height: 800px;
    background: url('images/JamesKatHuasca-web.jpg');
    background-size: 100vw;
    background-attachment: fixed;
    background-position-y:-47vw;
  }

  #info-panel {
      min-height: 600px;
      background: url('images/maple-leaves.svg');
      background-size: 75vw;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: 0 200px;
      display: flex;
      justify-content: space-around;
  }

  #info-panel img {
    width: 500px;
    max-width: 90%;
    padding: 20px;
  }

  #rsvp-panel {
      position: relative;
      min-height: 500px;
      background: url('images/foliage.jpg');
      background-size: 100vw;
      background-position-y: top;
      display: flex;
      flex-direction: column;
  }

  .inner-box {
      margin: 20px;
      max-width: 600px;
  }


  /* Form code */
  .form-container {
      background: rgba(255,255,255,0.75);
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      max-width: 600px;
      width: 90%;
      font-size: 18px;
      font-family: "Lora", serif;
      color: #555;
      margin-bottom: 20px;
  }
  .form-group {
      margin-bottom: 15px;
  }

  #form-instructions{
    font-size:16px;
    margin-bottom:10px;
    font-weight:bold;
  }

  label {
      display: block;
      font-weight: bold;
      margin-bottom: 5px;
  }
  input, select, textarea {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 20px;
      color: #000;
  }

  input::placeholder {
    opacity: 0.5;
    color: #000;
  }


  .name-fields {
      display: flex;
      gap: 10px;
  }
  .name-fields input {
      flex: 1;
  }
  button, .button {
      background: #ff8300;
      color: white;
      border: none;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 18px;
      width: 100%;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  }
  button:hover {
      background: #ff8c12;
  }


  #success-message {
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 15px;
      text-align: center;
      font-size: 28px;
  }
  #hotels-panel {
      display: flex;
      flex-direction: column;
      min-height: 600px;
      background: url('images/hotels-bkg.svg');
      background-size: 100vw;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: 0 200px;
      justify-content: space-around;
  }

  table#rsvp-results {
      margin: 20px;
  }

  .hotel_link{
    font-size: 28px;
    /* font-family: 'Dancing Script'; */
    line-height: 1.5em;
  }

  .list {
      display: flex;
      flex-direction: column;
      max-width: 800px;
      margin-top: 20px;
  }
  .row {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
  }



  #hotels-panel a, #activities-panel a{
    font-size:28px;
  }

  #hotels-panel a.phone{
    font-size:18px;
  }


  .row img {
      max-width: 150px;
      margin: 0 20px 20px 0;
      border-radius: 10px;
  }
  .row a{
    flex: 3;
  }

  #carpool-panel {
      height: 600px;
      background: url('images/vermont-drive-cropped.jpg');
      background-size: cover;
      flex-direction: column;
      background-position: bottom;
      position:relative;
  }

  .panel-box {
    background: rgba(255,255,255,.75);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    max-width: 700px;
  }


  .right-box {
      right: 30px;
      top: 50%;
      transform: translateY(-50%);
  }

  #carpool-panel .button {
      display: block;
      width: 100%;
      text-align: center;
  }

  #carpool-panel .button-wrap {
      margin-top: 20px;
      margin: 20px auto 0;
      width: 60%;
  }

  .navbar {
      background: white;
      display: flex;
      justify-content: space-evenly;
      padding: 15px 0;
      list-style: none;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar a {
      text-decoration: none;
      color: #f00;
      padding: 10px 15px;
      font-family: 'Dancing Script';
      font-size: 26px;
  }

  /* Mobile menu button */
  .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
  }


  #activities-panel {
      display: flex;
      flex-direction: column;
      min-height: 600px;
      background: url('images/maple-leaves.svg');
      background-size: 75vw;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: 0 200px;
      justify-content: space-around;
  }

  #activities-panel a.trail-link {
      font-size: 18px;
      color: #000;
  }

  #photos-panel {
    position: relative;
      min-height: 600px;
      background: url('images/photos-foliage-bkg.jpg');
      background-size: cover;
      background-position-y: top;
      display: flex;
      flex-direction: column;
  }

  .collage{
    width:90vw;
    max-width:1200px;
  }

  .center-box {
      position: relative;
      text-align: center;
      margin: 30px 0 50px;
  }
  .center-box p {
    text-align: left;
    position: relative;
    margin-bottom: 20px;
  }
  /* Responsive styles */

  @media(max-width:799px){



    .panel{
        flex-direction: column;
    }

    /* #cover-panel {
        height: 300px;
        background-position-y: -30vw;
    } */

    #cover-panel {
        height: 60vw;
        background-position-y: -54vw;
        background-size: 100vw;
        background-position-x: right;
        background-attachment: scroll;
    }

    #date-bar {
        font-size: 12px;
        position: relative;
        top: 150px;
    }



    .left-center {
        position: relative;
        left: 10%;
        text-align: center;
    }
    #rsvp-panel {
        background-size: cover;
    }


    .form-container {
      background: rgba(255,255,255,0.95);
    }
    .name-fields {
        flex-direction: column;
    }
    h1 {
        text-align: center;
    }

    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .row-info {
        text-align: center;
        max-width: 80%;
        margin-bottom: 20px;
    }
    .row img {
        margin: 20px 0 10px 0;
    }

    .list{
      margin-top:0;
    }
    .list a {
        line-height: 1.2em;
    }

    #hotels-panel p {
        text-align: center;
    }


    .panel-box {
      width: 80%;
    }

    #carpool-panel .right-box {
        position: relative;
        right: inherit;
    }

    button.menu-toggle {
        position: absolute;
        top: 0 !important;
        background: #fff;
        right: 0;
        width: auto;
        color: #000;
        z-index:11;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: center;
        background: white;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        background:rgba(255,255,255,0.9);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    .navbar.active {
        display: flex;
    }

    .navbar a {
        font-size: 29px;
        line-height: 1.4em;
    }

    .menu-toggle {
        display: block;
    }

  }

  @media(max-width:450px){
    #date-bar {
        background: #fff;
        position: relative;
        top: 60vw;
        z-index:10;
    }
    #date-bar h1 {
        color: #fff;
    }

    .left-center {
        position: relative;
        left: 0;
        text-align: center;
        width: 100%;
        color: #fff;
        background: #d00;
    }
    .left-center a {
        color: #fff;
        font-size: 14px;
    }
    div#info-panel {
        padding-top: 25vw;
        z-index: 9;
    }
}

@media (max-width: 300px){
  #cover-panel{
    height: 75vw;
  }
}
