/* styles.css */
body,
html {
    margin: 0;
    padding: 0;
    height: 200%;
    font-family: Arial, sans-serif;
    overflow-x: initial !important;
    background: url('../media/img-noise-500x500.png') repeat center center;
}


.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Image de fond */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/FondLOGO.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Avant-plan (montagnes) */
.foreground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/Hills.png') no-repeat center center;
    background-size: cover;
    z-index: 3;
}


/* Titres */
.title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    z-index: 2;
}

.subtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    z-index: 1;
}

.title,
.subtitle {
    width: 100%;
    /* Ajustez la largeur maximale de l'image */
    margin: 0 auto;
}

h1 {
    /* margin-top: 35%; */
    margin-bottom: 15vw;
    color: white;
    text-align: center;
    font-size: 200%;
    font-family: "Sixtyfour", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "BLED" 0,
        "SCAN" 0;

    animation: breathing 8s ease-in-out infinite;
    ;
}

h2 {
    font-family: "Montserrat", serif;
    font-style: normal;
    margin-top: 5%;
    margin-bottom: 10%;
    color: white;
    text-align: center;
    font-size: 200%;
    font-weight: 500;

    animation: breathing 8s ease-in-out infinite;
    ;
}

b,
a,
strong {
    font-weight: 700;
    color: blueviolet;
    text-decoration: none;
}

p {
    color: white;
    line-height: 150%;
}

.Title-comp {
    display: flex;
    justify-content: center;
}

.separator {
    /* background-color: red; */
    padding-top: 15vw;
}

.contact {
    position: absolute;
    bottom: 1vw;
    z-index: 500;
    filter: invert(100%);

    width: fit-content;
    left: 75%;
}

.contact img {
    width: 3vw;
    margin-left: 2.5vw;
}

@keyframes breathing {
    0% {
        text-shadow: rgba(186, 0, 237, 1) 0px 0px 12px;
    }

    50% {
        text-shadow: rgb(96, 0, 122) 0px 0px 20px;
    }

    100% {
        text-shadow: rgba(186, 0, 237, 1) 0px 0px 12px;
    }
}

@media only screen and (max-width: 800px) {

    /* Titres */
    .title {
        bottom: 250px;
    }

    .subtitle {
        bottom: 250px;
    }

    .contact {
        display: none;
    }
}

@media only screen and (max-width: 500px) {

    /* Titres */
    .title {
        bottom: 400px;
    }

    .subtitle {
        bottom: 400px;
    }
}

@media only screen and (max-width: 400px) {

    /* Titres */
    .title {
        bottom: 500px;
    }

    .subtitle {
        bottom: 500px;
    }

    h1 {
        font-size: 150%;
    }
}