* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #111;
	color: #dfdfdf;
	font-family: roboto;
	line-height: 1.5;
	font-size: 16px;
}
a{
	text-decoration:none;
}

.large {
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.large img{
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	
	}
header {
	color: #1e2737;
	position: relative;
	display: flex;
	padding: 10px 20px;
	border-radius: 5px;
	background: #252525;
	align-items: center;
	justify-content: space-between;
	margin: 10px auto;
	width: calc(100% - 40px);
}

header a{
	text-decoration:none;
}
header .logo {
	font-size: 24px;
	font-weight: bold;
	color: #e3e3e3;
	padding: 5px 15px;
	border-radius: 5px;
}

header input[type="search"] {
	padding: 5px 10px;
	border: none;
	outline: none;
	font-family: 'Roboto';
	font-size: 15px;
	border-radius: 5px;
	font-weight: 600;
	line-height: 30px;
	text-align: center;
}

.nav-links {
  margin-left: auto;
  display: flex;
  font-size: 16px;
  gap: 20px;
  margin-right: 20px;
}
.nav-links a {
  color: #adbef1;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}


.swiper {
	padding: 10px 0;
	margin-top: 30px;
}

.swiper-slide {
	width: 120px;
	min-height: 60px;
	flex-shrink: 0;
}

.swiper-slide p {
	color: #ffffff;
	max-width: calc(100% - 10px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 4px 10px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	margin: 0 auto;
}

.swiper-wrapper {

	transition-timing-function: linear !important;

}

.swiper-slide img {
	width: 120px;
	border-radius: 50%;
	border: 5px solid #393b55;
	object-fit: cover;
	transition: transform 0.3s;
	cursor: pointer;
}

.swiper-slide img:hover {
	transform: scale(1.05);
}

.container {
	display: flex;
	gap: 15px;
	padding: 0 20px;
	margin: 0px auto;
	background: #111111;
}

.main-content h2{
    margin-bottom: 14px;
    font-size: 25px;
    color: #8dff97;
    width: fit-content;
    border-radius: 10px;
    padding: 5px 10px;
}
.sidebar h2{
    margin-bottom: 5px;
    font-size: 24px;
    color: #8dff97;
    width: fit-content;
    border-radius: 10px;
    padding: 0;
}
 
.main-content {
	background: hsl(0deg 0% 100% / 3%);
	flex: 3;
	padding: 20px;
	border-radius: 5px;
}

.sidebar {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: sticky;
	max-width: 320px;
	background: hsl(0deg 0% 100% / 3%);
	top: 10px;
	align-self: flex-start;
	padding: 20px;
	border-radius: 5px;
	min-width: 300px;
}
.class-card img {
  display: block;
  
}
.class-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 15px;
	margin-bottom: 20px;
	grid-auto-flow: dense;
	grid-auto-rows: 85px;
}

.class-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  line-height: 0; /* alt boşluğu da temizler */
}

.sb_class-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 10px;
}

.class-card {
	background: #ffffff;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: inset 0 -4px 0 rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.25),0 2px 4px rgba(0,0,0,.4)!important;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	line-height: 0;
}

.class-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.class-card img {
	width: 100%;
	object-fit: cover;
}

.class-card p {
	padding: 4px 7px;
	text-align: center;
	font-weight: bold;
	line-height: 1;
	font-size: 15px;
	color: #181f2b;
	border-radius: 10px;
	overflow: hidden;
	white-space: nowrap;
}

.sb_class-card {
	background: white;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 -4px 0 rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.25),0 2px 4px rgba(0,0,0,.4)!important;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	line-height: 0;
}

.sb_class-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sb_class-card img {
	width: 100%;
}

.sb_class-card p {
	padding: 2px 7px;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	color: #101010;
	background: hsl(0deg 0% 100% / 81%);
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	line-height: 1;
	border-radius: 70px;
}

.class-970 {
	width: 100%;
	height: 250px;
	background: hsl(0deg 0% 0% / 21%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 20px 20px 0px;
	border-radius: 8px;
}

.class-300 {
	width: 100%;
	margin: 0 auto;
	height: 250px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	box-sizing: border-box;
}

footer {
	color: #373737;
	text-align: center;
	padding: 20px;
	margin-top: 20px;
}

@media(max-width:900px) {

	.container {
		flex-direction: column;
	}

	.sidebar {
		gap: 10px;
		width: 100% !important;
		max-width: 100%;
	}

	.sidebar .class-300 {
		height: 150px;
	}
}

@media(max-width:720px) {
	header {
		flex-direction: column;
		gap: 20px;
		margin-bottom: 90px;
	}
	
	.nav-links {
  margin-left: unset;  
  display: flex;
  gap: 15px !important;
  margin-right: unset;
}


}

article{
    padding: 10px;
    margin-bottom: 0;
    border-radius: 10px;
}
article p{
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 16px;
    color: #dfdfdf;
}
article h1{
    font-size: 26px;
    color: #8dff97;
    margin-bottom: 5px;
}
article h2{
    color: #bbcfff;
}
article h3{}
.article1{
}
.article2 p{
    color: #d1d1d1;
}

img.lazy {
  opacity: 0;
  transition: .5s all;
  filter: blur(5px);
  min-height:60px;
}

img.loaded {
  opacity: 1;
  filter: blur(0);
}




.lesson_areax {
    background: hsl(0deg 0% 18.43%);
    text-align: center;
    width: 100%;
    padding: 30px;
    display: grid;
    border-radius: 10px;
    grid-gap: 20px;
    margin-bottom: 5px;
    grid-auto-flow: column;
    grid-template-columns: 315px 625px;
}
.lesson_area {
    background: #3b3b3b;
    text-align: center;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    min-height: 640px;
}

.butonp{
    box-shadow: inset 0 -4px 0 rgba(0,0,0,.095),0 2px 4px rgba(0,0,0,.025),0 2px 4px rgba(0,0,0,.04)!important;
    background: #4f74ff;
    padding: 0 10px;
    width: 100px;
    margin: 0 auto;
    border-radius: 31px;
    font-size: 20px;
    font-family: poppins;
    color: #ffffff;
    font-weight: 600;
    height: 40px;
    line-height: 40px;
    margin-top: 20px;
}
.butonp:hover{
    background: #25b531;
    cursor: pointer;
}


.class_r{
    margin: 0 auto;
    display: grid;
    justify-content: center;
    margin-bottom: 15px;
    min-height: 250px;
}
.lesson-wrapper {
  width: 100%;
  margin: 20px auto;
  text-align: center;
  min-height: 500px;
  border-radius: 10px;
}

.lesson-title {
  background: hsl(0, 0%, 15%);
  padding: 10px;
  border-radius: 10px;
  color: #eee;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.lesson-play-btn {
  background: #82ff75;
  color: #111;
  border: none;
  padding: 0 20px;
  font-size: 20px;
  border-radius: 10px;
  letter-spacing: -1px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 700;
  height: 50px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.25),0 2px 4px rgba(0,0,0,.4)!important;
  line-height: 50px;
}
.lesson-play-btn:hover {
  background: #ffd633;
}

.lesson-frame {
  width: 100%;
  height: 70vh;
  border: none;
  display: none;
  margin-top: 15px;
  border-radius: 10px;
  background: #000;
}

.lesson-buttons {
  display: none;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}

.lesson-buttons button {
  background: #3d3d5f;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.lesson-buttons button:hover {
  background: #4b4b73;
}

 
@media (max-width: 768px) {
  .lesson-frame {
    height: 60vh;
  }
  .lesson-play-btn {
    font-size: 16px;
    padding: 12px 24px;
  }
}

.lesson_detail_info{
	 display: flex;
	 flex-direction: column; 
	 align-items: center; 
	 gap: 40px; 
	 padding-top: 20px !important;
}

.class-image{
    border-radius: 10px;
}



.search-results {
  position: absolute;
  background: #fff;
  width: 230px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  border-radius: 10px;
  top: 56px;
  right: 25px;
  padding: 10px;
}

.slesson-card {
  display: grid;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  grid-auto-flow: column;
  grid-gap: 12px;
}

.slesson-card img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 40px;
}

.slesson-card a:hover{
	color: #2868ff;
}
.slesson-card a{
    display: grid;
    grid-auto-flow: column;
    justify-content: left;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    grid-gap: 10px;
}
.slesson-card p {
  margin: 0;
}

.article_g{
}
.article_g h1{
    color: #ededed;
}
.article_g p{
    color: #c2c2df;
    font-size: 18px;
}

.quote{
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 10px;
    line-height: 1.28;
    font-size: 17px;
    margin-top: 0;
    font-weight: 500;
}


footer a {
  color: #898989;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

footer a:hover {
  color: #fff;
  border-color: #ffffff;
}

footer p {
  margin: 8px 0;
  font-size: 14px;
}

footer p:last-child {
  color: #dfdfdf;
  font-size: 13px;
}

 
#popupOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

 
#popupBox {
  background: #121212;
  color: #eaeaea;
  max-width: 700px;
  width: 90%;
  padding: 25px 30px;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  font-family: "Poppins", sans-serif;
  transform: scale(0.85);
  opacity: 0;
  transition: all 0.25s ease;
}

 
#popupOverlay.active #popupBox {
  transform: scale(1);
  opacity: 1;
}

 
#popupClose {
  position: absolute;
  top: 12px;
  right: 15px;
  background: #ff4040;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s;
}
#popupClose:hover { background: #ff6666; }
