:root {
    /* colors */
    --primary-yellow:#F6BD60;
    --eggplant-accent: #734B5E;
    --green-light-accent: #84A59D;
    --green-dark-accent: #387780;
    --light-shade: #F7EDE2;
    --dark-shade: #1D201F; 
    --error-messages: #922D50;

    /* Fonts */
    font-size: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
}

h1 {
    font-family: "kepler-std", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3.4rem;
}

h2 {
    font-family: "kepler-std", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.4rem;
}

h3 {
    font-family: "kepler-std", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.4rem;
}



b {
    font-size: 2rem;
}

/* Links*/
a {
    color: var(--light-shade)
  }

a:hover,
a:active {
    color: var(--light-shade)
  }

/* Error Messages */
small {
    font-size: 1.4rem;
}

p,
input,
textarea,
select,
label,
button,
a {
    font-size: 1.6rem;
}

select {
    background-color: var(--light-shade);
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}


/* Custom focus styles */

input {
    border-top: 1px solid var(--primary-yellow);
    border-right: 1px solid var(--primary-yellow);
    border-left: 1px solid var(--primary-yellow);
    margin: 2px;
}

input:focus {
    border: 2px solid var(--light-shade);
    margin: 0px;
}

input:focus,
select:focus {
  outline: 2px solid var(--green-dark-accent);
  border-radius: 0.25rem;
}

/* Placeholder styles */
::placeholder {
  color: var(--dark-shade);
}


body {
    background-color: var(--dark-shade);
}

.page-container {
    position: relative;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
    padding-bottom: 100px;
}

.overlay-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background: url(../background/AdobeStock_397295118.jpeg);
    background-position: center;
    background-size: contain;
    opacity: 0.2;
    z-index: -1;
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url(../background/AdobeStock_397295118.jpeg);
    background-size: cover;
    opacity: 0.5;
}

.flex {
    display: flex;
}

.display-none {
    display: none;
}


/* Form error messages */
.error-message {
    color: var(--error-messages);
}

/* Base Button Styles */
.button {
    width: 120px;   
    height: 40px;
    color: var(--light-shade);
    background-color: var(--green-dark-accent);
    border: 1px solid var(--green-dark-accent);
    border-radius: 5px;
}


/* Header */
.header {
    width: 100%;
    height: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.nav {
    justify-content: space-between;
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    align-items: center;
    height: 100%;
}





.header h1 {
    color: var(--light-shade);
    font-family: "kepler-std-semicondensed-cap", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3.4rem;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.15);
}


/* Form */
.form-container {
    position: relative;
    color: var(--dark-shade);
    background-color: var(--primary-yellow);
    width: 90%;
    max-width: 500px;
    height: 500px;
    border: none;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    margin-bottom: 2rem;
}

.form__image {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    padding: 1rem;
    background-color: var(--primary-yellow);
    border: 2px solid var(--dark-shade);
    border-radius: 100px;
}

.form {
    position: relative;
    margin: 0 auto;
    width: 80%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.form__title {
    margin-bottom: 1rem;
}



.form__name {
    width: 60%;
    color: var(--dark-shade);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--dark-shade);
    padding: 0.5rem 0.5rem 0.5rem;
}

.form__button {
    margin: 0 auto;
    cursor: pointer;
    transition-duration: 150ms;
}

.form__button:hover,
.form__button:active {
    margin: 0 auto;
    color: var(--light-shade);
    border-color: var(--green-light-accent);
    background-color: var(--green-light-accent);
}



/* Dynamic Card */
.card-container {
    width: 90%;
    max-width: 500px;
    gap: 2rem;
    align-items: center;
    flex-direction: column;
}

.tarot-link {
    width: 90%;
    flex-direction: column;
    align-items: center;
}

.tarot-link__icon {
    margin: 0 auto 1rem;
    box-sizing: content-box;
    background-color: var(--primary-yellow);
    width: 60px;
    padding: 1rem;
    border-radius: 0.5rem;
}

.tarot-link__link {
    color: var(--light-shade);
}

.card-container::-webkit-scrollbar {
    width: 10px;
    border-radius: 10px !important;
}

.card-container::-webkit-scrollbar-corner {
    background-color: var(--primary-yellow);
}

.card-container::-webkit-scrollbar-thumb {
    background-color: var(--eggplant-accent);
    border-radius: 10px;
}

.card-container::-webkit-scrollbar-track {
    background-color: var(--primary-yellow); 
    border-radius: 10px;
}

.card-info {
    width: 100%;
    padding: 4rem;
    border-radius: 1rem;
    background-color: var(--primary-yellow);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}



.welcomeMsg {
    display: flex;
    justify-content: space-evenly;
}

.signIcon {
    height: 50px;
}
 
/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    padding: 4rem;
}

.footer__content {
    justify-content: center;
    align-items: center;
    height: 100%;
}

.footer__copyright {
    color: var(--light-shade);
}



/* Media Queries

/* Extra Small */
@media only screen and (max-width: 576px) {
   
}


/* Small */
@media only screen and (min-width: 576px) {
    .card-container {
        width: 90%;
        max-width: none;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        flex-direction: row;
    }

    .card-info {
        max-width: 500px;
    }

    .tarot-link__link {
        margin-top: 6rem;
    }

}

/* Medium */
@media only screen and (min-width: 768px) {

}

/* Large */
@media only screen and (min-width: 992px) {

    h2 {
        font-size: 3.2rem;
    }

    .header {
        margin-bottom: 8rem;
    }

    .nav {
        width: 80%;
        max-width: none;
    }
    
    .header h1 {
        color: var(--light-shade);
        font-family: "kepler-std-semicondensed-cap", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 5.6rem;
        text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.15);
    }

    .form__image {
        top: -30px;
        right: -30px;
        width: 100px;
    }
    .card-info {
        max-width: none;
        flex: 1 1 500px;
    }
}

/* Extra Large */
@media only screen and (min-width: 1200px) {
    
}

/* Extra Extra Large */
@media only screen and (min-width: 1440px) {

}