/* GENERAL STYLES */
:root {
    --primary-color: #333230;
    --secondary-color: #B99D6C;
    --light-color: #f1f0e8;
    --grotesk: 'Founders Grotesk Text', Arial, Helvetica, sans-serif;
    --tiempos: 'Tiempos', Georgia, 'Times New Roman', Times, serif;               
}

* {
    --primary-font: var(--grotesk);
    --secondary-font: var(--tiempos);
}

[data-theme="light-bkgd"] {
    background-color: var(--light-color);
}

[data-theme="white-bkgd"] {
    background-color: #ffffff;
}

[data-theme="white-light-bkgd"] {
    background-color: #FBFBF8;
}

[data-theme="dark-bkgd"] {
    background-color: #333230;
    color: var(--light-color);
}

[data-theme="dark-bkgd"] h1, [data-theme="dark-bkgd"] h4, [data-theme="dark-bkgd"] p {
    color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

section {
    padding: 10px 180px;
}

h1, h4 {
    margin-block-start: 0;
    margin-block-end: 0;
}

h1 {
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
}

h2 {
    font-family: var(--secondary-font);
    font-size: 26px;
    font-weight: 400;
}

h4 {
    font-size: 17px;
    font-family: var(--primary-font);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.64px;
    font-weight: 300;
}

h6 {
    font-size: 16px;
    font-family: var(--primary-font);
    color: var(--secondary-color);
    font-weight: 300;
    margin-bottom: 15px;
    margin-top: 0;
}

p.main-text, p {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
}

a.btn {
    font-family: var(--primary-font);
    padding-block: 0;
    padding-inline: 0;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 300;
    border: 0;
    border-radius: 25px;
    text-decoration: none;
}

a.styled-btn {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

a.unstyled-btn {
    background-color: transparent;
    color: var(--primary-color);
}

section {
    padding-top: 75px;
}

.row {
    display: grid; 
    grid-template-columns: 2fr 3fr;
    grid-column-gap: 70px;
    grid-row-gap: 0px;
    padding-bottom: 70px;
}

.three-col .row {
    grid-template-columns: 1fr 1fr 1fr;
}

.four-col .row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}


/* BY-SECTION STYLES */
/* Navigation */
section.navigation {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 30px;
    padding-top: 25px;
}

nav input[type='checkbox'], nav label {
    display: none;
}

.nav__pills {
    display: flex;
    align-items: center;
    padding-top: 7px;
}

nav .nav__pills li {
    list-style: none;
    padding: 0px 15px;
}

nav .nav__pills a {
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 300;
    
    text-decoration: none;
}

nav a.btn {
    padding: 10px 20px;
}

nav .nav__pills li:not(:last-child) a {
    color:var(--primary-color);
}

nav .nav__pills li:nth-last-child(2)  {
    padding-right: 20px;
}

/* Hero */
section.hero {
    padding-top: 70px;
}

section.hero .hero__container {
    background-image: url('images/hero_img.png');
    position: relative;
    border-radius: 25px;
    background-size: cover;
    height: 525px;
}

/* section.hero img {
    width: 100%;
    border-radius: 20px;
    position: relative;
} */

section.hero .hero__text {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    opacity: 0.85;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    max-width: 700px;
    gap: 15px;
    padding: 40px 25px;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
}

section.hero img {
    padding-bottom: 10px;
    transition: all 250ms ease-in-out;
}

section.hero img:hover {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
    transform: scale(1.1);
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}


/* YouTube Overlay Play Button */
.ytb__video__wrapper {
    width: 100%; max-width: 800px;
}

.ytb__video__wrapper .video__container {
    position: relative; padding-bottom: 56.15%; height: 0; overflow: hidden;
}

.ytb__video__wrapper .video__container iframe {
    position: absolute; top: 0; left:0; width: 100%; height: 100%; border: 0;
}

/* The Course */
section.the__course .main-text {
    padding-bottom: 40px;
}

/* Course Topics */
/* section.course__topics .row {
    padding-bottom: 70px;
} */


/* About Course */
.numbers__wrap {
    display: flex;
    padding-top: 35px;
}

.ind__number {
    padding-right: 85px;
    font-family: var(--primary-font);
    color: var(--primary-color);
}

.ind__number .numbers {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
}

.ind__number .numbers__sub {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
}

section.about__course .about__video {
    padding-top: 50px;
}

section.about__course .about__video .course__points img {
    display: inline;
    padding-right: 5px;
}

.course__points .unstyled-btn { 
    padding-left: 0px;
}

section.about__course ul {
    list-style: none;
    padding-bottom: 10px;
}

section.about__course ul li::before {
    content: "\25AA";
    display: inline-block;
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-left: calc(-1em - 15px);
    width: 1em;
}

section.about__course li {
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: 500;
}

section.training__info .column:first-child h1 {
    padding-bottom: 20px;
}

section.training__info .column:not(:first-child) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.training__info .column:not(:first-child) h4 {
    font-weight: 500;
}

section.footer__contact .row {
    /* padding-top: 50px; */
    border-bottom: 0.5px solid var(--light-color);
}

/* section.footer__bot .row {
    padding-top: 50px;
} */

section.footer__bot .copyright {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



@media (max-width: 1400px){
    section {
        padding: 75px 50px 10px 50px;
    }
}

@media (max-width: 1100px){
    
    .row {
        grid-template-columns: 1fr;
        padding-top:70px;
    }

    .three-col .row, .four-col .row {
        grid-template-columns: 1fr;
    }

    .column {
        padding-bottom: 20px;
    }
    
    section.navigation {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 40px;
        padding-right: 5px;
        padding-left: 5px;
    }

    section.course__topics .row:not(:last-child) {
        padding-bottom: 0;
    }

    div.numbers__wrap {
        flex-direction: column;
        gap: 25px;
    }

    section.hero .hero__text {
        max-width: 100vw;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: unset;
        border-bottom-left-radius: 25px;
        border-top-right-radius: 0px;
    }
}

@media (max-width: 670px){
    
    section {
        padding: 30px 50px 10px 50px;
    }
    
    section.navigation {
        flex-direction: row;
        align-items: flex-end;
        padding: 40px 30px 20px 30px;
    }

    nav {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }

    .nav__logo {
        align-self: flex-start;
    }

    .nav__pills {
        display: block;
    }

    ul.nav__pills:last-child {
        width: 100%;
        flex-basis: 100%;
    }

    ul.nav__pills li {
        margin-bottom: 0;
        width: 100%;
        text-align: right;
        padding: 0.5em;
    }

    input[type="checkbox"]:not(:checked) + ul {
        display: none;
    }

    nav label {
        text-align: right;
        display: block;
        padding: 0.5em;
        line-height: 1.6em;
        align-content: center;
        font-family: var(--primary-font);
    }

    section.the__course .unstyled-btn {
        display: block;
        padding-left: 0px;
        padding-top: 30px;
    }
    
}

@media (max-width: 450px) {
    
    section {
        padding: 30px 25px 10px 25px;
    }

    section.navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav__logo svg {
        width: 100%;
    }

    nav {
        justify-content: flex-start;
        text-align: left;
    }

    nav label {
        text-align: center;
        align-self: flex-start;
    }

    ul.nav__pills {
        padding-inline-start: 0px;
        margin-block-start: 0px;
    }

    ul.nav__pills li {
        text-align: left;
    }
    
    section.hero {
        padding: 75px 10px 10px 10px;
    }

    section.hero .hero__text {
        border-radius: 25px;
        max-height: 525px;
    }
}
