@font-face {
    font-family: Athelas;
    src: url("../fonts/Athelas-Regular.ttf") format("truetype");
    font-family: Roboto;
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    src: url("../fonts/Roboto-Italic.ttf") format ("truetype");
    /* font-family: Bigjohn;
    src: url("../fonts/BIGJOHN.otf") format("otf"); */
    font-family: Slimjoe;
    src: url("../fonts/SlimJoe.otf") format("otf");
}

div.superTop,
div.middle,
div.middle,
div.nosFormations,
div.bottom {
    margin-left: 10%;
    margin-right: 10%;
}

div.bottom {
    width: 80%;
    position: relative;
    /* margin-left: 20%;
  margin-right: auto; */
}

@media screen and (max-width: 768px) {
    div.bottom {
        width: 100%;
        margin: 0;
    }
}

main div.superTop ul {
    list-style-type: none;
    list-style-image: url(../img/puce.png);
    margin-left: 1.2rem;
}

main div.superTop ul li {
    margin-bottom: 0.75rem;
}

main div.superTop ul li:last-of-type {
    margin-bottom: 0;
}


.entete {
    position: relative;
    text-align: center;
    width: 100%;
    height: 46rem;
    background-image: url("../img/entete.jpg");
    background-size: cover;
}

@media screen and (max-width: 1200px) {
    .entete {
        height: 33rem;
    }
}

@media screen and (max-width: 768px) {
    .entete {
        height: 21rem;
    }
}

@media screen and (max-width: 480px) {
    .entete {
        height: 13rem;
    }
}


.entete-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 100%;
    padding-left: 40vw;
}

.entete-content h1 .title {
    display: block;
    color: #ffffff;
    font-family: "Roboto";
    font-size: 2.8rem;
    font-weight: 600;
    margin-top: 3.5rem;
}

.entete-content h1 .subtitle {
    color: #ffffff;
    font-family: "Roboto";
    font-size: 1.7rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.entete img {
    /* position: absolute; */
    width: 25rem;
    max-width: 30vw;
    /* margin-left: 13%; */
    /* margin-top: 18rem; */
}

@media screen and (max-width: 991px) {
    .entete-content {
        padding-left: 0;
        background: rgba(0,0,0,0.65);
    }
    .entete img {
        max-width: 45vw;
    }
}



@media screen and (max-width: 1200px) {
    /* madeleine */


    /* .entete-content {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        left: 40%;
        height: 100%;
    } */

    .entete img,
    .entete p {
        /* position: absolute; */
        position: relative;
        /* width: 27%; */
        margin-left: 0;
        margin-top: 0;
        padding: 0;

    }


    /* .entete img
    {
        margin-left: 12%;
        margin-top: 14rem;
        margin-top: 4vh!important;
    } */
}

/* @media screen and (max-width: 768px)
{
    .entete img
    {
        margin-left: 12%;
        margin-top: 9rem;
    }
} */

/* @media screen and (max-width: 480px)
{
    .entete img
    {
        height: 3rem;
        position: absolute;
        margin-left: 3rem;
        margin-top: 4rem;
    }
} */

.entete p:nth-of-type(1) {
    color: #ffffff;
    font-family: "Roboto";
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.75rem;
    letter-spacing: 0.28px;
    /* margin-bottom: -1.5rem; */
    /* padding: 27rem 1rem 0rem 52.7%; */
    margin-top: 3.5rem;
}

.entete-content>p:nth-child(2) {
    margin-bottom: 0px;
}

@media screen and (max-width: 1200px) {
    .entete p:nth-of-type(1) {
        font-size: 2.5rem;
        /* padding: 20rem 1rem 0rem 49.7%; */
    }
}

@media screen and (max-width: 768px) {
    .entete p:nth-of-type(1) {
        font-size: 1.5rem;
        /* padding: 13rem 1rem 0rem 52.7%; */
    }

    .entete-content h1 .title {
        margin-top: 0;
    }

    .entete-content h1 {
        padding-top: 0;
        margin-top: 5%;
    }
}

@media screen and (max-width: 480px) {
    .entete p:nth-of-type(1) {
        font-size: 1rem;
        /* padding: 7.9rem 1rem 0rem 13.5rem; */
    }

    .entete-content h1 {
        margin-top: 5%;
        padding-top: 0;
    }

    .entete-content h1 .title {
        font-size: 1.5rem;
    }
    .entete-content h1 .subtitle {
        font-size: 1rem;
    }


}

.entete p:nth-of-type(2) {
    color: #ffffff;
    font-family: "Roboto";
    font-size: 1.7rem;
    letter-spacing: 0.4px;
    /* margin-bottom: -2.5rem; */
    /* padding: 0rem 0rem 0rem 53%; */
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
    .entete p:nth-of-type(2) {
        font-size: 1.7rem;
        /* padding: 0rem 0rem 0rem 51%; */
    }
}

@media screen and (max-width: 768px) {
    .entete p:nth-of-type(2) {
        font-size: 1rem;
        /* padding: 1rem 0rem 0rem 51%; */
    }
}

@media screen and (max-width: 480px) {
    .entete p:nth-of-type(2) {
        font-size: 0.82rem;
        /* padding: 1rem 1rem 0rem 13.5rem; */
    }
}

.superTop {
    position: relative;
}

.top {
    width: 70%;
    margin: 5rem auto 6rem 0;
}

@media screen and (max-width: 1424px) {
    .top {
        width: 60%;
    }
}

@media screen and (max-width: 1100px) {
    .top {
        width: 100%;
        /* margin: 5rem 0rem 3rem 9rem; */
        margin-left: 0;
        margin-right: 0;
    }
}

.top h2 {
    color: #242424;
    font-family: Athelas;
    font-size: 2rem;
    font-weight: 400;
    line-height: 2rem;
    margin-bottom: 2rem;
    padding-top: 0;
}

.top span.tag {
    display: block;
    color: #fffefb;
    font-family: "Times - Roman";
    font-size: 1rem;
    font-weight: 400;
    line-height: 2rem;
    background: #cc393e;
    width: 7rem;
    height: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* .top p
{
    font-family: "Roboto - Regular";
    font-weight: 400;
    line-height: 1rem;
    margin: 2rem 0rem 1rem 0rem;
} */
/* 
@media screen and (max-width: 480px)
{
    .top p
    {
        margin: 2rem 3rem 1rem 1rem;
    }
} */
/* margin: 2rem 3rem 1rem 1rem; */

.top p span,
.middle p span {
    color: #cc393e;
    /* font-family: "Roboto - Bold Italic"; */
    font-weight: 700;
    font-style: italic;
    line-height: 1rem;
}

.dotCircle {
    color: #cc393e;
}

.cartoucheTop {
    position: absolute;
    height: 31.5rem;
    width: 15rem;
    background: #cc393e;
    text-align: center;
    border-style: none;
    right: 3rem;
    top: -8rem;
}

/* @media screen and (max-width: 1100px)
{
    .cartoucheTop
    {
    position: relative;
    margin: 0rem 0rem 3rem 44%;
    right: 0;
    top: 0;
		margin: auto;
		width: 35%;
    }
} */

@media screen and (max-width: 1100px) {
    .cartoucheTop {
        position: relative;
        right: 0;
        top: 0;

        width: 100%;
        height: auto;
        padding: 2rem;
        margin: 2rem 0;
    }

    .cartoucheTop img {
        padding: 0 0 2rem 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .cartoucheTop {
        /* position: relative;
    margin: 0rem 0rem 3rem 26%;
    right: 0;
    top: 0;
    height: 25.5rem; */
        width: 100%;
    }
}

.cartoucheTop img {
    padding: 2rem 1rem 1rem 1rem;
}

@media screen and (max-width: 480px) {
    .cartoucheTop img {
        padding: 2rem 0rem 0rem 0rem;
    }
}

.cartoucheTop h2 {
    color: #ffffff;
    font-family: "Roboto Medium";
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1rem;
    text-transform: uppercase;
    padding: 1rem 1rem 1rem 1rem;
    padding-top: 0;
}

@media screen and (max-width: 480px) {
    .cartoucheTop h2 {
        font-size: 1rem;
        padding: 1rem 1rem 0rem 1rem;
    }
}

.cartoucheTop p {
    color: #ffffff;
    /* font-family: "Roboto - Regular";
    font-weight: 400; */
    padding: 0.5rem 1rem 0rem 1rem;
}

/* @media screen and (max-width: 480px)
{
    .cartoucheTop p
    {
        font-size: 0.8rem;
    }
} */

.cartoucheTop a {
    background: #ffffff;
    width: 5rem;
    height: 1rem;
    border-radius: 0.5rem;
    color: #cc474b;
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 500;
    line-height: 3.5rem;
    letter-spacing: 0.6px;
    padding: 1rem;
    margin-top: 1rem;
}

.cartoucheTop a:focus {
    background: #f0f0f0;
    box-shadow: 0 0 0 0.2rem rgba(255, 223, 227, 0.5);
}

@media screen and (max-width: 480px) {
    .cartoucheTop a {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

.middle {
    background-color: #f1f1f1;
    text-align: center;
    margin: 1rem 3rem 1rem 9rem;
    padding: 2rem;
}

@media screen and (max-width: 480px) {
    .middle {
        margin: 1rem 3rem 1rem 1rem;
    }
}



.middle h2 {
    color: #232323;
    font-family: "Times - Roman";
    font-weight: 400;
    line-height: 2rem;
    margin-bottom: 2rem;
    padding-top: 0;
}

.middle p span {
    color: #cc393e;
    /* font-family: "Roboto - Bold Italic"; */
    font-weight: 700;
    font-style: italic;
    /* line-height: 14px; */
}

.nosFormations {
    margin: 2rem 3rem 1rem 9rem;
}

@media screen and (max-width: 480px) {
    .nosFormations {
        margin: 1rem 1rem 1rem 1rem;
    }
}

.nosFormations h2 {
    font-family: "Athelas - Regular";
    font-weight: 400;
    line-height: 21px;
    padding-top: 0;
}

.nosFormations h2,
.bottom h2 {
    color: inherit;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* @media screen and (max-width: 480px)
{
    .nosFormations h2
    {
        font-size: 1.4rem;
        margin: 1rem 1rem 0rem 2rem;
    }
} */

.nosFormations h3 {
    font-family: "Athelas - Regular";
    font-weight: 400;
    line-height: 21px;
    padding-top: 0;
}

@media screen and (max-width: 480px) {
    .nosFormations h3 {
        font-size: 0.8rem;
        margin: 1rem 1rem -1rem 2rem;
    }
}

.listeFormation {
    padding: 0;
    display: flex;
    /* display: inline-block; */
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 1100px) {
    .listeFormation {
        display: inline-block;
    }
}

.carte {
    display: inline-table;
    /*height: 25rem;*/
    /* width: 25%; */
    vertical-align: top;
    width: calc(25% - 2rem);
    position: relative;
    background: #ffffff;
    text-align: left;
    border-radius: 0 0 3px 3px;
    border: 1px solid #e6e6e6;
}

@media screen and (max-width: 1200px) {
    .carte {
        width: 21%;
    }
}

@media screen and (max-width: 1100px) {
    .carte {
        width: 40%;
        margin: 4%;
    }
}

@media screen and (max-width: 768px) {
    .carte {
        width: 100%;
        /* margin: 1rem 1rem 1rem 25%; */
        margin: 0 0 2rem 0;
    }
}

/* @media screen and (max-width: 680px)
{
    .carte {
    width: 51%;
    margin: 1rem 1rem 1rem 25%;
} 
}*/

@media screen and (max-width: 480px) {
    .carte {
        height: auto;
        min-height: 17.5rem;
        /* height: 17.5rem;
        width: 24%;
        margin: 1rem 1rem 0rem 6.5rem; */
    }
}

.carte img {
    width: 100%;
    height: 13rem;
    object-fit: cover;
}


@media screen and (max-width: 480px) {
    .carte img {
        /* width: 15rem; */
        height: 7rem;
    }
}

.carte h3 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2rem;
    color: #232323;
    margin: 1rem;
    padding-top: 0;
    text-transform: uppercase;
    font-family: 'Roboto';
}

@media screen and (max-width: 480px) {
    .carte h3 {
        font-size: 1.2rem;
        margin: 1rem 1rem 1rem 1rem;
    }
}

.carte p {
    font-weight: 300;
    /* line-height: 1rem; */
    /* margin: 1rem 1rem 2rem 1rem; */
    margin: 1rem;
}

@media screen and (max-width: 480px) {
    .carte p {
        font-size: 0.9rem;
        margin: 1rem 1rem 1rem 1rem;
    }
}

.carte a {
    color: #cc393e;
    font-weight: 500;
    line-height: 1rem;
    margin: 1rem;
    display: block;
}

@media screen and (max-width: 480px) {
    .carte a {
        font-size: 0.9rem;
        margin: 1rem 1rem 1rem 1rem;
    }
}

.bottom {
    position: absolute;
}

.bottom h2 {
    font-family: "Athelas - Regular";
    font-weight: 400;
    line-height: 2rem;
    margin: 0rem 1rem 1rem 0;
    padding-top: 0;
}

@media screen and (max-width: 480px) {
    .bottom h2 {
        margin: 0rem 1rem 1rem 0;
    }
}

.video {
    display: inline-table;
    margin: 0rem 0rem 0rem 9rem;
    background-color: deeppink;
    width: 43.5%;
}

@media screen and (max-width: 1200px) {
    .video {
        width: 41.5%;
    }
}

@media screen and (max-width: 954px) {
    .video {
        margin: 1rem 1rem 1rem 18%;
        width: 71.5%;
    }
}

@media screen and (max-width: 680px) {
    .video {
        margin: 1rem 1rem 1rem 29%;
    }
}

@media screen and (max-width: 480px) {
    .video {
        margin: 1rem 1rem 1rem 7%;
    }
}

.question {
    vertical-align: top;
    display: inline-block;
    background-color: #f8f8f8;
    width: 100%;
    padding: 0 3rem;
    padding-top: 2rem;
}

.question .detail-question{
    font-size: 0.8rem;
}


/* @media screen and (max-width: 1200px)
{
    .question
    {
        width: 41.5%;
    }
} */

@media screen and (max-width: 954px) {
    .question {
        /* margin: 1rem 1rem 1rem 18%;
    width: 71.5%; */
        width: 100%;
        margin: 0;
    }
}

/* @media screen and (max-width: 768px)
{
    .question
    {
    width: 100%;
		margin: 0;
    }
} */

/* @media screen and (max-width: 680px)
{
    .question
    {
    width: 60.5%;
    margin: 1rem 1rem 1rem 29%;
    }
}

@media screen and (max-width: 480px)
{
    .question
    {
        width: 25rem;
        margin: 2rem 1rem 1rem 1.9rem;
    }
} */

.entree1 {
    width: 43%;
    height: 2rem;
    border-radius: 1rem;
    border: 1px solid #ededed;
    background-color: #ffffff;
    margin: 1rem 1rem 1rem 3rem;
    padding: 1rem;
}


@media screen and (max-width: 1200px) {
    .entree1 {
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    .entree1 {
        width: 22rem;
        margin: 1rem 1rem 0rem 1rem;
    }
}

.entree2 {
    width: 43%;
    height: 2rem;
    border-radius: 1rem;
    border: 1px solid #ededed;
    background-color: #ffffff;
    padding: 1rem;
}


@media screen and (max-width: 1200px) {
    .entree2 {
        width: 80%;
        margin: 1rem 1rem 1rem 3rem;
    }
}

@media screen and (max-width: 480px) {
    .entree2 {
        width: 22rem;
        margin: 1rem 1rem 0rem 1rem;
    }
}

.entree3 {
    width: 89%;
    height: 10rem;
    border-radius: 1rem;
    border: 1px solid #ededed;
    background-color: #ffffff;
    margin: 1rem 1rem 1rem 3rem;
    padding: 0rem 1rem 7rem 1rem;
}

@media screen and (max-width: 1200px) {
    .entree3 {
        width: 80%;
        height: 9rem;
    }
}

@media screen and (max-width: 480px) {
    .entree3 {
        width: 22rem;
        height: 14rem;
        padding: 0rem 1rem 11rem 1rem;
        margin: 1rem 1rem 1rem 1rem;
    }
}

div.bottom div.question form input[type=submit] {
    width: 13.5rem;
    max-width: 100%;
    height: 4rem;
    border-radius: 0.5rem;
    background-color: #cc393e;
    /* margin: 1rem 2rem 1rem 0; */
    border-style: none;
    color: #ffffff;
}

@media screen and (max-width: 1200px) {
    .submit {
        width: 10rem;
        height: 3rem;
        margin: 0rem 1rem 1rem 3rem;
    }
}

@media screen and (max-width: 480px) {
    .submit {
        width: 9rem;
        height: 3rem;
        margin: 0rem 2rem 0rem 1rem;
    }
}