body {
    margin:0;
    padding: 0;
    background-color:#ffd4de ;
    max-width: 100%;
}

/* general */
/* fonts */
@font-face {
    font-family: "Edwardian";
    src: url(/fonts/Edwardian.ttf) format("truetype");
}
@font-face {
    font-family: "Cormorant";
    src: url(/fonts/CormorantGaramond-VariableFont_wght.ttf) format("truetype");
}

h1 {
    font-family: "Edwardian", serif;
    font-size: 4em;
    font-weight: 400;
    font-style: normal;
    color: #1d1d1d;

}
h2 {
    font-family: "Cormorant", serif;
    font-size: 2.5em;
    font-weight: 500;
    font-style: normal;
    color: #1d1d1d;
}
p {
    font-family: "montserrat", sans-serif;
    color: #1d1d1d;
    font-size: 1.3em;
}
.signature {
    font-family: "Edwardian", serif;
    font-size: 3em;
    text-align: center;
}
.edward {
    font-family: "Edwardian", serif;
    font-size: 1.5em;
}
/* header */
header {
    background-image: url("images/background_banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    overflow: hidden;
    text-align: center;
}
.container_logo {
    position: relative;
    top: 100px;
}
.main_logo_dark {
    display: none;
}
header img {
    width: 400px;
    padding-top: 5%;
}
.slogan {
    font-family: "Edwardian", serif;
    position: relative;
    top: -1.5em;
    right: 150px;
    font-size: 6rem;
    font-weight: 400;
    font-style: normal;
    color: #1d1d1d;
}
.slogan:after {
    content: "Sans en découdre";
    display: block;
    position: relative;
    top: -50px;
    left: 300px;
    font-family: "Cormorant", serif;
    font-size: 0.8em;
    font-weight: 400;
}
.texte {
    position: relative;
    top: -170px;
    font-style: normal;
    color: #1d1d1d;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
}
/* First Section */

.first_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1em;
    margin: auto;
}
.first_section img {
    max-width: 15%;
    padding: 1em;
}
.first_section p {
    text-align: center;
    padding-top: 10%;
    font-size: 1.2em;
    font-style: normal;
    line-height: 1.5;
}

/* Inscription newsletter */

.newsletter {
    display: flex;
    flex-direction: column;
    padding-top: 5%;
    padding-bottom: 5%;
    text-align: center;
}
.newsletter input {
    width: 20%;
    padding: 1em;
    margin: auto;
    border-radius: 20px;
    border: 1px solid #8b1e99;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.newsletter button {
    padding: 1em;
    margin: auto;
    border-radius: 20px;
    border: 1px solid #8b1e99;
    background-color: #8b1e99;
    color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.newsletter button:hover {
    border: #ffd4de;
}
.newsletter,.second_section, .third_section, .fourth_section {
    padding-left: 10%;
    padding-right: 10%;
}
/* confirmation et PDF */
.video {
    text-align: center;
}
.video iframe {
    border-radius: 3px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.confirmationMessage h2 {
    text-align: center;
    margin-top: 200px;
}
.pdfs {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-bottom: 200px;
}
.container_pdf {
    text-align: center;
}
.container_pdf img {
    max-width: 60%;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
/* COMMUNAUTE */
.communaute {
   
    padding-left: 10%;
    padding-right: 10%;
}
.insta_prive  {
    text-align: center;
}
.insta_prive img {
    width: 150px;
}
.insta_prive img:hover {
    transform: scale(1.1);
}
/* Fourth Section */
.social_network {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.social_network img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* FOOTER */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 100px;
    margin-bottom: 100px;
}
footer a {
    text-decoration: none;
}
footer h2 {
    font-size: 1.5em;
}
footer p {
    font-size: 1em;
}
.social_network {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.tiktok_dark {
    display: none;
}

/* MEDIA QUERIES */
@media screen and (max-width: 768px) {
    /* banner */
    .container_logo {
        top: 50px;
    }
    .main_logo {
        width: 30%;
    }
    .slogan {
        font-size: 2em;
        right: -15%;
    }
    .slogan:after {
        font-size: 0.7em;
        top: -15px;
        left: 25%;
    }
    .texte {
        font-family: 'Times New Roman', Times, serif;
    top: 5px;
    font-size: 1em;
    font-weight: 500; 
    color: #1d1d1d;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
    line-height: 0.8em;
    }
    
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.5em;
    }
    p {
        text-align: justify;
        font-size: 1em;
    }
    .newsletter form {
        display: flex;
        flex-direction: column;
    }
    .form input {
        width: 70%;
        margin-bottom: 20px;
    }
    .form button {
        width: 70%;
    }
    .pdfs {
        flex-direction: column;
        padding-bottom: 20px;
    }
    .container_pdf img {
        max-width: 90%;
    }
    .social_network img {
        width: 30px;
        height: 30px;
    }
    /* confimation et pdfs offerts */
    .video iframe {
        max-width: 100%;
        height: auto;
    }
    .confirmationMessage {
        padding-left: 10%;
        padding-right: 10%;
    }
    .confirmationMessage h2 {
        margin-top: 50px;
    }
    .pdfs {
        display: flex;
        flex-direction: column;;
    }
    .container_pdf img {
        width: 200px;
    }
    footer {
        display: flex;
        flex-direction: column;
        padding-left: 10%;
        padding-right: 10%;
    }
    
}

/* COLOR SCHEME */
@media screen and (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(#270327, #000);
    }
    .main_logo {
        display: none;
    }
    .main_logo_dark {
        margin: auto;
        display: block;
        width: 30%;
    }
    h1, 
    h2, 
    .signature, 
    .edward, 
    .slogan, 
    .slogan:after,
    .texte,
    .newsletter input {
        color: #ffd4de;
    }
    p {
        color: #ffd4de;
    }
    header {
        background-image: url("images/background_banner_dark.webp");
    }
    .newsletter button {
        border: 1px solid #ffd4de;
        background-color: #ffd4de;
        color: #1d1d1d;
    }
    .newsletter button:hover {
        border: #1d1d1d;
    }
    .video iframe {
        border: 1px solid #ffd4de;
    }
    .container_pdf img {
        border: 1px solid #ffd4de;
    }
    .tiktok_dark {
        display: block;
    }
    .tiktok_light {
        display: none;
    }
}
