
/**
 * PROJET   : PAGE SITE WEB : STYLE PAGE
 * AUTEUR GRAPHISME : Valentin Merlault
 * AUTEUR   : Anne Potier
 * DATE     :: 
 * REFONTE  : 2023 1ER SEM
 * MISE EN LIGNE : 2023/06/21
 */


.cirimat,
.presentation {
    margin: auto;
}

.presentation {
    width: 80%;
    height: fit-content;
}

.presentation .ciribar {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
}

.presentation .content {

    margin: auto;
    margin-top: 0;
    border-radius: 0px 0px 100px 100px;
    padding: 50px;
    z-index: 1;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.content p {
    font-weight: 400;
    font-size: clamp(0.9rem, 0.9vw + .1rem, 1.5rem);
    line-height: 26px;
}

.content h1 {
    text-align: center;
    font-size: clamp(1.3rem, 1.5vw + .1rem, 2.5rem);
    margin-bottom: 30px;
}

.content h3 {
    margin: 0;
    font-size: clamp(0.9rem, 0.9vw + .1rem, 1.5rem);
}

.content a {
    font-weight: 700;
    font-size: clamp(1rem, 0.9vw + .1rem, 1.5rem);
    line-height: 26px;
    /* or 160% */
    text-decoration-line: underline;
    cursor: pointer;
    transition: all 0.3s;
}


.cirimat {
    margin: auto;
}

.cirimat h3 {
    font-weight: 700;
    font-size: clamp(0.8rem, 0.75vw + .1rem, 1.3rem);
    line-height: 15px;
    /* identical to box height, or 120% */
    text-transform: uppercase;
}

.cirimat h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw + .1rem, 5rem);
    line-height: 88px;
    /* or 130% */
    color: white;
    margin: 0;
}

.cirimat p {
    width: 80%;
    font-weight: 400;
    font-size: clamp(1rem, 1vw + .1rem, 3rem);
    line-height: 26px;
}

.home-buttons-container {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 25px;
    gap: 25px;
}

.home-buttons-container div {
    transition: all 0.3s;
}

.home-buttons-container a {
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw + .1rem, 1.4rem);
    line-height: 25px;
    border-radius: 0px 10px 10px 10px;
    cursor: pointer;
}

.home-buttons-container div:nth-child(1) {
    display: inherit;
}

.home-buttons-container a {
    display: block;
    margin: auto;
    text-decoration: none;
}

.home-buttons-container div:hover {
    transform: translate3d(0px, 0px, 0px) scale3d(1.02, 1.02, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}

.home-buttons-container div:nth-child(1) a {
    padding: 8px 19.6094px 8px;

    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.home-buttons-container div:nth-child(2) a {
    padding: 8px 19.6094px 8px;

    box-shadow: 0px 10px 20px rgba(61, 49, 222, 0.2);

}

.actus-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.actu-bloc {
    width: 30%;
    min-width: 380px;
    max-width: 450px;
    height: fit-content;
    padding-bottom: 1%;
    margin-bottom: 50px;
    transition: all 0.2s;
    cursor: pointer;
}

.actus-container:hover .actu-bloc {
    /*filter: blur(3px);*/
    opacity: .5;
    transform: scale(.98);
    box-shadow: none;
}

.actus-container:hover .actu-bloc:hover {
    transform: scale(1);
    /*filter: blur(0px);*/
    opacity: 1;
}

.actu-bloc div div img {
    transition: all 0.3s;
}

.img-container {
    position: relative;
}

.cover-img {
    width: 0%;
    position: absolute;
    height: 99%;
    z-index: 1;
    opacity: 0;

    transition: all 0.5s;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1rem, 1.15vw + .1rem, 1.5rem);

}

.actu-bloc:hover>div div .cover-img {
    width: 100%;
    opacity: 1;
}

.actu-bloc .cover {
    /*top: 0;*/
    height: fit-content;
    background: #03669F;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 46px 0px;
    padding: 2px;
}

.actu-bloc .cover:hover {
    /*top: 0;*/
    height: fit-content;
    background: #03669F;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 46px 0px;
    padding: 10px;
}

.actu-content {
    padding: 5% 6%;
    background: #F5F5F5;
    height: fit-content;
    min-height: 250px;
    border-radius: 0px 0px 60px 0px;
}

.actu-content h2 {
    font-weight: 700;
    font-size: clamp(1rem, 1.15vw + .1rem, 1.5rem);
    line-height: 24px;
    height: fit-content;
    max-lines: 2;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
}

.actu-content p {
    font-weight: 400;
    font-size: clamp(1rem, 0.95vw + .1rem, 1rem);
    line-height: 26px;
    max-height: 100px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;

}

.actu-content img {
    border-radius: 10px;
    height: 243px;
    width: 100%;
    margin: auto;
    object-fit: cover;
}


@media (max-width: 767px) {
    .cirimat {
        width: 80%;
    }
    .presentation {
        width: 100%;
        border-radius: 0px 0px 50px 50px !important
    }
    .cover-main {
        padding-bottom: 0 !important;
        border-radius: 0px 0px 100px 100px !important
    }
    main {
        border-radius: 0px 0px 100px 100px !important
    }
}

.f1 {
    display: flex;
    width: 100%;

    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    margin: 0;
}

.f1-wrapper {
    width: 40%;
    padding: 2% 0;
    margin-left: auto;
}

.triangle {
    width: 55%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left, right;
}

@media (max-width: 767px) {
    .triangle {
        display: none;
    }
    .f1-wrapper {
        width: 90%;
        margin: auto;
    }
}

.f1 h1 {
    font-weight: 700;
    font-size: clamp(2rem, 2.5vw + .1rem, 4rem);
    line-height: 58px;
    /* identical to box height, or 130% */
    color: #351111;
}

.logo-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5%;
    /*padding: 2%;*/
}

.logo-container img {
    max-width: 289.55px;
    height: 83.57px;
}

.f2 {

    margin: 0;
}

.f2-wrapper {
    width: 90%;
    margin: auto;
    color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 4%;
}

.c1 a,
.c2 a {
    font-weight: 700;
    font-size: clamp(1rem, 1.1vw + .1rem, 2rem);
    line-height: 32px;

    text-decoration: none;
}

.c1 * {
    margin-bottom: 25px;
}

.c2 a {
    margin-bottom: 50px;
}

.c2 {
    text-align: center;
}

.c2 h3 {
    font-weight: 500;
    font-size: clamp(0.8rem, 0.9vw + .1rem, 2rem);
    line-height: 26px;
    text-align: center;
}

.c1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 50px
}