@font-face {
    font-family: 'Fondamento-Regular';
    src: url('../fonts/Fondamento-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GreatVibes-Regular';
    src: url('../fonts/GreatVibes-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body {
    overflow: auto;
    height: auto;
}
body {
    background-image: url(../img/pink-background.jpg);
    background-repeat: repeat-y;
    background-size: cover;
    background-position: top center;
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
}
h1 {
    font-family: 'GreatVibes-Regular';
    font-size: 132px;
    color: #d88d21;
}
h1 span {
    display: block;
}
h2 {
    font-family: 'GreatVibes-Regular';
    color: #f6efa0;
    font-size: 89px;
    line-height: 1.6;
}
h4 {
    font-family: 'Fondamento-Regular';
    font-size: 26px;
    color: #f6efa0;
    text-align: center;
}
h4.small {
    font-size: 24px;
}
h5 {
    font-family: 'Fondamento-Regular';
    font-size: 34px;
    color: #f6efa0;
    text-align: center;
}
h6 {
    font-family: 'GreatVibes-Regular';
    font-size: 32px;
    color: #d88d21;
}
p {
    font-family: 'Fondamento-Regular';
    font-size: 21px;
    color: #d88d21;
}
.container-fluid {
    padding: 0 80px;
}
header {
    position: relative;
}
.header {
    text-align: center;
    margin-top: -590px;
}
.header img {
    -webkit-animation: rotation 50s infinite linear;
}
@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}
.name {
    margin-top: 140px;
}
.name img {
    width: 100%;
}
.name .subHeading {
    margin-top: 50px;
}
.card-section {
    position: relative;
}
.card-section .curve1 {
    position: absolute;
    width: 380px;
    right: 0;
    top: 50px;
}
.card-section .curve2 {
    position: absolute;
    width: 380px;
    left: 0;
    top: 50px;
}
.card-section .curve3 {
    position: absolute;
    width: 250px;
    left: 0;
    top: 50px;
}
.card-section .curve5 {
    position: absolute;
    right: 0;
    height: 120%;
    top: 90%;
}
.card-section .card {
    background-image: url(../img/card-bg.png);
    background-repeat: no-repeat;
    background-size: 100%;
    padding:70px 0;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    height: 600px;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}
.familyNames {
    width: 75%;
    margin: 0 auto;
    margin-bottom: 0px;
}
p.tags {
    font-size: 22px;
}
p.tags span {
    display: block;
}
p.names {
    font-size: 27px;
}
.center-design {
    margin-top: 70px;
}
.sectionDivider {
    text-align: center;
}
.festive {
    position: relative;
}
.festive .curve4 {
    position: absolute;
    left: 0;
    height: 200px;
    top: 16%;
}
.festive .curve6 {
    position: absolute;
    right: 0;
    width: 340px;
    top: 40%;
}
.festive .curve7 {
    position: absolute;
    left: 0;
    width: 270px;
    top: 70%;
}
.dots {
    position: relative;
}
.dots .curve8 {
    position: absolute;
    left: 0;
    width: 340px;
    top: 70%;
}
.dots .curve9 {
    position: absolute;
    right: 0;
    width: 340px;
    top: 0;
}
.dots .curve10 {
    position: absolute;
    left: 0;
    width: 340px;
    top: 0;
}
.dots .curve11 {
    position: absolute;
    left: -70;
    width: 550px;
    top: 0;
}
.dots .curve12 {
    position: absolute;
    right: 0;
    width: 430px;
    top: 0;
}
.foot {
    position: relative;
}
.foot .curve13 {
    position: absolute;
    left: -70;
    width: 430px;
    top: 0;
}
.foot .curve14 {
    position: absolute;
    right: 0;
    width: 360px;
    top: 0;
}
.festivities {
    width: 80%;
    margin: 0 auto;
}
.festivities .festiveBox {
    position: relative;
}
.festivities .festiveBox  img {
    width: 100%;
}
.festivities .festiveBox .festiveHead {
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    text-align: center;
}
.widget-list {
    text-align: center;
}
.widget-list .widget span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f5b44c;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}
.widget-list .widget {
    text-align: center;
}
.dots {
    background-image: url(../img/footprint.png);
    background-repeat: repeat-y;
    background-size: auto;
    background-position: top;
}
.dots-start {
    background-image: url(../img/footprint-one.png);
    background-repeat: no-repeat;
    background-position: bottom;
}

/*Occasion*/
.musicImages {
    text-align: center;
}
.musicImages img {
    padding: 0 20px;
}
.musicImages img:nth-child(1) {
    animation: float1 3s ease-in-out infinite;
}
.musicImages img:nth-child(2) {
    margin-top: 160px;
    animation: float2 3s ease-in-out infinite;
}
.musicImages img:nth-child(3) {
    margin-top: 410px;
    animation: float3 3s ease-in-out infinite;
}
.musicImages.garland img:nth-child(2) {
    margin-left: -140px;
}
.musicImages.glass img:nth-child(1) {
    margin-right: -80px;
}
.musicImages.dholak img {
    margin-top: 80px;
    max-width: 100%;
}
.musicImages.laddu img {
    margin-top: 140px;
}
@keyframes float1 {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}
@keyframes float2 {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}
@keyframes float3 {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-30px);
	}
	100% {
		transform: translatey(0px);
	}
}
.centerrow {
    display: flex;
    align-items: center;
}
.occasion {
    text-align: center;
}
.occHeading h4 {
    margin: 15px 0;
    font-size: 22px;
    line-height: 34px;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}
.occtime span {
    display: block;
}
.occtime h4 {
    margin: 15px 0;
}
.occtime ul {
    width: 46%;
    margin: 15px auto;
}
.occtime li {
    position: relative;
    width: 100%;
    text-align: left;
    font-family: 'Fondamento-Regular';
    font-size: 24px;
    color: #f6efa0;
}
.occtime li span {
    position: absolute;
    right: 0;
    top: 0;
}
.occButton.two {
    display: inline-block;
    margin-top: 20px;
}
.occButton.two h4.small {
    font-size: 18px;
    margin-top: 10px;
}
.button {
    background-image: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 23px;
    color: #f6efa0;
    font-family: 'Fondamento-Regular';
    padding: 18px 0px;
    width: 270px;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    transition: .3s linear all;
}
.button:hover {
    text-decoration: none;
    color: #fff;
    background-image: url(../img/buttonfill.png);
}
.button:focus {
    text-decoration: none;
    color: #fff;
    outline: none;
}
.button-fill {
    background-image: url(../img/buttonfill.png);
    color: #fff;
}
.button-fill:hover {
    background-image: url(../img/buttonred.png);
}
.hills h1 {
    font-size: 100px;
}
.hills .festiveBox .festiveHead {
    top:44%;
}
.footer {
    position: relative;
}
.footer .rotateImage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
.footer .rotateImage img {
    width: 100%;
    -webkit-animation: rotation 50s infinite linear;
}
.footer .form-section {
    position: relative;
    z-index: 9;
}
.formImage {
    position: absolute;
    z-index: -1;
}
.formImage img {
    width: 100%;
}
.formText {
    position: relative;
    top: 280px;
    width: 60%;
    margin: 0 auto;
    text-align: center;
}
.sectionDivider .container {
    margin-top: 40px;
}
.formText .occButton {
    margin-bottom: 40px;
}
p.junior {
    font-size: 19px;
    color: #a56508;
    text-align: center;
}
p.junior a {
    color: #a56508;
    transition: .2s ease all;
}
p.junior a:hover {
    color: #a56509;
}
.footerBottom span img, .footerBottom a img {
    width: 20px;
}
.footerBottom {
    margin-top: 15px;
}


@media(max-width:1500px){
    .festive .curve4 {
        height: 150px;
    }
    .card-section .curve5 {
        height: 90%;
    }
    .festive .curve6 {
        width: 250px;
    }
    .card-section .curve3 {
        width: 239px;
    }
    .festive .curve7 {
        width: 210px;
    }
    .dots .curve9 {
        width: 240px;
    }
    .dots .curve10 {
        width: 210px;
    }
    .dots .curve11 {
        width: 360px;
    }
    .foot .curve13, .foot .curve14 {
        width: 300px;
    }
}

@media(max-width:1200px) {
    .container-fluid {
        padding: 0 20px;
    }
    h1 {
        font-size: 60px;
    }
    h4 {
        font-size: 22px;
    }
    h4.small {
        font-size: 20px;
    }
    p.names {
    font-size: 22px;
}
    h2 {
        font-size: 50px;
    }  
    .dots .curve11,.dots .curve9,.dots .curve8,.dots .curve7,.dots .curve6,.dots .curve5 {
        display: none;
    }
    .footer .form-section {
        top: 93px;
    }
    .formText {
        top: 175px;
    }
    .header img {
        width: 80%;
    }
}

@media (max-width:991px){
    .card-section .card {
        background-repeat: repeat-y;
        height: 760px;
    }
    .dots {
        background-image: none;
        margin-bottom: 80px;
    }
    .reverse .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .formImage {
        background-image: url(../img/footer.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
    height: 620px;
    }
    .foot .container {
        padding: 0;
        width: 100%;
    }
    .formImage img {
        display: none;
    }
    .formText {
        top: 245px;
        width: 90%;
    }
    .centerrow {
        display: block;
    }
}

@media(max-width:767px){
    .dots .curve12 {
        display: none;
    }
    .festivities {
        width: 100%;
    }
    .hills h1 {
        font-size: 40px;
    }
    .card-section .card {
        background-repeat: no-repeat;
        min-height: 830px;
        background-size: cover;
        background-position: center;
    }
    h6 {
        font-size: 25px;
    }
    .musicImages img {
        margin-top: 0!important;
        width: 160px;
    }
    .musicImages.mehendi img {
        width: 200px;
    }
    .musicImages.glass img {
        width: 80px;
    }
    .musicImages.dholak.haldi img {
        width: 80%;
    }
    .musicImages.laddu img {
        width: 80%;
    }
    .musicImages.garland img:nth-child(2) {
        margin-left: 0;
    } 
    .musicImages.glass img:nth-child(1) {
        margin-right: 0px;
    }
    .fp-section.fp-table, .fp-slide.fp-table {
        height: auto!important;
    }
    .fp-tableCell {
        padding: 50px 0;
        height: auto!important;
    }
    .header {
        text-align: center;
        margin-top: -220px;
    }
    .center-design {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .name {
        margin-top: 90px;
    }
    .festive .curve4, .card-section .curve2, .card-section .curve3, .card-section .curve4,.dots .curve10,.foot .curve13, .foot .curve14 {
        display: none;
    }
    .formImage {
        height: 710px;
    }
    .footer .rotateImage img {
        width: 320px;
    }
    .occtime span img {
        max-width: 100%;
    }
    .occtime ul {
        width: 100%;
    }
    .occtime li {
        font-size: 22px;
    }
    .formText {
        top: 305px;
        width: 90%;
    }
    body {
        background: rgba(138,21,68,1);
background: -moz-linear-gradient(left, rgba(138,21,68,1) 0%, rgba(221,28,74,1) 34%, rgba(221,28,74,1) 65%, rgba(138,21,68,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(138,21,68,1)), color-stop(34%, rgba(221,28,74,1)), color-stop(65%, rgba(221,28,74,1)), color-stop(100%, rgba(138,21,68,1)));
background: -webkit-linear-gradient(left, rgba(138,21,68,1) 0%, rgba(221,28,74,1) 34%, rgba(221,28,74,1) 65%, rgba(138,21,68,1) 100%);
background: -o-linear-gradient(left, rgba(138,21,68,1) 0%, rgba(221,28,74,1) 34%, rgba(221,28,74,1) 65%, rgba(138,21,68,1) 100%);
background: -ms-linear-gradient(left, rgba(138,21,68,1) 0%, rgba(221,28,74,1) 34%, rgba(221,28,74,1) 65%, rgba(138,21,68,1) 100%);
background: linear-gradient(to right, rgba(138,21,68,1) 0%, rgba(221,28,74,1) 34%, rgba(221,28,74,1) 65%, rgba(138,21,68,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8a1544', endColorstr='#8a1544', GradientType=1 );
    }
}

@media(max-width:320px){
    p.names {
    font-size: 18px;
}
    h5 {
        font-size: 25px;
    }
    .musicImages img {
        width: 110px;
    }
    .hills h1 {
        font-size: 30px;
    }
    .formImage {
        height: 795px;
    }
    .formText {
        top: 265px;
    }
}

