/* Font */ @font-face { font-family: Font1; src: url("CormorantGaramond-Regular.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); } .main { height: 600px; background: url(1.jpeg) no-repeat; width: 100%; background-position: center; background-size: cover; text-transform: uppercase; color: white; justify-content: flex-start; } .soon { font-size: 29px; margin-top: 40px; margin-bottom: 30px; line-height: 30px; } .egor { color: #fff; font-size: 70px; text-transform: uppercase; text-align: center; margin-top: 46px; line-height: 45px; } .anna { font-size: 70px; text-align: right; margin-right: 40px; line-height: 45px; margin-top: 6px; } .date { text-align: center; margin-top: 202px; width: 139px; text-transform: lowercase; font-size: 22px; margin-right: 10px; line-height: 20px; } .da { justify-content: end; position: relative; } .p { font-size: 19px; } .lphoto { background: url(2.jpeg) no-repeat; width: 30%; background-position: center; background-size: cover; min-width: 120px; } .h1 { font-size: 42px; text-transform: uppercase; text-align: center; } .date2 { font-size: 40px; margin-top: 38px; } .time { font-size: 40px; color: gray; margin: 0; line-height: 15px; } .locname { font-size: 32px; margin-top: 48px; } .adress { text-align: center; font-size: 20px; } button { border: 1px black solid; border-radius: 50px; background: none; font-family: 'Font1'; font-size: 18px; /* padding: 10px; */ width: 70%; height: 36px; margin-top: 30px; margin-bottom: 20px; color: black; } .location { margin-top: 55px; margin-bottom: 70px; } .circles { height: 130px; } .circles div{ width: 70; height: 70; border-radius: 50%; position: absolute; } .circle1 { /* margin-left: -200px; */ background: #f1f1f1; } .circle2 { /* margin-left: -100px; */ background: #cbcac8; } .circle3 { /* margin-left: 0px; */ background: #a09c91; } .circle4 { /* margin-left: 100px; */ background: #6a6859; } .circle5 { /* margin-left: 200px; */ background: #3d3b2e; } .h2 { font-size: 37px; margin-top: 30px; margin-bottom: 8px; } .posterback { height: 130px; background: url(3.jpeg) no-repeat; background-size: cover; margin-top: 50px; justify-content: end; } .time.addt { color: black; margin-top: 24px; font-size: 45px; line-height: 45px; } .action { font-size: 25px; } .details { width: 100%; margin-top: 70px; !i;!; position: relative; } .details .p1 { text-align: right; margin-right: 40px; } .p.p2 { text-align: left; margin-left: 40px; margin-top: 25px; } .waiting { font-size: 35px; margin-top: 60px; margin-bottom: 100px; } .fl { background: url(4.png) no-repeat; width: 150px; height: 180px; background-position: center; background-size: contain; position: absolute; margin-top: -45px; z-index: -1; margin-left: -60px; } .wine { background: url(5.png) no-repeat; width: 100px; height: 180px; background-position: right; background-size: contain; position: absolute; margin-top: 15px; z-index: -1; right: 0; } .h1.hidden{ transform: translateY(-100px) } .h1.visible{ transform: translateY(0px) } .p.hidden{ transform: translateY(60px) } .p.visible{ transform: translateY(0px) } circle1.hidden, circle2.hidden, circle3.hidden, circle4.hidden, circle5.hidden,{ margin-left: 0px; } .circle1.visible { margin-left: -200px; } .circle2.visible { margin-left: -100px; } .circle3.visible { margin-left: 0px; } .circle4.visible { margin-left: 100px; } .circle5.visible { margin-left: 200px; } .waiting.hidden{ scale:1.5; transition:3s; } .waiting.visible{ scale:1; } .loch { margin-top: 15px; }