* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --color-1: #e4c28d;
  --color-2:  #bb9b68;
  --color-3: #8297a2;
  --color-4: #425965;
  --color-5: #505f73;
  --color-6: #15253b;
  --accent-color-orange: #f07e32;
  --accent-color-green: #7d9768;
  --cover-page-height: 80vh;
  --cover-page-height-mobile: 100vh;
  --main-dark-color: #091d36;
  --mid-dark-color: #053c5c;
  --dark-color-transparent: rgba(0,0,0, 0.5);
  --dark-color-semitransparent: rgba(2, 9, 18,0.4);
  --warm-color-semitransparent: rgba(226,196, 132, 0.5);
  --soft-dark-color: #e1c892;
  --soft-background-color: #ffffff;
  --light-color: #fafaf7;
  --warm-color: #f1e2c7;
  --gentle-mid-color: #f6f0e5;
  --mid-color: #053c5c;
  --border-width: 5px;
  --font-1: "Poiret One";
  --font-style-1: sans-serif;
  --font-2: "Montserrat";
  --font-3: "Josefin Sans";
}

/* color scheme: https://www.colorcombos.com/combomaker.html?design=circles-outlined&output_width=182&size_option=element&colors=FFFFFF,FFFFF9,F1E2C7,E2C484,053C5C,091D36,000000&background_color=FFFFFF&show_hex_flag=Y */

.hide-on-load {
  display: none;
}









/* FOR DESKTOP */














@media only screen and (min-width: 1280px) {



  /* TEXT SETTINGS */



  h1 {
    font-family: var(--font-1), var(--font-style-1);
    font-weight: 400;
    font-size: 3.5rem;
  }
  h2 {
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 200;
    font-style: italic;
  }
  h5 {
    font-family: var(--font-2), var(--font-style-1);
  }
  
  h3 {
    padding: 24px;
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 600;
  }
  
  h4 {
    padding: 14px;
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 200;
    font-style: italic;
  }
  
  h5 {
    padding: 10px;
    font-family: var(--font-2), var(--font-style-1);
  }

  h6 {
    font-size: 22px;
    font-family: var(--font-2), var(--font-style-1);
  }
  
  p {
    font-family: var(--font-2), var(--font-style-1);
    font-size: 19px;
    font-weight: 350;
    text-align: justify;
  }



  /* NAVIGATION BAR */



  .small-menu {
    display: none;
  }
  
  .big-menu {
    display: block;
  }

  nav {
    font-family: var(--font-2), var(--font-style-1);
    color: var(--main-dark-color);
    text-decoration: none;
    width: 100%;
    padding-bottom: 20px;
    align-self: center;
    z-index: 4;
    top: 0;
  }

  .topnav {
    overflow: hidden;
    background-color: var(--soft-background-color);
  
  }

  .header-and-nav {
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    position: fixed;
    background-image: linear-gradient(to top, rgba(21, 37, 59, 0), rgba(21, 37, 59, .60) 45%, rgba(21, 37, 59, 1) 95%);
  }
  
  .big-menu__container {
    display: flex;
    height: fit-content;
    z-index: 1;
    width: 100%;
    min-width: 1100px;
    max-width: 1300px;
    margin: 0;
  }
  
  #header {
    font-size: 3.5rem;
    font-family: var(--font-1), var(--font-style-1);
    margin: 0 5rem;
    transition: all 0.7s ease ;
  }
  
  .navbar__menu {
    font-size: 1.3rem;
    font-family: var(--font-2), var(--font-style-1);
    display: inline-flex;
    position: absolute;
    right: 20px;
    bottom: 20px;
  }
  
  .navbar__items {
    color: var(--color-1);
  }
  
  .navbar__items:hover {
    color: var(--accent-color-orange);
    font-size: 1.4rem;
    transition: all 0.7s ease;
  }

  .topnav #myLinks {
    display: none;
    font-family: var(--font-1), var(--font-style-1);
  }
  
  .topnav a {
    display: block;
    height: fit-content;
  }
  
  .active {
    background-color: var(--gentle-mid-color);
    color: var(--light-color);
  }



  /* GENERAL SECTION */

  

  body {
    text-align: center;
    background-color: var(--soft-background-color);
    overflow: scroll;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }

  #page-content {
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 100px;
    padding-right: 100px;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--main-dark-color);
    z-index: 2;
  }

  .other-divs {
    margin-top: var(--cover-page-height);
    position: relative;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;

  }

  html,
  body {
    scroll-behavior: smooth;
  }

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    text-align: center;
    display: inline-block;
  }
  
  li {
    list-style-type: none;
    margin: 0 3vw;
    padding: 0;
    display: inline-block;
    text-align: center;
    color: var(--main-dark-color);
  }

  .columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-height: 30vh;
    max-width: 100%;
  }
  
  .column {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: auto;
    position: relative;
    max-height: 100%;
    padding: 20px;
    height: auto;
    justify-content: center;
  }  

  .notMainPage {
    overflow: auto;
  }
  
  a {
    display: inline-block;
    position: relative;
    display: block;
    color: var(--main-dark-color);
    margin: 0;
  }
  
  a:link {
    color: var(--soft-dark-color);
    text-decoration: solid;
  }
 /* 
  a:visited {
    color: var(--main-dark-color);
  }
 */
  a:hover {
    color: var(--accent-color-orange);
    transition: all .7s ease;
  
  }
  .no-dot:hover:before{
    content: "";
  }
  
  a:active {
    color: var(--main-dark-color);
    text-decoration: none;
  }
  
  .noScrollBar {
    -ms-overflow-style: none;
  }
  
  .noScrollBar::-webkit-scrollbar {
    display: none;
  }
  
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: var(--soft-background-color);
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  
  }
  
  main {  flex-grow: 1;}

  .square {
    height: 600px;
    width: 600px;
    object-fit: cover;
    border-radius: 300px 300px 0px 0px;
  } 
  
  a:hover:before {
    content: "_";
    display: inline-block;
    position: absolute;
    bottom: -0.5em;
    left: 0;
    text-align: center;
    width: 100%;
    color: var(--color-4);
  }

  .mando:hover:before {
    bottom: -0.25em;
    content: "_";
    display: inline-block;
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    color: var(--color-4);
  }

  .hide-on-load img{
    width: 35rem;
    height: auto;
    position: relative;
   /* top:-80px; */
  }



  /* COVER PAGE */



  #cover-page-gradient {
    z-index: -2;
    background: var(--soft-background-color);
    background: linear-gradient(0deg,
        rgba(252, 250, 250, 0) 0%,
        rgb(21, 37, 59) 100%);
    height: var(--cover-page-height);
    width: 100vw;
    position: absolute;
    opacity: 1;
    z-index: 0;
  
  }

  .cover-page-image {
    z-index: -4;
    height: var(--cover-page-height);
    width: 100%;
    object-fit: cover;
    object-position: 55% 75%;
    opacity: 1;
  }
  
  #cover-page {
    position: absolute;
    z-index: 2;
    color: var(--soft-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    min-height: var(--cover-page-height);
    justify-content: center;
  }
  
  #cover-page .centered-text {
    text-align: center;
  }

  .carousel-display {
    height: 600px;
    width: 600px;
    border-radius: 300px 300px 0px 0px;
  }
  
  .carousel-display-home {
    height: var(--cover-page-height);
    width: 100vw;
    border-radius: 300px 300px 0px 0px;
    position: relative;
    z-index: -2;
  }

  .carousel-caption {
    visibility: hidden;
  }



  /* BUTTONS */



  .button-row-parent {
    display: flex;
    flex-direction: row;
    align-self: center;
    position: relative;
    padding-left: 0px;
    height: 200px;
    width: 100%;
  }

  .button-row-child {
    flex: 1;
    display: flex;
    object-fit: cover;
    align-items: center; 
    justify-content: center;
    padding: 10px;
    position: relative;
    margin: 10px;
  }


  .button-row-grandchild {
    object-fit: cover;
    object-position: 50% 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .button-row-button {
    border: none;
    color: var(--light-color);
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--dark-color-semitransparent);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .button-row-button:hover {
    background-color: var(--dark-color-transparent);
    padding: 10px;
  }

  .button-row-button-link:link {
    color: var(--light-color);
  }

  .button-row-button-link:hover:before {
    content: "";
  }


  .button {
    border-style: solid;
    border-width: var(--border-width);
    display: block;
  }

  #button__text {
    padding: 14px;
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 350;
    font-size: 1.7rem;
  }

  .conservatory-img-map {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .conservatory-img {
    display: block;
    align-content: top;
  }

  .conservatory-map {
    display: block;
    justify-self: stretch;
    height: 373px;
    width: 560px;
  }

  .hilton-img-map {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .booking-link {
    font-family: var(--font-2), var(--font-style-1);
    background-color: transparent;
    margin: 25px;
    padding: 15px;
    border: 2px solid var(--main-dark-color);
  }

  .hilton-img {
    display: block;
    align-content: top;
  }

  .hilton-map {
    display: block;
    justify-self: stretch;
    height: 373px;
    width: 560px;
  }
  
  #gift-title-link {
    display: block;
    align-content: center;
    justify-content: center;
  }

  #thailand-link {
    color: var(--color-5);
    text-decoration: underline;
  }

  #faq-button {
    border: 2px solid var(--main-dark-color);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
  }

  #contact-us {
    border: 2px solid var(--main-dark-color);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    font-weight: bold;
  }



  /*UP TO TOP */



  #up-to-top {
    display: none;
    position: fixed;
    flex: 1;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    font-size: 28px;
    height: 40px;
    width: 40px;
    border: none;
    outline: none;
    background-color: var(--dark-color-semitransparent);
    color: white;
    cursor: pointer;
    padding: 3px;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    justify-self: center;
    justify-self: center;
    font-family: "Playfair Display SC", serif;
  }
  
  #up-to-top:hover {
    background-color: var(--dark-color-transparent);
  }
  
  .up-to-top-link:link {
    color: var(--light-color);
  }
  
  .up-to-top-link:hover:before {
    content: "";
  }


  /*  RSVP  */

  #rsvp {
    display: block;
    width: 100%;
    padding-top: 5rem;
  }

}


















/* FOR MOBILE CELL PHONES */























@media only screen and (max-width: 1280px) {

    /* TEXT SETTINGS */
  h1 {
    font-size: 1.6rem;
    font-family: var(--font-2), var(--font-style-1);
  }

  h2 {
    font-size: 1.6rem;
    font-family: var(--font-2), var(--font-style-1);
  }

  h3 {
    padding: 24px;
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 600;
  }

  h4 {
    font-size: 1rem;
    font-family: var(--font-2), var(--font-style-1);
  }


  h5 {
    font-size: smaller;
    font-family: var(--font-2), var(--font-style-1);
  }
  
  h6 {
    font-size: 24px;
    font-family: var(--font-2), var(--font-style-1);
  }
  
  p {
    font-size: 16px;
    text-align: justify;
    font-family: var(--font-2), var(--font-style-1);
  }

  i {
    color: var(--color-1);
  }

  li {
    font-size: 10px;
  }

  /* NAVIGATION BAR */

  .small-menu {
    display: block;
    font-family: var(--font-2), var(--font-style-1);
    width: 100%;
    align-self: center;
    z-index: 10;
    top: 0;
  }

  .big-menu {
    display: none;
  }

  .header-and-nav {
    z-index: 100;
    position: fixed;
    height: fit-content;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    background-image: linear-gradient(to top, rgba(21, 37, 59, 0), rgba(21, 37, 59, .60) 35%, rgba(21, 37, 59, 1) 95%);
    align-items: center;
    overflow: hidden;
  }

  #header {
    font-size: 3.2rem;
    font-family: var(--font-1), var(--font-style-1);
    transition: all 0.7s ease ;
    color: var(--color-1);
  }
  
  .small-menu__container {
    display: flex;
    height: fit-content;
    width: 100%;
    z-index: 1;
    justify-content: space-between;
  }

  .navbar__menu {
    display: none;
    width: auto;
    padding-bottom: 1rem;
  }

  .navbar__items {
    color: var(--color-1);
    font-size: 24px;
  }

  #menu-bars {
    font-size: 1.2em;
  }


  /* GENERAL SECTION */

  body {
    text-align: center;
    background-color: var(--soft-background-color);
    overflow: scroll;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }

  #page-content {
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--main-dark-color);
    z-index: 2;
  }

  .other-divs {
    margin-top: var(--cover-page-height-mobile);
    display: grid;
    height:fit-content;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  html,
  body {
    scroll-behavior: smooth;
  }

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    text-align: center;
    display: inline-block;
  }
  
  li {
    list-style-type: none;
    margin: 0 3vw;
    padding: 0;
    display: inline-block;
    text-align: center;
    color: var(--main-dark-color);
  }

  .columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-height: 30vh;
    max-width: 100%;
  }
  
  .column {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: auto;
    position: relative;
    max-height: 100%;
    padding: 20px;
    height: auto;
    justify-content: center;
  }  

  .notMainPage {
    overflow: auto;
  }
  
  a {
    display: inline-block;
    position: relative;
    display: block;
    color: var(--main-dark-color);
    margin: 0;
  }
  
  a:link {
    color: var(--soft-dark-color);
    text-decoration: solid;
  }
  
  a:hover {
    color: var(--accent-color-orange);
    transition: all .7s ease;  
  }

  .no-dot:hover:before{
    content: "";
  }
  
  a:active {
    color: var(--main-dark-color);
    text-decoration: none;
  }
  
  .noScrollBar {
    -ms-overflow-style: none;
  }
  
  .noScrollBar::-webkit-scrollbar {
    display: none;
  }
  
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: var(--soft-background-color);
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;  
  }
  
  main {  flex-grow: 1;}

  .square {
    height: 600px;
    width: 600px;
    object-fit: cover;
    border-radius: 300px 300px 0px 0px;
  } 
  
  a:hover:before {
    content: "_";
    display: inline-block;
    position: absolute;
    bottom: -0.5em;
    left: 0;
    text-align: center;
    width: 100%;
    color: var(--color-4);
  }
  
  .mando:hover:before {
    bottom: -0.25em;
    content: "_";
    display: inline-block;
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    color: var(--color-4);
  }

  /* COVER PAGE */

  #cover-page-gradient {
    z-index: -2;
    background: var(--soft-background-color);
    background: linear-gradient(0deg,
        rgba(252, 250, 250, 0) 0%,
        rgb(21, 37, 59) 100%);
    height: var(--cover-page-height-mobile);
    width: 100vw;
    position: absolute;
    opacity: 1;
    z-index: 0;  
  }

  .cover-page-image {
    z-index: -4;
    height: var(--cover-page-height-mobile);
    width: 100%;
    object-fit: cover;
    object-position: 55% 75%;
    opacity: 1;
  }
  
  #cover-page {
    position: absolute;
    z-index: 2;
    color: var(--soft-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    min-height: var(--cover-page-height-mobile);
    justify-content: center;
  }
  
  #cover-page .centered-text {
    text-align: center
  }

  .carousel-display {
    height: 600px;
    width: 600px;
    border-radius: 300px 300px 0px 0px;
  }
  
  .carousel-display-home {
    height: var(--cover-page-height-mobile);
    width: 100vw;
    border-radius: 300px 300px 0px 0px;
    position: relative;
    z-index: -2;
  }

  .carousel-caption {
    visibility: hidden;
  }

  #about-us {
    margin-top: 30px;
    margin-left: 25px;
    margin-right: 25px;
    width: auto;
    margin-bottom: 30px;
    word-wrap: break-word;
  }

  /* BUTTONS */

  .button-row-parent {
    display: flex;
    flex-direction: row;
    align-self: center;
    position: relative;
    height: 20vh;
    width: 100%;
  }

  .button-row-child {
    flex: 1;
    display: flex;
    object-fit: cover;
    align-items: center; 
    justify-content: center;
    padding: 10px;
    position: relative;
    margin: 5px;
  }


  .button-row-grandchild {
    object-fit: cover;
    object-position: 50% 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .button-row-button {
    border: none;
    color: var(--light-color);
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--dark-color-semitransparent);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .button-row-button:hover {
    background-color: var(--dark-color-transparent);
    padding: 10px;
  }

  .button-row-button-link:link {
    color: var(--light-color);
  }

  .button-row-button-link:hover:before {
    content: "";
  }

  #venue-page {
    width: 100vw;
  }

  #accomodation {
    width: 100vw;
  }


  .booking-link {
    font-family: var(--font-2), var(--font-style-1);
    background-color: transparent;
    margin: 25px;
    padding: 15px;
    border: 2px solid var(--main-dark-color);
  }


  #cbus-gift-registry {
    width: 100vw;
  }

  .hide-on-load {
    margin-left: 25px;
    margin-right: 25px;
  }

  .hide-on-load img {
    width: 100%;
    margin-bottom: 20px;
  }

  #faq {
    display: block;
    justify-content: center;
  }

  #faq-button {
    border: 2px solid var(--main-dark-color);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
  }

  #contact-us {
    border: 2px solid var(--main-dark-color);
    font-weight: bold;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
  }

  .contact-button-link {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .button {
    border-style: solid;
    border-width: var(--border-width);
    display: block;
  }

  #button__text {
    padding: 14px;
    font-family: var(--font-2), var(--font-style-1);
    font-weight: 350;
    font-size: 1.7rem;
  }

  /*UP TO TOP */

  .footer{
    width: 100vw;
    background: url("../images/J+J/PNGs/-Marigold/-Marigold/border.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-attachment: scroll;
    background-position: bottom;
    min-height: 10vh;
    bottom: 0;
  }

  #up-to-top {
    display: none;
    position: fixed;
    flex: 1;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    font-size: 28px;
    height: 40px;
    width: 40px;
    border: none;
    outline: none;
    background-color: var(--dark-color-semitransparent);
    color: white;
    cursor: pointer;
    padding: 3px;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    justify-self: center;
    font-family: "Playfair Display SC", serif;
  }
  
  #up-to-top:hover {
    background-color: var(--dark-color-transparent);
  }
  
  .up-to-top-link:link {
    color: var(--light-color);
  }
  
  .up-to-top-link:hover:before {
    content: "";
  } 


    /*  RSVP  */

  #rsvp {
    display: block;
    width: 100%;
    padding-top: 5rem;
  }

  .search-section {
    display: block;
    width: 100%;
    padding-top: 3rem;
  }

  #guest-search {
    font-family: var(--font-2), var(--font-style-1);
    font-size: 19px;
    font-weight: 350;
    text-align: justify;
    padding-right: 10pt;
  }

  #search-button {
    font-family: var(--font-2), var(--font-style-1);
    font-size: 19px;
    font-weight: 350;
    color: var(--color-6);
    background-color: transparent;
    padding-left: 5pt;
    padding-right: 5pt;
  }

  #search-error {
    display: none;
    text-align: center;
  }

  
}


