:root
{
    font-family: 'Montserrat';
    --primary:#C74754;
    --secondary: #FEF7F7;
    --text: #000000CC;
    --text2: #FFFFFF;
    color: var(--text);
}

@font-face 
{
    font-family: 'TheStudentsTeacher';
    src: url('../fonts/TheStudentsTeacher-Regular.ttf') format('truetype')
}

html, body
{
    margin: 0;
    background-color: white;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

h1 
{
    font-family: 'TheStudentsTeacher', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
}

h2
{
    font-family: 'TheStudentsTeacher', sans-serif;
    font-size: 36px;
    font-weight: 400;
    margin-top: 0;
}

h3
{
    margin-right: 20px;
    margin-left: 20px;
    font-size: 18px;
    font-weight: 600;
}

.overlay 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999; 
    display: none;
}

.overlay-open
{
    display: block;
}

.navbar-logo
{
    height: 56px;
    width: 56px;
}

.navbar
{
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding-top: 9px;
    padding-right: 20px;
    padding-left: 20px;
}

.navbar-menu 
{
    background-color: var(--secondary);
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 75%;
    transform: translateX(100%);
    opacity: 0;
    z-index: 1000;
}

.navbar-menu-open 
{
    animation: slideIn 0.3s ease forwards;
}

.navbar-menu-close 
{
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn 
{
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut 
{
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.navbar-menu .navbar-item
{
    text-decoration: none;
    color: var(--text);
    text-align: right;
    margin-right: 20px;
    margin-top: 20px;
    font-weight: 500;
}

.navbar-cross
{
    height: 22px;
    width: 22px;
    cursor: pointer;
}
.navbar-burger
{
    cursor: pointer;
    opacity: 80%;
}


main
{
flex: 1;
}

/*.hero-img
{
    width: 100%;
    margin-top: 20px;
    background-image: url('../images/hero-img.png');
    height: 300px;
    background-size: cover;
}*/

.hero-img 
{
    width: 100%;
    /*margin-top: 20px;*/
}

.btn-cta
{
    text-decoration: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    height: 54px;
    color: var(--text2);
    background-color: var(--primary);
    border-radius: 10px;
    box-shadow: 4px 4px 20px  #0000003b;
    display: flex;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 20px;
    transition: background-color 150ms ease;
}

.btn-cta:hover
{
    background-color: #A7303C;
}

.section1
{
    display: flex;
    flex-direction: column;
}

.section5 .btn-cta, .section6 .btn-cta, .section7 .btn-cta
{
    width: 100%;
}

.btn-secondary
{
    width: 100%;
    text-decoration: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    height: 54px;
    color: var(--primary);
    background-color: var(--secondary);
    border-radius: 10px;
    border: solid 2px var(--primary);
    box-shadow: 4px 4px 20px  #0000003b;
    display: flex;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 20px;
    transition: background-color 150ms ease;
}

.btn-secondary:hover
{
    background-color: var(--primary);
    color: white;
}

.section5, .section6 {
    padding-right: 20px;
    padding-left: 20px;
}

.section3, .section4, .section5, .section6
{
    margin-top: 50px;
    margin-bottom: 100px;
}

section p, h1, h4, h2
{
    padding-left: 20px;
    padding-right: 20px;
}

h2
{
    text-align: center;
    margin: 0;
}

.title-home
{
    margin-bottom: 50px;
}

.section2
{
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--secondary);
}

.section2 h3
{
    margin-bottom: 0;
}

.section3 img, .section7 img
{
    width: 100%;
    max-width: 380px;
}

.section3 p, .section5 p, .section6 p
{
    max-width: 380px;
}

.section4
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section7 img, .section9 img
{
    width: 100%;
    max-width: 380px;
}

.section12
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 130px;
}

.plan-cards
{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-card
{
    width: 100%;
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    outline:solid 1px #E6E6E6;
    margin-top: 15px;
    margin-bottom: 15px;
}

.plan-card-red
{
    width: 100%;
    max-width: 350px;
    height: 530px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background-color: #A7303C;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 4px 4px 20px  #0000003b;
}

.plan-img
{
    height: 72px;
    margin-top: 32px;
}

.plan-stripe
{
    background-color: white;
    width: 100%;
    margin-top: 42px;
    text-align: center;
}

.plan-title
{
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 400;
}

.plan-title-white
{
    font-size: 24px;
    color: white;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 400;
}

.plan-caption
{
    margin: 0;
    font-weight: 200;
}

.plan-caption-white
{
    color: white;
    margin: 0;
    font-weight: 200;
}

.plan-options
{
    text-decoration: none;
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 24px;
}

.plan-options-white
{
    text-decoration: none;
    color: white;
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 24px;
}

.price
{
    font-size: 16px;
    font-weight: 200;
    margin: 0;
}

.price span
{
    font-size: 48px;
    font-weight: 600;
    color: var(--primary);
}

.price-white
{
    font-size: 16px;
    font-weight: 200;
    color: white;
    margin: 0;
}

.price-white span
{
    font-size: 48px;
    font-weight: 600;
}

.plan-text-bold-white
{
    font-weight: 600;
}

.plan-text-bold
{
    font-weight: 600;
    color: var(--primary);
}

.cards-container, .section5, .section6
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-collapse 
{
    background-color: transparent;
    font-size: 16px;
    color: var(--primary);
    font-weight: 200;
    border: none;
    cursor: pointer;
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: center;
}

.btn-collapse img 
{
    width: 15px;
    height: 15px;
    margin-left: 10px;
    rotate: 0deg;
    transition: rotate 0.2s ease;
}

.collapse-open + .btn-collapse img {
    rotate: 180deg;
}

.collapse-faq-open + .arrow-collapse {
    rotate: 180deg;
}

.btn-collapse:hover {
    text-decoration: underline;
}

.collapse {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: max-height 0.3s ease-out;
    max-height: 2.5rem;
}

.collapse-open {
    -webkit-line-clamp: unset; 
    max-height: 500px;
}

.section4
{
    background-color: var(--secondary);
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 20px;
    padding-left: 20px;
    justify-content: space-between;
}

.card-content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

.nom
{
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 400;
}

.carousel 
{
    position: relative;
    max-width: 1000px;
    height: 100%;
    margin: auto;
}

.carousel-items 
{
    display: flex;
    
}

.carousel-item 
{
    display: none;
}

.carousel-item.carousel-item-active 
{
    display:flex;
    justify-content: space-between; 
}

.carousel-item img 
{
    width: 33.33%;
    transition: opacity 0.5s ease;
}

.prev, .next 
{
    display: none;
    cursor: pointer;
}

.prev 
{
    left: 0;
}

.next 
{
    right: 0;
}

.pagination 
{
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.dot 
{
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #927E80;
    border-radius: 50%;
    transition: background-color 0.8s ease;
    cursor: pointer;
}

.dot.dot-active 
{
    background-color: var(--primary);
}

.section5 img, .section6 img 
{
    width: 100%;
}

.card
{
    background-color: white;
    width: 30%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 4px 20px 0px #0000001A;
}

.card:not(:last-child) 
{
    margin-right: 10px;
}

.image-container 
{
    width: 70%; 
    aspect-ratio: 1; 
    border-radius: 50%; 
    overflow: hidden;
    margin-top: 10px;
}

.card img
{
    height: 100%;
    width: 100%;
    object-fit:cover;
}

.note
{
    margin: 0;
    color: var(--primary);
    font-size: 12px;
}

.nom
{
    margin: 0;
}

.commentaire
{
    font-family: 'Roboto';
    font-size: 12px;
    font-weight: 300;
    overflow-wrap: anywhere;
}

.form
{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}


.text-input, .message-input
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    background-color: var(--secondary);
    color: #000000CC;
    border-radius: 10px;
    border: none;
    font-family: 'montserrat';
    font-size: 16px;
}

.message-input
{
    margin-bottom: 30px;
    height: 80px;
}

@keyframes collapseIn 
{
    0% {
        max-height: 0rem;
    }
    100% {
        max-height: 20rem;
    }
}

@keyframes collapseIn2 
{
    0% {
        max-height: 0rem;
        opacity: 0;

    }
    35% {
        opacity: 1;
    }
    100% {
        max-height: 20rem;
        opacity: 1;

    }
}

.faq-div
{
    margin-top: 40px;
    margin-bottom: 10px;
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: var(--secondary);
    color: #000000CC;
    box-shadow: 4px 4px 20px  #00000020;
    border-radius: 10px;
    border: none;
    position: relative;
    cursor: pointer;
}

.faq-div-active
{
    animation: collapseIn 0.5s ease-out forwards;
}

.collapse-faq 
{
    display: none;
    max-height: 0rem;
    opacity: 0;
}

.collapse-faq-open 
{
    display: block;
    animation: collapseIn2 0.8s ease-out forwards;
    animation-delay: 0.1s;

}

.arrow-collapse
{
    width: 15px;
    height: 15px;
    margin-left: 10px;
    rotate: 0deg;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translate(-50%, -50%);
}

.collapse-faq-open + .arrow-collapse 
{
    top: unset;
    bottom: 0px;
    transform: translate(50%, 50%);
}

.message-input
{
    resize: vertical;
}

.faq-text
{
    margin-bottom: 25px;
}

.faq-text2
{
    margin-top: 40px;
}

.btn-submit
{
    background-color: var(--primary);
    width: 100%;
    height: 54px;
    color: var(--text2);
    box-shadow: 4px 4px 20px  #0000003b;
    text-align: center;
    display: flex;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.btn-submit:hover
{
    background-color: #7D262F;
    color: white;
}

.data-disclaimer
{
    padding: 0;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 10px;
}

.section7
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.section8
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
}

.section-send
{
    display: none;
}

.section-send .hero-img
{
    width: 100%;
    max-width: 380px;
}

.section-disabled
{
    display: none;
}

.section-active
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-validation
{
    margin-top: 50px;
}

.section9
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.section10
{
    margin-bottom: 100px;
}

.section11
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.section11 h1 
{
    text-align: center;
}

.valider-img
{
    width: 48px;
}

.contact-validation
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.section-mention
{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-content
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer
{
    background-color: var(--primary);
}

.footer-container
{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1440px;
}

footer img
{
    width: 56px;
    height: 56px;
}

footer a
{
    color: white;
    text-decoration: none;
    margin-top: 20px;
}

@media screen and (min-width: 768px)
{
    p
    {
        font-size: 18px;
    }

    .header-container

    {
        max-width: 1440px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-content
    {
        display: flex;
        flex-direction: column;
        max-width: 700px;
    }

    .header-content p
    {
        margin: 5px;
        font-size: 24px;
        max-width: 600px;
    }

    .section2-container
    {
        max-width: 1440px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 20px;
        padding-left: 20px;
        display: flex;
        justify-content: space-between;
    }

    .section1
    {
        margin-top: 40px;
    }

    .header-content h1, .header-content p 
    {
        padding: 0;
    }

    .header-container 
    {
        padding: 0;
    }

    .header-content h1 
    {
        margin-top: 0;
    }

    h1
    {
        font-size: 96px;
    }

    .header-content .btn-cta 
    {
        margin-left: 0;
    }

    .hero-img
    {
        width: 100%;
        /*margin-top: 20px;*/
        max-height: 770px;
        object-fit: cover;
        object-position: top;
    }

    .header-img-container {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .hero-overlay 
    {
        height: 100%;
        width: 100%;
        position: absolute;
        background-image: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 65%)
    }

    .btn-cta, .section5 .btn-cta, .section6 .btn-cta, .section7 .btn-cta, .btn-secondary
    {
        width: 368px;
    }

    .section2
    {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section3
    {
        display: flex;
        flex-direction: column;
    }

    .section2-content
    {
        display: flex;
        flex-direction: column;
        width: 40%;
        align-items: center;
    }

    .section2-content p, .section2-content h3
    {
        text-align: center;
    }

    .nom
    {
        font-size: 24px;
        margin-top: 6px;
    }

    h3
    {
        font-size: 24px;
    }

    .title-home
    {
        font-size: 48px;
    }

    .section10
    {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 100px;
    }

    .section10 .btn-cta 
    {
        margin-left: auto;
        margin-right: auto;        
    }

    .cards-container
    {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .card-content
    {
        width: 33%;
    }

    .card-content h3
    {
        text-align: center;
    }

    .card
    {
        padding-top: 20px;
        padding-bottom: 20px;
        border-radius: 20px;
        min-height: 411px;
    }

    .note
    {
        font-size: 24px;
    }

    .commentaire
    {
        font-size: 18px;
    }
    
    .prev, .next 
    {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: rgb(0, 0, 0);
        font-weight: bold;
        font-size: 24px;
        display: block;
    }

    .next 
    {
        right: -40px;
    }

    .prev 
    {
        left: -40px;
    }

    .cta1-img
    {
        width: 100%;
        height: 400px;
    }

    .cta2-img
    {
        width: 100%;
        height: 400px;
    }

    .navbar, .section1 ,.section3, .section5
    {
        max-width: 1440px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    .section1
    {
        flex-direction: row;
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .navbar-burger
    {
        display: none;
    }

    .navbar-menu 
    {
        background-color: transparent;
        position: static;
        display: flex;
        flex-direction: row;
        height: 100%;
        width: 100%;
        transform: translateX(0%);
        opacity: 1;
        z-index: 1;
        
    }

    .navbar-cross
    {
        display: none;
    }

    .navbar-menu .navbar-item
    {
        margin-top: 0;
        margin-left: 120px;
        margin-right: 0;
    }

    .navbar-item
    {
        transition: color 150ms ease;
        font-size: 24px;
    }

    .navbar-logo
    {
        height: 110px;
        width: 110px;
    }

    .navbar-item:hover
    {
        color: var(--primary);
    }

    .navbar-menu .navbar-item.active
    {
        color: var(--primary);
    }

    

    #navbar-cross
    {
        display: none;
    }

    .navbar-menu-close 
    {
        animation: none;
    }

    .overlay-open
    {
        display: none;
    }

    .footer-container
    {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: auto;
    }

    .footer-content
    {
        display: flex;
        flex-direction: row;
    }

    .footer-content a
    {
        margin: 30px;
    }

    .section12
    {
        display: flex;
        flex-direction: column;
    }

    .plan-cards
    {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
    }

    .plan-card
    {
        margin: 15px;
        height: unset;
        min-height: 600px;
        width: 450px;
        max-width: unset;
    }

    .plan-card-red
    {
        height: unset;
        max-width: unset;
        min-height: 710px;
        width: 450px;
    }

    .plan-stripe
    {
        margin-top: 50px;
    }

    .plan-stripe p
    {
        font-size: 24px;
        margin: 10px;
    }

    .plan-img
    {
        height: 100px;
    }

    .plan-title
    {
        font-size: 40px;
        margin-top: 25px;
    }

    .plan-caption
    {
        font-size: 20px;
    }

    .plan-caption-white
    {
        font-size: 20px;
    }

    .plan-title-white
    {
        font-size: 40px;
        margin-top: 25px;
    }

    .plan-options
    {
        font-size: 18px;
        line-height: 32px;
        margin-top: 40px;
    }

    .plan-options-white
    {
        font-size: 18px;
        line-height: 32px;
        margin-top: 40px;
    }

    li::marker 
    {
        font-size: 0.5em;
    }

    .price
    {
        margin-top: 15px;
    }

    .price-white
    {
        margin-top: 15px;
    }

    .price-white span
    {
        font-size: 64px;
    }

    .price span
    {
        font-size: 64px;
    }

    .section2, .section3, .section4, .section5, .section6
    {
        margin-bottom: 130px;
    }

    .carousel
    {
        margin: 30px;
    }

    .pagination
    {
        margin-top: 30px;
    }

    .btn-submit
    {
        width: 368px;
        margin: auto;
    }

    .btn-cta
    {
        display: flex;
        width: 368px;
    }

    .section7
    {
        margin-bottom: 40px;
    }

    .section8
    {
        margin-bottom: 100px;
        max-width: 730px;
        margin-right: auto;
        margin-left: auto;
    }

    .form
    {
        display: flex;
        flex-direction: column;
        align-items: normal;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media screen and (max-width: 1090px)
{
    .navbar-menu .navbar-item
    {
        margin-left: 43px;
    }
}