

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

@font-face {
  font-family: 'NAMU-Pro'; 
  src: url("https://lessons.diskill.ru/fileservice/file/download/a/6225/sc/336/h/afb5abda84f69ce32600cf891b6be732.woff") format("woff"),
       url("https://lessons.diskill.ru/fileservice/file/download/a/6225/sc/136/h/e7217001390ec3e7f8143ebc68a8ae01.woff2") format("woff2"); 
} 

@font-face {
  font-family: 'Geologica-ExtraLight'; 
  src: url("https://lessons.diskill.ru/fileservice/file/download/a/6225/sc/508/h/d6af6998484ad43799488ce890580273.ttf") format("ttf"); 
}  

html .lesson-list li {
  position:relative;
}

.lesson-list li .favorites-btn {
  width:42px;
  height:42px;
  background-image:url('https://img.icons8.com/ios/25/like--v1.png');
  background-size:25px;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:50%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  top:12px;
  right:12px;
  position:absolute;
  display:block;
  z-index:9999999999999
}

.lesson-list li .favorites-btn.active {
  background-image:url('https://img.icons8.com/ios-filled/25/C70000/like--v1.png')
}

.favorites-wrapper {
  border-radius:12px;
  background:#fff;
  padding:30px 20px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.favorites-wrapper > h2 {
  font-family: 'NAMU-Pro', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #e05f27;
  display:flex;
  align-items: center;
  cursor:pointer;
}

.favorites-wrapper > h2:after {
  content:'';
  background-image:url('https://img.icons8.com/ios/24/forward--v1.png');
  width:24px;
  height:24px;
  flex:0 0 24px;
  margin-left:auto;
  transform:rotate(90deg)
}

.favorites-wrapper .favorites-list {
  margin-top:20px;
  display:none;
}

.favorite-lesson-wrapper {
  position:relative;
}

.favorite-close {
  width:20px;
  height:20px;
  position:absolute;
  background-image:url('https://img.icons8.com/ios/20/c70000/delete-sign--v1.png');
  right:0;
  top:0;
  background-size:cover;
  opacity:1;
  transition:opacity .3s;
  cursor:pointer;
}

.favorite-lesson:hover .favorite-close {
  opacity:1
}


.favorites-wrapper .favorites-list a {
  display:flex;
  align-items: flex-start;
  font-family: 'geologica-extralight', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #000;
  position:relative;
}

.favorites-wrapper .favorites-list a:not(:last-child) {
  margin-bottom:15px;
}

.favorites-wrapper .favorites-list a:before {
  content:'';
  background-image:url('https://img.icons8.com/sf-regular/24/3275d8/external-link.png');
  background-size:contain;
  background-repeat:no-repeat;
  width:24px;
  height:24px;
  flex:0 0 24px;
  margin-right:5px;
}






