/*
Theme Name: CÃ©rÃ©a
Author: Matteo Robin
Version: 1.0
*/

/* ___Variables___ */
:root {
    --white: #ece2c8;
    --black: #1F1D1A;
    --grey: #565855;
    --black-grey: #3F413F;
}

/* ___Global___*/
main {
    padding-top: 6.5rem;
    display: flex;
    flex-direction: column;
    min-height: 92%;
    align-content: center;
    align-items: center;
    min-height: 56.5vh;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

body {
    min-height: 100vh;
}

section {
    margin-top: 1rem;
}

h1{
    font-family: 'DM Serif Display', 'Roboto';
    color: var(--black);
}

h2 {
    font-family: 'DM Serif Display', 'Roboto';
    text-align: center;
    font-size: 25px;
    color: var(--black);
    margin: 13px 0;
}

h3 {
    font-family: 'DM Serif Display', 'Roboto';
    color: var(--black);
}

p {
    margin: 5px;
    color: var(--black)
}

a {
    text-decoration: none;
    color: var(--white);
}

body {
    font-family: 'Montserrat', 'Arial';
    margin: 0;
    background-color: var(--white);
    min-height: 100vh;
}

.titre {
    font-family: 'DM Serif Display';
    font-size: 30px;
}

.light {
    font-size: 14px;
    font-weight: 300;
}

.blanc {
    color: var(--white);
}

.flex {
    display: flex;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}

.gap {
    gap: var(--gap);
}

.align-end {
    align-items: end;
}

h2.wp-block-heading.has-text-align-center {
    margin: 15px 0;
}

.wp-block-separator {
    border-color: var(--grey);
    width: 100%;
    border-top: 3px solid;
    margin: 20px 0;
}

.main {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    min-height: 92%;
    align-content: center;
    align-items: center;
    margin-left: 3%;
    margin-right: 3%;
}

.wp-block-group {
    padding-bottom: 1rem;
}

.wp-container-content-4,
.wp-container-content-6 {
    flex-basis: 49%;
    display: flex;
    justify-content: flex-end;
}

.wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    gap: 20px;
}

.header {
    width: 98%;
    position: relative;
    height: 64vh;
    margin-top: 20px;
}

.image_header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.title_header {
    position: absolute;
    padding: 15px 20px;
    background-color: rgba(86, 85, 88, 0.90);
    bottom: 20px;
    border-radius: 10px;
    left: 30px;
    color: var(--white);
    font-weight: 500;
}

.returnButton {
    position: absolute;
    left: 30px;
    top: 100px;
}

.block {
    display: block;
}

.tnp-submit,
.button {
    background-color: var(--black-grey) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    transition: background-color 200ms ease !important;
    margin-bottom: 15px;
    border: none;
    font-family: 'Montserrat', 'Arial';
    text-align: center;
}

.tnp-submit:hover,
.button:hover {
    background-color: var(--grey) !important;
    cursor: pointer;
}

.description {
    text-align: center;
    width: 60%;
    margin-bottom: 20px;
}

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

    body .is-layout-flex {
        flex-direction: column;
    }

    .returnButton {
        position: static;
        margin-top: 50px;
    }

    form {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: center;
    }

    .header{
        display: flex;
        justify-content: center;
    }

}

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

    .titre {
        font-size: 20px;
    }

    .light {
        display: none;
    }

    .title_header {
        left: auto;
    }
}

figure {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    width: 98%;
}

figure>img {
    border-radius: 10px;
}

.contentText {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    margin: 20px 0;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contentText>p {
    font-size: 20px;
}

.contentText>ul * {
    font-size: 20px;
    margin-top: 5px;
}