.container{
    max-width: 1240px;
    width: 100%;
    overflow: hidden;
        position: relative;
    margin: 0 auto;
    padding: 100px 0 0 0;
}
.container {
        max-width: 100%;
        /* background: url(/imgs/bg.jpg); */
        background-size: contain;
        background-color: #e4ffffc7;
        background-blend-mode: hue;
    }
.header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

body{
    width: 100%;
    margin: 0;
    background-color: rgb(255, 245, 232);
}

@font-face {
    font-family: "MR";
    src: url("/fonts/MR/MalterkaAl.otf");
}

@font-face {
    font-family: "Caveat";
    src: url("/fonts/Caveat.ttf");
}
.container .hearts{
    width: 100%;
    position: absolute;
    display: flex;
    gap: 600px;
    z-index: 5;
    top: 110px;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.container .hearts img{
    width: 100%;
}
.container .hearts .icon{
    width: 140px;
    position: relative;
    animation: swing 5s ease-in-out infinite;
}
.container .flowers{
    width: 100%;
    position: absolute;
    display: flex;
    gap: 600px;
    z-index: 5;
    top: 100px;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.container .flowers img{
    width: 100%;
}
.container .flowers .icon{
    width: 140px;
    position: relative;
    animation: spin 8s linear infinite;
}
.container .flowers .icon:nth-child(1){
    right: 250px;
}
.container .flowers .icon:nth-child(2){
    left: 250px;
    filter: hue-rotate(130deg);
}
.container .flowers .icon:nth-child(3){
    right: 250px;
    filter: hue-rotate(255deg);
}
.container .flowers .icon:nth-child(4){
    left: 250px;
    filter: hue-rotate(230deg);
}
.container .flowers .icon:nth-child(5){
    right: 300px;
    
}
.container .flowers .icon:nth-child(6){
    left: 350px;
    filter: hue-rotate(130deg);
}
.container .flowers .icon:nth-child(7){
    right: 350px;
    filter: hue-rotate(230deg);
}
.container .flowers .icon:nth-child(8){
    left: 350px;
    filter: hue-rotate(130deg);
}
.container .flowers .icon:nth-child(9){
    right: 350px;
    filter: hue-rotate(255deg);
}
.container .flowers .icon:nth-child(10){
    left: 350px;
}
.container .hearts .icon:nth-child(1){
    left: 250px;
}
.container .hearts .icon:nth-child(2){
    right: 250px;
    filter: hue-rotate(255deg);
    transform: rotate(-20deg);
}
.container .hearts .icon:nth-child(3){
    left: 250px;
    filter: hue-rotate(230deg);
}
.container .hearts .icon:nth-child(4){
    right: 250px;
    transform: rotate(-20deg);
}
.container .hearts .icon:nth-child(5){
    left: 450px;
    filter: hue-rotate(255deg);
}
.container .hearts .icon:nth-child(6){
    right: 450px;
    filter: hue-rotate(230deg);
    transform: rotate(-20deg);
}
.container .hearts .icon:nth-child(7){
    left: 450px;
}
.container .hearts .icon:nth-child(8){
    right: 450px;
    filter: hue-rotate(130deg);
    transform: rotate(-20deg);
}
.container .hearts .icon:nth-child(9){
    left: 450px;
    filter: hue-rotate(230deg);
}
.container .hearts .icon:nth-child(10){
    right: 450px;
    top: -200px;
    filter: hue-rotate(130deg);
    transform: rotate(-20deg);
}
.container .names{
    display: flex;
    transform: rotate(9deg);
    font-weight: 900;
    font-family: "MR";
    font-size: 80px;
    width: 300px;
    text-transform: uppercase;
    flex-direction: column;
    align-items: center;
}

.container .names>div{
    line-height: 60px;
}

.container .names>.name1{
    position: relative;
    right: 30px;
}
.container .names>.name3{
    position: relative;
    left: 30px;
}
.container .content .text-bg-figure{
    width: 100%;
    display: flex;
    justify-content: center;
}

.container .content .text-bg-figure img{
    width: 660px;
    height: 140px;
    filter: hue-rotate(250deg) brightness(3) contrast(0.7)
}

.header .img-block{
    width: 550px;
    position: relative;
}
.header .img-block .date{
    font-family: "Caveat";
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 40px;
    position: absolute;
    bottom: 0px;
}
.header .img-block .date .date-text{
    background-color: #fff;
    border-radius: 33px;
    color: #68696b;
    padding: 0 10px;
    z-index: 2;
}
.header .img-block .bg img{
    filter: hue-rotate(216deg);
}

.header .img-block .photo_kirill{
    position: absolute;
    width: 200px;
    background-color: #fff;
    box-shadow: 1px 1px 10px #0007;
    bottom: 10%;
    z-index: 1;
    right: 10%;
    transform: rotate(10deg);
    padding: 10px 10px 30px 10px;
}
.header .img-block .photo_masha{
    position: absolute;
    width: 200px;
    z-index: 1;
    background-color: #fff;
    box-shadow: 1px 1px 10px #0007;
    bottom: 10%;
    left: 10%;
    transform: rotate(344deg);
    padding: 10px 10px 30px 10px;
}

.header .img-block img{
    width: 100%;
}

.container .content .text-bg-figure{
    font-weight: 900;
    margin-top: 0px;
    font-family: "MR";
    width: 900px;
    position: relative;
    color: #fff;
    line-height: 60px;
    z-index: 2;
    font-size: 45px;
}
.container .content .text-bg-figure .text{
    position: absolute;
    z-index: 1;
}

.container .content .text-bg-figure p:nth-child(1){
    margin: 0;
    position: relative;
    right: 40px;
}
.container .content .text-bg-figure p:nth-child(2){
    margin: 0;
    position: relative;
    left: 40px;
}
.container .content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container .content .info-block{
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 36px;
    display: flex;
    z-index: 3;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
    font-size: 35px;
    font-family: "Caveat";
    color: #fff;
}

.container .content .info-block .text{
    width: 400px;
    text-align: center;
    z-index: 2;
}

.container .content .info-block .date{
    font-size: 80px;
    z-index: 2;
}
.container .content .info-block .title{
    font-size: 90px;
    margin-top: 20px;
        color: #000000;
    z-index: 2;
}

.container .content .info-block .bg{
    position: absolute;
    top: -220px;
    transform: rotate(119deg);
    width: 930px;
    z-index: 1;
}
.container .content .info-block .bg img{
    width: 100%;
    filter: hue-rotate(335deg) brightness(0.9) contrast(1.3)
}
.container .content .info-block .place{
    width: 450px;
    background-color: #fff;
    padding: 10px;
    transform: rotate(7deg);
    box-shadow: 7px 7px 15px #0005;
    z-index: 1;
}
.container .content .info-block .place .photo img{
    width: 100%;
}

.container .content .info-block .place .info{
    text-align: center;
    color: black;
}

.container .content .info-block .place .info .name {
    display: block;
    font-size: 50px;
    color: #b18432;
}

.container .content .info-block .place .info .address{
    font-size: 26px;
    color: #2e2e2e;
}

.container .content .timing{
    position: relative;
    display: flex;
    text-align: center;
    margin-top: 118px;
    margin-bottom: 150px;
    font-family: "Caveat";
    font-size: 90px;
    color: #6e6e73;
    flex-direction: column;
    align-items: center;
}
.container .content a.button:hover{
    cursor: pointer;
    box-shadow: 0 0 10px white;
}
.container .content a.to-form:hover{
    cursor: pointer;
    box-shadow: 0 0 10px #d3bbff;
}
.container .content .timing .title{
    color: #f3adf5;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 1px 1px 40px #0001;
    width: 100%;
    min-width: 100vw;
    margin-bottom: 40px;
    font-weight: 900;
    position: relative;
    z-index: 2;
}
.container .content .timing .time{
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

.container .content .timing .time span:nth-child(1){
    display: block;
    color: #8ee561;
    line-height: 49px;
}

.container .content .timing .time span:nth-child(2){
    font-size: 45px;
}
.container .content .timing .bg{
    position: absolute;
    top: -300px;
    z-index: 1;
    scale: 0.6;
    transform: rotate(309deg);
    filter: hue-rotate(89deg) brightness(1.3);
}

.container .content .dresscode{
    display: flex;
    flex-direction: column;
    font-size: 40px;
    font-family: "Caveat";
    align-items: center;
    z-index: 2;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 300px;
}

.container .content .dresscode .title{
    font-size: 90px;
    color: #efa5ed;
}

.container .content .dresscode .desc{
    width: 450px;
}

.container .content .dresscode .colors{
    display: flex;
    background-color: #fff;
    box-shadow: 1px 1px 40px #0001;
    padding: 10px;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.container .content .dresscode .colors .color{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.container .content .dresscode .colors .color:nth-child(1){
    background-color: #fec485;
}

.container .content .dresscode .colors .color:nth-child(2){
    background-color: #faef94;
}

.container .content .dresscode .colors .color:nth-child(3){
    background-color: #a1be92;
}

.container .content .dresscode .colors .color:nth-child(4){
    background-color: #81adca;
}

.container .content .dresscode .colors .color:nth-child(5){
    background-color: #fbcbd1;
}
.container .content .chat-tg{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 40px;
    color: #fff;
    gap: 40px;
    font-family: "Caveat";
    position: relative;
    margin-bottom: 200px;
}
.container .content .chat-tg .title{
    font-size: 90px;
    z-index: 3;
}
.container .content  .chat-tg .text{
    width: 500px;
    z-index: 3;
}
.container .content .chat-tg .button{
    text-decoration: unset;
    color: #0009;
    width: 600px;
    height: 80px;
    display: flex;
    background-color: #fff;
    align-items: center;
    border-radius: 16px;
    z-index: 3;
    justify-content: center;
}

.container .content .chat-tg .bg-1{
    position: absolute;
    top: -400px;
    transform: rotate(90deg);
    filter: hue-rotate(45deg);
}

.container .content .chat-tg .bg-2{
    position: absolute;
    top: 35px;
    transform: rotate(270deg);
    filter: hue-rotate(0deg);
}

.container .content .tg-form{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 40px;
    color: #fff;
    gap: 40px;
    margin-bottom: 200px;
    font-family: "Caveat";
    position: relative;
}

.container .content .tg-form .title{
    font-size: 90px;
    z-index: 3;
}

.container .content .tg-form .text{
    width: 450px;
    position: relative;
    right: 52px;
    z-index: 3;
}

.container .content .tg-form .date{
    font-size: 65px;
    z-index: 3;
    position: relative;
    left: 95px;
}

.container .content .tg-form .to-form{
    margin-top: 150px;
    text-decoration: unset;
    color: #fff;
    width: 600px;
    height: 80px;
    display: flex;
    background-color: #d3bbff;
    align-items: center;
    border-radius: 16px;
    z-index: 3;
    justify-content: center;
}

.container .content .tg-form .bg{
    position: absolute;
    top: -405px;
    scale: 0.7;
    transform: rotate(90deg);
    filter: hue-rotate(304deg);
}
.container .content .timer{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 50px;
    color: #6e6e73;
    gap: 20px;
    margin-bottom: 200px;
    font-family: "Caveat";
    position: relative;
}

.container .content .timer .titles{
    display: flex;
    gap: 40px;
    height: 30px;
    align-items: center;
}

.container .content .timer .titles>div{
    width: 150px;
}

.container .content .timer .block{
    display: flex;
    gap: 40px;
    height: 30px;
    align-items: center;
}

.container .content .timer .block>div{
    width: 150px;
}

.container .footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 40px;
    color: #6e6e73;
    gap: 0px;
    margin-bottom: 0px;
    font-family: "Caveat";
    position: relative;
}

.container .footer .title{
    font-size: 90px;
    width: 500px;
}

.container .footer .text{
    position: relative;
    left: 0px;
}

.container .footer .text p{
    margin: 0px;
}
.container .footer .text p:nth-child(2){
    word-spacing: 50px;
    position: relative;
    left: 0px;
}
.container .footer .text p span:nth-child(1){
    color: #df66dc;
}
.container .footer .text p span:nth-child(2){
    color: #8e90bd;
}
.container .footer .img{
    width: 500px;
}
.container .footer .img img{
    width: 100%;
}

.container .footer .imgs-block{
    position: relative;
    display: flex;
    margin-top: 20px;
    flex-direction: row;
}

.container .footer .imgs-block .img:nth-child(1){
    width: 250px;
    position: relative;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.467) 1px 1px 10px;
    transform: rotate(344deg);
    padding: 10px 10px 30px;
}
.container .footer .imgs-block .img:nth-child(2){
    width: 250px;
    position: relative;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.467) 1px 1px 10px;
    transform: rotate(18deg);
    padding: 10px 10px 30px;
}
.container .footer .imgs-block .img img{
    width: 100%;
}

.calendar {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #ffffff;
    padding: 24px;
   transform: rotate(350deg);
    border-radius: 0px;
    box-shadow: 4px 3px 9px #0008;
    text-align: center;
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    margin-top: 26px;
}

/* Волнистая рамка + бантик сверху */


.calendar-month {
    font-size: 2.2rem;
    font-family: "Caveat";
    font-weight: 700;
    color: #af7eb4;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.calendar-weekdays span {
  font-size: 0.85rem;
  color: #2e7d32;
  font-weight: 600;
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-days .day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #555;
  background: transparent;
  border-radius: 50%;
  transition: background 0.3s, transform 0.2s;
}

.calendar-days .day:hover {
  background: #f0f8ff;
  transform: scale(1.05);
}

.calendar-days .day-highlight {
  position: relative;
  color: #ffffff;
  font-weight: bold;
}

.calendar-days .day-highlight::after {
    content: "❤️";
    position: absolute;
    top: -4px;
    opacity: 0.5;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.7rem;
    z-index: -1;
}

/* Декоративные элементы */
.calendar::after {
  content: "✦";
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 1.2rem;
  color: #d32f2f;
}
.container .content .wishes-block{
    display: flex;
    flex-direction: column;
    font-size: 40px;
    font-family: "Caveat";
    gap: 40px;
    align-items: center;
    z-index: 2;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 300px;
}
.container .content .wishes-block .title{
    font-size: 90px;
    color: #000000;;
}
.container .content .wishes-block .text {
    width: 450px;
}

@media (width<756px) {
    .container{
        max-width: 100%;
        position: relative;
    }
    .header .img-block{
        width: 100%;
    }
    .header .img-block .photo_kirill{
        width: 40vw;
    }
    .header .img-block .photo_masha{
        width: 40vw;
    }

    .header .img-block .date{
        font-size: 30px;
    }
    .container .content .text-bg-figure{
        width: 150%;
        font-size: 40px;
    }
    .container .content .info-block .text{
        width: 90%;
    }
    .container .content .info-block .date {
        font-size: 60px;
    }
    .container .content .info-block .title{
        font-size: 70px;
    }
    .container .content .text-bg-figure .text{
        position: absolute;
        z-index: 1;
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    .container .content .text-bg-figure p:nth-child(1){
        right: 0px;
    }
    .container .content .text-bg-figure p:nth-child(2){
        left: 0px;
    }
    .container .content .info-block .place{
        width: 80%;
    }
    .container .content .info-block .place .info .name{
        font-size: 40px;
    }
    .container .content .info-block .place .info .address{
        font-size: 20px;
    }
    .container .content .timing{
        width: 100%;
        font-size: 70px;
    }
    .container .content .timing .title {
        font-size: 70px;
    }
    .container .content .dresscode .title{
        font-size: 70px;
    }
    .container .content .dresscode .desc{
        width: 100% !important;
    }
    .container .content .dresscode{
        font-size: 25px;
        width: 100%;
    }
    .container .content .dresscode .colors .color{
        width: 50px;
        height: 50px;
    }
    .container .content .chat-tg{
        width: 80%;
    }
    .container .content .chat-tg .title{
        font-size: 70px;
        line-height: 50px;
    }
    .container .content .chat-tg .text{
        width: 100%;
        font-size: 25px;
    }
    .container .content .chat-tg .button{
        width: 90%;
        font-size: 30px;
        height: 60px;
    }
    .container .content .tg-form{
        width: 100%;
    }
    .container .content .tg-form .title{
        font-size: 70px;
    }
    .container .content .tg-form .text{
        width: 90%;
        font-size: 25px;
        max-width: 280px;
        right: 0px;
    }
    .container .content .tg-form .date {
        font-size: 40px;
        z-index: 3;
        position: relative;
        left: 41px;
    }
    .container .content .tg-form .to-form{
        width: 90%;
        font-size: 30px;
        height: 60px;
    }
    .container .content .timer .titles{
        display: flex;
        gap: 0px;
        width: 100%;
        font-size: 8vw;
        height: 30px;
        align-items: center;
    }
    .container .content .timer{
        width: 100%;
    }
    .container .content .timer .titles>div {
        width: 25%;
    }
    .container .content .timer .block{
        display: flex;
        gap: 0px;
        width: 100%;
        height: 30px;
        font-size: 8vw;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .container .content .timer .block>div {
        width: 25%;
    }
    .container .footer .title{
        width: 100%;
        font-size: 50px;
    }
    .container .footer .text{
        font-size: 40px;
    }
    .container .content .info-block{
        font-size: 25px;
    }
    .container .footer .text p:nth-child(2){
        word-spacing: 0px;
        position: relative;
        left: 0px;
    }
    .container .footer .img{
        width: 100%;
    }
    .container .flowers{
        top: 32px;
    }
    .container .flowers .icon{
        right: 47% !important;
        left: auto !important;
        width: 90px;
        opacity: 0.6;
    }
    .container .flowers .icon:nth-child(7) {
        top:100px;
    }
    .container .hearts .icon{
        left: 42% !important;
        right: auto !important;
    }
    .container .hearts .icon {
        width: 60px;
        opacity: 0.7;
        position: relative;
    }
    .container .hearts .icon:nth-child(6){
        top:250px;
    }
    .container .hearts .icon:nth-child(7){
        top: -35px;
    }
    .container .hearts .icon:nth-child(8){
        top: -100px;
    }
    .container .hearts .icon:nth-child(9){
        top: -200px;
    }
    .container .hearts .icon:nth-child(2){
        top: -135px;
    }
    .container .flowers .icon:nth-child(2){
        top: 285px;
    }
    .container .flowers .icon:nth-child(4){
        top: 130px;
    }
    .container .flowers .icon:nth-child(6){
        top: 300px;
    }
    .container .flowers .icon:nth-child(7){
        top: 190px;
    }
    .container .flowers .icon:nth-child(8){
        top:100px;
    }
    .container .flowers .icon:nth-child(9){
        top: -250px;
    }
    .container .footer .imgs-block .img{
        width: 40vw !important;
    }
    .container .content .wishes-block{
        width: 90%;
    }
    .container .content .wishes-block .title{
        font-size: 70px;
    }
    .container .content .wishes-block .text{
        font-size: 25px;
        width: 100%;
    }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes swing {
  0%, 100% { transform: rotate(-12deg); }
  50%     { transform: rotate(12deg); }
}