/* Font */
@font-face {
    font-family: Font1;
    src: url("CalligraphRuss-Regular.ttf");
}
@font-face {
    font-family: Font2;
    src: url("CormorantGaramond-Regular.ttf");
}
@font-face {
    font-family: Font3;
    src: url("CormorantInfant-Regular.ttf");
}
@font-face {
    font-family: Font4;
    src: url("CormorantGaramond-SemiBold.ttf");
}

/*  */
@media (max-width: 600px) {
    .screen{
        width: 100%;
    }
    .backscreen{
        width: 600px;
    }
}
@media (min-width: 600px) {
    .screen{
        width: 450px;
    }
    .backscreen{
        width: 450px;
    }
}
html{
    overflow-x: hidden;
}
body{
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    font-family: Font2;
}
.screen {
    align-items: center;
    justify-content: flex-start;
    overflow-x: clip;
    position: relative;
}
.flex{
    display: flex;
}
.icenter{
    align-items: center;
}
.tcenter{
    text-align: center;
}
.center{
    justify-content: center;
}
.between{
    justify-content: space-between;
}
.around{
    justify-content: space-around;
}
.col{
    flex-direction: column;
}
.row{
    flex-direction: row;
    align-items: center;
}
.w{
    width: 100%;
}
.h{
    height: 100vh;
}
/* flex */

/* FadersIN */

.titleblock h1 {
    font-weight: 500;
    font-size: 60px;
    margin: 0;
    text-align: center;
    /* height: 53px; */
    /* line-height: 0; */
}

h1 {
    font-family: 'Font1';
    font-weight: 500;
}

.titlescreen {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 620px !important;
    justify-content: center;
    width: 100%;
    min-height: 620px !important;
    max-height: 620px !important;
    margin-top: 22px;
}

.backscreen {
    background: url(1.png) no-repeat;
    background-size: contain;
    background-position: center;
    height: 621px;
    /* max-width: 100%; */
    position: absolute;
    z-index: -2;
}

h3 {
    font-family: 'Font2';
    font-weight: 500;
    text-align: center;
}

h3.invite {}

h3.invite {
    font-size: 13px;
    margin-bottom: 20px;
}

.updown{
    border-top: 1px black solid;
    border-bottom: 1px black solid;
    width: 80px;
    height: 23px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 14px;
}
.date .center{
    align-items: center;
    display: flex;
}
.date .day{
    font-size: 33px;
    font-family: 'Font3';
    margin-top: 7px;
}

.right.updown {
    font-size: 17px;
    font-family: 'Font3';
}

.month {
    font-size: 14px;
}

.year {font-size: 20px;}

h1 {font-size: 42px;margin-top: 10px;margin-bottom: 5px;text-align: center;}

p.dear_p {
    text-align: center;
    font-size: 16px;
}

.calendar {
    background: url(calendar.png) no-repeat;
    width: 100%;
    min-height: 150px ! important;
    background-size: contain;
    background-position: center;
}

.calendar_area .month {font-size: 41px;margin: 0;display: flex;justify-content: end;flex-direction: column;width: 100px;text-align: center;}

.calendar_area .title {
    display: flex;
    flex-direction: row;
    height: 86px;
    overflow: hidden;
}

.vetkaL {
    width: 100px;
    height: 100px;
    background: url(2.png);
    transform: rotateZ(215deg);
}

.bg {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.contain{
    background-size: contain !important;
}

.vetkaR {
    background: url(22.png);
    width: 100px;
    height: 100px;
    transform: rotateZ(140deg);
}

h1.dear {
}

.place {
    gap: 19px;
    /* align-items: center; */
    padding-top: 10px;
    width: 100%;
}

.place .last span {
    text-align: center;
}

.vhr {
    width: 1px;
    height: 60px;
    background: black;
}

.first {
    width: 96px;
    text-align: center;
}

.last {
    width: 170px;
    text-align: center;
}

h1.margin_t {
    margin-top: 40px;
}

.timing_row{

}
.timing_row .time{
    font-family: 'Font2';
    font-size: 30px;
}
.timing_row .hr{
    width: 25px;
    height: 1px;
    background: black;
    margin-left: 10px;
    margin-right: 10px;
}
.timing_row .title{
    /* font-family: 'Font2'; */
    font-size: 20px;
    width: 128px;
}

p.wishes {
    margin: 0;
    text-align: center;
    padding: 5px;
}

.lastflwer {
    background: url(5.png);
    width: 200px;
    min-height: 100px;
    /* margin-bottom: 50px; */
}

.spacer {
    min-height: 120px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.kust{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.clouds {
    position: absolute;
    max-width: 450px;
    overflow-x: clip;
    z-index: -1;
    height: 2000px;
}

.cloud{
    background: url(7.png) no-repeat;
    width: 600px;
    height: 600px;
    /* position: absolute; */
    z-index: -1;
}
#c1{
    /* margin-top: 464px; */
    opacity: .1;
    /* margin-left: -230px; */
    max-width: 100%;
    transform: rotateZ(67deg);
    position: absolute;
    max-width: 100%;
}

#c2{
    transform: rotateZ(239deg);
    position: absolute;
    top: 420px;
    right: -340px;
    opacity: 0.15;
}
#c3{
    top: 804px;
    opacity: .08;
    left: -230px;
    max-width: 100%;
    transform: rotateZ(306deg);
    position: absolute;
}
#c4{
    top: 804px;
    opacity: .08;
    left: -230px;
    max-width: 100%;
    transform: rotateZ(306deg);
    position: absolute;
}
#c5{
    top: 993px;
    opacity: .15;
    right: -164px;
    max-width: 100%;
    transform: rotateZ(22deg);
}
#c6{
    top: 1726px;
    opacity: .2;
    left: -144px;
    max-width: 100%;
    transform: rotateZ(155deg);
}

.flo1 {
    background: url(6.png);
    width: 200px;
    height: 200px;
    position: absolute;
    filter: grayscale(1);
    opacity: .15;
    margin-left: -111px;
    margin-top: -90px;
}
.flo2 {
    background: url(6.png);
    width: 200px;
    height: 200px;
    position: absolute;
    filter: grayscale(1);
    opacity: .15;
    margin-right: -110px;
    margin-top: -260px;
    transform: rotateZ(264deg);
    right: 0;
}

.tree {
    width: 100%;
    height: 1px;
    display: flex;
    justify-content: space-between;
    z-index: -1;
}

.tO {
    background: url(4.png) no-repeat;
    width: 170px;
    height: 160px;
    /* position: absolute; */
    background-size: contain;
    background-position: center;
    margin-left: -44px;
    margin-top: -56px;
    animation: t1a 5s cubic-bezier(0.51, 0.47, 0.54, 0.89) infinite alternate;
    transform-origin: bottom left;
}

.tT {
    background: url(4.png) no-repeat;
    width: 160px;
    height: 160px;
    /* position: absolute; */
    background-size: contain;
    background-position: center;
    margin-right: -210px;
    margin-top: 42px;
    transform: rotateZ(179deg);
    animation: t2a 4s cubic-bezier(0.51, 0.47, 0.54, 0.89) infinite alternate;
    transform-origin: left bottom;
}

@keyframes t1a{
    from{
        transform: rotateZ(0deg);
    }
    to{
        transform: rotateZ(10deg);
    }
}
@keyframes t2a{
    from{
        transform: rotateZ(179deg);
    }
    to{
        transform: rotateZ(190deg);
    }
}

.roller{
     animation: roll 5s linear infinite alternate;
}
@keyframes roll{
    from{
         transform: rotateZ(0deg);
         scale: 1;
    }
    to{
         transform: rotateZ(3deg);
        scale: 1.05;

    }
}


.hidden{
    transition-duration: 2s;
    transition-property: opacity, transform, scale;
    opacity: 0;
}
.visible{
    opacity: 1;
    /* transition-property: opacity; */
}

.fadein-left.hidden{
    transition-property: transform;
    transform: translateX(-99%);
}
.fadein-left.visible{
    transition-property: transform;
    transform: translateX(0);
}
.fadein-right.hidden{
    transition-property: transform;
    transform: translateX(99%);
}
.fadein-right.visible{
    transition-property: transform;
    transform: translateX(0);
}
.fadein-scale0.hidden{
    transition-property: scale;
    scale: 0;
}
.fadein-scale05.hidden{
    transition-property: scale;
    scale: 0.5;
}
.fadein-scale0.visible{
    transition-property: opacity, scale;
    scale: 1;
}
.fadein-scale05.visible{
    scale: 1;
}
.fadein-bottom.hidden{
    transition-property: transform, opacity;
    transform: translateY(99%);
}
.fadein-bottom.visible{
    transform: translateY(0);
}
.vetkaL.hidden{
    transition-duration: 2s;
    transform: rotateZ(255deg);
}
.vetkaL.visible{
    transform: rotateZ(215deg);
}
.vetkaR.hidden{
    transition-duration: 2s;
    transform: rotateZ(90deg);
}
.vetkaR.visible{
    transform: rotateZ(140deg);
}


.amp {
    font-family: 'Font3';
    /* font-weight: 600; */
    font-size: 130px;
    padding: 0;
    position: absolute;
    color: #8cb4a245;
    margin-left: 50px;
}

.titleblock {
    display: flex;
    justify-content: center;
    /* flex-direction: row; */
    align-items: center;
}

h1.name1 {
    margin-left: -60px;
}
h1.name2 {
    margin-left: 60px;
}

.circles {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-height: 100px;
    position: relative;
    gap: 5px;
}

.circle{
    min-width: 40px;
    min-height: 40px;
    background: green;
    border-radius: 50%;
}

.circle.ci1 {
    background-color:#ffe5e4;
}
.circle.ci2 {
    background-color:#efbfbb;
}
.circle.ci3 {
    background-color:#b08a80;
}
.circle.ci4 {
    background-color:#8d8e7c;
}
.circle.ci5 {
    background-color:#5c5d4d;
}

h3.ank {
    text-align: left;
    font-family: 'Font4';
}

.form {
    width: 80%;
}

input.ankinput {
    width: 90%;
    height: 30px;
    font-family: 'Font3';
    font-size: 15px;
    border: 0;
    border-bottom: 1px #595959 solid;
    border-radius: 0px;
}

button {
    width: 100%;
    margin-top:10px;
    height:30;
    font-family: 'Font2';
    font-size: 16px;
    border: 1px #595959 solid;
    background: white;
    =: blur(5px);
    color: black;
}

h1 span {
    letter-spacing: -20px;
}