@import url(./base/colors.css);

@font-face
{
    font-family: Montserrat;
    src: url(../font/Montserrat.ttf);
}

/* 
    Wordpress iframe alignment 
    A enlever si ça marche
*/

.wp-block-embed.is-type-video.alignright, 
.wp-block-embed.is-type-video.alignleft {
    max-width: 100%;
}

.aligncenter > div > iframe {
    display: block;
    margin: 0 auto;
}

.alignleft > div > iframe {
    display: block;
    margin-right: auto;
}

.alignright > div > iframe {
    display: block;
    margin-left: auto;
}

/*  */

html, body {
    font-size: 1rem;
    height: 100%; 
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5,
.h1-like {
    font-weight: bold;
    color: var(--purple-dark);
}
h1, .h1-like {
    font-size: 1.5rem;
}
h2, h3, h4, h5 {
    font-size: 1.15rem;
}

a {
    text-decoration: none !important;
}

p {
    margin: 0;
}

.color-purple-light {
    color: var(--purple-light);
}

.color-purple-dark {
    color: var(--purple-dark);
}

.bg-purple {
    background-color: var(--bg-purple);
}

.bg-blue-light {
    background-color: var(--blue-light);
}

.full-height {
    height: 100vh;
}

.relative {
    position: relative;
}

.modal iframe {
    display: none;
    width: 100%;
    height: 90vh;
}

.modal__load-gif {
    margin: 3rem 0;
    width: 5rem;
    color: var(--purple-dark);
    margin-right: auto;
    margin-left: auto;
}

.main-container {
    max-width: unset;
    padding: 0;
}

.row {
    margin: 0 !important;
}

.homepage h1, .homepage .h1-like {
    font-weight: bold;
    color: var(--purple-dark);
}

.homepage h2 {
    font-weight: bold;
    color: var(--purple-dark);
}

.homepage h3 {
    font-weight: bold;
    color: var(--purple-light);
}

.border--purple-dark {
    border: 3px solid var(--purple-dark);
}

.border--slim--purple {
    border: 2px solid var(--purple);
}

.base-container {
    min-height: 100%;
    position: relative;
    /* padding-bottom: 3rem; */
}

#footer {
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    /* height: 3rem; */
}

.bg-pink-light {
    background-color: var(--pink-lighter);
}

.w-fit {
    width: fit-content;
}

.h-100 iframe {
    margin: 1rem;
    width: 100%;
    height: 100%;
}

.iframe__text {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.list {
    margin-top: 1rem;
    padding: 0;
}

.list li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.5rem;
    margin-bottom: 1.25rem;
}
.list li:before {
    content: "■";
    color: var(--purple-dark);
    font-size: 1rem;
    margin-right: 1.4rem;
}

.list li {
    display: flex;
}

button:focus{
    outline: none !important;
}

.btn-cobham{
    border-radius: 5rem;
    padding: 0.6rem 2.3rem;
    background-color: var(--purple);
    color: white;
    font-weight: 600;
    border: none;
}

.btn-cobham:hover{
    background-color:var(--purple-light);
}

.btn-cobham:active{
    background-color:  #3a146e;
}
.btn-cobham:disabled {
    background-color: var(--gray);
}

.secondary-btn-cobham{
    border-radius: 25px;
    padding: 1vh 2vw;
    background-color: white;
    color: black;
    border: 1px solid var(--purple);
    font-weight: 600;
}

.secondary-btn-cobham:hover{
    background-color: #ede5f8;
}

.secondary-btn-cobham:disabled {
    background-color: var(--purple-light);
}

.secondary-btn-cobham:active{
    background-color: #c1a6ed;
}

.btn-primary{
    color: var(--purple) !important;
    background-color: white !important;
    border-color: var(--gray) !important;
    border-radius: 5px !important;
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle {
    color: white !important;
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
}

.btn-primary:disabled, .btn-primary.disabled {
    border-color: var(--gray) !important;
    color: var(--gray) !important;
    background-color: var(--purple-light) !important;
    opacity: 0.5;
}

.btn-with-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    font-size: 1.12rem;
    color: white;
    padding: 1rem;
    background: var(--purple-dark) 0% 0% no-repeat padding-box;
    border: none;
    cursor: pointer;
}

.btn-with-arrow:hover {
    background-color: #8744f4;
    color: white;
    transition: 0.2s;
}

.nav-link {
    font-size: 1rem;
    cursor: pointer;
}

.container-title {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem 3rem 1.5rem;
    margin-bottom: 3rem;
    color: white;
    background-color: var(--purple-dark);
}
.container-title h1, .container-title .h1-like{
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.rendez-vous-content {
    min-height: 80vh;
}

.rendez-vous-iframe {
    width: 100%;
}

.cobham-categories__selected {
    border-bottom: 5px solid var(--purple-dark);
}

/*
    Breakpoints
*/

@media screen and (min-width: 425px) {
    .cobham-categories {
        padding: 1rem;
        gap: 1rem;
    }
}

@media screen and (min-width: 992px) {
    .iframe__text {
        width: 540px;
    }
}

@media screen and (min-width: 1200px) {
    body {
        font-size: 1.25rem;
    }

    h1, h2, .h1-like {
        font-size: 1.8rem;
    }

    .pb-xl-10 {
        padding-bottom: 5rem !important;
    }

    .py-xl-10 {
        padding: 5rem !important;
    }

    .mt-xl-8 {
        margin-top: 4rem !important;
    }

    .mt-xl-10 {
        margin-top: 5rem !important;
    }

    .mt-xl-12 {
        margin-top: 8rem !important;
    }

    .mt-xl-20 {
        margin-top: 15rem !important;
    }
    
    .iframe__text {
        width: 960px;
    }

    .btn-with-arrow {
        width: fit-content;
        height: fit-content;
        font-size: 2rem;
    }
}

@media screen and (min-width: 1440px) {
    h1, h2, .h1-like {
        font-size: 2rem;
    }
    h3, h4, h5 {
        font-size: 1.5rem;
    }

    .iframe__text {
        width: 1140px;
    }

    .modal-xl {
        max-width: 1300px;
    }
}

@media screen and (min-width: 1600px) {
    h1, h2, .h1-like {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 2rem;
    }
    h4 {
        font-size: 1.7rem;
    }
    
    .page__post-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 1440px;
        margin-right: auto;
        margin-left: auto;
    }
}