/***COLORS***/
:root{
--paper:#eeebe6;
--khaki:#e3cfb4;
--tan:#c6a49a;
--mauve:#d68189;
--hotpink:#e94e77;
}

/***GLOBAL***/
body{
    margin: 0;
	padding : 0;
	box-sizing : border-box;
}
section{
    padding: 30px;
}
img{
    width: 100%;
    border-radius: 10px;
}
.conwidth{
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}
.paper-bg{
    background-color: var(--paper);
}
ol li{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: 18px;
    font-weight: 400;
    font-style: normal;
}

/***FONTS***/
p {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: 18px;
    font-weight: 400;
    font-style: normal;
  }

label {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: 18px;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-family: "Aubrey", system-ui;
    font-size: 48px;
    font-weight: bold;
    font-style: normal;
    text-align: center;
  }
  
h2{
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1em;
    text-transform: uppercase;
    text-align: center;
    margin: 4px;
}

h4{
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
}

.descriptions{
    text-align: center;
    margin: 10px;
    margin-bottom: 30px;
}
/***HEADER***/
header{
    padding: 10px 30px;
    display: flex;
    flex-direction: row;
	justify-content: space-between;
    align-items: center;
}
#logo-image{
    width: 400px;
}
.header-nav ul{
    list-style-type: none;
    padding-top: 30px;
	display: flex;
    flex-direction: row;
	gap: 20px;
}
nav ul li{
    font-family: "Roboto", sans-serif;
    list-style: none;
    margin-bottom: 50px;
}
nav ul li a:link, nav ul li a:visited{
    background-color:var(--mauve);
    color: white;
    font-size: 18px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 20px;
    border-radius:10px;
    transition: 0.3s;
    display: flex; 
}
nav ul li a:hover{
    background-color: var(--hotpink);
    transform: translateY(-4px);
}


/***FEATURED LESSON***/
#featured-lesson-flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}
#spear-tailed{
    padding-right: 30px;
}
#enroll-now{
    background-color: var(--tan);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    width: 800px;
    padding: 10px 30px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}
.join-now{
    width: 80px;
    background-color: var(--hotpink);
    color: white;
    padding: 2px 15px;
    border-radius: 10px;
    align-items: center;
    
}
#white-circle{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--hotpink);
    background-color: var(--khaki);
	border: 2px solid white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

#circle-guide{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 50px;
    width: 50px;
}

#ds{
    font-size: 18px;
    font-weight: 400;
}
#num{
    margin: 0;
	padding : 0;
	box-sizing : border-box;
}

.cta-button {
	color: white;
	background-color: var(--hotpink);
	border-radius: 8px;
	padding-block: 12px;
	padding-inline: 20px;
	text-decoration: none;
    font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 20px;
	display: inline-block;
	margin-top: 16px;
}
/***MASTERCLASS LESSONS***/
.lessonthumb{
    background-color: white;
    width: 200px;
    padding: 10px;
    border-radius: 10px;
}
.skill-level-button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--hotpink);
    border-radius: 10px;
    padding: 10px;
    width: 110px;
    text-decoration: none;
    transition: 0.3s;
}

.skill-level-button:hover {
    background-color: var(--tan);
    transform: translateY(-2px);
}

.rating{
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: bold;
    font-style: normal;
    color: white;
}
.skill-level{
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: black;
}

/***========LESSONS PAGE========***/
.page-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--tan);
    color: white;
    font-size: 48px;
    height: 90px;
    text-shadow: 0 0 15px rgb(109, 93, 93);
}
.ml-cards{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--khaki);
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px; 
    height: 285px;
}

.ml-cards h4{
    margin: 10px;
}

.enroll-button {
    background-color: var(--hotpink);
    color: white;
    height: 20px;
    padding: 5px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.enroll-button:hover {
    background-color: black;
    transform: translateY(-1px);
}

.card-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.video-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.video-item {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}

.video-item  h4{
    margin-bottom: 0;
    text-align: center;
}

.video-item iframe {
    width: 100%;
    height: 200px; 
    margin: 0;
}

/***========ABOUT PAGE========***/
.origami-masters{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-evenly;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.om-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.om-box h4, p{
    margin: 1px;
}

.big-om-box{
    width: 300px;
}

.round-image{
    border-radius: 50%;
}
.sm-con{
    display: flex;
    flex-direction: row;
}
.sm-group{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 50px;
    margin-left: auto;
}
.sm-group .om-box {
    width: 175px;
    padding-bottom: 60px;
}

.sm-group .om-box .round-image {
    width: 100px;
    box-sizing: border-box;
    transition: 0.3s;
}

.sm-group .om-box .round-image:hover {
    background-color: var(--hotpink);
    padding: 4px; 
}


/***========CONTACT PAGE========***/
section#contact {
    padding: 80px;
}

section#contact .conwidth {
    display: flex;
    justify-content: space-between;
}

#map iframe {
    width: 100%;
    height: 400px;
}

.contact-form {
    width: 60%;
}

.contact-form-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.form-field {
    display: flex;
}

.form-field label {
    flex-basis: 100px;
}

.form-field input,
.form-field select,
.form-field textarea {
    flex-grow: 1;
    padding: 10px;
    background-color: var(--paper);
    border: none;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
}

.form-field input[type="radio"],
.form-field input[type="checkbox"] {
    flex-grow: 0;
}

.form-field .radio-label {
    flex-basis: auto;
    margin-left: 2px;
    margin-right: 20px;
}

.form-submit {
    padding-left: 100px;
}

.submit-button {
    color: white;
    background-color: var(--hotpink);
    border-radius: 10px;
    border: none;
    padding: 10px 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
}

.headquarters {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.headquarters-contact-details {
    display: flex;
}

.headquarters-contact-details label {
    font-weight: 700;
    flex-basis: 70px;
}


.headquarters-social-media ul{
    list-style-type: none;
    padding-top: 30px;
	display: flex;
    flex-direction: row;
	gap: 20px;
}

.headquarters-social-media svg{
    color: #777777;
}

.headquarters-social-media ul li {
    width: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.headquarters-social-media li:hover{
    color: black;
    transition: 0.3s;
    transform: translateY(-4px);
}



/***FOOTER***/
footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--tan);
    padding: 30px;
    gap: 20px;
}
#footer-logo img{
    width: 200px;
}
#footer-text{
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}


/***MOBILE***/

@media (max-width: 768px) {

    .skill-level-button {
        width: auto;
        min-width: 120px;
        align-self: center;
        padding: 10px 24px;
        font-size: 16px;
    }

    .rating {
        font-size: 22px;
    }

    .skill-level {
        font-size: 14px;
    }

    .enroll-button {
        width: auto;
        padding: 8px 24px;
        height: auto;
        align-self: center;
    }

    .enroll-button p {
        margin: 0;
        font-size: 14px;
    }

    .cta-button {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        font-size: 17px;
        padding-block: 12px;
        padding-inline: 24px;
        text-align: center;
    }

    nav ul li a:link,
    nav ul li a:visited {
        white-space: nowrap;
    }

    .form-submit {
        padding-left: 0;
    }

    .submit-button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        cursor: pointer;
    }

    /* ---- GLOBAL ---- */
    .conwidth {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 16px;
        margin-bottom: 16px;
        box-sizing: border-box;
        padding: 0 16px;
    }

    section {
        padding: 16px;
    }

    h1 {
        font-size: 28px;
        margin: 10px 0;
    }

    h2 {
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    /* ---- HEADER ---- */
    header {
        flex-direction: column;
        align-items: center;
        padding: 12px 16px;
        gap: 10px;
    }

    #logo-image {
        width: 200px;
    }

    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-top: 0;
        padding-left: 0;
        margin: 0;
    }

    nav ul li {
        margin-bottom: 0;
    }

    nav ul li a:link,
    nav ul li a:visited {
        font-size: 14px;
        padding: 10px 12px;
    }

    .page-title {
        font-size: 28px;
        height: auto;
        padding: 16px;
    }

    #featured-lesson-flex {
        flex-direction: column;
    }

    #spear-tailed {
        padding-right: 0;
    }

    #enroll-now {
        width: 100%;
        box-sizing: border-box;
        margin: 16px 0;
        padding: 16px;
    }

    .card-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .lessonthumb {
        width: 100%;
        box-sizing: border-box;
    }

    .ml-cards {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        margin-left: 0;
        margin-bottom: 12px;
    }

    .video-grid {
        flex-direction: column;
    }

    .video-item iframe {
        height: 200px;
    }

    .origami-masters {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 24px;
    }

    .sm-con {
        flex-direction: column;
        align-items: center;
    }

    .big-om-box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .sm-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-left: 0;
        width: 100%;
    }

    .sm-group .om-box {
        width: 100%;
        padding-bottom: 20px;
        align-items: center;
    }

    .sm-group .om-box .round-image {
        width: 120px;
    }

    /* ---- CONTACT PAGE ---- */
    section#contact {
        padding: 16px;
    }

    section#contact .conwidth {
        flex-direction: column;
        gap: 24px;
    }

    .contact-form {
        width: 100%;
    }

    .headquarters {
        width: 100%;
    }

    .form-field {
        flex-direction: column;
        gap: 6px;
    }

    .form-field label {
        flex-basis: auto;
    }

    .form-submit {
        padding-left: 0;
    }

    #map iframe {
        height: 220px;
    }

    .headquarters-social-media ul {
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 10px;
    }

    /* ---- FOOTER ---- */
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    #footer-logo img {
        width: 160px;
    }
}

@media (max-width: 360px) {

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 17px;
        letter-spacing: 0.1em;
    }

    nav ul li a:link,
    nav ul li a:visited {
        font-size: 13px;
        padding: 8px 10px;
    }

    #logo-image {
        width: 170px;
    }

    #white-circle {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .cta-button {
        font-size: 15px;
        padding-block: 10px;
        padding-inline: 20px;
    }

    .skill-level-button {
        width: auto;
        min-width: 100px;
        padding: 8px 20px;
    }

    .rating {
        font-size: 20px;
    }

    .skill-level {
        font-size: 13px;
    }

    /* Enroll button */
    .enroll-button {
        padding: 8px 20px;
    }

    .video-item iframe {
        height: 180px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 14px;
        padding: 8px;
    }

    nav ul li a:link,
    nav ul li a:visited {
        font-size: 12px;
        padding: 8px 10px;
    }

    #footer-logo img {
        width: 140px;
    }

    #footer-text {
        font-size: 11px;
    }
}