/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: >2% and last 1 version
*/

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/ptsans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/ptsans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

html {
  height: 100%;
}

body {
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 21px;
  color: #333333;
  background-color: #f2f2f2;
  margin: 0;
  height: 100%;
}

.page-container {
  width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

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

.main {
  flex-grow: 1;
}

.main h1 {
  font-size: 60px;
  line-height: 78px;
  margin: 0 0 8px 0;
}

.main h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
}

.main h3 {
  font-size: 24px;
  line-height: 28px;
  text-transform: uppercase;
  color: #000000;
  margin: 0 auto 30px;
}

.page-header {
  padding: 0 70px;
  display: flex;
}

.logo {
  margin-right: 28px;
  margin-bottom: -6px;
  z-index: 1;
  min-width: 140px;
}

.logo-img {
  display: block;
}

.navigation {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}

.navigation-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navigation-item {
  list-style: none;
}

.navigation-link {
  color: #000000;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 20px 16px;
  position: relative;
}

.navigation-link.active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  background-color: #756257;
  content: "";
}

.navigation-user {
  margin-left: 10px;
}

.navigation-icon {
  display: block;
  width: 44px;
  height: 64px;
  text-align: center;
  border: none;
  outline: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  cursor: pointer;
}

.navigation-icon:focus-visible {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.navigation-icon.search {
  background-image: url("../images/icons/search-icon.svg");
}

.navigation-icon.favourites {
  background-image: url("../images/icons/favourites-icon.svg");
  position: relative;
  text-decoration: none;
}

.navigation-link:hover,
.navigation-icon:hover {
  background-color: #f2f2f2;
  transition: background-color 0.5s ease;
}

.navigation-link:active,
.navigation-icon:active {
  opacity: 0.3;
}

.navigation-user .favourites-number {
  font-size: 10px;
  line-height: 10px;
  background-color: #7db54f;
  color: #ffffff;
  border-radius: 50%;
  padding: 5px;
  position: absolute;
  left: 19px;
  top: 11px;
}

.navigation-user .navigation-button {
  display: block;
  margin: 5px 0 5px 20px;
  min-width: 160px;
  max-width: 300px;
  padding: 8px 34px;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
}

.button {
  border: none;
  cursor: pointer;
  padding: 8px 50px;
  max-width: 700px;
  font-family: inherit;
  font-size: 20px;
  line-height: 36px;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.5s ease;
}

.button-basic {
  background-color: #756157;
}

.button-basic:hover,
.button-basic:focus-visible {
  background-color: #615048;
}

.button-second {
  background-color: #82b3d3;
}

.button-second:hover,
.button-second:focus-visible {
  background-color: #68a2ca;
}

.button-selected {
  background-color: #7db54f;
}

.button-selected:hover,
.button-selected:focus-visible {
  background-color: #6c9e42;
}

.button-transparent:hover {
  opacity: 60%;
}

.button:active {
  color: rgba(255, 255, 255, 0.3)
}

.button:disabled {
  background-color: #e5e5e5;
}

.hero {
  background: #2c6388 url("../images/hero-background.jpg") no-repeat center / cover;
  padding: 51px 20px 82px;
  min-height: 485px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 57px;
  background-image: url("../images/hero-divider.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-image {
  display: block;
  margin: 0 auto;
}

.section-title {
  text-transform: uppercase;
  color: #000000;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  max-width: 630px;
  margin: 0 auto 20px;
  text-align: center;
}

.section-title-advantages {
  margin: 0 auto 25px;
}

.section-subtitle {
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  max-width: 655px;
  margin: 0 auto 64px;
}

.section-subtitle-advantages {
  margin: 0 auto 90px;
}

.section-subtitle:has(+ button),
.section-subtitle:has(+ form) {
  margin: 0 auto 54px;
}

.advantages {
  padding-top: 69px;
}

.advantages-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.advantages-item {
  background-color: rgba(131, 179, 211, 0.12);
  list-style: none;
  width: 400px;
  flex-grow: 1;
}

.advantages-text {
  padding: 112px 85px 95px;
  min-width: 33.33%;
  text-align: center;
}

.advantages-image {
  display: block;
  height: 100%;
  object-fit: cover;
}

.advantages-title {
  max-width: 172px;
  margin: 0 auto;
}

.advantages-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: rgba(0, 0, 0, 0.3);
  margin: 30px auto;
}

.advantage-with-image .advantages-title::after {
  background: rgba(255, 255, 255, 0.3);
}

.advantages-item:not(.advantage-with-image):nth-child(2n+1) {
  background-color: rgba(131, 179, 211, 0.2)
}

.advantages-item.advantage-with-image {
  background-color: #82b3d3;
  color: #ffffff;
  width: 100%;
  display: flex;
}

.advantages-item.advantage-with-image .advantages-title {
  color: #ffffff;
}

.advantages-item.advantage-with-image .advantages-text {
  padding: 102px 85px 80px;
  max-width: 33.33%;
}

.advantages-item.advantage-with-image:last-child {
  flex-direction: row-reverse;
}

.services {
  padding-top: 64px;
}

.services-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.services-item {
  list-style: none;
  text-align: center;
  padding: 81px 85px;
  min-width: 33.33%;
  max-width: 400px;
}

.services-item:nth-child(2n+1) {
  background-color: rgba(131, 179, 211, 0.12)
}

.services-item::before {
  content: "";
  display: block;
  width: 75px;
  height: 72px;
  margin: 0 auto 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.services-item.housing::before {
  background-image: url("../images/icons/services-house.svg");
}

.services-item.food::before {
  background-image: url("../images/icons/services-food.svg");
}

.services-item.souvenirs::before {
  background-image: url("../images/icons/services-souvenir.svg");
}

.services-description {
  margin: 0;
}

.hotel-search {
  padding: 96px 30px;
  text-align: center;
}

.subscribe {
  padding: 96px 30px 106px;
  text-align: center;
}

.subscribe-with-background {
  background: #2c6388 url("../images/subscribe-background.jpg") no-repeat center / cover;
  color: #ffffff;
}

.subscribe-with-background .section-title {
  color: #ffffff;
}

.subscribe-form {
  display: flex;
  width: 100%;
  max-width: 684px;
  margin: 0 auto;
}

.email-input {
  font-size: 18px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.6);
  font-family: inherit;
  padding: 12px 20px;
  background-color: #f2f2f2;
  flex-grow: 1;
  border: none;
  border-radius: 4px 0 0 4px;
}

.subscribe-button {
  border-radius: 0 4px 4px 0;
}

.page-footer {
  padding: 45px 70px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.social-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  max-width: 145px;
}

.social-item {
  list-style: none;
}

.social-link {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 47px;
  height: 40px;
  position: relative;
}

.social-icon {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.social-icon path {
  transition: fill 0.5s;
}

.social-link:hover path,
.social-link:focus-visible path {
  fill: #68A2CA;
}

.social-link:active path {
  opacity: 0.3;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.footer-phone {
  font-size: 40px;
  line-height: 40px;
  color: #000000;
  text-decoration: none;
  transition: color 0.5s;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  color: #756157;
}

.footer-phone:active {
  opacity: 0.3;
}

.html-academy-logo {
  display: block;
}

.html-academy-logo path {
  transition: fill 0.5s;
}

.html-academy-logo:hover path,
.html-academy-logo:focus-visible path {
  fill: #756157;
}

.html-academy-logo:active {
  opacity: 0.3;
}

.inner-header {
  padding: 35px 70px 60px;
  color: #ffffff;
  background: #2c6388 url("../images/filters-background.jpg") no-repeat center / cover;
}

.breadcrumbs {
  list-style-type: none;
  margin: 0 0 40px 0;
  padding: 0;
  display: flex;
}

.breadcrumbs-item:not(:first-child) {
  margin-left: 27px;
  position: relative;
}

.breadcrumbs-item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  transform: translateY(-50%);
  width: 7px;
  height: 10px;
  background-image: url("../images/icons/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.breadcrumbs-link {
  color: inherit;
  font-size: 16px;
  transition: opacity 0.5s;
}

.breadcrumbs-item:first-child .breadcrumbs-link {
  display: block;
  width: 15px;
  height: 20px;
  background-image: url("../images/icons/breadcrumbs-house.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 13px 21px;
}

.breadcrumbs-item:not(:last-child) .breadcrumbs-link:hover {
  opacity: 0.6;
}

.breadcrumbs-item:not(:last-child) .breadcrumbs-link:active {
  opacity: 0.3;
}

.filters-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 70px;
}

.filters-form-group {
  border: none;
  padding: 0;
  margin: 0;
  max-width: 150px;
}

.filters-form-group:not(:last-child) {
  margin-right: 70px;
}

.filters-form .form-column {
  display: flex;
  flex-wrap: wrap;
}

.filters-form-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  padding: 0;
}

.filters-form-list {
  margin: 0 0 14px 0;
  padding: 0;
}

.filters-form-item {
  list-style: none;
  margin-bottom: 18px;
}

.filters-form-item:last-child {
  margin-bottom: 0;
}

.control {
  position: relative;
  display: block;
  padding-left: 36px;
  cursor: pointer;
  transition: opacity 0.5s;
}

.control-mark {
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
}

.control:hover {
  opacity: 0.6;
}

.control:active {
  opacity: 0.3;
}

.control:has(.control-input:disabled) {
  cursor: default;
  opacity: 0.3;
}

.control-input:focus-visible + .control-mark {
  outline: 2px solid #000000;
}

.control-input[type="checkbox"]:checked + .control-mark::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 13px;
  height: 10px;
  background-image: url("../images/icons/check-mark.svg");
}

.control-input[type="radio"] + .control-mark {
  border-radius: 50%;
}

.control-input[type="radio"]:checked + .control-mark::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3f5e72;
}

.range-wrapper-inputs {
  display: flex;
  gap: 2px;
  margin-bottom: 44px;
}

.range-wrapper-input {
  position: relative;
}

.range-input {
  font-weight: 700;
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  font-family: inherit;
  width: 143px;
  padding: 12px 45px 12px 20px;
  border: none;
  -moz-appearance: textfield;
}

.range-input::-webkit-outer-spin-button,
.range-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.range-input-min {
  border-radius: 4px 0 0 4px;
}

.range-input-max {
  border-radius: 0 4px 4px 0;
}

.range-input-label {
  color: rgba(0, 0, 0, 0.3);
  line-height: 24px;
  position: absolute;
  top: 12px;
  right: 20px;
}

.range-scale {
  position: relative;
  height: 4px;
  margin-bottom: 16px;
  background-color: #5e676d;
  width: 287px;
}

.range-bar {
  position: absolute;
  height: 4px;
  background-color: #ffffff;
}

.range-toggle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.range-toggle:active {
  outline: 2px solid #82b3d3;
}

.toggle-min {
  top: -8px;
  left: 0;
}

.toggle-max {
  top: -8px;
  right: 0;
}

.filters-form-group-buttons {
  padding-top: 56px;
  display: flex;
  flex-direction: column;
}

.filters-submit-button {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 32px;
}

.filters-reset-button {
  background-color: transparent;
  font-size: 16px;
  line-height: 20px;
}

.catalog {
  padding: 49px 70px 60px;
}

.catalog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 70px;
}

.catalog-header h2 {
  margin: 7px auto 7px 0;
}

.select-control {
  font-size: 18px;
  line-height: 22px;
  color: #333333;
  font-family: inherit;
  padding: 12px 50px 12px 18px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  -webkit-appearance: none;
          appearance: none;
  position: relative;
  background-image: url("../images/icons/arrow-down.svg");
  background-repeat: no-repeat;
  background-size: 12px 7px;
  background-position: right 18px center;
  cursor: pointer;
  transition: border-color 0.5s;
  min-width: 292px;
  background-color: #ffffff;
}

.select-control:hover {
  border-color: #68a2ca;
}

.select-control:disabled {
  border-color: rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.3);
}

.catalog-view-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.view-button {
  color: inherit;
  display: block;
  width: 48px;
  height: 48px;
  padding: 17px 16px;
  background-repeat: no-repeat;
  background-size: 16px 14px;
  background-position: center;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  transition: border-color 0.5s;
}

.view-button.tile {
  background-image: url("../images/icons/view-tile.svg");
}

.view-button.desktop {
  background-image: url("../images/icons/view-desktop.svg");
}

.view-button.list {
  background-image: url("../images/icons/view-list.svg");
}

.view-button.active,
.view-button:hover,
.view-button:active {
  border-color: #000000;
}

.hotels-list {
  margin: 0;
  padding: 39px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hotel-card {
  list-style: none;
  max-width: 340px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 1fr auto auto auto;
  gap: 16px 20px;
}

.hotel-card-link {
  grid-column: 1/-1;
}

.hotel-card .hotel-card-title {
  text-transform: none;
  margin: 0;
}

.hotel-card a {
  text-decoration: none;
  width: fit-content;
}

.hotel-card-image {
  display: block;
  object-fit: cover;
  height: 212px;
}

.hotel-card p,
.hotel-card button {
  margin: 0;
}

.hotel-card .button {
  width: 140px;
  padding: 8px 15px;
  font-size: 16px;
  line-height: 20px;
}

.hotel-card-stars {
  height: 17px;
  background-image: url("../images/icons/star.svg");
  background-repeat: space repeat;
  background-size: contain;
  align-self: center;
}

.hotel-card-stars.one-stars {
  width: 20px;
}

.hotel-card-stars.two-stars {
  width: 42px;
}

.hotel-card-stars.three-stars {
  width: 65px;
}

.hotel-card-stars.four-stars {
  width: 87px;
}

.hotel-card-stars.five-stars {
  width: 105px;
}

.hotel-card-price {
  text-align: right;
}

.hotel-card .hotel-card-rating {
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  background-color: #f2f2f2;
  display: inline-block;
  padding: 10px 15px 6px;
  width: 140px;
  margin: 0;
}

.pagination {
  margin: 0;
  padding: 40px 0 0 0;
  display: flex;
  list-style-type: none;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid #e6e6e6;
}

.pagination-link {
  display: block;
  min-width: 60px;
  height: 60px;
  background-color: #82b3d3;
  color: #ffffff;
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 11px 10px 0;
  transition: background-color 0.5s ease;
  border-radius: 4px;
}

.pagination-link:hover,
.pagination-link:focus-visible {
  background-color: #68a2ca;
}

.pagination-link:active {
  color: rgba(255, 255, 255, 0.3)
}

.pagination-link.current {
  background-color: #f2f2f2;
  color: #000000;
}

.pagination-link.ellipsis {
  background-color: transparent;
  color: #000000;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 2
}

.modal-overlay-close {
  display: none;
}

.modal {
  position: relative;
  margin: auto;
  padding: 64px 70px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.modal-hotel-search {
  width: 717px;
}

.modal-title {
  text-transform: uppercase;
  font-size: 30px;
  line-height: 36px;
  margin: 0 0 64px 0;
}

.modal-close-button {
  position: absolute;
  padding: 0;
  top: 64px;
  right: 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #f2f2f2;
  border: none;
  cursor: pointer;
  transition: background-color 0.5s;
}

.modal-close-button::before,
.modal-close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: #000000;
}

.modal-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close-button:hover {
  background-color: #e6e6e6;
}

.modal-close-button:focus-visible {
  outline: 2px solid #000000;
}

.modal-close-button:active::before,
.modal-close-button:active::after {
  background-color: #a1a1a1;
}

.modal .field-group {
  display: flex;
  margin-bottom: 48px;
  align-items: center;
  justify-content: space-between;
}

.modal .input-wrapper {
  position: relative;
  flex-grow: 1;
}

.modal .field-label {
  width: 137px;
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
  color: #000000;
}

.modal .field {
  width: 100%;
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  color: #000000;
  font-family: "PT Sans", Arial, sans-serif;
  padding: 12px 40px 12px 20px;
  background-color: #f2f2f2;
  border-radius: 4px;
  border: none;
}

.modal .field:not([type="number"]):hover {
  background-color: #e6e6e6;
}

.field.date {
  background-image: url("../images/icons/calendar.svg");
  background-repeat: no-repeat;
  background-position: center right 19px;
}

.modal .message {
  margin: 0;
  position: absolute;
  top: 52px;
  left: 20px;
  font-size: 16px;
}

.message.error-text {
  color: #ff5757;
}

.guest-counter {
  display: flex;
  align-items: center;
}

.counter-controls {
  display: flex;
  width: 110px;
  height: 48px;
}

.counter-controls .field {
  -moz-appearance: textfield;
  padding: 0;
  text-align: center;
  width: 31px;
  border-radius: 0;
}

.counter-controls .field::-webkit-outer-spin-button,
.counter-controls .field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-controls button {
  border: none;
  padding: 0;
  width: 40px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
}

.counter-controls button::before,
.counter-controls button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: #cccccc;
  transform: translate(-50%, -50%);
  transition: background-color 0.5s;
}

.counter-controls .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.counter-controls button:hover::before,
.counter-controls button:hover::after {
  background-color: #000000;
}

.counter-controls button:active::before,
.counter-controls button:active::after {
  background-color: #cccccc;
}

.counter-controls .minus {
  border-radius: 4px 0 0 4px;
}

.counter-controls .plus {
  border-radius: 0 4px 4px 0;
}

.with-tooltip {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 131px;
}

.with-tooltip .field-label {
  width: auto;
}

.tooltip-container {
  position: relative;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.tooltip-icon {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  background: #83B3D3 url("../images/icons/info.svg") no-repeat center;
  border-radius: 50%;
  cursor: pointer;

}

.tooltip-text {
  display: none;
  width: 256px;
  background-color: #333333;
  color: #ffffff;
  padding: 21px 18px 23px 22px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 20px;
  position: absolute;
  margin: 0;
  left: 50%;
  transform: translate(-50%);
  top: 40px;
  transition: height 0.5s;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #333333 transparent;
}

.tooltip-icon:focus + .tooltip-text {
  display: block;
}

.modal .button {
  width: 100%;
  border-radius: 10px;
  padding: 12px 50px;
}
