button,
input,
textarea,
select {
  font: inherit;
  font-size: inherit;
}

.basic-section {
  height: auto;
  text-align: center;
  min-height: 85vh;
  padding-top: 0px;
  padding-bottom: 50px;
  padding-inline: 50px;
  background-color: #1E5F73;
  border-radius: 30px;
  /* margin-left: 20px; */
  /* margin-right: 20px; */
  justify-items: center;
  /* border: solid 2px yellow; */  
}

.basic-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: 20px;
  padding-right: 30px;
  color: #EADFC8;
  /* font-size: 18px; */
  text-align: left;
  /* border: solid 2px yellow; */  
}

.basic-content h1 {
  margin: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  /* border: solid 2px yellow; */
}

.basic-content h2 {
  margin: 0;
  padding-top: 30px;
  padding-bottom: 10px;
  font-weight: 400;
  /* border: solid 2px yellow; */
}

.basic-content h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  /* font-size: 25px; */
  color: #D6BE72;
  /* color: #EADFC8; */
  text-shadow: none;
  line-height: 1.6em;
  /* border: solid 2px yellow; */
}


.basic-content a {
  /* background: linear-gradient(90deg, #D6BE72 0%, #A98A3C 100%); */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  /* background-clip: text; */
  /* color: transparent; */
  color: #D6BE72;
  text-decoration: none;
}

.basic-content p {
  margin: 0;
  line-height: 1.6em;
}

.basic-card {
  height: auto;
  min-height: 30vh;
  width: 100%;
  padding: 20px;
  margin-top: 100px;
  padding-top: 30px;
  border-radius: 30px;
  background-color: #1E5F73;
  /* background-color: #1e5f73; */
  /* border: solid 2px yellow; */
}

#main-text {
  margin-top: 0;
}

.basic-label h2 {
  margin: 0;
  padding-left: 20px;
  padding-bottom: 20px;
  text-align: left;
  /* border: solid 2px yellow; */
}

.basic-label p {
  margin-top: 5px;
  padding-left: 20px;
  text-align: left;
  /* font-size: 18px; */
  /* border: solid 2px yellow; */
}

.basic-label a {
  color: #D6BE72;
  padding-left: 20px;
  text-align: left;
  text-decoration: none;
  margin-bottom: 0;
}

.basic-block {
  width: auto;  
  margin-top: 0;
  padding: 30px;
  background-color: #2F7F94;
  border-radius: 20px;
  color: #EADFC8;
  /* font-size: 18px; */
  text-align: center;  
  /* border: solid 2px yellow; */
}

#fit-height {
  height: fit-content;
}

.basic-block h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  /* font-size: 25px; */
  color: #EADFC8;
  text-shadow: none;
  /* border: solid 2px yellow; */
}

.basic-block p {
  margin: 0;
  margin-top: 10px;
  color: #EADFC8;
  text-align: left;
  line-height: 1.6em;
  /* border: solid 2px yellow; */
}

.basic-block a {
  display: inline-block;
  margin-top: 50px;
}

.basic-block strong {
  display: block;
  padding-top: 20px;
  text-align: left;
}

.basic-block ul {
  display: block;
  padding-top: 20px;
  text-align: left;
}

.basic-small-block {
  width: auto;  
  height: auto;
  margin-top: 0;
  padding: 30px;
  background-color: #2F7F94;
  border-radius: 20px;
  color: #EADFC8;
  font-size: 18px;
  text-align: left;  
  /* border: solid 2px yellow; */
}

.basic-small-block h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  /* font-size: 25px; */
  color: #EADFC8;
  text-shadow: none;
  /* border: solid 2px yellow; */
}

.basic-small-block p {
  margin: 0;
  margin-top: 10px;
  color: #EADFC8;
  text-align: left;
  line-height: 1.6em;
  /* border: solid 2px yellow; */
}

.basic-label-block {
  height: auto;  
  width: fit-content;  
  margin-top: 0;
  padding: 15px;
  padding-inline: 20px;
  background-color: #2F7F94;
  border-radius: 10px;
  color: #EADFC8;
  /* font-size: 18px; */
  text-align: left;  
  /* border: solid 2px yellow; */
}

.basic-label-block h2 {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  /* font-size: 25px; */
  color: #EADFC8;
  text-shadow: none;
  /* border: solid 2px yellow; */
}

.basic-label-block p {
  margin: 0;
}

.basic-label-block a {
  color: #D6BE72;
  text-align: left;
  text-decoration: none;
  margin-bottom: 0;
  /* padding-left: 20px; */
  /* padding-bottom: 0; */
}

.basic-label-block a:hover {
  text-decoration: underline;  
}

.basic-big-img {
  position: absolute;
  inset: 0;
  filter: brightness(0.6);
  /* border: solid 2px yellow; */
}

.basic-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.1);
}

.purchase-hero img {
  position: absolute;
  inset: 0;
  filter: brightness(0.6);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.basic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.6);
  /* border: solid 2px yellow; */
}

#serv-img a {
  display: block;
  position: relative;
}

#serv-img img {
  display: block;
  height: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  margin: 0px;
  padding: 0;
}

#serv-img:hover {
  filter: drop-shadow(-12px 0 20px rgba(0,0,0,.25))
          drop-shadow( 12px 0 20px rgba(0,0,0,.25))
          brightness(1.2);
  cursor: pointer;
}

.overflow-content {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  padding: 24px;
  color: white;
  text-align: center;
}

.overflow-content h2 {
  color: #EADFC8;
  /* font-family: 'PlayfairDisplay', sans-serif; */
  font-weight: 600;
  text-shadow: black;  
  /* font-size: 30px; */
}

.overflow-content p {
  /* font-size: 18px; */
  color: #EADFC8;
  text-shadow: black;  
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;   
  gap: 30px;
}

.grid-content-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;   
  gap: 30px;
  height: auto;
  min-width: 100%;
  padding: 20px;
  justify-content: left;
  /* border: solid 2px yellow; */
}

.grid-content-2-img {
  grid-row: 1 / -1;
}

.grid-content-2-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.8);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 30px;
}

.grid-content-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;   
  gap: 30px;
  height: auto;
  min-width: 100%;
  padding: 20px;
  justify-content: left;
  /* border: solid 2px yellow; */
}

.grid-content-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  gap: 30px;
  padding: 20px;
  height: auto;
  min-width: 100%;
  justify-content: left;
  /* border: solid 2px yellow; */
}

#accent {
  background-color: #71926c;  
}

#bad {
  background-color: rgb(206, 104, 104);  
}

#center-way h2 {
  text-align: center;
  padding: 50px 0px;
}

#sale-Berlin {
  background-color: #71926c;
  height: fit-content;
}

#purchase-property {
  height: fit-content;
}

#how-serv-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: repeat(5, auto);
}

#grid-text-img {
  display: grid;
  grid-template-columns: 1fr 300px;
  /* grid-template-rows: repeat(3, auto); */
}

#grid-img-text {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: repeat(3, auto);
}

#profit-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: repeat(4, auto);
}

#btn-more {
  background-color: transparent; 
  padding-inline: 0;
}

#btn-more a {
  text-align: left;
  text-decoration: none;
}

#when-work {
  display: grid;
  grid-template-columns: 1fr 2fr;  
}

#princip {
  display: grid;
  grid-template-columns: 2fr 1fr;  
}

#make-slogan-below {
  margin-top: 130px;
}

/* #make-dark h2 {
  background-color: rgba(0, 0, 0, 0.507);
} */

#aboutme-text {
  text-align: left;
  background-color: transparent;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;  
  padding-bottom: 0;
}

#super-min {
  min-height: 5vh;
}

#super-min .basic-block {
  margin-inline: 20px;
}

#faq-align {
  width: auto;
  /* margin: 20px */
}


/* FAQ стиль */

.back-button {
  position: fixed;
  top: 170px;
  left: 50px;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;

  font-size: 26px;
  font-weight: bold;
  backdrop-filter: blur(6px);
}

.back-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

summary::marker {
  display: none;
}

.icon::before {
  content: "+";
}

details[open] .icon::before {
  content: "−";
}

@media (max-width: 1300px) {
  #make-slogan-below {
    margin-top: 70px;
  }

  .grid-content-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }
}


@media (max-width: 1100px) {
  #princip, #when-work {
    display: grid;
    grid-template-columns: 1fr;  
  }

  #how-work-alex img, #purchase-img img, #sale-img img {
    height: 700px;
    object-fit: cover;
    object-position: top;
  }
}


@media (max-width: 1000px) {
  #how-serv-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .grid-content-2 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  #profit-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid-content-2-img img {
    width: 500px;
  }

  #aboutme-text {
    padding-inline: 0;
  }

  .grid-content-3 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }
}


@media (max-width: 800px) {
  .basic-section {
    padding: 20px;
    padding-bottom: 30px;
  }

  .grid-content-4 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

}

@media (max-width: 600px) {
  .basic-section {
    padding: 10px;
  }

  .grid-content-2-img img {
    width: 100%;
  }

  .basic-card {
    margin-top: 50px;
  }

  #how-work-alex img, #purchase-img img, #sale-img img {
    height: 600px;
  }
}

@media (max-width: 500px) {
  #how-work-alex img, #purchase-img img, #sale-img img {
    height: 500px;
  }

  .privacy-word, .faq-word {
    font-size: 30px;
  }

  .basic-block {
    padding-inline: 15px;
  }

  #super-min .basic-block {
    margin-inline: 0;
  }

  .grid-content-2, #profit-grid, #services-grid, #grid-text-img, #grid-img-text, #how-serv-grid {
    padding-inline: 0;
  }

  .basic-label h2, .basic-label p, .basic-label a {
    padding-left: 0;
  }

  .grid-content-3, .grid-content-4 {
    padding: 0;
  }
}  

@media (max-width: 350px) {
  .privacy-word {
    font-size: 27px;
  }
}  