
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');

:root {
    --primary : #f0a564;
    --primary-text: #1c011c;
    --primary-link: #f7b451;
    --primary-hover: #ffcd81;
    --button-color-hover: #050554;
    --button-color: #01011c;
    --form-error: #b00b0b;
    --white-link-hover-color: #facb7f;
    --section-head-text-color: #01011c;
    --box-head-color: #01011c;
    --link-on-primary: #efff7a;
    --link-on-primary-hover: #ffffff;
    --footer-color: #1c011c;
    --link-color: #550455;
    --link-color-hover: #a209a2;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,body {
    font-family: sans-serif;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
}

p {
    margin: 10px;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-color-hover);
}

.hide-element {
    display: none;
}

/* INFORMATION PAGES  */

.info-page {
    margin: 0 20px;
}

.info-page h3,
.info-page h2,
.info-page h1{
    text-align: center;
    padding: 6px 0;
}

.info-page ol {
    margin-left: 30px;
    list-style-type: disc;
}

header .hero h1 {
    color: #fff;
    font-size: 100px;
    padding-top: 5rem;
    font-family: 'Courgette', cursive;
    font-weight: 100;
    text-transform: capitalize;
    z-index: 100;
}

header .hero h2 {
    font-size: 1.5rem;
    font-weight: 100;
}

.mindful-user .welcome-box a:hover {
    color: var(--white-link-hover-color);
    transition: color 1s;
}

.mindful-user {
    margin: 6px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3000;
    display: flex;
    flex-direction: row;
    color: #fff;
    cursor: pointer;
}

.mindful-user .welcome-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mindful-user .welcome-box p, .mindful-user .welcome-box a{
    font-size: 16px;
    padding: 0;
    margin: 2px 8px;
    color: #fff;
    text-decoration: none;
}

/* hero login logo  */
.mindful-user svg g path{
    fill: #fff;
}

.mindful-user svg {
    width: 50px;
    height: 50px;
}


.mindful-signin-graphic svg{
    width: 100px;
    height: 100px;
}

.mindful-signin-graphic svg g path{
    fill: var(--section-head-text-color);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

img {
    width: 100%;
    height: 100%;
}




/* button styles */

.btn-group {
    display: flex;
    justify-content: center;
    padding: 6px 0;
}

.btn:hover {
    cursor: pointer;
    background: var(--button-color-hover)
}

.btn {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    background: var(--button-color);
    padding: .5rem;
    border-radius: 6px;
    border: 0;
}

.btn img {
    height: 20px;
    width: 20px;
    margin-right: 6px;
}

.btn-lnk {
    text-decoration: none;
    width: fit-content;
}

.btn-lnk:hover {
    color: #fff;
}

/* SPINNER  */

.spin-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.spin {
    width: 50px;
}

.lds-dual-ring {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 32px;
    height: 32px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #333;
    border-color: #333 transparent #333 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
  

/* form styles */

.sign-in-box .box-head {
    width: 100%;
    background: var(--box-head-color);
    color: #fff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.sign-in-box .box-head h2{
    text-align: center;
    padding: 2px 0;
    font-family: 'Courgette', cursive;
}

.sign-in-box {
    border: 1px solid #333;
    border-radius: 10px;
}

.sign-in-box .box-body {
    margin: 2px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sub-sign-in-box {
    border-radius: 10px;
    padding: 10px;
    background: var(--primary);
    color: var(--primary-text);
}

.sub-sign-in-box a {
    color: var(--link-on-primary);
    text-decoration: none;
}

.sub-sign-in-box a:hover {
    color: var(--link-on-primary-hover);
}
 


.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0;
}

.form-group label {
    margin-right: 6px;
}

.form-error-box {
    color: var(--form-error);
    margin: 6px 0;
    max-width: 300px;
}

.form-error-box p {
    font-size: 14px;
    padding-bottom: 6px;
    text-align: center;
}

.form-error-box ul li{
    list-style-type: none;
    margin-left: 8px;
    font-size: 12px;
}

input {
    padding: .5rem;
    font-size: 18px;
    border-radius: 6px;
    border: #727171 1px solid;
}

input:focus {
    outline: #a1bef0 1px solid;
  }

.divider {
    margin: auto;
    border-top: #d68400 2px solid;
    width: 30%;
    margin-bottom: 2rem;
}

/* layout  */

.grid-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.audio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

audio {
    padding: 20px 0;
}

.listing .row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .5fr .5fr;
}

.listing .row .col:first-child {
    font-weight: bold;
}

.listing .row .col {
    margin:6px;
}

.order-detail {
    margin-bottom: 10px;
}

.order-detail hr {
    margin: 10px;
}

.order-detail .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.order-detail .row .col:first-child {
    font-weight: bold;
}

.centered-box {
    display: flex;
    flex-direction: column;
}

.centered-box h1,
.centered-box h2,
.centered-box h3,
.centered-box h4 {
    text-align: center;
    align-self: center;
}

.centered-box .btn-lnk {
    align-self: center;
}

/* images */

.graphic-image-container {
    width: 200px;
    height: 200px;
}

.graphic-image-container img {
    width: 100%;
    height: 100%;
}

/* sections */

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px;
}

section h2, section h3 {
    font-family: 'Courgette', cursive;
    margin: 20px 0;
}

section .section-head {
    font-family: 'Courgette', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
}


section h1 {
    font-size: 72px;
    text-align: center;
    color: #01011c;
    margin: 1rem 0;
}

/* CHECKOUT  */

.card-body {
    border: 1px solid #000;
    border-radius: 10px;
    padding: 6px;
}

footer {
    background: var(--footer-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 950px) {
    header .hero h1 {
        font-size: 80px;
    }    
}

@media (max-width: 770px) {

    header .hero {
        flex-direction: column !important;
    }    

    header .hero h1:nth-child(2){
        padding-top: 0;
    }    

    .grid-col-2 {
        display: flex;
        flex-direction: column;
    }

    .people-grid {
        display: flex;
        flex-direction: column;
    }

    .people-grid .person .person-img {
        width: 80%;
        margin: auto;
    }

    button {
        font-size: 1rem;
    }
}

@media (max-width: 550px) {
    header .hero h1 {
        font-size: 60px;
    }   
}

@media (max-width: 450px) {
    .listing .row {
        display: flex;
        flex-direction: column;
    }

    section h1 {
        font-size: 2rem;
    }

    button {
        font-size: .75rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header h2 {
        font-size: 1rem;
    }
    
    .order-detail .row {
        flex-direction: column;
    }
}

@media (max-width: 370px) {
    header .hero h1 {
        font-size: 40px;
    }   

    .form-group {
        flex-direction: column;
    }

    .form-error-box {
        width: 80%;
        text-align: center;
    }

    .spin-container {
        flex-direction: column;
    }

    .spin-container p {
        font-size: 0.8rem;
    }
}

@media (max-width: 250px) {
    .form-group input {
        width: 150px;
    }
}