/* 
    Colors:
    burgundy: #902124
    emerald: #023c43
    gold: #d6af6e
    blue: #20356a
    mauve: #9e6183
*/

/* GLOBAL STYLES 
------------------------------------- */
html {
    box-sizing: border-box;
    font-size: 62.5%; /* Set default to 10px*/
}
*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    height: 100%;
}

body {
    background-color: #f6f6f6;
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
}
h1, h2, h3, button {
    font-family: "Ledger", serif;
}
h1 {
    font-size: 7rem;
}
h2 {
    font-size: 3.1rem;
}
h3 {
    font-size: 2.0rem;
}
header {
    text-shadow: #20356a 1px 0 10px;
}
header h1 {
    font-size: 6.0rem;
}
@media screen and (max-width: 450px){
    header h1 {
        font-size: 5rem;
    }
} 
header h2 {
    font-size: 2.2rem;
}
button {
    background: #20356a;
    border: 0;
    border-radius: 0.5rem;
}
button:hover {
    background-color:#3559b4;
} 
button a {
    color: #d6af6e;
    text-decoration: none;
    font-size: 2.0rem;
    margin: 3px;
}
.page_container {
    margin: 0;
}
header button {
    margin-top: 32px;
}
.right_container {
    display: flex;
    flex-direction: column;
    margin-left: 20vw;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}
@media screen and (min-width: 1500px) {
    .right_container {
        margin-left: 300px;
    }
}
.top_content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
.top_content header {
    background: url(../images/burgundy.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 75%;
    color: #faf9f6;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.home_header {
    height: 600px;
}
.small_header {
    height: 300px;
}
@media screen and (max-width: 450px){
    .home_header {
        height: 450px;
    }
    .small_header {
        height: 200px;
    }
} 
.fade_in_container {
   opacity: 0;
   animation: fadeIn 3s forwards; 
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.header_wrapper img {
    width: 450px;
}
@media screen and (max-width: 750px){
    .header_wrapper img {
        width: 60%;
    }
}
.open_button {
    color: #d6af6e;
    position: fixed;
    top: 5px;
    left: 5px;
    font-size: 2.0rem;
    background-color: #023c43;
    z-index: 1;
    width: 100px;
    height: 35px;
}
.open_button:hover {
    background-color: #02505a;
}
.top_content main {
    padding: 25px;
    background-color: #faf9f6;
    flex: 1 0 auto;
}
.main_wrapper {
    margin: 10px;
}
.countdown_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #d6af6e;
}
.countdown_wrapper h1 {
    font-size: 13.0rem;
    margin: -5px 0;
}
.countdown_wrapper h2 {
    font-size: 3.0rem;
    margin: 0;
}
/* MENU BAR
------------------------------------- */
.left_container {
    width: 20vw;
    max-width: 300px;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    background-color: #023c43;
    box-sizing: border-box;
}
.header_container {
    margin-top: 30px;
    margin-bottom: 50px; 
}
.header_container img{
    width: 60%;
    display: block;
    margin: auto;
}
.close_button {
    color: #d6af6e;
    float: right;
    margin-top: 10px;
    margin-right: 10px;
    background-color: rgba(0,0,0,0);
    font-size: 2.0rem;
}
.close_button:hover {
    color: white;
}
.menu ul {
    list-style-type: none;
    padding-left: 10%;
}
.menu li {
    margin: 1.4em
}
.menu a {
    color: #d6af6e;
    text-decoration: none;
    font-family: "Ledger", serif;
    font-size: 1.7rem;
}
.menu a:hover {
    color: white;
}
.menu a.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}
@media screen and (min-width: 750px){
    .open_button {
        display: none;
    }
    .close_button {
        display: none;
    }
    .left_container {
        width: 20vw;
    }
}
@media screen and (max-width: 750px){
    .left_container {
        width: 0;
        overflow-x: hidden;
        transition: 0.3s;
    }
    .header_container img {
        display: none;
    }
    .right_container {
        margin-left: 0;
    }
    header h2 {
        font-size: 2.2rem;
    }
    .countdown_wrapper h1 {
        font-size: 12.5rem;
    }
    .countdown_wrapper h2 {
        font-size: 2.5rem;
    }
}
@media screen and (max-width: 450px){
    header h2 {
        font-size: 1.7rem;
    }
    .countdown_wrapper h1 {
        font-size: 10.0rem;
    }
    .countdown_wrapper h2 {
        font-size: 2.0rem;
    }
    .main_wrapper h2 {
        font-size: 2.0rem;
    }
    .main_wrapper h3 {
        font-size: 1.7rem;
    }
    .menu li {
        font-size: 0.8rem;
    }
}
/* FOOTER
------------------------------------- */
footer {
    background-color: #023c43;
    color: #d6af6e;
    text-align: center;
}


/* PAGE: Event Info
------------------------------------- */
#itinerary {
    list-style-type: none;
}
#map {
    width: 80%;
}
#swatch {
    width: 70%;
}

/* PAGE: RSVP
------------------------------------- */
#rsvp {
    width: 100%;
    height: 1500px;
}

/* PAGE: About Us
------------------------------------- */
.slider {
    position: relative;
    margin: auto;
}

.slider_cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider_cell img {
    height: 500px;
    width: auto;
}

@media screen and (max-width: 450px){
    .slider_cell img {
        height: 250px;
        width: auto;
    }
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 15px;
    color: white;
    text-shadow: black 1px 0 5px;
    font-weight: bold;
    font-size: 30px;
    transition: 0.5s ease;
    user-select: none;
}

.prev {
    left: 20px;
}

/* Position the "next button" to the right */
.next {
    right: 20px;
  }
 
@media screen and (max-width: 450px){
    .prev {
        left: -10px;
    }
    .next {
        right: -10px;
    }
}  
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    text-shadow: black 1px 0 15px;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 1.0s ease;
}

.active_dot, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {opacity: 0.6}
    to {opacity: 1}
}

#bio img {
    width: 90%;
    display: block;
    margin: auto;
}
/* PAGE: Registry
------------------------------------- */

/* PAGE: FAQs
------------------------------------- */