/* ************************************
* GLOBAL
*************************************/
:root {
    --text-color-black: #333;
    --text-color-white: #f6fafb;
    --text-color-dark-blue: #243c8f;
    --bg-color-dark-blue: #243c8f;
    --bg-color-white: #f6fafb;
    --bg-color-dark-grey: #333333;
    --bg-color-dark: #141414;
    --bg-color-dark-black: #000000;
    --color-succes: #72d477;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
}
@font-face {
    font-family: 'Brave-Eightyone';
    src: url('./../font/BRAVEEightyone-Regular.ttf');
}
body {
    background: var(--bg-color-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color-white);
    font-size: 18px;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
h1 {
    font-size: 3.5em;
    letter-spacing: 2px;
    margin: 0;
    margin-bottom: 3rem;
}
h2 {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    margin-bottom: 3rem;
}
h3 {
    font-size: 3em;
    font-family: 'Brave-Eightyone';
    font-weight: 100;
    margin: 0;
}
p.paragraph {
    font-size: 1em;
    line-height: 28px;
    text-align: justify;
}
a.underlined {
    text-decoration-color: var(--text-color-white);
    text-decoration-thickness: 3px;
    color: inherit;
}
.btn {
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    padding: 15px;
    display: block;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
}
.btn.orange {
    background: linear-gradient(to right, rgb(237, 111, 27), #f6a313, rgb(237, 111, 27));
}
.btn.red {
    background: linear-gradient(to right, #f04b7e, #ee2d27);
}
.btn.green {
    background: linear-gradient(to right, #30b77f, #35a155);
}
.btn.blue {
    background: linear-gradient(to right, #2f65b1, #44c0ea);
}
a.red {
    background-color: red;
}
a.green {
    background-color: green;
}
a.blue {
    background-color: rgba(73, 51, 199, 0.5);
}
div.disabled {
    display: none;
}
.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
hr.hr-50 {
    width: 50%;
    margin-bottom: 3rem;
}
.content{
    width: 75rem;
    margin: 0 auto;
}
.content {
    margin-bottom: 4rem !important;
}
.flex {
    display: flex;
}
.hidden {
    visibility: hidden;
    opacity: 0;
}
.cookies-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000001;
    font-size: 14px;
    line-height: 22px;
    color: #454f5f;
    display: flex;
    width: 50%;
    height: 50%;
}
.cookies-body {
    background-color: var(--bg-color-dark-grey);
    padding: 0 16px;
    max-height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: end;
    border: 2px solid white;
    border-radius: 15px;
}
.cookies-content {
    width: auto;
    max-height: 100%;
    margin: 16px -16px 0px;
    padding: 0 32px;
    overflow: auto;
}
.cookies-text {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2px;
    color: var(--text-color-white);
}
.cookies-footer {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    background-color: var(--bg-color-dark-grey);
    display: flex;
    justify-content: space-around;
}
.double-button > .btn{
    width: 12em;
}
.flash-container {
    position: fixed;
    left: 25px;
    bottom: 10px;
    width: fit-content;
    z-index: 100;
    animation: fromBottomAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fromBottomAnimation {
    0% {
        bottom: -50px;
    }
    100% {
        bottom: 25px;
    }
}

.flash {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: rgb(0 0 0 / 20%) 0px 3px 5px -1px, rgb(0 0 0 / 14%) 0px 6px 10px 0px, rgb(0 0 0 / 12%) 0px 1px 18px 0px;
}

.flash:hover {
    opacity: 0.8;
    cursor: pointer;
}

.success {
    border-color: var(--color-succes);
    background-color: var(--color-succes);
}

/*************************************
* LOGIN
*************************************/
.login-form {
    border: 1px solid var(--bg-color-white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 100%;
    max-width: 35rem;
    margin: 0 auto;
}
.login-form .row {
    margin-bottom: 1rem;
}
.login-form .row input {
    background-color: var(--bg-color-dark-grey);
    border: none;
    padding: 10px 20px;
    width: 100%;
    color: var(--bg-color-white);
    border-radius: 4px;
    outline: none;
}

/*************************************
* ADMIN PANEL
*************************************/

.adminp_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 70%;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    height: 50px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.adminp_btn_red {
    background-color: #ee2d27;
}

.adminp_btn_green {
    background-color: #30b77f;
}

/*************************************
* ADMIN
*************************************/

#myBtn {
    position: absolute;
    margin: auto;
}

.admin_add {
    border-radius: 5px;
    border: none;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    margin-left: 20px;
    cursor: pointer;
}
.admin_box{
    width: 250px;
}
.admin-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 40px;
}
.admin-box-btncontainer {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.admin-offer-container{
    display: block;
}
.admin-offer-container .admin_box{
    width: 100%;
    display: grid;
    grid-template-columns: .5fr 1fr .5fr;
    grid-template-rows: 1fr;
    grid-template-areas: ". . .";
    align-items: center;
    border: 1px solid;
    padding: 10px;
    border-radius: 15px;
    margin: 15px 0;
}
.admin-offer > .admin-box-buttons{
    display: flex;
    justify-content: space-evenly;
}
.admin-offer > .admin-box-buttons button{
    padding: 10px 15px;
    border-radius: 10px;
}
.admin_box img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.adminbox-btn {
    border: none;
    border-radius: 4px;
}

.adminbox-btnblue {
    background-color: #44c0ea;
    color: white;
}

.adminbox-btnred {
    background-color: #ee2d27;
    color: white;
}

.create_form_row {
    margin-bottom: 2rem;
}

.create_form_row input {
    width: 100%;
    outline: none;
    padding: 10px 15px;
    border-radius: 4px;
}

.create_form_row label {
    font-weight: bold;
}

.create_form_row div {
    flex: 1;
}

/*************************************
* CONTACT
*************************************/
.application-title {
    margin-bottom: 0.5rem;
    font-size: 3.5em;
}
.application-sub-title {
    text-align: center;
    display: block;
    font-size: 1.8em;
    color: #b7b7b7;
}
.application-content {
    border: 1px solid var(--bg-color-white);
    border-radius: 8px;
    padding: 2rem;
    margin: 4rem 0;
}
.application-content a {
    text-decoration-color: var(--text-color-white);
    text-decoration-thickness: 2px;
    color: inherit;
}
.contact_form {
    border: 1px solid white;
    margin: auto;
    margin-top: 40px;
    padding: 40px;
    padding-top: 10px;
}

.contact_form_row {
    display: flex;
    margin-bottom: 2rem;
    flex: 1;
}

.contact_form_row input {
    width: 100%;
    outline: none;
    padding: 10px 15px;
    border-radius: 4px;
}

.contact_form_row label {
    font-weight: bold;
}

.contact_form_row div {
    flex: 1;
    margin-right: 2rem;
}

.contact_form_field textarea {
    outline: none;
    margin: 0;
    height: 95px;
    width: 97%;
}

.contact_form_field label {
    font-weight: bold;
    margin: auto;
    margin-top: 20px;
    width: 40%;
}

.contact_form_field div:last-child label {
    font-size: 14px;
    font-weight: 600;
    background-color: #efefef;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.contact_form_field input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.contact_form_send {
    text-align: center;
    margin-top: 50px;
}

.contact_form_send button {
    background: linear-gradient(to right, lightgreen, green);
    color: white;
    border-radius: 5px;
}
.contact-img-display {
    width: 15rem;
    height: auto;
    margin-right: 20px;
}
.contact-text {
    font-size: 6;
    opacity: 0.7;
}
.documents-style {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.document-removeBtn {
    margin-right: 30px;
    padding: 0;
    width: 10%;
    display: inline;
}

/*************************************
* RESPONSIVE
*************************************/
@media all and (max-width: 1250px) {
    body {
        font-size: 16px;
    }
    .content{
        width: unset;
        margin: 0 4rem;
    }
    .box {
        min-width: 12rem;
        width: 12rem;
    }
    .box-title {
        font-size: 16px;
    }
    .box-title > .letter {
        font-size: 44px;
    }
    .admin-box-btncontainer button {
        margin: 5px 0;
    }
}

@media all and (max-width: 1000px) {
    h1{
        font-size: 3.4em;
    }
    .content{
        margin: 0 2rem;
    }
    .team-card {
        width: 48%;
    }
    .valeur-boxes {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .box {
        margin-bottom: 1rem;
    }
}

@media all and (max-width: 1000px) and (orientation: landscape) {
    .valeur-boxes {
        flex-direction: row;
        align-items: unset;
    }
}

@media all and (max-width: 800px) {
    h1{
        font-size: 2.4em;
    }
    .content{
        margin: 0 1rem;
    }
    .cookies-footer{
        padding: 10px 0 0px;
    }
    .double-button .btn {
        width: unset;
        margin-bottom: 1rem;
    }
    .popup-content {
        width: 85%;
    }
    .contact_form_field label {
        width: 100%;
    }
    .documents-style div {
        width: 120% !important;
    }
}

@media all and (max-width: 800px) and (orientation: landscape) {
    .valeur-container {
        margin: 0 20%;
    }
}

@media all and (max-width: 550px) {
    .content{
        margin: 0 25px;
    }
    h1 {
        font-size: 1.2em;
    }
    h1 + hr {
        width: 60vw;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.2em;
    }
    .team-card {
        width: 100%;
    }
    .popup-content {
        padding: 4rem 1rem 1rem 1rem;
    }
    .offer .offer-image {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 8px 8px 0 0;
        height: 15rem;
    }
    .offer .offer-content .organisation-name {
        font-size: 14px;
    }
    .offer .offer-content .offer-title {
        font-size: 18px;
    }
    .offer .offer-content a {
        margin-bottom: 16px;
    }
    .offer .offer-organisation-image {
        border-radius: 0 0 0 8px;
        top: 15rem;
        width: 15vw;
    }
    .offer {
        height: auto;
    }
    .offer .offer-content {
        margin-right: unset;
        padding: 5px 20px;
    }
    .box {
        min-width: unset;
        width: 100%;
    }
    .partner-row-logo {
        flex-direction: column;
    }
    .contact_form_row {
        display: block;
    }
    .contact_form_row input {
        margin: 20px;
    }
    .contact_form_field textarea {
        margin: 20px;
    }
    .contact_form_field div:last-child input {
        color: transparent;
        width: 150px;
        margin-left: 20px;
    }
    .cookies-box {
        right: 0;
        width: 100%;
    }
    .cookies-body {
        margin: 0 10vw;
        width: 100%;
    }
    .cookies-footer{
        padding: 5px 0 0px;
    }
    .content > .partner-row:last-child > .partner-row-logo > a {
        margin-bottom: 3rem;
    }
}

.profil{
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px 20px;
    margin: 4px 0;
}

.profil::after{
    border: solid 2px var(--bg-color-white);
    border-radius: 25%;
    transition: all 250ms ease;
    padding: 20px 20px;
    margin: 4px 0;
}

.separation-bar {
    background-color: white;
    width: 2px;
    height: 70%;
}
