html {
  font-family: "Montserrat", sans-serif;
  background-color: #1e1e1e;
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
ul,
ol {
  padding: 0;
  margin: 0;
}

.main-page {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #5a5a5a;
  background-image: url("/img/lines.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.title-holder {
  padding-left: 80px;
  width: 65%;
  padding-right: 20px;
}

.title {
  font-size: 100px;
  color: #fbd804;
  font-weight: 900;
  text-shadow: #1e1e1e;
}

.main-page-photo {
  width: 400px;
}

.photo-holder {
  padding: 100px 120px 100px 120px;
  justify-content: center;
}

.header {
  background-color: #1e1e1e;
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav {
  font-size: 24px;
}

.nav-link {
  text-decoration: none;
  color: #f9f9f9;
  margin-right: 20px;
  transition: 0.7s;
}

.nav-link:hover {
  color: #fbd804;
}

.logo {
  width: 100px;
}

.logo-holder {
  padding: 20px 40px 20px 80px;
}

.course-description {
  color: #f9f9f9;
  font-weight: 400;
  font-size: 30px;
  width: 630px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.section-name {
  text-align: center;
  font-size: 50px;
  font-weight: 800;
  color: #fbd804;
  padding-top: 20px;
  padding-bottom: 20px;
}

.lesson-record {
  width: 600px;
  height: 350px;
  border: 4px solid #f9f9f9;
}

.lesson-description {
  color: #f9f9f9;
  font-weight: 200;
  font-size: 25px;
  width: 500px;
  padding-left: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.description-holder {
  margin-right: 40px;
}

.lesson-name {
  font-size: 35px;
  color: #f9f9f9;
  padding-top: 30px;
  padding-bottom: 30px;
}

.lesson {
  padding-left: 80px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.video {
  margin-bottom: 60px;
}

.line {
  background-color: #FFE234;
  min-height: 2px;
  width: 100%;
}

.practice-section {
  background-color: #192C3E;
}

.lesson-name {
  padding-left: 80px;
}

ul {
  padding-left: 100px;
  color: #6de9ff;
  font-weight: 200;
  font-size: 25px;
}

li {
  color: #6de9ff;
}

.last-page {
  background-image: linear-gradient(#57A8E3, #a1a1a1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15%;
  padding-bottom: 15%;
}

.last-text-container {
  text-align: center;
  font-size: 40px;
  color: #fff;
}

.spaned-text {
  color: #FFE234;
}

.end-button {
  padding: 30px 30px 30px 30px;
  text-align: center;
  color: #FFE234;
  background-color: #1e1e1e;
  border-radius: 40px;
  font-size: 30px;
  border-top: #f9f9f9;
  border-left: #f9f9f9;
  border-right: #f9f9f9;
  border-bottom: #f9f9f9;
  transition: 0.7s;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-top: 40px;
}

.end-button:hover {
  background-color: #FFE234;
  color: #1e1e1e;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1E1E1E;
}

.footer-text {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

.footer-link {
    color: #fff;
}

/* АДАПТИВ */
@media screen and (max-width: 860px) {
  .main-page {
    flex-direction: column-reverse;
    background-color: #5a5a5a;
    background-image: none;
    justify-content: center;
    align-items: center;
  }

  .title-holder {
    padding-left: 0px;
    width: 100%;
    padding-right: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .title {
    font-size: 50px;
    color: #fbd804;
    font-weight: 900;
    text-shadow: #1e1e1e;
  }

  .main-page-photo {
    width: 250px;
  }

  .photo-holder {
    padding: 40px 20px 0px 20px;
    justify-content: center;
  }

  .header {
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav {
    font-size: 16px;
    display: flex;
    flex-direction: column;
  }

  .nav-link {
    text-decoration: none;
    color: #f9f9f9;
    margin-right: 0px;
    transition: 0.7s;
    margin-bottom: 20px;
  }

  .nav-link:hover {
    color: #fbd804;
  }

  .logo {
    width: 0px;
  }

  .logo-holder {
    padding: 0px 0px 0px 0px;
  }

  .course-description {
    color: #f9f9f9;
    font-weight: 200;
    font-size: 16px;
    width: 350px;
    padding-top: 10px;
    padding-bottom: 50px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
  }

  .section-name {
    text-align: center;
    font-size: 35px;
    font-weight: 800;
    color: #fbd804;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .lesson-record {
    width: 350px;
    height: 205px;
    border: 2px solid #f9f9f9;
  }

  .lesson-description {
    color: #f9f9f9;
    font-weight: 200;
    font-size: 14px;
    width: 350px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }

  .description-holder {
    margin-right: 20px;
    margin-left: 20px;
    padding-bottom: 20px;
  }

  .lesson-name {
    font-size: 25px;
    color: #f9f9f9;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 25px;
    padding-left: 25px;
    text-align: center;
  }

  .lesson {
    padding-left: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video {
    margin-bottom: 20px;
  }

  .line {
    background-color: #FFE234;
    min-height: 2px;
    width: 100%;
  }

  .practice-section {
    background-color: #192C3E;
  }

  .lesson-name {
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
  }

  ul {
    padding-left: 20px;
    color: #f9f9f9;
    font-weight: 200;
    font-size: 14px;
    list-style-type: none;
    text-align: center;
  }

  li {
    padding-left: 0px;
    margin-left: 0px;
    padding-top: 10px;
  }

  .last-page {
    background-image: linear-gradient(#57A8E3, #a1a1a1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30%;
    padding-bottom: 30%;
  }

  .last-text-container {
    text-align: center;
    font-size: 25px;
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
  }

  .spaned-text {
    color: #FFE234;
  }

  .end-button {
    padding: 25px 25px 25px 25px;
    text-align: center;
    color: #FFE234;
    background-color: #1e1e1e;
    border-radius: 40px;
    font-size: 18px;
    border-top: #f9f9f9;
    border-left: #f9f9f9;
    border-right: #f9f9f9;
    border-bottom: #f9f9f9;
    transition: 0.7s;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    margin-top: 40px;
  }

  .end-button:hover {
    background-color: #FFE234;
    color: #1e1e1e;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
  }

  .footer {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #1E1E1E;
  }

  .footer-text {
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
      color: #fff;
      font-size: 14px;
  }

  .footer-link {
      color: #fff;
  }

}