@keyframes jingle-bells {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes jingle-bells--hover {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(7deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes notes {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: scale(1.5) translate(50%, -50%);
    }
    80% {
        opacity: 0;
        transform: scale(1.5) translate(100%, -100%);
    }
    100% {
        transform: scale(1.5) translate(100%, -100%);
        opacity: 0;
    }
}

@keyframes slide {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.container-fluid {
    position: relative !important;
    max-width: 120rem !important; /*  1920px */
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
ul {
    font-family: 'Berkshire Swash', cursive;
}

h1 {
    font-size: 3.5rem;
}

@media (min-width: 800px) {
    h1 {
        font-size: 4rem; /* 150px */
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 5rem; /* 150px */
        line-height: 5rem;
    }
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

.swiper .swiper-slide--container h3.no-padding {
    padding: 0;
}

.swiper .swiper-slide--container h3.is-sweet {
    display: block;
    min-height: 10rem;
    padding: 5rem 0 0;
}

h4 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.1rem;
    font-weight: 100;
}

.info__container h6 {
    font-size: .8rem;
    line-height: 1rem;
}

@media (min-width: 420px) {
    .info__container h6 {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }
}

a {
    display: block;
    text-decoration: none;
}

p {
    padding: 2rem .5rem;
}

ul {
    list-style-type: none;
}

.form__container ul {
    padding: 1rem 0;
    font-family: 'Poppins', sans-serif;
}

.form__container ul li {
    padding: .5rem 0;
}

header {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 1rem 1.5rem 12rem;
    margin: 0 auto;
    background: url(../images/background.svg), #f6efe8;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (min-width: 600px) {
    header {
        padding-right: 5rem;
        padding-left: 5rem;
    }
}

@media (min-width: 1200px) {
    header {
        padding: 5rem 5rem 20rem;
    }
}

section {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    padding: 0 1rem 5rem;
    margin: 0 auto;
}

@media (min-width: 800px) {
    header,
    section {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 800px) {
    section {
        padding: 0 1rem 5rem;

    }
}

button {
    border-radius: 0.5rem;
    padding: 0.6rem 1.3rem;
    color: #fff;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
}

.is-button--red {
    background: #bd060c;
}

.is-button--red:hover {
    background: #a5040a;
}

.is-button--transparent {
    padding: 0.8rem 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
    border-radius: 2rem;
    background: transparent;
    color: #333;
    font-weight: 100;
    letter-spacing: 0.07rem;  /* 1.1px */
}

.countdown__container {
  align-items: center;
}

@media (min-width: 800px) {
    .countdown__container {
        padding: 0;
      }
}

.info__container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 1rem .5rem;
    margin: 0 auto;
}

@media (min-width: 420px) {
    .info__container {
        padding: 1rem;
    }
}

@media (min-width: 800px) {
    .info__container {
        padding: 1rem 5rem 0;
    }
}

.info__container_item {
    width: auto;
    padding: 0;
}

@media (min-width: 800px) {
    .info__container_item {
        padding: 0 1rem;
    }
}

.info__container_item p a {
    padding: 0 0 0 0.5rem;
    color: #333;
    font-size: .8rem;
}

@media (min-width: 420px) {
    .info__container_item p a {
        padding: 0 0 0 0.5rem;
        font-size: inherit;
    }

    .info__container_item p a:hover {
     text-decoration: underline;
    }
}

.info__container_item img {
    max-height: 3.2rem;
    padding: 0 0.5rem;
}

@media (min-width: 800px) {
    .info__container_item img {
        max-height: 7rem;
    }
}

.header__container {
    max-width: 35rem;
    background: #f6efe8;
}

.header__container,
.section__container {
    position: relative;
}

@media (min-width: 800px) {
    .header__container,
    .section__container {
        width: 50%;
        min-height: fit-content;
        margin: 0 auto;
    }
}

.section__container_title {
    text-align: center;
    padding: 0 1rem 1rem;
}

@media (min-width: 1200px) {
    .section__container > p,
    .form__container > p {
        max-width: 70%;
        margin: 0 auto;
    }
}

.header-bells {
    position: relative;
    margin-bottom: 1.5rem;
    text-align: center;
    transform-origin: center top;
    animation: jingle-bells 2s ease-in-out forwards infinite;
}

.header-bells:hover {
    animation: jingle-bells--hover 1s ease-in-out forwards infinite;
}

@media (min-width: 800px) {
    .header-bells {
        bottom: 50%;
        left: 5%;
    }
}

.header-bells img {
    height: 100%;
    max-height: 14rem;
}

@media (min-width: 800px) {
    .header-bells img {
        max-height: 25rem;
    }
}

.music-notes {
    display: block;
    margin: auto;
    position: relative;
    width: 50%;
    min-width: 18.75rem;
    height: 4rem;
}

.music-notes--one,
.music-notes--two,
.music-notes--three,
.music-notes--four {
    position: absolute;
    animation: notes 2s infinite linear;
    color: #bd060c;
    font-size: 1.5rem;
    opacity: 0;
}

.music-notes--one {
    top: 60px;
    left: 0;
    animation-delay: 0.5s;
}

.music-notes--two {
    top: 30px;
    left: 30%;
    animation-delay: 1s;
}

.music-notes--three{
    top: 90px;
    left: 60%;
    animation-delay: 1.5s;
}

.music-notes--four {
    top: 40px;
    left: 90%;
    animation-delay: 2s;
}

.facebook-share__container,
.privacy__container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.facebook-share-btn a {
    max-width: 7rem;
    padding: 0.5rem;
    background: #e2b84e;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 600px) {
    .facebook-share-btn a {
        max-width: inherit;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.section__container {
    position: relative;
    width: 100%;
    min-height: fit-content;
    margin: 0 auto;
}

.background__xmiss .section__container {
    width: 100%;
}

@media (min-width: 720px) {
    .background__xmiss .section__container {
        width: 50%;
    }
}

@media (min-width: 800px) {
    .section__container {
        width: 50%;
    }
}

.section__height {
    height: 65vh;
}

@media (min-width: 600px) {
    .section__height {
        height: 50vh;
    }
}

.section__image {
    position: absolute;
    max-width: 30rem;
}

.section__image img {
    width: 100%;
}

.clock__title {
    padding: 2rem 0;
    text-align: center;
}

@media (min-width: 800px) {
    .clock__title {
        text-align: left;
    }
}

#clock {
	display: inline-block;
	color: #fff;
	font-size: 3rem;
	font-weight: 100;
	text-align: center;
}

#clock > div {
	display: inline-block;
	padding: 10px;
    color: #333;
}

#clock div > span {
    display: inline-block;
    padding: 1rem 1.5rem 1.5rem;
	background: #bd060c;
    color: #fff;
    font-family: 'Berkshire Swash', cursive;
}

.clock__text {
    padding-top: 1rem;
    font-size: .8rem;
    text-transform: uppercase;
}

.background__beige-white {
    padding: 6rem 0 6rem;
    background: url(../images/beige-white.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.background__hoho {
    padding: 6rem 0 6rem;
    background: url(../images/background-hohoho.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

@media (min-width: 600px) {
    .padding__top {
        padding-top: 8rem;
    }
}

.is-black {
    color: #333;
}

.is-white {
    color: #fff;
}

.is-yellow {
    color: #e2b84e;
}

.is-red {
    color: #bd060c;
}

.is-great-vibes {
    padding-top: 5rem;
    font-family: 'Great Vibes', cursive;
}

.is-great-vibes ul {
    padding-top: 1rem;
    font-family: 'Great Vibes', cursive;
    list-style-position: inside;
}

.is-great-vibes ul li::before {
    content: "\002D";
    display: inline-block;
    width: 1.5rem;
    margin-left: -2rem;
    color: #bd060c;
    font-weight: bold;
  }

.is-great-vibes ul li {
    padding: .8rem 0;
    font-size: 1.8rem;
}

.is-great-vibes p {
    max-width: 100%;
    padding: 2rem 0;
    font-size: 1.8rem;
}

.is-great-vibes .close {
    float: right;
}

.is-bg--beige {
    background: #f6efe8;
}

.is-bg--gradient {
    background: rgb(246,234,214);
    background: -moz-radial-gradient(circle, rgba(246,234,214,1) 0%, rgba(254,249,242,1) 25%, rgba(246,234,214,1) 81%);
    background: -webkit-radial-gradient(circle, rgba(246,234,214,1) 0%, rgba(254,249,242,1) 25%, rgba(246,234,214,1) 81%);
    background: radial-gradient(circle, rgba(246,234,214,1) 0%, rgba(254,249,242,1) 25%, rgba(246,234,214,1) 81%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f6ead6",endColorstr="#f6ead6",GradientType=1);
}

.is-receipt {
    animation: slide .4s ease-in-out;
}

.is-divider {
    width: 10%;
    margin: 0 auto 1.1rem;
    border: solid 1px #bd060c;
}

.is-center {
    text-align: center;
}

.is-mobile-invisible {
    display: none;
}

/* Hide when mobile */
@media (min-width: 600px) {
    .is-mobile-invisible {
        display: flex;
        justify-content: center;
    }
}

.is-bow {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 10rem;
    margin-top: -4rem;
    margin-left: auto;
    margin-right: auto;
}

.is-letter {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}

.is-letter .paragraph--one-slide {
    max-width: 500px;
    margin: 1.5rem auto;
    text-align: center;
}

@media (min-width: 600px) {
    .is-letter {
        width: 90%;
    }
}

h4.is-sender {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    line-height: 2rem;
}

@media (min-width: 600px) {
    h4.is-sender {
        right: 3rem;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    padding-bottom: 1rem;
    text-align: center;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide--item {
    position: absolute;
    top: 2rem;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .swiper-slide--item {
        top: 8rem;
        max-width: 43rem;
        padding: 0 5rem;
    }
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide--one-slide {
    width: 100%;
 }

.swiper-slide--two-slides {
    width: 50%;
 }

.swiper-slide--three-slides {
    width: 33%;
 }

.swiper-slide--container {
    padding: 1rem;
}

.swiper-slide--container-bg {
    width: 40rem;
    height: 30rem;
    padding: 0;
    background: #fff;
}

@media (min-width: 992px) {
    .swiper-slide--container-bg {
        width: 40rem;
        height: 40rem;
        padding: inherit;
        background: url(../images/pieces-background.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: -0.375rem !important; /*6px*/
    text-align: center;
}

span.swiper-pagination-bullet {
    background: #bd060c;
}

.swiper-pagination-envelope span.swiper-pagination-bullet {
    height: 2rem;
    width: 2rem;
    padding: .5rem;
    margin-top: 0.5rem !important;
    background: #bd060c !important;
    color: #fff;
    font-size: .8rem;
    opacity: 1;
}

.is-pagination {
    position: absolute;
    top: 50%;
    right: 0;
    left: -10%;
    font-size: 5rem;
}

.flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    perspective: 1000;
}

.flip-container:hover .flipper, .flip-container.hover .flipper {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 22.5rem;     /* 360px */
	height: 12.625rem;  /* 202px */
}

@media (min-width: 500px) {
    .flip-container, .front, .back {
        width: 34.375rem; /* 550px */
        height: 19.25rem; /* 308px */
    }
}

@media (min-width: 1200px) {
    .flip-container, .front, .back {
        width: 47.8125rem;  /* 765rem */
        height: 26.25rem; /* 420px */
    }
}

/* flip speed goes here */
.flipper {
	-webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;

    -moz-transition: 0.6s;
    -moz-transform-style: preserve-3d;

    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;

    position: absolute;
    top: 0;
    left: 0;
}

.front {
    background: transparent;
    z-index: 2;
}

/* back, initially hidden pane */
.back {
	background: transparent;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.swiperEnvelope .back  a {
    display: block;
    width: 10rem;
    padding: 0.2rem;
    margin: 1rem auto .5rem;
    background: #bd060c;
    color: #fff;
    border-radius: 0.25rem;
}

@media (max-width: 499px) {
    .swiperEnvelope .is-letter .paragraph--one-slide {
        margin: 3rem  auto 0;
        font-size: .7rem;
    }

    .swiperEnvelope .back h4 {
        bottom: 0;
        margin: 0 auto ;
        font-size: 1rem;
    }
}

.paragraph--one-slide {
    padding: .2rem 0.5rem .3rem;
    font-size: .95rem;
    font-weight: 300;
}

@media (min-width: 1200px) {
    .paragraph--one-slide {
        padding: 2rem;
    }
}

.paragraph--two-slides {
    min-height: 15rem;
    padding: 2rem 0;
    font-size: 1rem;
    font-weight: 300;
}

.paragraph--three-slides {
    padding: 0 0 1rem;
    font-size: .8rem;
    font-weight: 300;
}

.title--three-slides {
    min-height: 1rem;
    padding: 1rem 0;
}

@media (min-width: 800px) {
    .title--three-slides {
        min-height: 7rem;
    }
}

@media (min-width: 1024px) {
    .title--three-slides {
        min-height: 5rem;
    }
}

.side__image--left,
.side__image--right {
    display: none;
}

@media (min-width: 800px) {
    .side__image--left {
        position: absolute;
        left: -14rem;
        display: block;
        height: 34.4rem; /* 550px */
        width: 11.69rem; /* 187px */
    }

    .side__image--right {
        position: absolute;
        right: -14rem;
        display: block;
        height: 34.4rem; /* 550px */
        width: 11.69rem; /* 187px */
    }
}

.has-notes {
    padding: 4rem 0 0;
}

@media (min-width: 600px) {
    .has-notes {
        padding: 1rem 0;
    }
}

.has-notes img {
    width: 100%;
}

@media (min-width: 600px) {
    .has-notes img {
        width: auto;
    }
}

.is-playlist {
    max-width: 100%;
    margin: 8rem auto 0;
}

@media (min-width: 800px) {
    .is-playlist {
        max-width: 80%;
    }
}

.is-playlist li {
    display: inline-flex;
    margin: .5rem 0;
    font-size: 1.2rem;
}

.is-playlist span {
    margin: 0 1rem;
}

.is-fliped {
    transform: scaleX(-1);
}

.is-uppercase {
    text-transform: uppercase;
}

.is-transparent {
    opacity: 0;
}

.xmas-socks {
    margin-top: -0.5rem;
}

.xmas-socks img {
    width: 80%;
}
