/*
---AVAILABLE FONTS---
font-family: 'Roboto', sans-serif;
font-family: 'Shadows Into Light', cursive; 
*/

/* GENERAL STYLES */

* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background: #FFF7F2;
    color: #12908E;
}

main p {
    line-height: 150%;
}

h2, h1 {
    font-family: 'Shadows Into Light', cursive;
}

h2 {
    text-transform: uppercase;
}

main h2 {
    margin-bottom: 80px;
    font-size: 56px;
    text-align: center;
}

/* HEADER STYLES */

header {
    background: linear-gradient(0deg, rgba(101, 197, 195, 0.94), rgba(101, 197, 195, 0.94)), url(images/hero-bg-sky.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #FFF;
}

.navbar {
    text-align: center;
}

.navbar-nav {
    padding-top: 20px;
}

.navbar .nav-item {
    margin-bottom: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Shadows Into Light', cursive;
    text-transform: uppercase;
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1)
}

.image-side img {
    width: 100%;
}

.with-wave {
    position: relative;
    overflow: hidden;
}

.with-wave.cover-bottom .wave {
    bottom: -1px;
}

.with-wave.cover-top .wave {
    top: 0;
}

.with-wave .wave {
    position: absolute;
    left: -4%;
    width: 108%;
    display: block;
    height: auto;
}

.special {
    color: #FEA6AA;
}

.header-content .special {
    font-size: 32px;
    margin-bottom: 50px;
}

.header-content {
    padding-top: 100px;
    text-align: center;
}

.header-content.flex-container>div:first-of-type {
    margin-bottom: 30px;
}

.date {
    max-width: 220px;
    margin: auto;
    font-family: 'Shadows Into Light', cursive; 
    font-size:32px;
    margin-bottom:30px;
}

.date-numbers {
    display: flex;
    justify-content: center;
}

.date-numbers span {
    display: flex;
    align-items: center;
    justify-content:center;
}

.date-numbers>span:first-of-type {
    padding-right: 24px;
}

.date-numbers>span:last-of-type {
    padding-left: 24px;
}

.date-numbers span:nth-of-type(2):after, .date-numbers span:nth-of-type(2):before {
    content: '';
    display: block;
    background: #FEA6AA;
    border-radius: 2px;
    width: 2px;
    height: 140%;
}

.date-day{
    position:relative;
    font-family: 'Roboto', sans-serif;
    width:62px;
    margin:0 5px;
    text-align:center;
}

.date-day:after{
    position:absolute;
    content:url(images/date-border.svg);
    top:-10px;
}

section {
    padding: 80px 0;
}

.navbar.fixed-top.scrolled {
    background-color: rgba(101, 197, 195, 0.94) !important;
    transition: background-color 200ms linear;
}

/* our story section */

#our-story-section h2 {
    margin-bottom: 30px;
}

.half-column>div {
    margin-bottom: 30px;
}

.half-column>div:last-of-type {
    margin-bottom: 0;
}

/* rsvp section */

input:focus {
    outline: none;
}

.border-image {
    width: 100%;
    max-width: 850px;
    margin: 50px auto;
    display: block;
}

input[type="text"] {
    width: 100%;
    background: #F3E9E3;
    border: 1px solid #12908E;
    border-radius: 2px;
    font-size: 24px;
    color: rgba(28, 92, 90, 0.8);
    padding: 12px 24px;
}

input[type="text"]::placeholder {
    color: rgba(28, 92, 90, 0.8);
}

#form-rsvp {
    margin: auto;
}

#form-rsvp p {
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}

#form-rsvp input[type='text'] {
    margin-bottom: 50px;
}

#form-rsvp .radio-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

#form-rsvp fieldset {
    margin-bottom: 100px;
}

.btn:hover, input[type="submit"]:hover {
    color: #FFF;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.4);
}

.btn, input[type="submit"] {
    background: #12908E;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    padding: 5px;
    display: block;
    margin: auto;
    width: 100%;
    color: #FFF;
    font-family: 'Shadows Into Light', cursive;
    font-size: 32px;
    max-width: 280px;
    transition: all 0.3s;
}

/* radio input styles */

.radio-container {
    display: block;
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 33px;
    width: 33px;
    background: none;
    border: 2px solid #12908E;
    border-radius: 3px;
    padding: 0;
}

/* On mouse-over, add a grey background color */

/* .radio-container:hover input ~ .checkmark {
    background-color: #ccc;
  } */

/* When the radio button is checked, add a blue background */

/* .radio-container input:checked ~ .checkmark {
    background-color: #2196F3;
  } */

/* Create the indicator (the dot/circle - hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */

.radio-container input:checked~.checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */

.radio-container .checkmark:after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/checkmark.svg');
    background-size: 80%;
    background-color: #12908E;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
}

/* radio input styles end */

/* FAQ section */

.dropdown-links {
    list-style-type: none;
    padding: 0;
}

.dropdown-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-links li {
    border-bottom: 2px solid #497B78;
    padding-bottom: 20px;
    margin-bottom: 55px;
}

.dropdown-links a {
    text-decoration: none;
    font-size: 24px;
    color: #12908E;
}

.dropdown-content {
    padding-top: 25px;
    padding-left: 30px;
    display: none;
}

/* information section */

#information-section h3 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 50px;
}

#information-section h4 {
    font-size: 24px;
}

main a {
    color: #497B78;
    text-decoration: underline;
}

main a:hover {
    color: #497B78;
    text-decoration: none;
}

.location-item {
    margin-bottom: 56px;
    max-width: 508px;
}

.contact-info{
    max-width:359px;
}

.contact-info h3{
    margin-bottom:20px!important;
}

.contact-info p{
    font-size: 24px;
}

.contact-info .subtext{
    margin-bottom:80px;
}

.contact-list .contact-item:first-of-type{
    padding-left:20px;
}
.contact-list .contact-item:nth-of-type(2){
    padding-left:30px;
}
.contact-list .contact-item:nth-of-type(3){
    padding-left:40px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item h4 {
    margin-right: 16px;
}

.contact-info {
    position: relative;
}

/* footer styles */

footer {
    background: linear-gradient(0deg, rgba(44, 38, 38, 0.2), rgba(44, 38, 38, 0.2)), url(images/footer-bg.png);
    color: #FFF;
    font-family: 'Shadows Into Light', cursive;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding-bottom: 20px;
}

.footer-bottom a{
    font-size: 24px;
    color:#FFF;
    text-decoration:underline;
}

footer .footer-logo {
    margin-bottom: 56px;
    width: 100%;
    max-width: 370px;
}

footer p {
    line-height: 26px;
}

footer .flex-container {
    align-items: flex-start;
    justify-content: space-between;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
}

footer nav ul li {
    margin-bottom: 25px;
}

footer nav ul li:last-of-type {
    margin-bottom: 0;
}

footer nav ul li a {
    font-size: 28px;
    color: #FFF;
    text-decoration: none;
}

footer nav ul li a:hover {
    text-decoration: none;
    color: #FFF;
}

footer .sitemap {
    margin-bottom: 30px;
}

section.with-leaves.sides img.leaves, section.with-absolute-img:after {
    display: none;
}

@media only screen and (min-width:768px) {
    /* NAVBAR DESKTOP STYLES START */
    .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-item .nav-link:hover {
        position: relative;
    }
    .navbar-dark .navbar-nav .nav-link.active:after, .navbar-dark .navbar-nav .nav-item .nav-link:hover:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        bottom: -10px;
        background: #FFBFC2;
        border-radius: 2px;
    }
    .navbar .nav-item {
        margin-right: 30px;
    }
    .navbar .nav-item:last-of-type {
        margin-right: 0;
    }
    /* OTHER MIN 768PX SIZE */
    header h1 {
        font-size: 40px;
    }
    .flex-container {
        display: flex;
        align-items: center;
    }
    .header-content {
        text-align: left;
    }
    .header-content.flex-container>div:first-of-type {
        flex: 0 1 40%;
        margin-right: 20%;
        margin-bottom: 0;
    }
    .header-content.flex-container>div:last-of-type {
        flex: 0 1 50%;
    }
    .half-column>div {
        flex: 0 1 48%;
        margin-right: 4%;
        margin-bottom: 0;
    }
    .half-column>div:last-of-type {
        margin-right: 0;
    }
    #form-rsvp .radio-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #form-rsvp .radio-buttons>div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .contact-info:after {
        content: url('images/arrow-swoop-down.svg');
        position: absolute;
        right: -180px;
        top: 20px;
    }
    footer {
        text-align: left;
    }
    footer .flex-container .about {
        flex: 0 1 632px;
        margin-right: 70px;
        margin-bottom: 0;
        order: 1;
    }
    footer .flex-container .sitemap {
        order: 2;
        margin-bottom: 0;
    }
    section.with-leaves, section.with-absolute-img {
        position: relative;
    }
    #form-rsvp {
        width: 65%;
    }
    section.with-leaves.sides {
        display: flex;
        align-items: center;
    }
    section.with-leaves.sides img.leaves-left {
        position: absolute;
        left: 0;
        content: url('images/leaves-left.svg');
        display: block;
        width: 200px;
    }
    section.with-leaves.sides:after {
        content: '';
    }
    section.with-leaves.sides img.leaves-right {
        position: absolute;
        right: 0;
        content: url('images/leaves-right.svg');
        display: block;
        width: 200px;
    }
    section.with-leaves:after {
        position: absolute;
        right: 0;
        top: 0;
        content: url('images/section-leaves.svg');
        width: auto;
        display: block;
    }
    section.with-absolute-img.top-left {
        padding-top: 170px;
    }
    section.with-absolute-img:after {
        position: absolute;
        content: url('images/footprints.svg');
        width: auto;
        display: block;
    }
    section.with-absolute-img.top-left:after {
        left: 0;
        top: 0;
    }
    .navbar {
        text-align: left;
    }
    .navbar-nav {
        padding-top: 0;
    }
    .navbar .nav-item {
        margin-bottom: 0;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
    }
    footer nav ul li a {
        font-size: 40px;
    }

    .contact-item{
        justify-content:flex-end;
    }

    .contact-item.negative-margin{
        margin-right:-80px;
    }
}

@media only screen and (min-width:992px) {
    .contact-item.indented {
        padding-left: 97px;
    }
    section.with-leaves.sides img.leaves-left {
        width: 300px;
    }
    section.with-leaves.sides img.leaves-right {
        width: 300px;
    }
    #form-rsvp {
        width: 60%;
    }
}

@media only screen and (min-width:1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1440px;
    }
    .contact-info:after {
        right: -160px;
    }
    #form-rsvp {
        max-width: 720px;
    }
    section.with-absolute-img.top-left {
        padding-top: 80px;
    }
}
    
    /* our moments section */

    .gallery{
        display:flex;
        flex-wrap:wrap;
        margin:auto;
        max-width:900px;
    }

    .gallery>div{
        flex-grow:1;
        margin:5px;
    }

    .gallery>div img{
        max-width:100%;
        min-width:100%;
        vertical-align:bottom;
        object-fit:cover;
        object-position:center;
    }

    .dropdown-links .dropdown-content a{
        font-size:inherit;
        text-decoration:underline;
    }

    @media only screen and (min-width:768px){
        .gallery>div{
            height:200px;
        }
        .gallery>div img{
            height:100%;
        }
    }