/*
Theme Name: premier projet wp
Description: Mon tout premier thème WordPress
Author: De oliveira
Version: 1.0
*/

html {
    margin: 0 !important;
    scroll-behavior: smooth;
}

body {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    color: white;
    background-color: rgba(0, 0, 0);
    overflow-x: hidden;
}

header {
    font-size: 55px;
    font-weight: bold;
    padding: 0 0 10px 5px;
    border-radius: 20%;
    width: 100%;
    text-align: center;
    font-size: 60px;
    opacity: 0;
    margin: 100Px 0 100px 0;
}


.containerFooter {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    align-items: center;
    font-size: 30px;
}



h2 {
    font-size: 35px;
    width: fit-content;
    line-height: 60px;
    margin-top: 0 !important;
}


label {
    color: white !important;
    font-size: 20px !important;
}

.headerHome img {
    width: 100%;
    height: 100vh;
    filter: opacity(0.2);
    transform: scale(1.15);
    opacity: 0;
    object-fit: cover;
}

.wp-image-315 {
    scale: 1;
    opacity: 0;
}

.accueil {
    position: absolute;
    top: 30%;
    width: 100%;
    text-align: center;
}

.buttons {
    justify-content: space-between;
    width: 600px;
    gap: 20px;
    display: flex;
    margin: 0 auto;
}

.titleHome {
    font-size: 90px;
    opacity: 0;
    transform: translate(0px, 50px);
}

.buttonHome {
    font-size: 30px;
    padding: 25px 30px;
    margin-top: 50px;
    background-color: black;
    border: solid 1px white;
    cursor: pointer;
    transition: 300ms ease-in-out;
}

.button1 {
    transform: translate(-300px, 0);
    opacity: 0;
}

.button2 {
    transform: translate(300px, 0);
    opacity: 0;
}

.buttonHome:hover {
    transform: scale(1.1);
    transition: 300ms ease-in-out;
}

.buttonHome a {
    color: white;
}

.ContainerHome {
    width: 95%;
    margin: 0 Auto;
}

main {
    line-height: 40px;
}

.Posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post {
    width: 48%;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    object-fit: cover;
    cursor: pointer;
    border-bottom: 2px white solid;
}


.img {
    background-image: url(http://localhost/wordpress/wp-content/uploads/2025/06/ocean.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center center;
    width: 100%;
}

.infosPost {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.imagePost {
    width: 100%;
    height: 450px;
    overflow: hidden;
}


.imgError {
    filter: opacity(1) !important;
    transform: scale(1.1);
    filter: brightness(1);
    transition: none;
}

.post:hover .imgError {
    transform: scale(1.1);
    transition: none;
    filter: brightness(1);
}

.imagePost img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    cursor: pointer;
    filter: brightness(0.9);
    transition: all 300ms ease-in-out;
}


.post:hover img {
    transition: all 300ms ease-in-out;
    transform: scale(1.05);
    filter: brightness(1.1);
}

.date {
    font-weight: bold;
    font-size: 25px;
}

nav {
    padding: 30px 0;
    width: 100%;
    background-color: transparent;
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0%;
    opacity: 0;
    z-index: 999;
}

.mobmenul-container a::after {
    border: none;
}

.mobmenu-content a::after {
    border: none;
}

.mob-icon-menu-3 {
    padding-top: 15px;
}

.mob-menu-logo-holder {
    padding: 15px 0;
    background-color: black;
}

.mob-menu-logo-holder a::after {
    transition: none;
}

.headerScroll {
    background-color: black;
    transition: padding 2s ease, background-color 500ms ease;
    padding: 15px 0 !important;
}

ul.menu {
    display: flex;
    margin: 0px auto 0 auto;
    width: 80%;
    padding: 0;
}

.menu li {
    list-style: none;
    margin: 0 auto;
    justify-content: space-around;
    font-size: 25px;
    border-bottom: 2px solid transparent;
}

a {
    text-decoration: none;
    color: white;
}

.main-nav .current-menu-item a {
    border-bottom: solid white 2px;
}

.main-nav .current-menu-item a::after {
    transition: unset;
    transform: none;
    border: none;
}

hr {
    margin: 0;
}

a::after {
    display: block;
    content: '';
    border-bottom: solid 2px white;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    transform-origin: left;
}

a:hover::after {
    transform: scaleX(1);
}

.headerContact {
    margin: 200px 0 60px 0 !important;
    font-size: 45px;

}

.uagb-buttons__wrap {
    gap: 80px !important;
}

.buttonAbout,
.buttonAbout2 {
    transform: scale(1.1);
    opacity: 0;
    cursor: pointer;
}


.wpforms-confirmation-scroll {
    width: 50%;
    margin: 0 !important;
}


.containerAbout {
    width: 100% !important;
    margin: 0 auto;
}

.titleAbout {
    opacity: 0;
}

.error404 {
    margin-top: 150px;
    text-align: center;
    display: block;
}

.e404 {
    font-size: 400Px;
}

.back {
    font-size: 40px;
    padding-bottom: 40px;
}

.error404 a {
    border-bottom: solid 1px white;
}

.error404 a::after {
    border: none;
}

.anim-icon svg {
    transition: 300ms;
}

@keyframes svg1 {
    0% {
        padding-top: 0px;
    }

    50% {
        padding-top: 15px;
    }

    100% {
        padding-top: 0px;
    }
}

.anim-icon:nth-child(1) svg {
    animation: svg1 infinite linear 1s;
}

.anim-icon:nth-child(1):hover svg {
    animation: unset;
}

.black {
    color: black !important;
}

.wp-image-399 {
    opacity: 0;
    scale: 0;
}

.titleContact {
    opacity: 0;
    line-height: 100px;
}

.mapsContact {
    opacity: 0;
}

.formContact {
    opacity: 0;
}

.border-bottom {
    border-top: 1px white solid;
}

.uagb-timeline__arrow {
    display: none;
}

.uagb-timeline__line {
    margin-left: 3px;
}

.blocContainer {
    width: 85%;
    margin: 0 auto;
}

.colonne1,
.colonne2,
.colonne3,
.colonne4 {
    opacity: 0;
    transform: translate(100px, 0);
}

.imgAbout2 {
    opacity: 0;
    transform: translate(0px, 100px);
}

@media screen and (max-width:1500px) {
    .uagb-block-3fcdb099 {
        padding: 10px !important;
    }
}

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

    .textAbout {
        top: 20%;
        font-size: 70Px;
        width: 100%;
        text-align: center;
    }

    .blocsAbout {
        top: 35%;
    }

    .containerAbout h2 {
        padding: 0;
        font-size: 32px !important;
    }

}

@media screen and (max-width:1000px) {
    .post {
        width: 100%;
    }

    .blocsAbout {
        margin-top: 30Px;
        gap: 0;
    }

    .uagb-block-3fcdb099 {
        padding: 10px !important;
    }

    #actu {
        padding: 5px !important;
    }
}

@media screen and (max-width:800px) {

    header {
        font-size: 50px;
    }

    h1 {
        font-size: 56px !important;
    }

    h3 {
        padding: 0 !important;
    }

    p {
        font-size: 13px;
    }

    .containerAbout h2 {
        padding: 0;
        font-size: 24px !important;
    }


    .menu li {
        font-size: 18px;
    }


    .post {
        font-size: 13px;
    }

    footer {
        margin-top: 50px;
    }

    .textAbout {
        top: 20%;
    }

    .blocsAbout {
        top: 40%;
    }

    .infosPost {
        display: block;
    }

    .date {
        margin: -20px 0 30px 0;
        font-size: 18px;
    }

    .post:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .accueil {
        top: 20%;
    }

    .titleHome {
        font-size: 70Px;
    }

    .buttons {
        flex-direction: column;
        width: 90%;
    }

    .buttonHome {
        width: 100%;
        margin: 50px auto 0 auto;
        padding: 0;
        height: 80px;
    }

    .e404 {
        font-size: 250px;
    }

    .buttonAbout,
    .buttonAbout2 {
        width: 100% !important;
        transform: scale(1) !important;
    }
}


@media screen and (max-width : 600px) {
    .anim {
        font-size: 30px;
    }

    .textAbout {
        top: 15%;
        font-size: 50px;
    }

    .blocsAbout {
        top: 35%;
    }

    .titleHome {
        font-size: 50Px;
    }

    .buttonHome {
        font-size: 20px;
    }

    ul.menu {
        width: 100%;
    }


    nav {
        display: none;
    }

    .e404 {
        font-size: 100px;
        padding-bottom: 100px;
    }

    .back {
        padding-top: 150px;
        font-size: 45px;
    }

    .titleContact {
        font-size: 50px !important;
    }
}

@media screen and (max-width:500px) {
    .titleHome {
        opacity: 1;
    }

    .headerHome img {
        height: 100% !important;
        opacity: 1;
    }

    .headerHome {
        height: 800px;
    }

    .button1,
    .button2 {
        transform: translate(0px, 0px);
    }
}