@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
  box-sizing: border-box !important;
}

body {
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: #000;
}

.header a {
  color: #000;
}

.header a:hover {
  color: #000;
  background: #fef8cc;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.header {
  padding: 10px 16px;
  color: #f1f1f1;
  /* margin-right: 100px !important; */
  background: #fff;
  z-index: 999;
}

.sticky + .content {
  padding-top: 102px;
}

.main {
  background: #f4f4f4;
  min-height: 95vh;
}

a:hover {
  color: #000;
}

.main-heding {
  font-weight: 500;
  font-size: 64px;
  line-height: 77px;
  color: #535353;
}

.main-text {
  width: 648px;
  font-size: 18px;
  line-height: 24px;
  color: #535353;
  margin-bottom: 100px;
}

.main-img-wrappper {
  height: 100%;
}

.main-img {
  background: url('./assets/s0S7t8LwQcI-removebg-preview 1.png');
  width: 493px;
  height: 685px;
  background-position: bottom;
  background-repeat: no-repeat;
}

.wrapper-card-heading {
  margin: 0;
  width: 100%;
  text-align: center;
  margin-top: 75px;
  margin-bottom: 75px;
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #535353;
}

.card {
  display: flex;
  justify-content: center;
  flex-direction: columns;
  justify-content: flex-start;
  margin-bottom: 40px;
  max-width: 350px;
  padding: 46px 15px;
  background: #f4f4f4;
  border-radius: 10px;
  border: 0;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.05);
}

.description-pay {
  text-align: center;
  padding: 0;
  margin: 0;
}

.card:hover {
  transition-duration: 0.5s;
  background: #fff8d1;
}

.card-heading {
  font-size: 22px;
  line-height: 29px;
  text-align: center;
  color: #535353;
  margin-bottom: 42px;
  font-weight: 400;
}

.card-text {
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #535353;
}

.section-quote {
  background: #f4f4f4;
  height: 100px;
  width: 100%;
  margin-top: 75px;
}

.wrapper-quote-text {
  font-size: 18px;
  line-height: 29px;
  color: #535353;
  margin: 0;
}

.block-heading {
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #535353;
  margin-top: 55px;
  margin-bottom: 75px;
}

.card-education {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 270px;
  padding: 25px 15px 35px 15px;
  background: #f4f4f4;
  border-radius: 10px;
}

.education-info {
  margin-top: 27px;
  margin-bottom: 34px;
}

.education-card-btn {
  display: flex;
  justify-content: center;
  width: 160px;
  height: 40px;
  background: #000;
  background: #d1d1d1;
  border-radius: 10px;
  padding: 8px 22px;
}

.education-card-btn:hover {
  background: #fff8d1;
}

footer {
  margin-top: 75px;
  height: 463px;
  background: #f4f4f4;
  box-shadow: 0px 16px 16px rgba(0, 0, 0, 0.05);
}

.price {
  background: #f4f4f4;
  border-radius: 10px;
  /* border: 10px solid #d1d1d1; */
  box-shadow: 0 0 0 10px #d1d1d1;
  padding: 51px 43px 61px 43px;
}

.footer-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;

  color: #535353;
}

.price h2 {
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #535353;
}

.footer-quote {
  padding: 40px 43px;
  border-radius: 10px;
  /* border: 10px solid #d1d1d1; */
  box-shadow: 0 0 0 10px #d1d1d1;
  margin-left: 30px;
}

.footer-contacts {
  padding: 34px 43px;
  border-radius: 10px;
  /* border: 10px solid #d1d1d1; */
  box-shadow: 0 0 0 10px #d1d1d1;
  margin-left: 30px;
  margin-top: 30px;
}
.desktop-viewport {
  display: flex;
}

.footer-social {
  display: flex;
}

.footer-social img {
  margin-left: 39px;
}

.slideshow-container {
  position: relative;
  background: #f1f1f1f1;
}

.mySlides {
  display: none;
  padding: 55px 80px 80px;
  text-align: center;
  background: #fff;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.dot-container {
  text-align: center;
  padding: 20px;
  background: #fff;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #fff8d1;
}

q {
  font-style: italic;
}

.author {
  color: cornflowerblue;
}

.slider {
  margin-top: 50px;
}

/* media queries*/

/* iPhone 4 ----------- */
@media only screen and (min-width: 320px) and (max-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
  .main-text {
    width: auto;
  }
}
@media only screen and (min-width: 320px) and (max-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .header {
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .main-img {
    display: none;
  }
  .main-text {
    width: auto;
  }
  .mobile-footer {
    display: block;
    align-items: center;
  }
  .footer-quote {
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .footer-contacts {
    flex-direction: column;
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .price {
    background: #fff;
  }
  #section-contacts {
    background: #fff;
  }
  .footer-contacts {
    margin-bottom: 20px;
  }
  .footer-social {
    display: flex;
    justify-content: center;
  }
  .footer-social:first-child {
    margin-left: 0px !important;
  }
}

/* iPhone 5 ----------- */
@media only screen and (min-width: 320px) and (max-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
}
@media only screen and (min-width: 320px) and (max-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
}

/* iPhone 6 ----------- */
@media only screen and (min-width: 375px) and (max-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
}
@media only screen and (min-width: 375px) and (max-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
  .header {
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .main-img {
    display: none;
  }
  .main-text {
    width: auto;
  }
  .mobile-footer {
    display: block;
    align-items: center;
  }
  .footer-quote {
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .footer-contacts {
    flex-direction: column;
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .price {
    background: #fff;
  }
  #section-contacts {
    background: #fff;
  }
  .footer-contacts {
    margin-bottom: 20px;
  }
  .footer-social {
    display: flex;
    justify-content: center;
  }
  .footer-social:first-child {
    margin-left: 0px !important;
  }
}

/* iPhone 6+ ----------- */
@media only screen and (min-width: 414px) and (max-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
  .header {
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .main-img {
    display: none;
  }
  .main-text {
    width: auto;
  }
  .mobile-footer {
    display: block;
    align-items: center;
  }
  .footer-quote {
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .footer-contacts {
    flex-direction: column;
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .price {
    background: #fff;
  }
  #section-contacts {
    background: #fff;
  }
  .footer-contacts {
    margin-bottom: 20px;
  }
  .footer-social {
    display: flex;
    justify-content: center;
  }
  .footer-social:first-child {
    margin-left: 0px !important;
  }
}
@media only screen and (min-width: 414px) and (max-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
  .header {
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .main-img {
    display: none;
  }
  .main-text {
    width: auto;
  }
  .mobile-footer {
    display: block;
    align-items: center;
  }
  .footer-quote {
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .footer-contacts {
    flex-direction: column;
    margin-left: 0;
    margin-top: 30px;
    background: #fff;
  }
  .price {
    background: #fff;
  }
  #section-contacts {
    background: #fff;
  }
  .footer-contacts {
    margin-bottom: 20px;
  }
  .footer-social {
    display: flex;
    justify-content: center;
  }
  .footer-social:first-child {
    margin-left: 0px !important;
  }
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-width: 320px) and (max-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
}
@media only screen and (min-width: 320px) and (max-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  .main-img {
    display: none;
  }
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-width: 320px) and (max-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  .main-img {
    display: none;
  }
}
@media only screen and (min-width: 320px) and (max-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  .main-img {
    display: none;
  }
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-width: 360px) and (max-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  .main-img {
    display: none;
  }
}
@media only screen and (min-width: 360px) and (max-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* стили */
}
@media only screen and (min-width: 390px) and (min-height: 844px) {
  .header {
    display: flex;
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .nav-link {
    padding: 0.5rem 0.2rem;
  }
}
