:root {
  /* Colors */
  --pressed-state-color: #4d5ae5; /* IRIS */
  --primary-brand-color: #404bbf; /* OCEAN */
  --dark-color: #2e2f42; /* NAVYBLUE */
  --success-color: #31d0aa; /* GREEN */
  --text-color: #434455; /* SLATE */
  --subtle-text-color: #8e8f99; /* LIGHT SLATE */
  --accent-color: #e7e9fc; /* CORNFLOWER */
  --ligh-color: #f4f4fd; /* CLOUD */
  --modal-overlay-color: #2e2f42; /* NAVYBLUEMODAL */
  --hero-background-color: #2e2f42; /* GRAY */
  --white-background-color: #ffffff; /* WHITE */
  --modal-background-color: #fcfcfc; /* DAIRY */

  /* Animation */
  --animation: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  font-family: inherit;
  color: currentColor;
}
address {
  font-style: normal;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Roboto", sans-serif;
  color: black;
  background-color: #121124;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

.container {
  min-width: 300px;
  max-width: 375px;
  padding: 0 15px;
  margin: 0 auto;
}

@media screen and (min-width: 425px) {
  .container {
    max-width: 375px;
  }
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 718px;
  }
}

@media screen and (min-width: 1280px) {
  .container {
    max-width: 1230px;
  }
}

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1390px;
  }
}

@media screen and (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
}

.schedule-1 {
  padding-bottom: 50px;
  background-image: url(../img/desc-dark-2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 1279.97px) {
  .schedule-1 {
    height: 100vh;
  }
}

@media screen and (min-device-pixel-ratio: 2),
  screen and (min-resolution: 192dpi),
  screen and (min-resolution: 2dppx) {
  .schedule-1 {
    background-image: url(../img/desc-dark-2.jpg);
  }
}

.information-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: 0;
}

.information-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
}
.resp {
  /* font-size: 14px; */
  font-size: 10px;
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .information-text {
    font-size: 16px;
  }
  .resp {
    font-size: 14px;
  }
}

@media screen and (min-width: 1440px) {
  .information-text {
    font-size: 24px;
  }
  .resp {
    font-size: 21px;
  }
}

.line {
  stroke: #fff;
}

.out {
  stroke-width: 0.5px;
}

@media screen and (min-width: 1280px) {
  .out {
    stroke-width: 0.2px;
  }
}

.circle {
  fill: #fff;
  stroke: #000;
  transition: fill var(--animation), stroke var(--animation);
}

.circle-small {
  fill: #000;
}

.text {
  fill: #070707;
  transition: fill var(--animation);
}

.text-small {
  fill: #fff;
}

.arrow-text {
  font-size: 6px;
  font-weight: 600;
  text-transform: uppercase;
  word-spacing: 1.5px;
  font-style: italic;
  fill: #fff;
}

.line-text {
  fill: #fff;
}

#icon-dollar {
  fill: #fff;
}

#icon-dollar-1 {
  fill: #ecf3ed;
}

.dot-on-line {
  stroke: #fff;
}

.schedule-icon {
  margin-bottom: 50px;
}

.heroe-btn {
  background-color: rgb(69, 69, 170);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  display: block;
  border-radius: 4px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border: none;

  padding: 16px 32px;
  min-width: 139px;

  transition: background-color 250ms ease-in;
}

.heroe-btn:hover,
.heroe-btn:focus {
  background-color: rgb(30, 30, 110);
}

/*
   |==================================
   |  modal window
   |==================================
*/

.backdrop {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-color: rgba(46, 47, 66, 0.4);

  transition: opacity var(--animation), visibility var(--animation);
}

.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);

  min-width: 408px;
  min-height: 584px;
  padding: 72px 16px 24px;

  border-radius: 4px;
  background: var(--modal-background-color);
  box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2),
    0px 1px 3px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14);

  transition: transform var(--animation);
}

@media screen and (max-width: 424.98px) {
  .modal {
    min-width: 300px;
  }
}

@media screen and (min-width: 768px) {
  .modal {
    padding: 24px;
    padding-top: 72px;
  }
}

.backdrop.is-hidden .modal {
  transform: translate(-50%, -50%) scale(1);
}

/* close btn  */
.modal-btn-close {
  position: absolute;
  top: 24px;
  right: 24px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;

  width: 24px;
  height: 24px;

  padding: 0;
  background-color: var(--accent-color);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);

  transition: background-color var(--animation), border var(--animation);
}

.modal-btn-close:hover,
.modal-btn-close:focus {
  background-color: var(--primary-brand-color);
  border: none;
}

.modal-btn-icon {
  transition: fill var(--animation);
}

.modal-btn-close:hover .modal-btn-icon,
.modal-btn-close:focus .modal-btn-icon {
  fill: #ffffff;
}

/* modal header */
.modal-header {
  color: var(--modal-overlay-color);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;

  margin-bottom: 16px;
}

/*  Modal form */

.modal-form-box {
  margin-bottom: 16px;
}

.modal-form-label {
  display: block;

  color: var(--subtle-text-color);

  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;

  margin-bottom: 4px;
}

.modal-form-input-wrapper {
  position: relative;
}

.modal-form-input {
  width: 100%;
  height: 40px;
  padding: 8px 16px 8px 38px;

  border-radius: 4px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  background-color: transparent;
  outline: transparent;

  transition: border-color var(--animation);
}

.modal-form-input:focus {
  border-color: var(--pressed-state-color);
}

.modal-form-input-icon {
  fill: var(--dark-color);
  position: absolute;
  left: 16px;
  top: 50%;

  transform: translateY(-50%);
  transition: fill var(--animation);
}

.modal-form-input:focus + .modal-form-input-icon {
  fill: var(--pressed-state-color);
}

.comment-box {
  margin-bottom: 16px;
}

.modal-textarea {
  display: block;

  width: 100%;
  height: 120px;
  padding: 8px 16px;
  resize: none;

  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);

  border-radius: 4px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  background-color: transparent;
  outline: transparent;

  transition: border-color var(--animation);
}

.modal-textarea:focus {
  border-color: var(--pressed-state-color);
}

.modal-textarea::placeholder {
  color: rgba(46, 47, 66, 0.4);
}

/* modal checkbox */

.checkbox-wrapper {
  margin-bottom: 24px;
}

.modal-form-agrement {
  display: block;

  color: var(--subtle-text-color);
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;

  user-select: none;
}

.modal-form-check {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 16px;
  height: 16px;

  margin-right: 8px;

  fill: transparent;

  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);

  transition: background-color var(--animation), border var(--animation),
    fill var(--animation);
}

input[type="checkbox"]:checked + .modal-form-agrement .modal-form-check {
  background-color: var(--primary-brand-color);
  border: none;
  fill: var(--ligh-color);
}

.modal-agrement-link {
  color: var(--iris, #4d5ae5);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
  text-decoration-line: underline;
}

.modal-btn-send {
  display: block;
  margin: 0 auto;

  min-width: 169px;
  align-self: center;

  padding: 16px 32px;

  color: var(--white-background-color);
  text-align: center;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  border-radius: 4px;
  background-color: var(--pressed-state-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border: none;

  transition: background-color var(--animation);
}

.modal-btn-send:hover,
.modal-btn-send:focus {
  background-color: var(--primary-brand-color);
}

/* ===== header ===== */

.buttons {
}

.buttons-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .buttons-list {
    flex-direction: row;
    justify-content: space-around;
  }
}

.buttons-btn {
  display: block;

  min-width: 129px;

  padding: 12px 20px;

  color: var(--white-background-color);
  text-align: center;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  border-radius: 4px;
  background-color: var(--pressed-state-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border: none;
  transition: background-color var(--animation);
}

.buttons-btn:focus,
.buttons-btn:hover {
  background-color: var(--primary-brand-color);
}

.buttons-link {
  display: block;
  cursor: pointer;

  min-width: 129px;

  padding: 12px 20px;

  color: var(--white-background-color);
  text-align: center;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  border-radius: 4px;
  background-color: var(--pressed-state-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border: none;
  transition: background-color var(--animation);
}

.buttons-link:focus,
.buttons-link:hover {
  background-color: var(--primary-brand-color);
}
