@import "style.css";

/* =====CONTACT===== */

.contact_section .container {
  background-color: #e5e5e5;

  padding-top: 110px;
  padding-bottom: 82px;

  display: flex;
  justify-content: center;
  gap: 198px;
}

.contact_info {
}

.contact_title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 90px;
  line-height: 49%;
  color: #414141;

  margin-bottom: 55px;
}

.contact_list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  margin-bottom: 60px;
}

.contact_item {
}

.contact_item_link {
  display: flex;
  gap: 14px;
}

.contact_item_img {
}

.contact_item_text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 35px;
  line-height: 126%;
  color: #414141;
}

.contact_open {
}

.contact_open_title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 45px;
  line-height: 98%;
  color: #414141;

  margin-bottom: 10px;
}

.contact_open_text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 35px;
  line-height: 126%;
  color: #414141;

  margin-bottom: 10px;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: 37px;

  width: 675px;
}

.contact_name {
}

.contact_name_list {
  display: flex;
  gap: 30px;
}

.contact_name_item {
  width: 323px;
}

.form_label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 147%;
  color: #4d4d4d;

  span {
    color: #c90000;
  }
}

.form_input {
  border: 1px solid #c8bfbf;
  border-radius: 100px;
  height: 63px;
  width: 675px;
  padding: 10px 17px;
  box-sizing: border-box;
}

.form_input::placeholder {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 233%;
  color: #4d4d4d;
}

#first_name,
#last_name {
  width: 323px;
}

#email {
}

#message {
  border-radius: 18px;
  height: 245px;
}

#message::placeholder {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 233%;
  color: #4d4d4d;
}

.form_btn {
  border-radius: 50px;
  padding: 8px 66px;
  width: 214px;
  height: 60px;

  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 138%;
  color: #faab34;
}

/* =====REST===== */

.rest .container {
  background-color: #fff;

  padding-top: 18px;
  padding-bottom: 81px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.pretitle {
  margin-bottom: 5px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 50px;
  color: #d88200;
}

.rest_title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 87px;
  color: #4d4d4d;

  margin-bottom: 5px;
}

.outlets_line_img {
  margin-bottom: 50px;
}

.rest_list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.rest_item {
  width: 438px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.rest1,
.rest2,
.rest3 {
  margin-bottom: 41px;
}

.geo_outlets_icon {
  margin-bottom: 39px;
}

.rest_address_link {
  margin-bottom: 39px;
}

.rest_address {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 37px;
  text-align: center;
  color: #000;

  /* margin-bottom: 39px; */
}

.rest_tell_link {
}

.rest_tell {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 37px;
  text-align: center;
  color: #c90000;
}

/* -------MODAL WINDOW------ */

/* стилизация содержимого страницы */
/* body {
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #292b2c;
    background-color: #fff;
}  */

/* свойства модального окна по умолчанию */
.modal {
  position: fixed; /* фиксированное положение */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7); /* цвет фона */
  z-index: 1050;
  opacity: 0; /* по умолчанию модальное окно прозрачно */
  -webkit-transition: opacity 200ms ease-in;
  -moz-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in; /* анимация перехода */
  pointer-events: none; /* элемент невидим для событий мыши */
  margin: 0;
  padding: 0;
}
/* при отображении модального окно */
.modal:target {
  opacity: 1; /* делаем окно видимым */
  pointer-events: auto; /* элемент видим для событий мыши */
  overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
  position: relative;
  max-width: 630px;
  margin: 30px auto; /* для отображения модального окна по центру */
}


/* свойства для блока, содержащего контент модального окна */
.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #d2d4d2;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

/* свойства для заголовка модального окна */
.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #7a7a7a;
}
.modal-title {
  font-family: var(--font-family);
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: #181818;
}
/* свойства для кнопки "Закрыть" */
.close {
  float: right;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus,
.close:hover,
.modal-title:focus,
.modal-title:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
  overflow: auto;
}






