html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    font-family: 'Quicksand';
}

a {
    color: white;
}

h1 {
    font-size: 60px;
    font-family: 'Mea Culpa', sans-serif;
    font-weight: 100;
    text-shadow: 0 11px 15px rgba(0, 0, 0, 0.35);
    text-align: center;
}

h2 {
    font-family: 'Quicksand';
    font-weight: 400;
    text-align: center;
}

button {
    margin: 8px;
    padding: 8px 16px;
    background-color: rgb(95, 10, 10);
    color: white;
    border-radius: 4px;
    border: none;
    box-shadow: 0px 2px 8px 0px rgb(0 0 0 / 40%);
    font-family: 'Quicksand';
    font-size: 18px;
    cursor: pointer;
    border: outset rgb(140 20 20) 2px;
}

button:hover {
    background-color: rgb(134, 54, 54);
}

button:active {
    background-color: rgb(50, 10, 10);
}

button:disabled {
    opacity: 0.5;
}

button:disabled:hover {
    background-color: rgb(95, 10, 10);
    opacity: 0.5;
}

button:disabled:active {
    background-color: rgb(95, 10, 10);
    opacity: 0.5;
}

.bordeaux {
    color: rgb(95, 10, 10);
}

.white {
    color: white !important;
}

.margin-0 {
    margin: 0 !important;
}

.grow-1 {
    flex-grow: 1;
}

.grow-2 {
    flex-grow: 2;
}

.shrink-1 {
    flex-shrink: 1;
}

.shrink-2 {
    flex-shrink: 2;
}

.shrink-15 {
    flex-shrink: 15;
}

.logo {
    display: inline-block;
    margin: 25px;
}

.logo .logo-text {    
    text-shadow: none;
    font-family: 'Mea Culpa', sans-serif;
    font-size: 40px;
}

.nav-bar {
    color: rgb(255, 255, 255);
    text-shadow: 0 0 5px rgb(70, 70, 70);
    position: fixed;
    background: linear-gradient(180deg, #ffffff2e, transparent);
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    z-index: 1000000;
    opacity: 0;
}

.nav-bar a {
    color: rgb(255, 255, 255);
    text-shadow: 0 0 5px rgb(70, 70, 70);
    text-decoration: none;
}

.nav-sticky {
    color: rgb(0, 0, 0) !important;
    background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.808)) !important;
}

.nav-sticky .logo .logo-text {
    color: rgb(95, 10, 10);
}

.nav-sticky a {
    color: rgb(0, 0, 0) !important;
    text-shadow: 0 0 5px rgb(70, 70, 70);
    text-decoration: none;
}

.nav-bar .buttons {
    display: block;
    margin: 20px;
}


.nav-bar nav {
    text-align: center;
}

.nav-bar nav ul {
    display: inline-block;
    list-style: none;
    padding: 0;
    font-family: 'Quicksand';
}

.nav-bar nav ul li {
    cursor: pointer;
    display: inline-block;
    border-radius: 5px;
    padding: 8px;
    font-weight: bold;
}

.nav-bar nav ul li:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    animation: nav-hover 300ms;
}

.nav-bar nav ul li:hover a {
    color: black;
}

.nav-sticky nav ul li:hover {
    color: white;
    background-color: rgba(1, 1, 1, 0.4);
    animation: nav-sticky-hover 300ms;
}

.nav-sticky nav ul li:hover a {
    color: white !important;
}

.menu-button {
    position: absolute;
    width: 32px;
    height: 32px;
    top:30px;
    left: 16px;
    display: none;
    text-shadow: none;
    cursor: pointer;
    padding: 8px 8px 1px 8px;
    border-radius: 5px;
}

.nav-bar .menu-button:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    animation: nav-hover 300ms;
}

.nav-bar .menu-button:hover a {
    color: black;
}

.nav-sticky .menu-button:hover {
    color: white;
    background-color: rgba(1, 1, 1, 0.4);
    animation: nav-sticky-hover 300ms;
}

.nav-sticky .menu-button:hover a {
    color: white !important;
}

@media (max-width: 862px) {
    .nav-bar .buttons {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .buttons {
        top: 0;
        left: 0;
        position: fixed;
        padding-top: 116px;
        margin: 0 !important;
        width: 100vw;
        height: 100vh;
        transition: opacity 200ms;
    }

    .nav-bar .buttons nav {
        margin: 0 auto;
        width: 50vw;
        background-color: rgba(0, 0, 0, 0.60);
        padding: 16px;
        border-radius: 5px;
        box-shadow: 0px 3px 5px 1px rgb(0 0 0 / 35%);
    }

    .nav-bar .buttons nav ul li {
        padding: 8px 0;
        width: 100%;
    }

    .nav-sticky .buttons nav {
        margin: 0 auto;
        width: 50vw;
        background-color: rgba(255, 255, 255, 0.90);
        padding: 16px;
        border-radius: 5px;
    }

    .nav-sticky .buttons nav ul li {
        padding: 8px 0;
        width: 100%;
    }
}

.title {
    width: 100%;
    text-align: center;
}

.multi-section {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.section {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    overflow: hidden;
}

.subsection {
    text-align: center;
    margin: 24px 16px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100vh;
}


.header {
    text-align: center;
    background: url('../assets/photos/tania-nahuel.jpg') rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: color;
    background-position: center;
    background-attachment: fixed;
}

.header .header-deco {
    position: relative;
    display: inline-block;
    opacity: 0;
}

.header .header-deco img {
    max-width: 500px;
    width: 90vw;
    filter: contrast(0) brightness(255);
}

.header .header-deco .header-text {
    position: absolute;
    color: white;
    text-shadow: 0 0 2px rgb(145, 145, 145);
    font-family: 'Mea Culpa', sans-serif;
    font-size: 50px;
    top: 200px;
    left: 110px;
}

@media (max-width: 557px) {
    .header .header-deco .header-text {
        font-size: 9vw;
        top: 35vw;
        left: 20vw;
    }
}

.about-us {
    background: url('../assets/image/pattern.jpg') rgba(255, 255, 255, 0.85);
    background-blend-mode: color;
    background-size: 250px;
    padding: 100px 0;
    min-height: 25vh;
}

.polaroid {
    position: relative;
}

.polaroid img {
    width: 315px;
    border: rgb(255, 255, 255) 15px solid;
    border-bottom: rgb(255, 255, 255) 95px solid;
    border-radius: 5px
}

.polaroid span {
    position: absolute;
    font-family: 'Annie Use Your Telescope';
    top: 82%;
    left: 50%;
    font-size: 35px;
    margin-left: -40px;
}

.rotate-left {
    transform: rotate(-2deg);
}

.rotate-right {
    transform: rotate(2deg);
}

.rotate-left img {
    box-shadow: -5px 15px 15px 3px rgb(0 0 0 / 10%);
}

.rotate-right img {
    box-shadow: 5px 15px 20px 0px rgb(0 0 0 / 10%);
}

.about-us .symbol {
    font-size: 80px;
    color: rgb(95, 10, 10);
    text-shadow: 0 11px 15px rgba(0, 0, 0, 0.35);
}

.how-we-met {
    font-family: 'Quicksand';
    color: white;
    background-color: rgba(95, 10, 10, 1);
    text-align: left;
    font-size: 18px;
    padding: 64px;
    max-width: 350px;
    min-height: 377px;
}

.how-we-met .text {
    padding: 100px 0;
    max-width: 450px;
}

.how-we-met .title {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.how-we-met .title h2 {
    display: inline;
}

.how-we-met .couple {
    width: 40px;
    margin: 0 16px;
    filter: contrast(0) brightness(255);
}

@media (max-width: 1512px) {
    .how-we-met {
        max-width: initial;
        width: 100%;
    }
}

@media (max-width: 687px) {
    .about-us .symbol {
        margin: 0;
    }

    .about-us .subsection {
        margin-top: 0;
        margin-bottom: 120px;
    }
}

.when-where {
    text-align: center;
    background: url('../assets/photos/tania-nahuel-countdown.jpg') rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: color;
    background-position: right;
    background-attachment: fixed;
    align-items: flex-start;
    padding: 100px 0;
}

@media (max-width: 560px) {
    .when-where {
        background-position: -700px;
    }
}

@media (max-width: 410px) {
    .when-where {
        background-position: -730px;
    }
}

@media (max-width: 376px) {
    .when-where {
        background-position: -550px;
    }
}

.time-label {
    font-family: 'Quicksand';
    width: 80px;
    text-align: center;
}

.countdown {
    margin: 0 auto;
    width: 350px;
}

.countdown .row {
    display: flex;
    justify-content: space-evenly;
}

.countdown .box {
    width: 80px;
    height: 80px;
    color: black;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-family: 'Quicksand';
    font-weight: bolder;
    font-size: 25px;
}

a.calendar {
    display: inline-block;
    margin: 16px;
    text-decoration: none;
    line-height: 24px;
}

a.calendar span.link-icon {
    display: inline;
    margin: 8px;
    vertical-align: middle;
}

a.calendar span.link-text {
    text-decoration: underline;
    vertical-align: middle;
}

.map-container {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
}

.map-container iframe {
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.invite {
    background: url('../assets/image/pattern.jpg') rgba(255, 255, 255, 0.85);
    background-blend-mode: color;
    background-size: 250px;
    justify-content: space-around;
    min-height: 100vh;
}

.wedding-details {
    width: 470px;
    min-width: 470px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 48px 0;
}

.detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 24px 0;
}

.detail-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100px;
    text-align: center;
    width: 295px;
}

.detail-item i {
    width: 100px;
    font-size: 60px;
    padding: 10px;
}

.detail-left {
    align-self: flex-start;
    flex-direction: row-reverse;
}

.detail-right {
    align-self: flex-end;
    flex-direction: row;
}

.card {
    margin: 0 auto;
    max-width: 896px;
    min-height: 640px;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7)), url('../assets/image/pattern.jpg');
    position: relative;
    box-shadow: 0 15px 15px 6px rgb(0 0 0 / 10%);
    z-index: 1;
}

.bordeaux-card {
    background: url(../assets/image/pattern.jpg) rgb(115 7 7 / 92%) !important;
    background-blend-mode: multiply;
    background-size: 250px;
    color: white !important;
}

.card h1 {
    text-shadow: unset;
    font-size: 47px;
    margin: 0 60px;
}

.card .card-content p#to {
    font-weight: bold;
}

@media (max-width: 870px) {
    .card h1 {
        font-size: 35px;
    }
}

.card-first-border {
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    bottom: 10px;
    border: rgb(95, 10, 10) solid 1px;
    z-index: -1;
}

.bordeaux-card .card-first-border {
    border: white solid 1px;
}

.card-second-border {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    bottom: 20px;
    border: rgb(95, 10, 10) solid 1px;
    z-index: -1;
}

.bordeaux-card .card-second-border {
    border: white solid 1px;
}

.card-content {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 30px;
    color: rgb(95, 10, 10);
}

.card-content img {
    width: 240px;
}

.bordeaux-card .card-content {
    color: white;
}

.card .card-content p {
    text-align: left;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 30px;
}

.card .card-content .first {
    margin-top: 80px;
}

.card .card-content .last {
    margin-bottom: 80px; 
}

.confirm-attendance {
    background: url('../assets/photos/tania-nahuel-wedding.jpg') rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: color;
    background-position: right;
    background-attachment: fixed;
    padding: 100px 0;
    min-height: 100vh;
}

@media (max-width: 1000px) {
    .confirm-attendance {
        background-position: -820px;
    }
}

@media (max-width: 821px) {
    .confirm-attendance {
        background-position: -700px;
    }
}

@media (max-width: 810px) {
    .confirm-attendance {
        background-position: -500px;
    }
}

@media (max-width: 610px) {
    .confirm-attendance {
        background-position: -650px;
    }
}

@media (max-width: 450px) {
    .confirm-attendance {
        background-position: -400px;
    }
}

@media (max-width: 415px) {
    .confirm-attendance {
        background-position: -620px;
    }
}

@media (max-width: 376px) {
    .confirm-attendance {
        background-position: -461px;
    }
}

.confirm-attendance .card .card-content .label {
    margin-top: 60px;
    margin-bottom: 0;
    text-align: right;
}

.confirm-attendance .card .card-content .price {
    margin-top: 0;
    text-align: right;
    font-size: 30px;
}

.confirm-attendance .card .card-content .info {
    text-align: right;
    font-size: 12px;
}

button.copy {
    padding: 1px 8px;
}

button.copy span {
    font-size: 15px;
}

.modal-backdrop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000001;
    transition: 200ms;
}

.modal {
    padding: 32px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 8px;
    width: fit-content;
    box-shadow: 0px 0px 20px 0px white;
}

.message {
    margin-top: 20px;
    margin-bottom: 48px;
    flex-grow: 1;
}

.footer {
    height: 150px;
    background-color: rgb(95, 10, 10);
}