* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Roboto', sans-serif;
background: #fdf6f0;
color: #3d2c1e;
line-height: 1.6;
}

.container {
max-width: 1000px;
margin: 0 auto;
padding: 20px 25px 40px;
background: rgba(255, 248, 240, 0.85);
backdrop-filter: blur(2px);
}

.section {
margin: 40px 0;
padding: 10px 0;
}

.section-title {
font-family: 'Playfair Display', serif;
font-size: 2.2rem;
font-weight: 400;
color: #7f5a48;
text-align: center;
margin-bottom: 20px;
letter-spacing: 0.5px;
}

.section-sub {
text-align: center;
font-size: 1.1rem;
color: #5f4637;
max-width: 700px;
margin: 0 auto 20px;
}

.header {
text-align: center;
padding: 20px 0 30px;
border-bottom: 2px dashed #e6d4c4;
}

.header .badge {
display: inline-block;
background: #d9b8a4;
color: #fff;
font-size: 1.0rem;
letter-spacing: 2px;
text-transform: uppercase;
padding: 6px 18px;
border-radius: 40px;
margin-bottom: 16px;
font-weight: 500;
}

.header h1 {
/*
font-family: 'Playfair Display', serif;
font-size: 3.2rem;
*/
font-weight: 700;
color: #a65e4a;
margin-bottom: 6px;
font-family: 'Great Vibes', cursive;
font-size: 6rem; /* Подберите размер, который вам нравится */
}

.header h2 {
/*
font-family: 'Playfair Display', serif;
font-size: 3.2rem;
*/
font-weight: 700;
color: #a65e4a;
margin-bottom: 6px;
font-family: 'Great Vibes', cursive;
font-size: 8rem; /* Подберите размер, который вам нравится */
}

.header .subhead {
font-size: 1.2rem;
color: #7a5f4b;
font-weight: 300;
}

.header .date-place {
font-size: 1rem;
color: #5f4637;
background: #efe3d9;
display: inline-block;
padding: 8px 28px;
border-radius: 60px;
margin-top: 12px;
font-weight: 400;
}

.poem-block {
background: #f7efe9;
border-radius: 40px;
padding: 30px 25px;
text-align: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.03);
border: 1px solid #e6d4c4;

!display: inline-block;
position:relative;
!overflow:hidden;
!text-align:center;
!margin:auto;

}

.poem-block p {
font-family: 'Playfair Display', serif;
font-size: 1.3rem;
line-height: 1.8;
color: #4d3829;
margin-bottom: 12px;
}

.poem-block .author {
font-family: 'Roboto', sans-serif;
font-size: 1rem;
font-weight: 300;
color: #7f6656;
margin-top: 10px;
}

.image-block {
width: 100%;
border-radius: 32px;
overflow: hidden;
margin: 30px 0;
box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.image-block img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 12;
object-fit: cover;
transition: transform 0.3s ease;
}

.image-block img:hover {
transform: scale(1.01);
}

.schedule-grid {
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
max-width: 700px;
margin: 0 auto;
}

.schedule-item {
position:relative;
background: #fffcf9;
border-radius: 20px;
padding: 18px 16px;
border: 1px solid #e6d4c4;
text-align: center;
}

.schedule-item .time {
font-weight: 700;
color: #b36b54;
font-size: 1.1rem;
}

.schedule-item .event {
color: #3d2c1e;
font-weight: 400;
margin-top: 4px;
}

.map-block {
border-radius: 32px;
overflow: hidden;
box-shadow: 0 12px 30px rgba(0,0,0,0.06);
border: 1px solid #e6d4c4;
}

.map-block iframe {
width: 100%;
height: 350px;
border: 0;
display: block;
}

.map-address {
text-align: center;
padding: 14px 10px;
background: #f7efe9;
font-size: 1rem;
color: #4d3829;
}

.map-address strong {
color: #a65e4a;
}

.form-section {
margin-top: 40px;
padding: 30px 25px;
background: #fcf6f0;
border-radius: 40px;
border: 1px solid #e6d4c4;
}

.form-section h2 {
font-family: 'Playfair Display', serif;
font-size: 2rem;
font-weight: 400;
color: #7f5a48;
text-align: center;
margin-bottom: 24px;
}

.form-group {
margin-bottom: 22px;
}

.form-group label {
display: block;
font-weight: 500;
font-size: 0.95rem;
color: #4d3829;
margin-bottom: 6px;
}

.form-group label .required {
color: #c0392b;
margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 12px 16px;
font-size: 1rem;
font-family: 'Roboto', sans-serif;
background: #fffcf9;
border: 1.5px solid #e5d3c6;
border-radius: 16px;
transition: 0.2s;
color: #2d1f14;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #b88872;
box-shadow: 0 0 0 4px rgba(184, 136, 114, 0.15);
}

.form-group textarea {
resize: vertical;
min-height: 80px;
}

.radio-group {
display: flex;
flex-wrap: wrap;
gap: 18px 30px;
padding-top: 6px;
}

.radio-group label {
display: flex;
align-items: center;
gap: 8px;
font-weight: 400;
font-size: 1rem;
color: #3d2c1e;
cursor: pointer;
}

.radio-group input[type="radio"] {
width: 18px;
height: 18px;
accent-color: #b36b54;
cursor: pointer;
}

.checkbox-group {
display: flex;
flex-wrap: wrap;
gap: 12px 28px;
padding-top: 4px;
}

.checkbox-group label {
display: flex;
align-items: center;
gap: 8px;
font-weight: 400;
font-size: 1rem;
color: #3d2c1e;
cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: #b36b54;
cursor: pointer;
}

.btn-submit {
display: block;
width: 100%;
padding: 16px;
font-size: 1.2rem;
font-weight: 500;
font-family: 'Roboto', sans-serif;
background: #b36b54;
color: #fff;
border: none;
border-radius: 60px;
cursor: pointer;
transition: background 0.25s, transform 0.1s;
margin-top: 10px;
letter-spacing: 0.8px;
}

.btn-submit:hover {
background: #9d5a45;
}

.btn-submit:active {
transform: scale(0.97);
}

.footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #e6d4c4;
font-size: 0.9rem;
color: #7f6656;
}

.footer a {
color: #b36b54;
text-decoration: none;
font-weight: 500;
}

.toast {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%) translateY(80px);
background: #2d4a3b;
color: #f3efe8;
padding: 18px 38px;
border-radius: 60px;
font-size: 1.05rem;
font-weight: 400;
box-shadow: 0 12px 30px rgba(0,0,0,0.18);
opacity: 0;
transition: opacity 0.4s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
pointer-events: none;
z-index: 999;
border: 1px solid rgba(255,255,255,0.08);
}

.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}

@media (max-width: 700px) {
.container { padding: 12px 14px 30px; }
.header h1 { font-size: 3.4rem; }
.header h2 { font-size: 4.2rem; }
.section-title { font-size: 1.8rem; }
.poem-block p { font-size: 1.1rem; }
.schedule-grid { grid-template-columns: 1fr; gap: 12px; }
.map-block iframe { height: 250px; }
.image-block img { aspect-ratio: 16 / 12; }
.form-section { padding: 20px 16px; }
.radio-group { gap: 12px 16px; }
.checkbox-group { gap: 10px 16px; }
.btn-submit { font-size: 1rem; padding: 14px; }
.toast { font-size: 0.95rem; padding: 14px 24px; width: 90%; text-align: center; }
}

@media (max-width: 420px) {
.header h1 { font-size: 4.2rem; }
.header h2 { font-size: 4.8rem; }
.header .date-place { font-size: 0.85rem; padding: 6px 18px; }
.section-title { font-size: 1.5rem; }
}







.animtimer {
-webkit-transition: 1s ease-out;
-moz-transition: 1s ease-out;
-o-transition: 1s ease-out;
transition: 1s ease-out;
-webkit-transition-delay: 0s;
-o-transition-delay: 0s;
-moz-transition-delay: 0s;
transition-delay: 0s;
}

.animtimer2 {
-webkit-transition: 2s ease-out;
-moz-transition: 2s ease-out;
-o-transition: 2s ease-out;
transition: 2s ease-out;
-webkit-transition-delay: 0s;
-o-transition-delay: 0s;
-moz-transition-delay: 0s;
transition-delay: 0s;
}

.animtimer3 {
-webkit-transition: 4s ease-out;
-moz-transition: 4s ease-out;
-o-transition: 4s ease-out;
transition: 4s ease-out;
-webkit-transition-delay: 1s;
-o-transition-delay: 1s;
-moz-transition-delay: 1s;
transition-delay: 1s;
}

.classcycleforbanners {
text-align:center;
margin:auto;
}

.cyrcle {
display: inline-block;
position:relative;
background:green;
!border:solid 1px black;
overflow:hidden;
text-align:center;
margin:auto;
}

.divinvisible {
opacity:1;    
}

.divhide {
opacity:0;    
}

.divnormalmov {
left:0px;
opacity:1;
}

.divmov1 {
left:500px;
opacity:0;
}

.divmov2 {
left:-500px;
opacity:0;
}
