:root {
    --text-main-color: #2C2C2C;;
    --text-accent-color: #BBF330;
    --text-accenr-dark-color: #7EB101;
    --text-grey-color: #505050;

    --bg-white: #FFFFFF;
    --bg-yellow: #FFE550;

    --btn-bg-yell: #FFE450;;
    --btn-bg-grn: #BBF330;;

    --brd-btn-bg-grn: #7EB101;
    --brd-btn-bg-yell: #FFE450;

}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--text-main-color);
    background-color: var(--bg-white);
}

/**
  |============================
  | Reset
  |============================
*/

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 0;
}

ul,
ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
  font-family: inherit;
  color: currentColor;
}

input {
  font-family: inherit;
}

.link {
    text-decoration: none;
    color: currentColor;
}

.list {
    list-style: none;
}

.btn {
    font-family: inherit;
    cursor: pointer;
}

/**
  |============================
  | Common style
  |============================
*/

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.logo {
  margin-top: 10px;
  margin-bottom: 10px;
}

.section-title {
  color: var(--text-main-color);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

/**
  |============================
  | Header
  |============================
*/

.header {
  box-shadow: 0px 4px 24px 0px rgba(105, 105, 105, 0.10);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {}

.logo-icon {}

.header-right {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header-nav {}

.header-list {
  display: flex;
  gap: 28px;
}

.header-item {}

.header-link {}

.header-link:hover,
.header-link:focus {
  color: var(--text-accent-color);
  font-weight: 700;
  text-decoration-line: underline;
}

.header-button {
  display: block;
  min-width: 98px;
  min-height: 32px;
  padding: 6px 18px;
  border-radius: 30px;
  background-color: var(--btn-bg-grn);
  border: none;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.header-button:hover,
.header-button:focus {
  background-color: var(--btn-bg-yell);
}

/**
  |============================
  | Main
  |============================
*/

.main {}

/**
  |============================
  | Hero section
  |============================
*/

.hero {
  padding: 30px 0;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-left {
  flex-shrink: 0;
  max-width: 516px;
}

.hero-title {
  margin-bottom: 28px;

  font-size: 48px;
  font-weight: 700;
}

.hero-text {
  font-size: 16px;
  line-height: 1.5;
}

.hero-button {
  display: block;
  width: 98px;
  min-height: 32px;
  padding: 6px 18px;
  margin-top: 47px;
  border-radius: 30px;
  background-color: var(--btn-bg-grn);
  border: none;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-button:hover,
.hero-button:focus {
  background-color: var(--btn-bg-yell);
}

.hero-right {
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  border: 14px solid var(--bg-yellow);
}

.img-left-icon {
  position: absolute;
  top: 50%;
  left: 0;
  border-radius: 8px;
  background-color: var(--bg-white);
  
    /* Arrow shadow */
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.06);
}

.img-right-icon {
  position: absolute;
  top: 50%;
  right: 0;
  position: absolute;
  border-radius: 8px;
  background-color: var(--bg-white);
  
    /* Arrow shadow */
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.06);
}

.hero-img {
  margin: 25px;
}

/**
  |============================
  | About section
  |============================
*/

.about-section {
  background-color: var(--bg-yellow);
  padding: 100px 15px;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-left {
  max-width: 550px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.50);
  flex-shrink: 0;
}

.about-img-apple {
  padding: 24px;
  /* 
  margin: 0 78px 48px 76px;   */
}
.about-right {
  max-width: 550px;
  flex-shrink: 0;
}

.about-title {}

.about-main-text {
  margin-bottom: 40px;

  font-size: 16px;
  line-height: 1.5;
}

.about-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-item {}

.about-circle {
  width: 48px;
  height: 48px;
  background-color: var(--bg-white);
  border-radius: 50%;
  margin-bottom: 16px;
  padding: 8px;
}

.about-icon {
}

.about-subtitle {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.about-text {
  margin-bottom: 58px;
  line-height: 1.5;
}

.about-button {
  display: block;
  min-width: 106px;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--brd-btn-bg-grn);
  background-color: var(--bg-white);

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
  
  .about-button:hover,
  .about-button:focus {
    padding: 10px 22px;
    background-color: var(--btn-bg-grn);
    border: none;
  }


/**
  |============================
  | Favorites section
  |============================
*/

.favorites-section {}

.favorite-container {}

.favorites-title {
text-align: center;
}

.favorites-text {
  text-align: center;
  font-size: 16px;
  margin-bottom: 36px;
}

.favorites-list {
  display: flex;
  gap: 32px 32px;
  flex-wrap: wrap;
  align-items: center;
}

.favorites-item {
  max-width: 394px;
  max-height: 397px;
  padding: 40px;
  
  border-radius: 50%;
  border: 16px solid var(--bg-yellow);
  background-color: var(--bg-white);
}

.favorites-img {
  border-radius: 50%;
  border-color: #d3d3d3;
}

/**
  |============================
  | Reviews
  |============================
*/

.reviews-section {
  background-color: var(--bg-yellow);
}

.reviews-container {}

.reviews-title {}

.reviews-main-text {
  font-size: 16px;
  margin-bottom: 32px;
}

.reviews-list {
  display: flex;
  gap: 140px;
  justify-content: space-between;
}

.reviews-item {
  border-radius: 0px 30px 30px 30px;
  background-color: var(--bg-white);
}

.reviews-icon {
  margin-top: 14px;
  margin-left: 14px;
}

/* .reviews-item::before {

  position: relative;
  position: absolute;
  content: "star";
  margin: 14px auto 28px 14px;
  
  bottom: 0;
  left: 0;

  display: block;
  width: 101px;
  height: 16px;
  border-radius: 2px;
  background-color: var(--text-hover-link-blue);
} */

.reviews-description {
  margin: 28px 14px 40px 14px;
  font-size: 18px;
  font-weight: 700;
}

.reviews-cust-card {
  
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  margin-left: 14px;
}
.reviews-cust-name {
  position: relative;
}

.reviews-cust-name::after {
  content: "";
  position: absolute;
  top: 0;
  right: -14px;
  display: block;

  width: 1px;
  height: 52px;

  background-color: var(--text-accenr-dark-color);
}

.reviews-photo {}

.reviews-subtitle {
  font-weight: 500;
  line-height: 1.5;
}

.reviews-text {
  line-height: 1.5;
}

/**
  |============================
  | Offers
  |============================
*/

.offers-section {
  padding: 90px 0;
  box-shadow: 0px 4px 24px 0px rgba(105, 105, 105, 0.10);
}

.offers-container {
  display: flex;
  align-items: center;
  gap: 46px;
}

.offers-left {}

.offers-title {
  margin-bottom: 30px;
}

.offers-text {
  font-size: 16px;
  line-height: 1.5;

  height: 68px;
}

.offers-active {
  display: flex;
  align-items: center;
  gap: 21px;

  margin-top: 34px;
}

.offers-form {
  height: 42px;
  padding: 12px 57px 12px 12px;
  align-items: center;

  border-radius: 30px;
  border: 1px solid var(--bg-yellow);
  background-color: var(--bg-white);
}

.offers-button {
  display: block;
  min-width: 103px;
  min-height: 42px;
  padding: 11px 22px;

  border-radius: 30px;
  background-color: var(--btn-bg-grn);
  border: none;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
  
  .offers-button:hover,
  .offers-button:focus {
    background-color: var(--btn-bg-yell);
  }

.offers-right {}

.offers-img {}

/**
  |============================
  | Footer
  |============================
*/

.footer {}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer-top:last-child {
  justify-content: end;
}

.footer-logo {}

.logo-icon {}

.footer-nav-list {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.footer-nav-item {}

.footer-nav-link {}

.footer-nav-link:hover,
.footer-nav-link:focus {
  color: var(--text-accent-color);
  font-weight: 700;
  text-decoration-line: underline;
}

.footer-input-div {}

.footer-input-text {
  font-weight: 500;
  line-height: 1.5;

  margin-bottom: 12px;
}

.footer-active {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-form {
  height: 42px;
  padding: 12px 62px 12px 12px;
  align-items: center;

  border-radius: 30px;
  border: 1px solid var(--bg-yellow);
  background: var(--bg-white);
}

.footer-button {
  display: block;
  min-width: 103px;
  min-height: 42px;
  padding: 10px 21px;
  
  border-radius: 30px;
  border: 1px solid var(--brd-btn-bg-grn);
  background-color: var(--bg-white);
  
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
  
.footer-button:hover,
.footer-button:focus {
  padding: 9px 20px;
  border: 2px solid var(--btn-bg-yell);
}

.footer-privacy-text {
  font-size: 12px;
}

.footer-privacy-link {
  text-decoration: underline;
  color: var(--text-accenr-dark-color);
}

.footer-down {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-rules-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer-rules-item {}

.footer-rules-link {

  text-decoration: underline;
  color: var(--text-accenr-dark-color);
  font-size: 12px;
}

.footer-rules-text {
  font-size: 12px;
}