/*
|----------------------------------------------------
| Fichier css commun de toutes les pages
|----------------------------------------------------
*/

/*----------------------------------*
 | Reset css                        |
 *----------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*----------------------------------*
 | General config                   |
 *----------------------------------*/
h1 {
    font-family: 'Kanit';
    font-weight: 500;
    font-size: 42px;
    line-height: 38px;
}

h2 {
    font-family: 'Kanit';
    font-weight: 500;
    font-size: 36px;
    line-height: 36px;
}

h3 {
    font-family: 'Kanit';
    font-weight: 500;
    font-size: 24px;
}

h4 {
    font-family: 'Kanit';
    font-weight: 500;
    font-size: 18px;
}

p {
    font-family: 'Kanit';
    font-weight: 300;
    font-size: 16px;
}

button,
label {
    font-family: 'Outfit';
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
}

a {
    font-family: 'Outfit';
    font-weight: normal;
    font-size: 16px;
    text-decoration: none;
    color: var(--red);
}

label {
    font-family: 'Kanit';
    font-size: 18px;
}

.max-width-content {
    width: 100%;
    max-width: 600px;
}

.w-100 {
    width: 100%;
}


/*----------------------------------*
 | Main                             |
 *----------------------------------*/
main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-section-container {
    min-height: 100vh;
    max-width: 450px;
    width: 100%;
    position: relative;
}


/*----------------------------------*
 | Logo                             |
 *----------------------------------*/
.prokeycoach-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: var(--white);
    padding: 10px 0 0 0;
    z-index: 4;
}

.prokeycoach-logo-content-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--red);
    line-height: 42px;
    font-style: italic;
}

.prokeycoach-logo-content-top div:nth-child(1) {
    font-size: 54px;
}

.prokeycoach-logo-content-top div:nth-child(2) {
    font-size: 59px;
}

/*----------------------------------*
 | Elements                         |
 *----------------------------------*/
#main-section-content-bottom-content-top {
    width: 100%;
}

/*
 * Help section
 */
#help-section-container {
    width: 100%;
}

#help-section-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

#help-section-content img {
    max-width: 30px;
}

.app-primary-block-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.app-primary-block {
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 12px;
    background-color: var(--light-grey);
    color: black;
    cursor: pointer;
    gap: 8px;
}

.app-primary-block-image {
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    flex-direction: column;
    gap: 10px;
    width: 30px;
}


.question-container-content-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px 20px 30px;
    position: fixed;
    bottom: 79px;
    /* background-color: white; */
    max-width: 450px;
    z-index: 10;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/*----------------------------------*
 | Menu, header                     |
 *----------------------------------*/
.menu-modal {
    display: flex;
    width: 100%;
    position: absolute;
    top: 51px;
    background: white;
    left: 0;
    padding: 30px;
    z-index: 10;
    animation: translateMinusYAnim ease 400ms;
}

.menu-modal.list {
    padding: 15px 30px;
}

.menu-modal-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.menu-modal-content>a h3 {
    font-size: 20px;
    font-weight: 400;
}

.menu-modal-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.menu-modal-content-top .right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--red);
}

.menu-modal-content-top .right img {
    height: 65px;
}

.menu-modal-content-bottom {
    width: 100%;
}

.menu-modal-content-bottom>.button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    color: rgb(255, 255, 255);
    background-color: black;
    font-size: 18px;
    font-family: 'Kanit';
    cursor: pointer;
    max-height: 100px;
    border: none;
    padding: 12px;
}

.menu-item-link {
    padding: 0 0 12px 0;
    width: 100%;
    border-bottom: 1px solid #dadada;
}

.menu-item-link h3 {
    font-size: 22px;
}

.menu-item-link:last-child {
    border-bottom: none;
    padding-bottom: 5px;
}

.button.red {
    background-color: var(--red);
}

/*----------------------------------*
 | Footer, navigation               |
 *----------------------------------*/
.main-section-content-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 450px;
    transform: translatex(-50%);
    z-index: 55;
}

.main-section-content-navigation-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px 15px 20px;
    border-top: 1px solid #DADADA;
    background: white;
    z-index: 55;
}


.main-section-content-navigation-content>a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    font-weight: 300;
    gap: 4px;
    color: black;
}

.main-section-content-navigation-content img {
    height: 25px;
}

.main-section-content-navigation-content>a.active {
    color: var(--red);
}



/*----------------------------------*
 | Common classes                   |
 *----------------------------------*/
.little-h2 {
    font-size: 28px;
    margin-top: 5px;
}

.iti--allow-dropdown {
    width: 100%;
    font-family: sans-serif;
    font-size: 14px;
}

.filter-grey {
    opacity: .4;
}

/*----------------------------------*
 | Animations                       |
 *----------------------------------*/
@keyframes opacityAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes opacityAnim2 {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@keyframes translateXAnim {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes translateYAnim {
    0% {
        transform: translateY(20%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes translateMinusYAnim {
    0% {
        transform: translateY(-30%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}