@font-face {
  font-family: Arial, Helvetica, sans-serif;
  src: url("/fonts/ArialMT.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Arial, Helvetica, sans-serif;
  src: url("/fonts/Arial-BoldMT.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}


@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

html {
  max-width: 100%;
  /* overflow-x: hidden; */
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial;
  /* overflow-x: hidden; */
  max-width: 100%;
  position: relative;
  z-index: -1;

  display: flex;
  flex-direction: column;
}

.main, .practice, .services, .video_lessons{
  flex-grow: 1;
}

/* body.fixed {
  overflow: hidden;
} */
h1,
h2,
h3,
h4,
li,
a {
  padding: 0;
  margin: 0;
  text-decoration: none;
}
ul,
ol,
p {
  margin: 0;
  padding: 0;
}

/* ================== GENERAL ================== */

.title-block {
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-bottom: 30px;
}

.content__container {
  max-width: 1440px;
  margin: 0 auto;
}
.content__container-sm {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ================== MAIN BLOCK ================== */

.main__block {
    /* margin-top: 76px; */
	overflow: hidden;
  background: #2546ff;
}
.main__block-content {
  overflow: hidden;
  position: relative;
  padding-top: 120px;
  padding-bottom: 130px;
}
.main__block-text{
  color: #fff;
}
.main__block-bg {
  position: absolute;
  bottom: -70px;
  right: -5%;
  width: 682px;
}
.main__block-bg-sm {
  display: none;
  width: 80%;
}
.main__block-title {
  z-index: 2;
  position: relative;
  font-family: Inter;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: 128%;
  max-width: 54%;
  margin-bottom: 32px;
}
.main__block-description{
    color: #fff;
    z-index: 2;
    position: relative;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 128%;
    max-width: 54%;
    margin-bottom: 49px;
}
.main__block-btn {
  position: relative;
  display: inline-block;
  color: #000;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  line-height: 140%;
  font-family: Inter;
  font-weight: 600;
  padding: 15px;
  cursor: pointer;
  border-radius: 15px;
  border: 2px solid #fff;
  background: #fff;
  margin-right: 32px;
  text-decoration: none;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}
.main__block-btn:hover {
  background: #2546ff;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
  color: #fff;
}
.main__block-btn::after {
  position: absolute;
  top: 18px;
  right: -18px;
  content: "";
  width: 32px;
  height: 32px;
  background: url("../images/partners/mouse-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.main__block-btn:hover::after {
  top: 19px;
  right: -17px;
}


#main_anchor{
  position: relative;
  top: -76px;
}


/* ================== GRIDS ================== */



.head_row{
  margin-bottom: 32px;
}

.view_more {
  flex-shrink: 0;
}

.breadcrumb_wrap{
  flex-direction: column;
  align-items: start;

  margin-bottom: 30px;
}

.breadcrumb_wrap .breadcrumb{
  margin-top: 16px;
}



.title{
  font-size: 32px;
}

.coming_soon{
  pointer-events: none;
}

.coming_soon img{
  opacity: 0.4;
}

.coming_soon .grid_time_wrap{
  display: none;
}

.grid_container{
  display: grid;
}

.grid_info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  flex-grow: 1;
}

.grid_img{
  max-height: none;
}

.grid_item{
  box-shadow: 0px 5px 27.6px 0px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  max-width: none;
}


.grid_title{
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 140% */
  text-wrap: unset;

  -webkit-line-clamp: 3;
  margin: 0;
}

.grid_bottom_row{
  display: flex;
  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;
  row-gap: 16px;

  column-gap: 7px;
}


.grid_status{
  width: fit-content;
  display: flex;
  padding: var(--8, 8px) 12px;
  align-items: center;
  gap: 9px;

  border-radius: 12px;


  color: #363636;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 20.8px */
}

body.dark-theme .grid_status{
  color: #fff;
}

.newbie_status{
  background: rgba(11, 224, 209, 0.25);
}

body.dark-theme .newbie_status {
  background: rgba(0, 255, 237, 0.50);
}

.newbie_status svg circle{
  fill: #00C2B4;
}

.advanced_status{
  background: rgba(255, 218, 68, 0.25);
}

body.dark-theme .advanced_status{
  background: rgba(255, 218, 68, 0.60);
}
.advanced_status svg circle{
  fill: #FFDA44;
}

.hunter_status{
  background: rgba(216, 0, 39, 0.25);
}

body.dark-theme .hunter_status{
  background: rgba(216, 0, 39, 0.30);
}
.hunter_status svg circle{
  fill: #F44;
}

.grid_time_wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.time_and_views{
  display: flex;
  gap: 13px;

}

.grid_time{
  flex-shrink: 0;
  color: #565656;
}

body.dark-theme .grid_time{
  color: var(--footer-text-dark, #7B8BA4);
}

.grid_time_to_read{
  color: #565656;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 15.4px */
  display: flex;
  align-items: center;
  gap: 6px;
}

body.dark-theme .grid_time_to_read{
  color: var(--footer-text-dark, #7B8BA4);

}
.grid_time_to_read svg path{
  fill: #565656;

}

body.dark-theme .grid_time_to_read svg path{
  fill: #7B8BA4;

}

/* .grid_half_wrap{
  display: flex;
} */
/* ================== LESSON ================== */

.lesson_wrap{
  display: flex;
  flex-direction: row-reverse;
  column-gap: 50px;


  padding-bottom: 70px;

  margin-top: 40px;
}

.lesson_image_wrap img{
  border-radius: 20px;
}

.sidebar{
  width: 346px;
  flex-shrink: 0;
  position: sticky;

  box-sizing: border-box;
  margin: 0px;
  /* margin-top: 50px; */
  min-width: 0px;
  position: sticky;
  top: 100px;
  padding: 24px 16px;
  /* width: 100%; */
  align-self: flex-start;
}

.repost{
  /* color: #242424; */
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%; /* 26.4px */

  margin-bottom: 75px;
}

body.dark-theme{
  color: #fff;
}

.repost_row{
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

body.dark-theme .repost_row a:hover svg path {
  fill: #24A8DB;
}
body.dark-theme .repost_row button:hover svg path {
  fill: #24A8DB;
}

body.dark-theme .repost_row .copy_repost:hover svg path{
  fill: none;
  stroke: #24A8DB;
}

.repost_row a:hover svg path {
  fill: black;
}
.repost_row button:hover svg path {
  fill: black;
}

.repost_row .copy_repost:hover svg path{
  fill: none;
  stroke: black;
}

.copied_message{
  position: absolute;
  display: inline-flex;
  padding: 10px 16px;
  margin-top: 16px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  align-items: center;
  border-radius: var(--16, 16px);
  background: var(--text-dark, #FFF);
  box-shadow: 0px 4px 10.6px 0px rgba(0, 0, 0, 0.25);
}

.copied_message_img{
  width: 32px;
}

.copied_message p{
  font-size: 16px;
}

.navigation{
  margin-bottom: 250px;
}

.navigation_row{
  display: none;
}

.mobile_navigation_button {
  /* visibility: hidden; */
  width: 100%;
  height: 32px;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 35.333px;
  background: #F8F8F8;
  box-shadow: 0px 1px 2.5px 0px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 130px;
  z-index: 2;
}

body.dark-theme .mobile_navigation_button{
  background: #7B8BA4;
}

body.dark-theme .mobile_navigation_button svg circle{
  fill: white;
}

.navigation ul{
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style-type: none;
  
  background: url(../images/academy/navigation_line.svg) no-repeat;
  background-size: auto 98%;
  background-position: 10px 0px;
}

.navigation_item p{
  color: var(--footer-text-dark, #7B8BA4);
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 17.6px */
}

.navigation_item{
  display: flex;
  align-items: center;
  gap: 16px;

  cursor: pointer;

}
.navigation_item svg{
  flex-shrink: 0;

}

.active_navigation_item p{
  color: #000;
}
.active_navigation_item .dark_circle{
  stroke: black;
  stroke-opacity: 1;
}

body.dark-theme .active_navigation_item .dark_circle{
  stroke: #24A8DB;
  stroke-opacity: 1;
}

body.dark-theme .active_navigation_item p{
  color: #24A8DB;
}

body.dark-theme .navigation_item svg circle{
  /* stroke: #7B8BA4; */
  stroke-opacity: 1;
}



.recomendations{
  
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recomendations_title{
  margin-bottom: 32px;
}

.recomendations .grid_title{
  font-size: 16px;
  
}

.recomendations .grid_item{
  max-width: none;
  width: 100%;
}

.recomendations .grid_info{
  gap: 12px;
}

/* .recomendations_wrap h3{
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  margin-top: 100px;

  margin-bottom: 32px;
} */

.recomendations_item a img{
  /* width: 320px;
  height: 160px; */
  flex-shrink: 0;
  border-radius: 23.2px;
  margin-bottom: 20px;
  object-fit: cover;
}

.recomendations_item{
  width: 100%;
}

.recomendations_item a{
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--16, 16px);
  background: var(--text-dark, #FFF);
  box-shadow: 0px 4px 8.6px 0px rgba(0, 0, 0, 0.25);
}

.recomendations_item p{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;

  overflow: hidden;
  /* color: var(--btn-text, #000); */
  text-overflow: ellipsis;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 175% */
}

body.dark-theme .recomendations_item p{
  color: white;
}

.breadcrumb {
  margin-top: 24px;
  gap: 8px;
}

.breadcrumb li{
  color: #565656;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 17.6px */

  display: flex;
  /* align-items: center; */
  gap: 8px;
}

body.dark-theme .breadcrumb li{
  color: var(--footer-text-dark, #7B8BA4);
}

.breadcrumb li a{
  color: var(--btn-text, #000);
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 17.6px */
}



body.dark-theme .breadcrumb li a{
  color: #fff;
}




.breadcrumb li+li:before {
  /* padding: 8px; */
  color: black;
  content: ">";
}

body.dark-theme .breadcrumb li+li:before {
  color: white;
}

.full_news_text{
  gap: 17px;
}
.full_news_text li{
  margin-left: 16px;
}


.lesson_header{
  margin-bottom: 50px;
}

.lesson_header h1{
  color: var(--btn-text, #000);
  font-family: Inter;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 62.4px */
}

body.dark-theme .lesson_header h1{
  color: white;
}


.lesson_header .grid_bottom_row{
  margin-top: 24px;
}

.lesson_text h3{
  /* color: var(--btn-text, #000); */
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 170%; /* 54.4px */

  padding: 5px 0;
}

body.dark-theme .lesson_text p{
  color: white;
}
.views{
    color: #565656;
    display: flex;
    align-items: center;
    gap: 5px;
}
body.dark-theme .views {
  color: var(--footer-text-dark, #7B8BA4);
}
.views svg path{
  fill: #565656;
}
body.dark-theme .views svg path{
  fill: #7B8BA4;

}

.before_footer{
  z-index: -1;
}

/* ================== MEDIA ================== */
/* 
@media (max-width: 1200px) {
.main__block{
    margin-top: 120px;
}
} */
/* ================================================================== */
@media (max-width: 1150px) {
  .main__block-title {
    font-size: 40px;
    max-width: 45%;
  }
  .main__block-description{
    font-size: 19px;
    max-width: 45%;
  }
}

/* ================================================================== */
@media (max-width: 1000px) {

  /* .main__block-bg {
    right: -20%;
  } */
  .main__block-title {
    max-width: 52%;
  }
  .main__block-description{
    max-width: 52%;
  }


}
/* ================================================================== */
@media (max-width: 914px) {
    .main__block-bg {
    right: -7%;
  }
    .main__block-content{
        padding-top: 100px;
    }
  .lesson_wrap{
    flex-wrap: wrap-reverse;
    flex-direction: unset;
    margin-top: 32px;
    padding-bottom: 32px;
  }
  .lesson_header{
    margin-bottom: 30px;
  }
  .sidebar{
    width: 100%;
    padding: 24px 0px;
  }
  .navigation{
    position: fixed;
    display: none;
    /* top: 120px; */
    bottom: 0;
    left: 0;
    border-radius: var(--16, 16px) var(--16, 16px) 0px 0px;
    background: var(--text-dark, #FFF);
    width: 100%;
    padding: 16px;
    margin-bottom: 0;

    background: #F8F8F8;
    box-shadow: 0px 1px 2.5px 0px rgba(0, 0, 0, 0.25);
  }

  .navigation_row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  body.dark-theme .navigation_row p{
    color: white;
  }

  body.dark-theme .navigation{
    background: #2D3340;
  }

  .recomendations {
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: center; */
  }
  .recomendations .grid_item{
    max-width: none;
    width: calc(50% - 12px);
  }

  .mobile_navigation_button{
    display: flex;
  }

}
/* ================================================================== */
@media (max-width: 820px) {
  .main__block {
    display: flex;
    flex-direction: column;
  }
  .main__block-bg {
    display: none;
  }
  .main__block-bg-sm {
    display: block;
    align-self: center;
    margin-bottom: -10%;
        margin-top: -5%;
  }
  .main__block-title {
    max-width: 90%;
  }
  .main__block-description{
    max-width: 90%;
  }
  .main__block-content {
    padding-bottom: 0;
    padding-top: 90px;
  }

  .lesson_header h1{
    font-size: 32px;
  }
  .lesson_text h3{
    font-size: 20px;
  }
}
@media (min-width: 768px){
  /* .head_row{
    max-width: 738px;
    width: 100%;
    justify-self: center;
  } */
}
@media (min-width: 1200px){
  .head_row{
    max-width: unset;
    /* width: 100%;
    justify-self: center; */
  }
}

/* ================================================================== */
@media (max-width: 703px){

  .recomendations .grid_item{
    /* max-width: none; */
    width: 100%;
  }
}
@media (max-width: 700px) {

  .mail__box-content{
      flex-direction: column;
      align-items: start;
  }
  .mail__content{
      margin-bottom: 30px;
  }
  .mobile_navigation_button{
    top: 86px;
  }

}

/* ================================================================== */
@media (max-width: 576px) {

  .main__block-bg-sm {
    width: 110%;
    margin-bottom: -12%;
  }
  .main__block-title {
    font-size: 34px;
  }
  .main__block-description{
    font-size: 16px;
  }
  .title {
    font-size: 22px;
  }
  .full_news_text{
    gap: 10px;
  }

}

@media (max-width: 520px) {
  .grid_title{
    font-size: 16px;
    line-height: 22px;
  }
  
}
/* ================================================================== */
@media (max-width: 450px) {
  .content__container-sm {
    padding: 0 16px;
  }
  .main__block-content {
    padding-top: 80px;
  }
  .main__block-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .main__block-description{
    font-size: 14px;
  }

  .repost{
    font-size: 22px;
  }
  

}
@media (max-width: 450px) {
  .grid_status_wrap{
    flex-grow: 1;
    /* width: 100%; */
  }


  .lesson_header .grid_status_wrap{
    width: 35%;
  }
  .lesson_header .grid_time{
    flex-shrink: 0;
    width: 60%;
  }
  .grid_bottom_row {
    justify-content: start;
  }
}

/* ================================================================== */
@media (max-width: 400px) {
  .grid_info{
    gap: 16px;
  }

  /* .grid_status_wrap{
    flex-grow: 1;
    width: 100%;
  } */

  /* .lesson_header .grid_status_wrap{
    width: 51%;
  } */
  
}
/* ================================================================== */
@media (max-width: 376px) {
  .main__block-content {
    padding-top: 65px;
  }
  .main__block-title {
    font-size: 27px;
    margin-bottom: 30px;
  }
  .main__block-description{
    font-size: 12px;
  }

  
}
/* ================================================================== */
@media (max-width: 343px){
  .lesson_header .grid_time{
    width: 100%;
    text-align: start;
  }
}

/* ================================================================== */
@media (max-width: 320px) {
  .main__block-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .mail__click-sm {
    margin-left: 30px;
  }

  .grid_info {
    margin-top: unset;
		padding: 14px;
  }

  .lesson_header h1{
    font-size: 24px;
  }
  

}
