/* Font */ @font-face { font-family: CalligraphRuss; src: url("CalligraphRuss-Regular.ttf"); } @font-face { font-family: CormorantGaramond; src: url("CormorantGaramond-Regular.ttf"); } @font-face { font-family: Montserrat-Reg; src: url("Montserrat-Regular.ttf"); } @font-face { font-family: Montserrat-SB; src: url("Montserrat-SemiBold.ttf"); } @font-face { font-family: Montserrat-Light; src: url("Montserrat-Light.ttf"); } @font-face { font-family: CormorantGaramond-SB; src: url("CormorantGaramond-SemiBold.ttf"); } /* */ @media (max-width: 600px) { .screen{ width: 100%; } } @media (min-width: 600px) { .screen{ width: 450px; } } html{ overflow-x: hidden; } body{ margin: 0; padding: 0; background-color: #fff; display: flex; justify-content: center; align-items: center; flex-direction: column; font-family: Font1; } .screen { align-items: center; justify-content: flex-start; overflow-x: clip; } .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; } .bg { background-position: center !important; background-repeat: no-repeat !important; background-size: cover !important; } .contain{ background-size: contain !important; } /* flex */ /* FadersIN */ .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); } .button{ color: black; background: none; } .mainscreen { height: calc(100vh - 100px); width: 100%; display: flex; justify-content: center; align-items: center; position: relative; } .names { display: flex; flex-direction: column; } .name { font-family: CalligraphRuss; font-size: 80px; line-height: 46px; color: #536b42; } .and { font-family: CormorantGaramond; font-size: 120px; position: absolute; line-height: 60px; margin-left: -22px; z-index: -1; color: #edf4e9; } .tree1{ width: 100%; height: 430px; position: absolute; background: url(1.png) no-repeat; top: 0; background-size: contain; background-position: right; } .tree2{ width: 100%; height: 340px; position: absolute; background: url(2.png) no-repeat; bottom: 0; background-size: contain; } .musicbtn{ display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1; position: absolute; bottom: 10px; right: 10px; } .musicbtn .icon{ background: url(3.png) no-repeat; background-size: contain; height: 28px; width: 28px; } .musictext{ text-align: center; font-family: Montserrat-Reg; font-size: 12px; } .h1 { font-family: 'CormorantGaramond-SB'; font-size: 30px; text-transform: uppercase; margin-top: 20px; margin-bottom: 20px; color: #516941; } .timers{font-size: 25px;line-height: 25px;} .h01 { font-family: 'CormorantGaramond-SB'; font-size: 34px; text-transform: uppercase; margin-top: 20px; margin-bottom: 20px; color: #516941; line-height: 35px; width: 100%; text-align: center; } .p { text-align: center; font-family: 'Montserrat-Reg'; font-size: 14px; } .p0 { text-align: center; font-family: 'Montserrat-Reg'; font-size: 14px; width: 100%; } .dateblock{ display: flex; margin-bottom: 20px; } .dateblock .date{ display: flex; align-items: center; font-family: 'Montserrat-Reg'; font-size: 20px; color: #516947; , margin-bottom: 20px; width: 120px; display: flex; justify-content: center; } .dleft{ background: url(4.png) no-repeat; width: 90px; height: 70px; background-position: center; background-size: 100px; } .dright{ background: url(5.png) no-repeat; width: 90px; height: 70px; background-position: center; background-size: 100px; } .date span { margin-top: 20px; } .calendar { background: url(6.png) no-repeat; width: 250px; height: 250; background-size: contain; margin: 50px 0px; } .placephotos { width: calc(100% - 40px); height: 270px; display: flex; align-items: center; position: relative; justify-content: space-between; } .photo1 { width: calc(50% - 5px); height: 100%; background: url(7.jpeg) no-repeat; background-size: cover; background-position: center; } .photo2 { width: calc(50% - 5px); height: 100%; background: blue; background: url(8.jpeg) no-repeat; background-size: cover; background-position: center; display: flex; flex-direction: column; align-items: end; position: relative; } .showonmap { width: 100px; height: 100px; background: #485340; border-radius: 50%; color: white; font-family: 'Montserrat-Reg'; font-size: 12px; text-align: center; display: flex; align-items: center; justify-content: center; position: absolute; margin-top: 210px; margin-right: 21px; } .tleft { text-align: left; margin-left: 40px; } .vs { height: 65px; width: 1px; background: black; margin-top: 10px; margin-bottom: 10px; margin-left: auto; margin-right: auto; } .clocktime { font-family: 'Montserrat-Light'; font-size: 32px; } .timename { font-family: 'Montserrat-Reg'; font-size: 14px; text-align: center; } .spacer1 { height: 70px; } .h2 { font-family: Montserrat-SB; font-size: 15px; margin: 10px 0px; } .anketa { width: calc(100% - 60px); font-family: 'Montserrat-Reg'; font-size: 15px; } .underline { border: none; border-bottom: 1px black solid; width: 100%; color: black; font-family: 'Montserrat-Reg'; font-size: 13px; padding: 5px; height: 32px; border-radius: 0; } button.sendBtn { width: 200px; height: 50px; margin-top: 10px; border-radius: 15px; font-family: 'CormorantGaramond-SB'; text-transform: uppercase; font-size: 18px; border: 1px black solid; color: #435438; background: white; margin-bottom: 20px; } .contacts { margin-top: 15px; } .phone { text-align: center; font-family: Montserrat-Reg; font-size: 15px; margin-top: 20px; } .phonename { font-family: Montserrat-SB; font-size: 18px; text-align: center; } .vk { font-family: Montserrat-Reg; font-size: 15px; text-align: center; text-decoration: underline; cursor: pointer; } .spacer2 { height: 30px; } .details { display: flex; flex-direction: column; justify-content: center; width: 100%; position: relative; } .vet1 { background: url(9.png) no-repeat; width: 200px; height: 240px; background-size: contain; background-position: left; position: absolute; top: 0; } .vet2 { background: url(10.png) no-repeat; width: 100%; height: 240px; background-size: contain; background-position: right; position: absolute; bottom: 0; } .timer_label { /* position: absolute; */ margin-top: 20PX; FONT-SIZE: 32PX; } .clock { DISPLAY: FLEX; FLEX-DIRECTION: row; align-items: center; justify-content: center; } .countdown-item { display: flex; justify-content: center; align-items: center; flex-direction: column; font-family: 'CormorantGaramond-SB'; /* font-weight: 600; */ font-size: 40px; width: 63px; height: 68px; align-items: center; display: flex; justify-content: space-around; } .countdown-item p { font-weight: 500; font-size: 20px; font-family: 'CormorantGaramond'; padding: 0; margin: 0; line-height: 10px; text-transform: lowercase; } .timer { } .timerlabel { font-family: 'Font4'; text-align: center; font-size: 30px; } .countdown-item.bordered1 { border-left: 1px white solid; border-right: 1px white solid; } .countdown-item.bordered2 { border-right: 1px white solid; } .countdown-item span { line-height: 0px; } .timerblock { width: 100%; height: 650px; display: flex; flex-direction: column; justify-content: center; position: relative; align-items: center; color: #516941; } .vetk1 { background: url(2.png) no-repeat; background-size: 290px; width: 100%; height: 330px; background-position: left; transform: rotate(180deg); position: absolute; margin-top: -280px; margin-left: 90px; } .vetk2 { background: url(1.png) no-repeat; background-size: 230px; width: 100%; height: 400px; transform: rotate(180deg); background-position: right top; position: absolute; margin-top: 180px; } .h3 { font-family: 'CormorantGaramond'; color: #516941; font-size: 25px; } .h4 { font-family: 'CalligraphRuss'; color: #516941; font-size: 45px; }