/* Mobile First CSS - Base styles for mobile devices */

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background: #0e1823;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 40px 0;
}

.container {
  padding: 0 20px;
  margin: 0 auto;
}

.logo {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  align-items: center;
}

.header-page {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #fbfbfb;
  border: 1px solid #fbfbfb;
  border-radius: 12px;
  width: calc(100% - 32px);
  max-width: 375px;
  padding: 12px 20px;
}
.header-page .container {
  max-width: 335px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.header-nav {
  gap: 12px;
  flex: 1;
}
.header-logo {
  color: #1b414b;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.nav-list.header,
.social-list.header {
  display: none;
}

.nav-list-link {
  display: block;
  background-color: rgba(27, 65, 75, 0.5);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 400;
  font-size: 8px;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  color: #fbfbfb;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-list-link:hover,
.nav-list-link:focus {
  background-color: #1b414b;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.social-icon {
  fill: #1b414b;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 16px;
  height: 16px;
}
.social-icon:hover,
.social-icon:focus {
  fill: #062730;
}

.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.icon-burger {
  stroke-width: 2.5px;
  stroke: #1b414b;
  transition: stroke 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-btn:hover .icon-burger,
.burger-btn:focus .icon-burger {
  stroke: #062730;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e1823;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 40px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* TOP */
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #fbfbfb;
  border-radius: 8px;
  padding: 12px 20px;
  background: #fbfbfb;
}

.mobile-logo {
  color: #1b414b;
}

.mobile-close-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  fill: #055545;
  cursor: pointer;
}

/* CENTER BUTTONS */
.mobile-menu-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.mobile-menu-link {
  border-radius: 8px;
  width: 91px;
  padding: 15px 25px 15px 24px;
  background-color: #1b414b;
  font-weight: 400;
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
  color: #fbfbfb;
  text-transform: uppercase;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  background-color: rgba(27, 65, 75, 0.5);
  color: #fbfbfb;
}

/* BOTTOM SOCIAL */
.mobile-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mobile-social .social-icon {
  fill: #fff;
  text-decoration: none;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-social .social-icon:hover,
.mobile-social .social-icon:focus {
  fill: rgba(251, 251, 251, 0.8);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1280px) {
  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1440px) {
  .mobile-menu {
    display: none;
  }
}

/* Main */

.main-section {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 230px;
  background: url(../images/first-screen-yacht-mob.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-width: 100%;
}

@media (min-resolution: 192dpi) {
  .main-section {
    background-image: url("../images/first-screen-yacht@2x-mob.png");
  }
}
.main-section.container {
  max-width: 100%;
  padding: 0 20px;
}
.main-title {
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  max-width: 100%;
  padding-bottom: 24px;
}

.main-descr {
  margin: 0 auto;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: rgba(251, 251, 251, 0.7);
  max-width: 100%;
  padding-bottom: 38px;
}

.main-btn {
  /* display: block; */
  border-radius: 15px;
  padding: 14px 32px;
  width: auto;
  min-width: 160px;
  background-color: #1b414b;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin: 0 auto;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.main-btn:hover,
.main-btn:focus {
  background-color: #fbfbfb;
  color: #1b414b;
}

/* YachtJet Fleet section */

.yachtjet-section {
  max-width: 335px;
  background: #fbfbfb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 24px;
  margin-top: 211px;
  margin-bottom: 40px;
}

.yachtjet-info {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
}

.yachtjet-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1b414b;
  max-width: 100%;
}

.yachtjet-about {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jachtjet-paragraph-title {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1b414b;
  margin-bottom: 16px;
}

.jachtjet-paragraph-descr {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #040306;
  opacity: 0.4;
}

.yachtjet-img {
  display: block;
  object-fit: cover;
  border-radius: 13px;
  width: 335px;
  height: 395px;
}

/* Choose your dream yacht section */

.dreamyacht-container {
  text-align: center;
}

.dreamyacht-main-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 32px;
}

.dreamyacht-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.dreamyacht-item img {
  margin-bottom: 24px;
}

.dreamyacht-item {
  width: 100%;
  border-radius: 16px;
  background: #fbfbfb;
  padding: 16px;
}

.dreamyacht-item:nth-child(2) {
  display: none;
}

.dreamyacht-item:nth-child(3) {
  display: none;
}

.dreamyacht-clasification {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 16px;
  margin-bottom: 16px;
}

.dreamyacht-clasification::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  height: 1px;
  background-color: rgba(4, 3, 6, 0.1);
}
.dreamyacht-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #1b414b;
}

.dreamyacht-type {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #040306;
  opacity: 0.4;
}

.dreamyacht-details-list {
  padding: 0 16px 24px;
  margin: 0;
}

.dreamyacht-details-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.dreamyacht-details-list li p:first-child {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.4;
  color: #040306;
}

.dreamyacht-details-list li p:last-child {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.18;
  letter-spacing: 0.03em;
  color: #040306;
}

.dreamyacht-btn {
  display: inline-block;
  background-color: #0e1823;
  border: 1px solid rgba(251, 251, 251, 0.35);
  border-radius: 15px;
  padding: 14px 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dreamyacht-btn:hover,
.dreamyacht-btn:focus {
  background-color: #fbfbfb;
  color: #1b414b;
}

/* Activities section */

.container .activities-container {
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  gap: 24px;
  padding: 0;
}

.activities-list {
  list-style: none;
  counter-reset: activity-counter;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 32px;
  padding: 40px 20px;
  border-radius: 24px;
  margin: 0;
  background-color: #1b414b;
}

.activities-list-item {
  position: relative;
  width: 100%;
  padding-top: 50px;
}

.activities-list-item::before {
  content: counter(activity-counter, decimal-leading-zero);
  counter-increment: activity-counter;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fbfbfb;
}

.activities-list-item::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(251, 251, 251, 0.1);
}

.activities-list-descr {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  opacity: 0.8;
  max-width: 100%;
}

.activities-container img {
  border-radius: 24px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  display: block;
  margin-top: 20px;
}

/* Rentyacht section */

.container.rentyacht-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  gap: 24px;
}

.rentyacht-container picture {
  border-radius: 24px;
  height: 412px;
  object-fit: cover;
  display: block;
  order: 1;
}

.rentyacht-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 40px;
}

.rentyacht-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.input-form {
  border: none;
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  height: 48px;
  background-color: transparent;
  outline: transparent;
  color: #fbfbfb;
}

.input-form:focus,
.input-form:focus-visible {
  outline: none;
  border-color: rgba(251, 251, 251, 0.5);
}

.input-form::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: rgba(251, 251, 251, 0.4);
}

.textarea-form {
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  height: 100px;
  background-color: transparent;
  outline: transparent;
  color: #fbfbfb;
  resize: none;
  margin-bottom: 16px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.textarea-form:focus,
.textareaform:focus-visible {
  outline: none;
  border-color: rgba(251, 251, 251, 0.5);
}

.textarea-form::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: rgba(251, 251, 251, 0.4);
}

.form-btn {
  display: inline-block;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  min-width: 160px;
  border-radius: 15px;
  padding: 16px 40px;
  background-color: #1b414b;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 80px;
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-btn:hover,
.form-btn:focus {
  background-color: #fbfbfb;
  color: #1b414b;
}

/* Team section */

.team-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  margin: 0 auto;
  max-width: 100%;
  margin-bottom: 16px;
}

.team-descr {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  opacity: 0.4;
  margin: 0 auto;
  max-width: 100%;
  margin-bottom: 32px;
}

.team-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-list-item {
  width: 100%;
  max-width: 360px;
  background: #fbfbfb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-list-item:nth-child(2) {
  display: none;
}

.team-list-item:nth-child(3) {
  display: none;
}

.team-list-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.team-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #040306;
  margin-bottom: 8px;
}

.team-info {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(4, 3, 6, 0.4);
  width: 100%;
  max-width: 290px;
}

.footer-container {
  background-color: #1b414b;
  border-radius: 16px 16px 0 0;
  padding: 40px 20px 20px 20px;
  max-width: 355px;
}

.footer-link {
  background: rgba(251, 251, 251, 0.3);
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-link:hover,
.footer-link:focus {
  background-color: #fbfbfb;
  color: #1b414b;
}

.footer-icon:hover,
.foter-icon:focus {
  fill: #fbfbfb;
}

.footer-logo {
  color: #fbfbfb;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.footer-nav .nav-list {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-left: auto;
}

.footer-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 24px 0;
  margin: 0 auto;
  width: 100%;
}

.footer-link {
  background-color: rgba(251, 251, 251, 0.3);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 400;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  color: #fbfbfb;
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover,
.footer-link:focus {
  background-color: #fbfbfb;
  color: #1b414b;
}

.footer-icon {
  fill: #fbfbfb;
  width: 24px;
  height: 24px;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-icon:hover,
.footer-icon:focus {
  fill: rgba(251, 251, 251, 0.7);
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  width: 279px;
  margin-bottom: 82px;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-brand-item {
  margin: 0;
}

.footer-brand-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-align: left;
  color: rgba(251, 251, 251, 0.4);
  margin: 0;
}

.footer-brand-item:last-child .footer-brand-text {
  text-align: right;
  margin-left: auto;
}

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
  .section {
    padding: 75px 0;
  }

  .container {
    max-width: 736px;
  }

  /* Header */

  .header-page .container {
    max-width: 704px;
    padding: 0;
  }

  .header-page {
    top: 24px;
    max-width: 768px;
    padding: 4px 28px;
  }

  .nav-list.header {
    display: flex;
    gap: 4px;
    margin: 0 auto;
  }
  .logo {
    font-size: 18px;
    margin: 0;
  }
  .nav-list-link:hover,
  .nav-list-link:focus {
    background: #1b414b;
  }
  .social-list.header {
    display: flex;
    gap: 8px;
  }

  .nav-list-link {
    padding: 12px 20px;
    font-size: 9px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

  .burger-btn {
    display: none;
  }

  /* Main */

  .main-section {
    background: url(../images/first-screen-yacht.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  @media (min-resolution: 192dpi) {
    .main-section {
      background-image: url("../images/first-screen-yacht@2x-tab.png");
    }
  }

  .main-title {
    font-size: 70px;
    line-height: 1;
    max-width: 665px;
    padding-bottom: 24px;
  }

  .main-descr {
    font-size: 16px;
    line-height: 1.4;
    max-width: 576px;
    padding-bottom: 48px;
  }

  .main-btn {
    padding: 15px 36px;
    font-size: 17px;
  }

  /* YachtJet Fleet section */

  .yachtjet-section {
    max-width: 704px;
    border-radius: 20px;
  }

  .yachtjet-info {
    padding: 40px;
  }

  .yachtjet-title {
    font-size: 48px;
    line-height: 1;
    width: 536px;
    padding-bottom: 50px;
  }

  .jachtjet-paragraph-title {
    font-size: 23px;
    line-height: 1.15;
    width: 389px;
  }

  .jachtjet-paragraph-descr {
    font-size: 13px;
    width: 385px;
  }

  .yachtjet-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
  }

  /* Choose your dream yacht section */

  .dreamyacht-main-title {
    font-size: 48px;
    line-height: 1;
    max-width: 616px;
    margin-bottom: 50px;
  }

  .dreamyacht-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .dreamyacht-item {
    width: calc((100% - 24px) / 2);
    border-radius: 20px;
  }

  .dreamyacht-clasification::after {
    width: 271px;
  }

  .dreamyacht-title {
    font-size: 15px;
  }

  .dreamyacht-type {
    font-size: 13px;
  }

  .dreamyacht-details-list li p:first-child,
  .dreamyacht-details-list li p:last-child {
    font-size: 13px;
  }
  .dreamyacht-item:nth-child(2) {
    display: block;
  }

  .dreamyacht-item:nth-child(3) {
    display: none;
  }
  .dreamyacht-btn {
    padding: 15px 36px;
    font-size: 17px;
  }

  /* Activities section */

  .container .activities-container {
    flex-direction: row;
    border-radius: 20px;
  }

  .activities-list {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 32px;
    padding: 60px 40px;
  }

  .activities-list-item {
    width: calc((100% - 24px) / 2);
    padding-top: 60px;
  }

  .activities-list-item::before {
    font-size: 28px;
  }

  .activities-list-item::after {
    top: 44px;
  }

  .activities-list-descr {
    font-size: 13px;
    max-width: 250px;
  }

  .activities-container img {
    width: 100%;
    height: 424px;
  }

  /* Rentyacht section */

  .container.rentyacht-container {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
  }

  .rentyacht-container picture {
    max-width: 704px;
    height: 534px;
    order: 1;
  }

  .rentyacht-title {
    font-size: 40px;
    margin-bottom: 50px;
    align-items: center;
    line-height: 1;
  }

  .rentyacht-form {
    width: 472px;
    max-width: 400px;
    gap: 18px;
    padding: 0;
  }

  .input-form {
    padding: 18px;
    height: 54px;
  }

  .textarea-form {
    height: 110px;
    margin-bottom: 32px;
  }

  .form-btn {
    width: 194px;
    padding: 17px 60px;
    font-size: 17px;
  }

  /* Team section */

  .team-title {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 25px;
  }

  .team-descr {
    font-size: 14px;
    width: 571px;
    margin-bottom: 75px;
  }

  .team-list {
    flex-direction: row;
  }

  .team-list-item {
    border-radius: 20px;
    padding: 28px;
  }

  .team-list-item:nth-child(2) {
    display: flex;
  }
  .team-list-item:nth-child(3) {
    display: none;
  }
  .team-name {
    font-size: 17px;
  }

  .team-info {
    font-size: 15px;
    line-height: 1.29;
  }

  /* Footer */

  .footer-container {
    padding: 50px 48px 20px 48px;
    border-radius: 20px 20px 0 0;
    width: 768px;
  }

  .footer-list {
    justify-content: flex-end;
  }

  .footer-logo {
    font-size: 20px;
  }
  .footer-contacts {
    flex-direction: row;
    margin-bottom: 60px;
    gap: 0;
  }

  .footer-nav {
    gap: 110px;
  }

  .footer-text {
    font-size: 32px;
    margin-bottom: 99px;
    width: 640px;
  }

  .footer-brand {
    flex-direction: row;
    gap: 24px;
  }

  .footer-brand-text {
    font-size: 13px;
  }

  .footer-link:hover,
  .footer-link:focus {
    background: #fbfbfb;
    color: #1b414b;
  }
  .footer-icon {
    fill: #fbfbfb;
    stroke-width: 1px;
    stroke: #000;
  }

  .footer-icon:hover,
  .foter-icon:focus {
    fill: rgba(251, 251, 251, 0.8);
  }
}

/* Desktop 1280 (min-width: 1280px) */
@media (min-width: 1280px) {
  .container {
    max-width: 1180px;
    padding: 0 15px;
  }

  /* Header */

  .logo {
    font-size: 20px;
  }

  .header-page {
    top: 32px;
    max-width: 1080px;
    padding: 4px 30px;
  }

  .header-page .container {
    max-width: 1080px;
  }

  .nav-list-link {
    padding: 15px 25px 15px 24px;
    font-size: 9px;
  }

  /* Main */

  .main-section {
    padding-bottom: 180px;
    max-width: 1180px;
    min-height: auto;
    background-image: url(../images/first-screen-yacht-desc1280.png);
  }

  @media (min-resolution: 192dpi) {
    .main-section {
      background-image: url("../images/first-screen-yacht@2x-desc1280.png");
    }
  }
  .main-section.container {
    max-width: 1001px;
  }

  .main-title {
    font-size: 80px;
    max-width: 1001px;
    margin: 0 auto;
    padding-bottom: 24px;
  }

  .main-descr {
    max-width: 597px;
  }

  .main-btn {
    padding: 16px 40px;
    width: 179px;
    font-size: 18px;
  }

  /* YachtJet Fleet section */

  .yachtjet-section {
    max-width: 1180px;
    border-radius: 24px;
    flex-direction: column;
    margin: 0 auto;
    gap: 0;
  }

  .yachtjet-info {
    display: flex;
    flex-direction: row;
    gap: 189px;
    padding: 50px;
  }

  .yachtjet-title {
    font-size: 48px;
    width: 537px;
  }

  .yachtjet-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .jachtjet-paragraph-title {
    line-height: 1;
  }

  .jachtjet-paragraph-descr {
    line-height: 1.15;
  }

  .yachtjet-img {
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    margin-top: 50px;
  }

  /* Choose your dream yacht section */

  .container.dreamyacht-container {
    max-width: 1180px;
  }
  .dreamyacht-main-title {
    margin-top: 77px;
    max-width: 714px;
    margin-bottom: 75px;
  }

  .dreamyacht-list {
    justify-content: center;
    gap: 32px;
    margin-bottom: 50px;
    justify-content: center;
  }
  .dreamyacht-item:nth-child(3) {
    display: block;
  }
  .dreamyacht-item {
    width: calc((100% - 32px * 2) / 3);
    border-radius: 24px;
  }

  .dreamyacht-item img {
    margin-bottom: 32px;
  }

  .dreamyacht-clasification::after {
    width: 297px;
  }

  .dreamyacht-title {
    font-size: 16px;
  }

  .dreamyacht-details-list li p:first-child,
  .dreamyacht-details-list li p:last-child {
    font-size: 14px;
  }

  .dreamyacht-btn {
    padding: 16px 40px;
    font-size: 18px;
  }

  /* Activities section */

  .container.activities-container {
    max-width: 1180px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 24px;
    overflow: hidden;
    gap: 32px;
    margin: 0 auto;
  }

  .activities-list {
    list-style: none;
    counter-reset: activity-counter;
    column-gap: 32px;
    row-gap: 44px;
    padding: 90px 50px;
  }

  .activities-list-item {
    width: calc((100% - 44px) / 2);
    padding-top: 70px;
  }

  .activities-list-item::before {
    font-size: 32px;
  }

  .activities-list-item::after {
    top: 50px;
  }

  .activities-list-descr {
    max-width: 292px;
  }

  .activities-container img {
    margin: 0;
  }

  /* Rentyacht section */

  .container.rentyacht-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    gap: 40px;
    margin: 0 auto;
  }

  .rentyacht-container picture {
    width: 658px;
    order: 0;
    border-radius: 24px;
  }

  .rentyacht-form {
    width: 472px;
  }

  .rentyacht-title {
    font-size: 48px;
    margin: 0 0 24px 0;
  }

  .form-btn {
    padding: 18px 75px;
    width: 194px;
    font-size: 18px;
    margin: 0;
  }

  /* Team section */

  .container.team-section-container {
    width: 1180px;
  }

  .team-title {
    max-width: 754px;
  }

  .team-descr {
    max-width: 521px;
  }

  .team-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    justify-content: center;
  }

  .team-list-item {
    width: calc((100% - 32px * 2) / 3);
    max-width: 360px;
    border-radius: 24px;
    padding: 32px 36px;
  }

  .team-list-item:nth-child(3) {
    display: flex;
  }

  .team-list-item img {
    margin-bottom: 24px;
  }

  .team-name {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .team-info {
    font-size: 16px;
    width: 290px;
  }

  /* Footer */

  .container.footer-container {
    width: 1390px;
    padding: 50px 75px 20px 75px;
    border-radius: 24px 24px 0 0;
  }

  .footer-contacts {
    margin-bottom: 96px;
  }

  .footer-nav {
    gap: 330px;
    margin-right: 311px;
  }

  .footer-text {
    width: 699px;
  }

  .footer-brand {
    gap: 32px;
  }

  .footer-brand-text {
    font-size: 14px;
  }
}

/* Desktop 1440 (min-width: 1440px) */

@media (min-width: 1440px) {
  .header-page {
    max-width: 1240px;
  }

  .header-page .container {
    max-width: 1240px;
  }
  .main-section {
    max-width: 1340px;
    background-image: url(../images/first-screen-yacht.png);
  }

  @media (min-resolution: 192dpi) {
    .main-section {
      background-image: url("../images/first-screen-yacht@2x.png");
    }
  }

  .yachtjet-section {
    max-width: 1340px;
  }
  .yachtjet-info {
    gap: 299px;
  }

  .container.dreamyacht-container {
    max-width: 1240px;
  }
  .dreamyacht-clasification::after {
    width: 316px;
  }

  .container.activities-container {
    max-width: 1340px;
    margin: 0 auto;
  }
  .activities-container img {
    height: auto;
  }

  .container.rentyacht-container {
    max-width: 1340px;
    margin: 0 auto;
  }
  .rentyacht-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .rentyacht-container img {
    width: 768px;
    height: auto;
    border-radius: 24px;
  }

  .rentyacht-form {
    flex: 1 1 40%;
    max-width: 540px;
  }

  .container.footer-container {
    max-width: 1390px;
  }
  .footer-nav {
    gap: 409px;
    margin-right: 388px;
  }
}
