:root {
  --color: rgb(78, 109, 232);
  --br: 10px;
  --bg: rgba(0, 0, 0, 0.04);
}
body {
  margin: 0;
  font-family: Mont;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
}
label {
  position: relative;
}
input,
select {
  font-family: Mont;
  font-size: 16px;
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  border-radius: var(--br);
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: rgb(73, 76, 153);
}
select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;

  background: url(img/select-arrow.svg) no-repeat calc(100% - 24px) 50% / 25px;
}
input:focus,
select:focus {
  outline: none;
  border: 1px solid var(--color);
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select  {
  background-color: var(--bg);
}

input[type="checkbox"],
input[type="radio"] {
  display: none;
  width: auto;
}

input[type="file"] {
  display: none;
}

input::placeholder,
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
  color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  background-repeat: no-repeat;
  background-position: calc(100% - 24px) center;
  background-size: 25px;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  width: 25px;
  height: 25px;
  background-position: center;
}
input[type="text"] {
  background-image: url(img/input-user.svg);
}
input[type="text"]:focus {
  background-image: url(img/input-user-color.svg);
}
input[type="email"] {
  background-image: url(img/input-email.svg);
}
input[type="email"]:focus {
  background-image: url(img/input-email-color.svg);
}
input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url(img/input-date.svg);
}
input[type="date"]:focus::-webkit-calendar-picker-indicator {
  background-image: url(img/input-date-color.svg);
}
input[type="time"]::-webkit-calendar-picker-indicator {
  background-image: url(img/input-time.svg);
}
input[type="time"]:focus::-webkit-calendar-picker-indicator {
  background-image: url(img/input-time-color.svg);
}

/* Modul */
.container {
  max-width: 1200px;
  margin: 100px auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col-3,
.col-4,
.col-6,
.col-12 {
  margin: 15px;
}
.col-3 {
  width: calc(25% - 30px);
}
.col-4 {
  width: calc(33.3333% - 30px);
}
.col-6 {
  width: calc(50% - 30px);
}
.col-12 {
  width: calc(100% - 30px);
}
.button {
  font-size: 16px;
  display: inline-block;
  padding: 30px 45px;
  margin-top: 25px;
  border-radius: var(--br);
  border: 0;
  background: linear-gradient(
    rgba(78, 109, 232, 0.85),
    rgba(78, 109, 232, 1),
    rgba(78, 109, 232, 0.85)
  );
  color: #fff;
  border-bottom: 4px solid rgba(28, 42, 94, 0.4);
}

/* label_text */
.label_text {
  font-size: 12px;
  display: block;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

/* Img */
.col_img {
  position: relative;
  z-index: -1;
  padding-top: 120px;
  transform: scale(1.3) translateX(10%);
}


/* File */
.file {
  border: 2px dotted rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: var(--br);
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.file label {
  background: var(--color);
  color: #fff;
  padding: 15px 25px;
  border-radius: var(--br);
  cursor: pointer;
  white-space: nowrap;
}
.file .label_text {
  flex-grow: 1;
  margin-right: 25px;
}



/* Checkbox */
.block_checkbox {
  margin-top: 25px;
  margin-bottom: 25px;
}
.label_checkbox {
  padding-left: 40px;
  cursor: pointer;
}
.label_checkbox::before {
  content: "";
  position: absolute;
  top: calc(50% - 15.5px);
  left: 0;
  width: 27px;
  height: 27px;
  border: 2px solid var(--color);
  border-radius: var(--br);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}
input[type="checkbox"]:checked + .label_checkbox::before {
  background-color: var(--color);
  background-image: url(img/check.svg);
}

/* Radio */
.programms {
  margin-top: 25px;
  margin-bottom: 25px;
}
.radio_buttons {
  background-color: var(--bg);
  border-radius: var(--br);
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
}
.radio_button {
  width: 100%;
  margin: 5px;
}
.label_radio {
  border-radius: var(--br);
  padding: 15px 0;
  text-align: center;
  display: block;
  width: 100%;
  cursor: pointer;
}
.label_radio:hover {
  background: var(--bg);
}
input[type="radio"]:checked + .label_radio {
  background: linear-gradient(
    rgba(78, 109, 232, 0.85),
    rgba(78, 109, 232, 1),
    rgba(78, 109, 232, 0.85)
  );
  color: #fff;
}


