:root {
  --accent: #FF3800;
  --accent-2: #5C3DB5;
  --text-color: #322847;
  --p: 140px;
  --m: 30px;
}

@media only screen and (max-width: 1260px) {
  body {
    font-size: 14px;
  }

  :root {
    --p: 100px;
  }

  .container {
    max-width: 760px;
  }

  .t-md {
    font-size: 14px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 25px;
  }

  .header {
    padding: 20px 0;
  }

  .hero {
    background-size: contain;
  }

  .hero__content {
    width: 100%;
    max-width: 360px;
    gap: 15px;
  }

  .hero__image {
    max-width: 360px;
    height: 360px;
  }

  .hero__header {
    gap: 10px;
  }

  .hero__days {
    padding: 0 10px;
    height: 20px;
  }

  .hero__time,
  .hero__date {
    gap: 5px;
  }

  .day {
    background-size: 90%;
  }

  .day__items {
    padding: 20px;
    gap: 20px;
  }

  .day .item {
    max-width: 320px;
  }

  .speakers {
    background-size: 90%;
  }

  .speakers .speaker {
    padding: 40px;
    background-size: 90%;
  }

  .register__title {
    max-width: 360px;
  }

  .register__form {
    max-width: 360px;
  }

  .form {
    padding: 20px;
    padding-top: 60px;
  }
}

@media only screen and (max-width: 760px) {
  :root {
    --p: 50px;
  }

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .container {
    max-width: 360px;
  }

  .header {
    padding: 10px 0;
  }

  .header__container {
    justify-content: space-between;
  }

  .hero {
    padding-top: 70px;
    text-align: center;
  }

  .hero__image {
    position: relative;
    top: auto;
    right: auto;
    max-width: 260px;
    margin: 0 auto;
    height: 260px;
    margin-bottom: 10px;
  }

  .hero__header {
    justify-content: center;
    font-size: 12px;
  }

  .hero__uptitle {
    font-size: 12px;
  }

  .hero__bonus {
    max-width: 270px;
    margin: 0 auto;
    position: relative;
  }

  .hero__bonus_image {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
  }

  .hero__btn {
    margin: 0 auto;
  }

  .day {
    background-color: #fff;
    padding-bottom: 0;
  }

  .day__container {
    display: flex;
    flex-direction: column;
  }

  .day__title {
    order: -1;
    margin-bottom: 15px;
  }

  .day__header {
    margin-bottom: 0;
  }

  .day__info {
    width: 100%;
    margin: 20px 0;
    border: none;
  }

  .day__heading {
    padding: 0;
    background: #fff;
  }

  .day__heading:after {
    border-bottom: 1.6px dashed #EBE7F6;
  }

  .day__speakers {
    background: #fff;
  }

  .day__number {
    color: #fff;
    background: var(--accent-2);
  }

  .day__items {
    gap: 15px;
    padding: 20px 0;
  }

  .day .item__icon {
    min-width: 40px;
    height: 40px;
  }

  .day-2 .day__heading {
    background: #fff;
  }

  .day-2 .day__heading:after {
    border-bottom: 1.6px dashed #EBE7F6;
  }

  .day-2 .day__speakers {
    background: #fff;
  }

  .day-2 .day__number {
    color: #fff;
    background: var(--accent-2);
  }

  .speakers {
    padding-top: 50px;
  }

  .speakers__title {
    margin-bottom: 25px;
  }

  .speakers .speaker {
    padding: 0;
    flex-wrap: wrap;
    border: none;
    justify-content: center;
    gap: 20px;
  }

  .speakers .speaker__name {
    text-align: center;
    margin-bottom: 15px;
  }

  .speakers .speaker__photo {
    min-width: 90px;
    height: 90px;
  }

  .speakers .speaker__photo_text {
    font-size: 12px;
    width: 100%;
    height: 20px;
  }

  .register__title {
    text-align: center;
    margin-bottom: 80px;
  }
}