/* font-family: 'Montserrat', sans-serif; */

/* ===========================================
Table of Content:
    1.GLOBAL
        1.1.Variables
        1.2.Button
        1.3.Social Links
        1.4.Typography
        1.5.Z-Index
    2.HERO SECTION
        2.1.Hero-Navigation
        2.2.Hero-Information
        2.3.Hero-Images
    3.BENEFITS SECTION
    4.COURSES SECTION
    5.ABOUT SECTION
    6.INSTRUCTORS SECTION
    7.OUR GALLERY SECTION
    8.CTA DOWNLOAD APP SECTION
    9.REGISTER SECTION
    10.FOOTER
*/


/* ===========================================
1.GLOBAL 
*/
/* 1.1.Variables */
:root {
    /* Colors */
    --white: #ffffff;
    --black: #000000;
    --grey: #444444;
    --blue: #00dde4;
    --pink: #e54fed;
    --purple: #432e8b;
    --navbar: #009eb9;
}

/* 1.2.Button */
.btn {
    padding: 2rem 3rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--pink);  
    border: 0.35rem solid var(--pink);
    transition: background-color 0.3s ease;
    z-index: 2;
}

.btn-clr-secondary {
    background-color: var(--blue);
    border: 0.35rem solid var(--blue);
}

.btn:hover {
    background-color: #e54fed73;
    transition: all 0.3s ease;
}

.btn-clr-secondary:hover {
    background-color:  #00dce465;;
    transition: all 0.3s ease;
}

/* 1.3.Social Links */
.social-links img {
    display: inline-block;
    margin: 3rem 0.8rem 0 0.8rem;
}

/* 1.4.Typography */
.hero-title {
    font-size: 5.8rem;
}

.cta-download-app-main-title,
.footer-1 h1 {
    font-size: 4.2rem;
}

h1 {
    font-size: 3.7rem;
}

.hero-text {
    font-size: 3.3rem;
}

h2 {
    font-size: 2.9rem;
}

.hero-btn,
p,
.footer-2 h2,
.footer-3 h2 {
    font-size: 2.5rem;
}

.btn,
.hero-menu-link,
.instructor-info,
.gallery-info,
.footer-menu-link,
.footer-3 {
    font-size: 2.1rem;
}

.hero-info-right p {
    font-size: 1.3rem;
}

/* 1.5.Z-Index */
img {
    z-index: 20;
}

.hero-purple-line,
.hero-thumb,
.hero-purple-cross,
.benefit-pink-thumb,
.benefit-blue-thumb,
.course-purple-line,
.course-purple-cross,
.about-pipe,
.gallery-thumb,
.footer-pipe {
    z-index: 30;
}

.instructor-tag {
    z-index: 30;
}

.hero-pipe {
    z-index: 40;
}

h1,
h2,
p,
.btn {
    z-index: 50;
    position: relative;
}

.hero-layer {
    z-index: 90;
}

.hero-navigation {
    z-index: 100;
}


/* ===========================================
2.HERO SECTION 
*/
.hero {
    position: relative;
    color: var(--white);
    height: 94rem;
    width: 100%;
}

.hero-bg {
    background: url(../images/hero-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

/* 2.1.Hero-Navigation */
.hero-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13rem 20rem 0 20rem;
}

.hamburger {
    display: none;
    position: fixed;
    top: 5rem;
    right: 8rem;
    flex-direction: column;
    justify-content: space-between;
    width: 3.8rem;
    height: 2.5rem;
    cursor: pointer;
}

.hamburger-line {
    height: 0.5rem;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
}

.hero-menu {
    display: flex;
}

.hero-menu-item {
    margin-left: 5rem;
}

.hero-menu-link {
    font-weight: 500;
}

.hero-menu-link:hover {
    border-bottom: 0.35rem solid var(--pink);
    transition: all 0.1s ease;
}

.hero-layer {
    display: none;
}

/* Changes to the hero-navigation background color when scrolling down and up */
.hero-navigation-nav-scrolled {
    padding: 1.5rem 8rem 0 8rem;
}

.hero-logo-nav-scrolled {
    height: 8rem;
}

.hero-layer-nav-scrolled {
    display: block;
    background-color: rgba(0, 0, 0, 0.80);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 11rem;
}

/* 2.2.Hero-Information */
/* Left */
.hero-info {
    position: relative;
    padding: 52.5rem 20rem 7.5rem 20rem;
    display: flex;
    justify-content: space-between;
    min-height: 350px;
}

.hero-title {
    position: relative;
    width: 38rem;
    height: auto;
    font-weight: 900;
    line-height: 5rem;
}

.hero-text {
    max-width: 62rem;
    height: auto;
    font-weight: 500;
    line-height: 1;
    margin-top: 2.5rem;
    margin-bottom: 5rem;
}

/* Right */
.hero-info-right {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-info-right img {
    margin-bottom: 1rem;
}

.hero-info-right p {
    letter-spacing: 0.3rem;
    font-weight: 500;
}

.hero-info-right p:first-of-type {
    color: var(--blue);
}


/* 2.3.Hero-Images */
.hero-purple-line {
    position: absolute;
    top: 33rem;
    left: 0;
}

.hero-thumb {
    position: absolute;
    top: 50rem;
    left: 10rem;
}

.hero-pipe {
    position: absolute;
    top: 66.3rem;
    right: 0;
}

.hero-purple-cross {
    position: absolute;
    top: 69rem;
    right: 16.5rem;
}


/* ===========================================
3.BENEFITS SECTION
*/
.benefits-section {
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding: 13rem 16rem 16rem 16rem;
}

.benefit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 6rem;
}

.benefit-title {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--grey);
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    margin: 5rem 0 3rem 0;
}

.benefit-text {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--black);
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
}

.benefit-pink-thumb {
    position: absolute;
    top: 99rem;
    right: 0;
}

.benefit-blue-thumb {
    position: absolute;
    top: 149rem;
    left: 9rem;
}


/* ===========================================
4.COURSES SECTION
*/
.courses {
    position: relative;
    background-color: var(--purple);
    color: var(--white);
    padding: 13rem 20rem;
}

.courses-main-title {
    letter-spacing: 0.2rem;
    line-height: 8.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10.6rem;
}

.courses-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    width: 28rem;
}

.course-img-bg {
    position: absolute;
    top: -2rem;
    left: -2rem;
    height: 26rem;
    width: 27.18rem;
    background-color: #00dde4;
}

.course img {
    height: auto;
    width: 100%;
}

.course-title {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    font-weight: 700;
    color: var(--blue);
    margin: 4.5rem 0 4.7rem 0;
}

.course-text {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    font-weight: 400;
    margin-bottom: 7.5rem;
}

.course-purple-line {
    position: absolute;
    top: 34rem;
    left: 0;
}

.course-purple-cross {
    position: absolute;
    top: 111.5rem;
    right: 10rem;
}


/* ===========================================
5.ABOUT SECTION
*/
.about-section {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 13rem 20rem;
}

.about-img-container {
    padding-top: 1.2rem;
}

.about-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80rem;
    height: 28rem;
    background-color: var(--blue);
}

.about-img {
    position: relative;
}

.about-info {
    margin-left: 10rem;
    width: 35rem;
}

.about-main-title {
    letter-spacing: 0.2rem;
    color: var(--blue);
    font-weight: 700;
}

.about-small-title {
    line-height: 2.9rem;
    color: var(--grey);
    font-weight: 500;
    margin: 1.5rem 0 3.5rem 0;
}

.about-text {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--grey);
    font-weight: 400;
    margin-bottom: 6rem;
}

.about-pipe {
    position: absolute;
    bottom: -8rem;
    left: 31rem;
}


/* ===========================================
6.INSTRUCTORS SECTION
*/
.instructors-section {
    background-color: var(--purple);
    padding: 13rem 7.5rem 6rem 7.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.instructors-main-title {
    letter-spacing: 0.2rem;
    line-height: 8.3rem;
    color: var(--white);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10rem;
}

.instructors {
    display: flex; 
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.instructor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 8.5rem;
}

.instructor-image {
    width: 100%;
    height: auto;
}

.instructor-tag {
    transform: translate(0, -6.9rem);
    background-color: var(--blue);
    padding: 4rem 6rem;
}

.instructor-name {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--white);
    font-weight: 700;
    text-align: center;
}

.instructor-info {
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--white);
    font-weight: 400;
    text-align: center;
}

.social-links-instructor {
    transform: translate(0, -6.9rem);
}


/* ===========================================
7.OUR GALLERY SECTION
*/
.gallery-section {
    position: relative;
    padding: 13rem 0 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-main-title {
    letter-spacing: 0.2rem;
    line-height: 8.3rem;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 3.5rem;
}

.gallery-small-title {
    line-height: 2.9rem;
    color: var(--grey);
    font-weight: 500;
    margin-bottom: 5rem;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 2rem;
}

.gallery-images img {
    margin: 0 1rem 4rem 1rem;
}

.gallery-info {
    letter-spacing: 0.2rem;
    line-height: 2.9rem;
    color: var(--grey);
    font-weight: 500;
    text-align: center;
}

.gallery-thumb {
    position: absolute;
    top: -6rem;
    left: 35rem;
}


/* ===========================================
8.CTA DOWNLOAD APP SECTION
*/
.cta-download-app-section {
    position: relative;
    background-image: url(../images/cta-download-app-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    height: 93rem;
}

.cta-download-app-main-title {
    position: absolute;
    top: 13rem;
    right: 19rem;
    letter-spacing: 0rem;
    line-height: 3.8rem;
    color: var(--white);
    font-weight: 900;
    text-align: center;
}

.cta-download-app-btn {
    position: absolute;
    bottom: 4rem;
    right: 25.8rem;
}


/* ===========================================
9.REGISTER SECTION
*/
.register-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url(../images/register-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 57rem;
    padding: 13rem 0 7rem 28rem;
}

.register-main-title {
    letter-spacing: 0.2rem;
    line-height: 8.3rem;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 5rem;
}

.register-info {
    width: 40rem;
    letter-spacing: 0.1rem;
    line-height: 3.3rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 3rem;
}


/* ===========================================
10.FOOTER
*/
.footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5.5rem 11rem 6rem 11rem;
    background-color: var(--purple);
    color: var(--white);
}

.footer-logo {
    position: absolute;
    top: 5.5rem;
    left: 13rem;
    margin-bottom: 4rem;
}

.footer-1 h1 {
    letter-spacing: 0.2rem;
    line-height: 3.3rem;
    color: var(--blue);
    font-weight: 900;
    margin-top: 17rem;
    margin-bottom: 2rem;
}

.footer-1 p {
    letter-spacing: 0.1rem;
    line-height: 2.9rem;
    font-weight: 300;
}

.footer-2 h2,
.footer-3 h2 {
    letter-spacing: 0.2rem;
    line-height: 7.5rem;
    color: var(--blue);
    font-weight: 700;
}

.footer-2 h2 {
    margin-bottom: 6rem;
}

.footer-3 h2 {
    margin-bottom: 5.5rem;
}

.footer-menu-link {
    letter-spacing: 0.2rem;
    line-height: 3.8rem;
    font-weight: 600;
}

.footer-3 p {
    letter-spacing: 0rem;
    line-height: 3.8rem;
    font-weight: 300;
} 

.footer-pipe {
    position: absolute;
    top: -16rem;
    right: 21rem;
}

