@media screen and (max-width: 649px) {
  *{
    /*width: 390px;*/
    max-width: 1280px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    /*display: inline-flex;*/
    /*outline: 1px solid red;*/
    box-sizing: border-box;
  }
  .background{
    background-color: #d9dce4;
    width: 390px;
    max-width: 1280px;
    /*padding-left: 20px;*/
    /*padding-right: 20px;*/
    /*flex-direction: column;*/
    /*justify-content: flex-start;*/
    /*align-items: flex-start;*/
    /*gap: 80px;*/
    /*display: inline-flex;*/
  }
  body{
    overflow-x: hidden;
  }
  header {
    /*align-self: stretch;*/
    width: 100%;
    height: 780px;
    /*justify-content: center;*/
    /*align-items: center;*/
    /*gap: 30px;*/
    /*margin-left: 10px;*/
  }

  .conteiner-card{
    height: 600px;
    align-self: stretch;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 15px;
    display: flex;
  }

  .erika-photo,
  .vladyslav-photo {
    /*align-self: stretch;*/
    width: 100%;
    height: auto;
    max-height: 193px;
    position: relative
  }
  .name{
    font-size: 28px;
  }
  .vladyslav, .erika{
    width: 240px;
    height: 270px;
    /*align-self: stretch;*/
    max-width: 240px;
    min-height: 257px;
    /*padding: 15px 15px 7px;*/
    /*margin-left: 7px;*/
    align-items: center;
    justify-content: space-evenly;
  }
  .header-card-img{
   width: 210px;
    height: 189px;
    max-width: 479px;
    max-height: 427px;
    /*padding-bottom: 4px;*/
   /* flex-direction: column;*/
   /* justify-content: center;*/
   /* align-items: center;*/
   /*display: inline-flex;*/
    /*margin-top: -5px;*/
  }

  .header-card-name{
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    width: 100%;
    height: auto;
  }

  .plus-header{
    font-size: 88px;
    position: absolute;
    z-index: 1;
    top: 235px;
  }
  .erika-svg{
    width: 67px;
    height: 87px;
    left: -10px;
    right: 0;
    top: -20px;
    z-index: 1;
  }
  .vladyslav-svg{
    width: 55px;
    height: 71px;
    z-index: 1;
    left: 200px;
    top: 170px;
  }
  .ELoveB {
    display: flex;
    flex-direction: row; /* 👉 це ключове */
    align-items: center;
    justify-content: center;
    margin-top: -100px;
    /*border: 2px solid gray;*/
  }
  .ELoveB p {
    font-size: 38px;
    margin: 0;         /* ✅ важливо */
    padding: 0;
    line-height: 1;
    display: inline;   /* ✅ або inline-block */
  }


  .ELoveB img{
    width: 46px;
    height: 43px;
  }
  .ELoveB p {
    font-size: 38px;
  }

  .date{
    font-size: 48px;
  }

  .global-box {
    display: flex;
    flex-direction: row;         /* 👉 ставимо в ряд */
    justify-content: start;
    align-items: start;
    /*padding: 20px;*/
    /*border-radius: 10px;*/
  }

  .time-box {
    display: flex;
    flex-direction: column;      /* 👉 числа над підписами */
    align-items: center;
    justify-content: space-evenly;
    min-width: 60px;
    height: 100px;
    /*width: 100%;*/
  }
  .section-time{
    width: 100%;
  }

  .time-box span {
    margin-top: -30px;
    font-size: 40px;
    font-weight: bold;
  }

  .time-box .label {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .card-love h1{
    font-size: 34px;
    width: 100%;
    margin-top: 10px;
  }
  .text-section-love{
    font-size: 12px;
  }
  .mobile-br {
    display: block;
    height: 0;
    width: 100%;
  }

  .section-love{
    width: 390px;
    height: auto;
    margin-top: -25px;
  }
  .card-love{
    display: flex;
    justify-content: start;
    align-items: start;
    height: 400px;
    width: 100%;

  }
.text-section-love{
  justify-content: start;
  display: flex;
  flex-direction: column;
  color: black;
  font-size: 14px;
  /*border: 15px solid gray;*/
  font-weight: 400;
  /*word-wrap: break-word;*/
  width: 100%;
  align-items: start;
  margin-top: 10px;
}
.love-time-img{
  width: 100%;
  margin-top: 50px;
}
.date-love{
  font-size: 28px;
  margin-top: -50px;
}
.love-img{
  width: 220px;
  max-width: 220px;
  padding-bottom: 20px;
}
.love-story{
  font-size: 22px;
}
.location-h1{
  font-size: 62px;
}
.location-p{
  width: 80%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.love-svg-3{
  width: 72px;
  height: 105.89px;
  top:250px;
  left: 20px;
  z-index: 1;
}
  .love-svg-4{
    width: 72px;
    height: 105.89px;
    top:350px;
    left: 290px;
    z-index: 1;
  }
  .hide-on-mobile {
    display: none !important;
  }
  .location-svg{
    top: 0;
    left: 40px;
    width: 66.06px;
    height: 84.66px;
  }
  .love-story{
    margin-top: 0;
  }
  .section-location{
    margin-top: 270px;
  }

  .location-p{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .button-location{
    width: 250px;
    height: 40px;
    max-width: 250px;
    font-size: 18px;
  }
  .location-info{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: -30px;
  }
  .location--card-img{
    width: 350px;
    max-width: 409px;
  }
  .location-img{
    width: 350px;
    max-width: 409px;
  }
  .dress-code-h1{
    font-size: 48px;
  }
  .dress-code-p{
    font-size: 18.44px;
    margin-top: -20px;
  }
  .dress-color-1, .dress-color-2, .dress-color-3, .dress-color-4, .dress-color-5, .dress-color-6, .dress-color-7{
    width: 73.38px;
    height: 70.31px;
    max-width: 73.38px;
  }

  .dress-color {
    display: flex;
    flex-wrap: wrap; /* 👉 дозволяє переходити на новий ряд */
    flex-direction: row;
    gap: 10px;
    justify-content: center;  /* або start, як хочеш */
    max-width: 320px; /* 👉 щоб після 4х був переніс */
    margin: 0 auto;
    margin-top: -20px;
  }
  .section-dress-code{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin-top:50px;
  }
  .rec-h1{
    font-size: 48px;
  }
  .rec-p{
    font-size: 19.84px;
    font-weight: 400; line-height: 20px;
    padding: 20px;
  }
  .section-rec{
    display: flex;
    justify-content: start;
    align-items: center;
    height: 600px;
  }
  .rec-conteiner-1{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .rec-text-p{
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    flex-direction: column;
  }
  .rec-defis{
    height: 1px;
    width: 100%;
    background-color: black;
  }
  .form-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .form-wrapper h1{
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .subtitle{
    font-size: 17.66px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .lastname{
    font-size: 22px;
  }
  #name{
    font-size: 12px;
  }
  .lastname{
    font-size: 22px;
  }
  .footer{
    font-size: 38px;
  }
  .ans{
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 22px;
    font-family: Playfair, sans-serif;
    font-weight: 300;
    word-wrap: break-word;
  }
  .location-info{
    width: 100%;
  }
  .date, .label, .time-box{
    width: 100%;
  }
  #initials{
    width: 100%;
  }
  .time-box{
    width: 100%;
  }
  #days, #hours, #minutes, #seconds{
    width: 100%;
  }
}
