.event-first-part {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.event-first-part-img {
  width: 35%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.event-first-part-left {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.event-description {
  margin: 1rem 0;
}

.event-header {
  border: 1px dotted black;
  border-radius: 10px;
  padding: 1rem;
}

.event-form-name-sub-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.event-form-name-sub-block label {
  display: flex;
  width: 49%;
}

.event-form-name-sub-block input {
  margin: 0 !important;
  padding: 0 !important;
}

.event-form-name-label {
  align-items: baseline;
}

.event-form-name-label span {
  width: 50%;
}

.event-form-first-time-label {
  align-items: center;
}
.event-form-first-time-label input {
  margin-right: .5rem !important;
}

.event-form {
  border: 1px dotted black;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.event-form-title {
  font-size: 2rem;
  margin-bottom: 4rem;
  font-style: italic;
}

.event-form-button {
  margin-bottom: 2rem;
  padding: .3rem;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
  cursor: pointer;
  align-self: flex-end;
}

.event-form-button:hover {
  background-color: #f4f8f9;
}

.event-form-contacts-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}


.event-form-contacts-label input {
  width: 90% !important;
}

.event-form-infos-label textarea {
  margin-top: 1rem;
}

.event-form-conditions-label {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.event-form-conditions-label input {
  margin-right: .5rem;
}

.registration-failure {
  font-size: 3rem !important;
  color: red;
}

.event-form-child-label {
  margin-left: 2rem;
  display: flex;
  align-items: baseline;
}

.event-form-child-label .event-form-child-input {
  width: 10%;
  margin-left: 1rem;
  margin-right: .5rem;
}

.event-informations {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #ed5777;
  font-size: 2rem !important;
}

.event-jdr-warning {
  font-style: italic;
  color: orange;
}

@media screen and (max-width: 670px) {
  .event-form-contacts-label input {
    width: 80% !important;
  }

  .event-first-part {
    flex-direction: column-reverse;
    align-items: center;
  }

  .event-first-part-img {
    margin-bottom: 1rem;
    align-self: center;
    width: 100%;
  }

  .event-first-part-left {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .event-form-name-sub-block {
    display: flex;
    flex-direction: column;
  }

  .event-form-name-sub-block label {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .event-form-contacts-label {
    flex-direction: column;
  }

  .event-form-contacts-label span {
    margin-bottom: .5rem;
  }

  .event-form-contacts-label input {
    width: 100% !important;
  }
}