html {
  font-size: 16px;
  font-optical-sizing: auto; 
}

@font-face {
    font-family: 'liana';
    src: url('../fonts/liana.woff2') format('woff2'),
         url('../fonts/liana.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'tenor';
    src: url('../fonts/tenor.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body, body * {
  box-sizing: border-box;
  transition: 0.2s ease-in-out;
}
body {
    background-color: #FEFEFE;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
}

a{
    text-decoration: none;
}

.date.back a
{
    color: #B0632A;
    text-transform: uppercase;
}

.btn
{
    position: relative;
    font-family: 'tenor';
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 8px;
    color: #6B6E59;
    border: none;
    box-shadow: none;
    background: #FEFEFE;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    max-height: 42px;
}

.dot_right
{
    transform: rotate(180deg);
}

.dot_top
{
    transform: rotate(90deg);
}

@media (hover: hover) {
    .btn:hover
    {
        background: #74795A;
        color: #FFFCF7;
        justify-content: center;
    }

    .btn:hover svg path
    {
        fill: #FFFCF7;
    }
}

.btn svg path
{
    fill: #91927b
}

.btn.active
{
   background: #74795A;
   color: #FFFCF7;
   justify-content: center;
}

.btn.active svg path
{
    fill: #FFFCF7;
}

.btn-inner {
  border: 1px solid #74795A;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.btn-circle
{
    position: absolute;
    border: 1px solid #74795A;
    background-color: #FFFCF7;
    height: 9px;
    width: 9px;
    border-radius: 50%;
}

.btn-circle.top-left {
  top: -4px;
  left: -4px;
}
.btn-circle.top-right {
  top: -4px;
  right: -4px;
}
.btn-circle.bottom-right {
  bottom: -4px;
  right: -4px;
}
.btn-circle.bottom-left {
  bottom: -4px;
  left: -4px;
}

.top-section
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tower
{
    position: relative;
}

.clouds-tower
{
    position: absolute;
    top: 57px;
    left: 50%;
    transform: translateX(-50%);
    /* z-index: 2; */
     animation: floatClouds 20s linear infinite alternate;
     z-index: -1;
}

@keyframes floatClouds {
    0% {
        transform: translateX(-50%) translateX(0);
    }
    100% {
        transform: translateX(-50%) translateX(-50px); /* смещение вправо */
    }
}

.date
{
    font-size: 18px;
    color: #B0632A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 26px;
    font-family: "tenor";
}

.clouds
{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.title
{
    margin-top: 82px;
    margin-bottom: 42px;
    z-index: 1;
    max-width: 305px;
}

.date svg path
{
    fill: #CAA080;
}

.pic
{
    width: 100%;
    z-index: -1;
}

.block-title
{
    font-size: 40px;
    font-family: "liana";
    line-height: 34px;
}

/* @supports (-webkit-overflow-scrolling: touch) {
    .block-title {
        padding-bottom: 8px;
    }
} */

.message
{
    background-color: #7F8270;
    color: #FFFCF7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 12px;
    gap: 20px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 40px;
    z-index: 10;
}

.message-circle
{
    position: absolute;
    border: 1px solid #74795A;
    background-color: #FFFCF7;
    height: 16px;
    width: 16px;
    border-radius: 50%;
}

.message-circle.top-left {
  top: -8px;
  left: -8px;
}
.message-circle.top-right {
  top: -8px;
  right: -8px;
}
.message-circle.bottom-right {
  bottom: -8px;
  right: -8px;
}
.message-circle.bottom-left {
  bottom: -8px;
  left: -8px;
}

.message .dot_top path
{
    fill: #B8B9AB;
    height: 100%;
}

.mes-pic
{
    margin-top: -60px;
}

.message-text
{
    font-family: "tenor";
    text-transform: uppercase;
    font-size: 12px;
    line-height: 22px;
}

.anketa-top
{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #B0632A;
}

.anketa-title
{
    font-size: 48px;
    font-family: 'liana';
}

.anketa-subtitle
{
    font-size: 12px;
    font-family: 'tenor';

}
.anketa-block
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;

}

.anketa-block .block-title
{
    color: #6B6E59;
}

.btn-line
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: calc(100% - 60px);
    justify-content: center;
}


.btn-line .btn
{
    flex: 1;
    min-width: 45%;
    max-width: 50%;

}

.eat .btn-line
{
    flex-direction: column;
}

.eat .btn-line .btn
{
    max-width: none;
}

.block-subtitle
{
    color: #B0632A;
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'tenor';
    line-height: 22px;
    margin: 0 30px;
}

.block-subtitle span
{
    font-size: 16px;
}

.dress-grid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dress-item
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #6B6E59;
    font-size: 10px;
    font-family: 'tenor';
    text-align: center;
    text-transform: uppercase;
    padding: 12px;
}

.dress-item img
{
    height: 124px;
    width: auto;
}

.dress-pic
{
    margin-top: -60px;
    z-index: -1;
}

form
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 120px);
}

.submit-btn
{
    color: #FFFCF7;
    background: #B0632A;
    font-size: 18px;
    width: 100%;
    max-height: none;
}

.input-style
{
    height: 45px;
    position: relative;
    overflow: hidden;
    background-color: #FFFCF7;
}

input
{
    font-size: 16px;
    height: 100%;
    width: 100%;
    text-align: center;
    font-family: 'tenor';
    text-transform: uppercase;
    color: #6B6E59;
}

.submit-btn .btn-inner
{
    border: 1px solid #b86e36;
}

.submit-btn .btn-circle
{
    border: 1px solid #b86e36;
}

.submit-btn:hover
{
    background: #b86e36;
}

.submit-btn svg path
{
    fill: #FFE7D4;
}


.input-style .btn-inner
{
    pointer-events: none;
}

input::placeholder
{
    font-size: 16px;
    color: #C3BAB3;
}

input.no-focus-style:hover,
input.no-focus-style:focus,
input.no-focus-style:active {
    outline: none;
    box-shadow: none;
    border: none;
    background: none;
}

.qr
{
    width: 160px;
    height: auto;
}

.chat .submit-btn
{
    background: #74795A;
    width: calc(100% - 120px);
}

.chat .submit-btn .btn-inner
{
    border: 1px solid #74795A;
}

.chat .submit-btn .btn-circle
{
    border: 1px solid #74795A;
}

.chat .submit-btn:hover
{
    background: #888d6e;
}

.chat .submit-btn svg path
{
    fill: #FFFCF7;
}

.submit-btn
{
    justify-content: center;
}




