:root{
	--darkpink:#E94E77;
	--lighttan:#EEEBE6;
	--rose:#D68189;
	--tan:#C6A49A;
	--bluegreen:#C6E5D9;
	--ivory:#E3CFB4;
}

/****overall**/
body{
	font-family: 'Roboto', sans-serif;
	margin: 0;
	background-color: white;
	color: #333;   /* default text color */
}

img {
	width:100%;
}

h1{
	font-family: 'Aubrey', cursive;
	font-size:48px;
	text-align:center;
	margin-top: 5px;
 	margin-bottom: 5px;
}

h2{
    letter-spacing: 15px;
}

h4{
	font-size:48px;
	text-align: left;
	margin-top: 5px;
 	margin-bottom: 5px;
}

p{
	font-size:18px;
}


/**header**/
header{
	background-color:white;
	padding:20px 30px;
	
	/**FLEXBOX**/
	/**display:flex;
	justify-content:space-between;**/
	
	/**
	position:fixed;
	width:calc(100% - 30px);
	top:0;
	left:0;
	z-index:1;
	
	box-shadow:0 0 15px rgba(0,0,0,.3);
	**/
	
	/**FLOAT**/
	overflow:hidden; 
}

#logo-container{
	width:400px;
	
	/**FLOAT**/
	float:left;
}


header img.dark-version{
	display:none;
}

header.dark img.light-version{
	display:none;
}

header.dark img.dark-version{
	display:inherit;
}

header.dark{
	background-color:var(--tan);
}





nav ul {
	/**FLEXBOX**/
	/**display:flex;**/
	
	/**FLOAT**/
	float:right;
	padding-right:30px;
}

header nav ul li {
	list-style:none;
	margin-left:20px;
	
	/**FLOAT**/
	display: inline-block;
}

header nav ul li a {
	background-color:var(--rose);
	text-decoration:none;
	color:white;
	padding:15px 20px;
	border-radius:10px;
	position:relative;
	top:0;
	transition:top .2s;
}

header nav ul li a:hover{
	background-color:var(--darkpink);
	top:-10px;
}

/****sections****/

.section.bg-light {
  background-color: white;
}

.section.bg-tan {
  background-color: #C6A49A;
  color: white;
}

.main-container{ /*origami comes to use cuts*/
	max-width: 800px;
	margin: 0 auto;
	align-items: flex-start;
	text-align: left;
}

.sub-container{ /*origami comes to use cuts*/
	max-width: 800px;
	margin: 0 auto;
	align-items: flex-start;
	text-align: left;
	background: #EEEBE6;
}

.lessons-banner {
    background-color: var(--tan);
    padding: 60px;
}

.lessons-banner h4 {
    margin: 0;
    padding-left: 60px;
    color: white;
}

.bgcolor{
	background: white;
}

h2.section-title {
    margin-bottom: 10px;
    text-align: center;
}

p.section-subtitle{ /*this wonderful pieces is this month's featured lesson*/
	margin-bottom: 50px;
    font-size: 14px;
    color: #555;
}

/* featured lesson *********/
.featured-container{
	align-items: center;
	text-align: left;
}

.featured-img img  {
	
}

.featured-desc { /*spear-tailed dragon to in this tutorial*/
	align-items: center;
	text-align: left;
}

.featured-cta{ /*enroll now to join now*/
	text-align: center;
}

.featured-cta sup{
	
}

.price{
	
}

.price span{
	
}

table[bgcolor="#c6a39a"] {
    border-radius: 12px;
    overflow: hidden;
}

table[bgcolor="#e3cfd4"] {
    border-radius: 500px;
    height: 90px;
}

table[bgcolor="#e92477"] {
    border-radius: 6px;
    text-align: center;
    padding:3px 7px;
}

table[bgcolor="#e3cfd4"] font {
    text-decoration: none;
    color: "#e92477";
    font-weight: 700;
}

table[bgcolor="#e92477"] a {
    text-decoration: none;
    color: white;
    font-weight: 700;
}

a.button{
	background-color:var(--rose);
	text-decoration:none;
	color:white;
	padding:15px 20px;
	border-radius:10px;
	position:relative;
	top:0;
	transition:top .2s;
}

a.button:hover{
	background-color:var(--darkpink);
	top:-10px;
}

/**masterclass**/

td {

}

.container {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 40px;
}

.card {
  background: #f4f4f4;
  width: 260px;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.01);
  text-align: center;
  display: flex;
  flex-direction: column;
  max-width: 200px;
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.card h3 {
  margin: 8px 0 10px;
  font-size: 18px;
}

.card p {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: left;
}

.skill {
  margin-top: auto;
  background: #e63973;
  color: white;
  padding: 10px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  align-self: flex-start;
}

.skill .score {
  font-size: 20px;
  font-weight: bold;
}

.skill .label {
  font-size: 11px;
  letter-spacing: 1px;
  color: black;
  font-weight: bold;
}



/*page-title *****/
.section {
  padding: 60px 0;
}

section.page-title {
	background-color: var(--tan);
    padding: 60px 0;
    text-align: left;
}

section.page-title h4 {
    color: white;
    font-size: 42px;
    letter-spacing: 2px;
    margin-left: 60px;
}

.sections-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;             
  max-width: 1100px;
  margin: 40px auto;      
  padding: 0 20px;       
}

.section-card {
  background: #E3CFB4;
  color: #2b2b2b;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.01);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.section-cardp {
  background: white;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  width: 320px;   /* important */
  text-align: center;
}

.video-container {
  display: flex;
  justify-content: center;
  gap: 30px;        /* space between videos */
  margin: 60px auto;
  padding: 0 20px;
  background: white;
}

.section-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.section-card h3 {
  margin: 8px 0 10px;
  font-size: 18px;
}

.section-card p {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: flex-start;
}

.video-section {
  background-color: #dcd6d3;
  padding: 100px 0;
  text-align: center;
}

.video-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 60px auto 0 auto;
}

.section-cardp {
  background: #f5f5f5;
  border-radius: 14px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.section-cardp:hover {
  transform: translateY(-6px);
}

.section-cardp iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: none;
}

.section-cardp h3 {
  margin-top: 15px;
  font-size: 16px;
}

.enroll-button {
  background: #d86c7b;
  color: white;
  border: none;
  padding: 8px 8px;
  border-radius: 10px;
  font-size: 12px;
}

/** ABOUT PAGE **/
.section.bgcolor {
    background-color: #e9e6e4;
}

.masters-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 40px;
}

.masters-content{
	max-width: 240px;
	padding: 20px;
}

.masters-content.cont1 {
	

}

.masters-content.cont2 {
	

}

.about-content {
    text-align: center;
}

.section-title {
    letter-spacing: 12px;
    font-weight: 400;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 60px;
    text-align: center;
}


.masters-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.masters-content small {
    font-size: 12px;
    color: #666;
}

.masters-content img{
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.masters-content img,
.lessonmaster-content img {
	border-radius: 500px;
	}

.schoolmasters-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 60px;
}

.headmaster {
	align-items: center;
	text-align: center;
}

.headmaster img {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.headmaster h3 {
    margin-bottom: 5px;
}

.headmaster small {
    color: #666;
}

.lessonmasters {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 50px 60px;
}

.lessonmaster-content img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.lessonmaster-content h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.lessonmaster-content small {
    font-size: 12px;
    color: #666;
}

.lessonmaster-content img:hover{
}


/* footer *****/
/* footer */
footer {
    background-color: var(--tan);
    padding: 20px 60px;
    display: flex;
    align-items: center;
}

footer img {
    width: 180px;
    height: auto;
}

.footer-info {
    margin-left: 20px;
}

footer p {
    font-size: 12px;
    margin: 0;
}

.designer {
    margin-left: auto;
}


@media (max-width: 768px) {

	header {
		padding: 15px;
		text-align: center;
	}

	#logo-container {
		width: 100%;
		float: none;
		text-align: center;
		margin-bottom: 15px;
	}

	nav ul {
		float: none;
		padding-right: 0;
		text-align: center;
	}

	header nav ul li {
		display: block;
		margin: 10px 0;
	}

	header nav ul li a {
		display: inline-block;
		padding: 12px 18px;
	}

	h1 {
		font-size: 32px;
	}

	p {
		font-size: 16px;
		padding: 0 15px;
	}

	.main-container {
		padding: 0 15px;
	}

	.card-container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.lesson-card {
		width: 100%;
		max-width: 350px;
		margin-bottom: 20px;
	}

	.masters-container {
		flex-direction: column;
	}

	.masters-content {
		max-width: 100%;
		margin-bottom: 20px;
	}

	.masters-content img,
	.lessonmaster-content img {
		border-radius: 500px;
	}

	.headmaster img,
	.lessonmaster-content img {
		width: 60%;
		height: auto;
	}

	footer {
		padding: 20px 10px;
	}

	footer img {
		width: 150px;
		height: auto;
	}
}



