@font-face {
    font-family: Cormorant;
    src: url("CormorantGaramond-Regular.ttf");
}
@font-face {
    font-family: CormorantSB;
    src: url("CormorantGaramond-Regular.ttf");
}
@font-face {
    font-family: Montserrat;
    src: url("Montserrat-Light.ttf");
}
@font-face {
    font-family: Font1;
    src: url("CalligraphRuss-Regular.ttf");
}
@font-face {
    font-family: Font2;
    src: url("CormorantGaramond-Regular.ttf");
}

@media (max-width: 600px) {
    .screen{
        width: 100%;
    }
    .backs{
        width: 600px;
    }
}
@media (min-width: 600px) {
    .screen{
        width: 450px;
    }
    .backs{
        width: 450px;
    }
}
html{
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    font-family: Montserrat;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
.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;
}
.w{
    width: 100%;
}
.h{
    height: 100vh;
}
.screen{
    overflow-x: clip;
}
/* flex */
.titleblock{height: 190px;}
.titleblock h1 {
    font-weight: 500;
    font-size: 51px;
    margin: 0;
    text-align: center;
    height: 53px;
}
.titleblock h1 {
    font-weight: 500;
    font-size: 64px;
    margin: 0;
    text-align: center;
    height: 102px;
    padding: 0;
    line-height: 32px;
    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; */
}

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


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: 39px;
    font-family: 'Montserrat';
    margin-top: 7px;
}

.right.updown {
    font-size: 14px;
    font-family: Montserrat;
}

.month {
    font-size: 14px;
}

.year {font-size: 20px;}

/* STYLE */

.header{
    width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    font-size: 50px;
    position: relative;
}

.header .and{
    font-family: Montserrat;
    font-size: 19px;
    text-transform: lowercase;
    justify-content: center;
    display: flex;
    margin-left: -90px;
    font-weight: 600;
}
.header .invite{
    font-size: 17px;
    text-transform: lowercase;
    font-family: Montserrat;
}
.header .name{
   text-transform: uppercase;
   font-size: 41px;
   font-family: CormorantSB;
}
.header .name .invite{
    text-transform: lowercase;
    font-size: 18px;
    font-family: Arial;
}
.tripples{
    height: 430px;
    gap: 15px;
}
.tripple{
    background-image: url("demo1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 100%; */
    background-position: center;
    /* width: 600px; */
}
.tripple.first{
    background-position: left;
}
.tripple.third{
    background-position: right;
}
.tripple.first, .tripple.third{
    width: 12%;
}
.tripple.second{
    width: 76%;
}
/* 2 */
.tripplesTwo{
    height: 300px;
    gap: 15px;
    margin-top: 50px;
}
.trippleTwo{
    background-image: url("pic3.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 100%; */
    background-position: center;
    /* width: 600px; */
}
.trippleTwo.first{
    background-position: right center;
}
.trippleTwo.third{
    background-position: left center;
}
.trippleTwo.first, .trippleTwo.third{
    width: 35%;
    opacity: .8;
    filter: blur(1px);
}
.trippleTwo.second{
    width: 76%;
}


button{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: 2px #000 solid;
    background-color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    width: 76%;
    height: 38px;
    font-family: 'Montserrat';
    /* text-transform: lowercase; */
    color: black;
}
button:disabled{
    border:2px #cacaca solid;
    color: gray;
}
.button-area{
    gap: 15px;
    margin-top: 10px;
}
.button-area .first, .button-area .third{
    width: 12%;
}
.withlines {
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
.withlines .line {
    height: 2px;
    width: 15%;
    background: black;
}
.withlines .texte {
    width: 70%;
    display: flex;
    justify-content: center;
    font-family: 'CormorantSB';
    font-size: 23px;
    text-align: center;
}
h2{
    font-size: 33px;
    margin-top: 5px;
    font-weight: 500;
}
.photo{
    background-image: url("demo2.jpg");
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* filter: grayscale(1); */
}
.location{
    display: g;
}
.location h2{
    font-family: CormorantSB;
    font-size: 47px;
    text-transform: uppercase;
    margin-top: 30px;
    text-align: center;
    margin-bottom: 26px;
}
.location p{
    font-family: Montserrat;
    font-size: 18px;
    text-align: center;
}
.limgg{
    height: 130px;
    background-image: url("line.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.timing h1{
    font-family: CormorantSB;
    font-size: 40px;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 500;
}
.timing .time{
  margin-top: 20px;
  width: 80%;
  margin-left: 10%;
}
.time .line{height: 1px;background: black;min-width: 30px;margin: 14px;}
.time .hour{font-size: 25px;min-width: 70px;}
.time .text{/* font-size: 18px; */}

.dresscode h1{
    font-family: 'CormorantSB';
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}
.underline {
    text-decoration: underline;
  }
.photo_last{
    height: 250px;
    background-image: url("pic4.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.submit{

}
.submit input{
    /* margin-top: 20px; */
    margin-bottom: 20px;
    border: 2px #000000 solid;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    width: 66%;
    height: 36px;
    font-family: 'Montserrat';
    padding-left: 20px;
    outline: 0;
}
.checker{
    width: 100%;
}
.checker input{
    width: 20px;
    height: 20px;
    background-color: #f7f1ec;
    border: #4a463b solid 2px;
    cursor: pointer;
    position: absolute;
    margin-top: 0px;

}
.checker span {
    padding: 10px;
}
.checker span label{
    margin-left: 42px;
}

.hidden{
    transition: 2s;
    opacity: 0;
}
.visible{
    opacity: 1;
}

.fadein-left.hidden{
    transform: translateX(-99%);
}
.fadein-left.visible{

    transform: translateX(0);
}
.fadein-right.hidden{
    transform: translateX(99%);
}
.fadein-right.visible{

    transform: translateX(0);
}
.fadein-scale0.hidden{
    scale: 0;
}
.fadein-scale05.hidden{
    scale: 0.5;
}
.fadein-scale0.visible{
    scale: 1;
}
.fadein-scale05.visible{
    scale: 1;
}
.fadein-bottom.hidden{
    transform: translateY(99%);
}
.fadein-bottom.visible{

    transform: translateY(0);
}


.circles {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background: red;
}

.circle.first {
    background: #fffadb;
}
.circle.second {
    background: #fdeed9;
}
.circle.third {
    background: #c3fbd8;
}
.circle.forth {
    background: #def6fe;
}
.circle.fifth {
    background: #c6d8ff;
}


h3.alco {
    font-size: 16px;
    margin-left: 15px;
    margin-bottom: 4px;
}

input.checker {
    width: 25px;
    /* margin-top: 20px; */
}


.date {
    align-items: center;
}

h1.amp.hidden.fadein-left.delay1.visible {
    margin: 0;
    padding: 0;
}

span.amp {
    font-family: "Cormorant";
    color: #d1d1d1;
    font-size: 0.7em;
}


input.additional_input {
    width: calc(100% - 30px);
    border: none;
    border-bottom: 2px black solid;
    padding: 0;
    outline: 0;
    margin-left: 15px;
    margin-top: 0px;
}


.anketa {
    width: calc(100% - 60px);
}

#phoneContact, #guestName{
    margin-left: 15px;
    width: calc(100% - 30px)
}
