@font-face {
    font-family: Poppins;
    src: url(font/Poppins-Medium.ttf);
}

body {
    font-family: Poppins;
}


.hide-scrollbar {
    overflow: hidden;
}
* {
    padding: 0;
    margin: 0;
}

img {
    object-fit: cover
}

.logo {
    margin-left: 10%;
}

nav {
    background-color: #FFFFFF;
    top: 0;
    width: 100%;
    position: sticky;
    border-bottom: 1px solid #D8D6D6;
    z-index: 1;
    height: 70px;
}

    nav a {
        float: left;
        display: block;
        color: #6E6E6E;
        text-align: center;
        padding: 20px;
        text-decoration: none;
        font-style: normal;
        font-weight: 700;
        font-size: 12px;
    }

        nav a:hover {
            color: black;
        }

.nav a {
    color: white;
    text-decoration: none;
    display: block;
}

.cookie {
    background-color: rgba(26, 42, 164, 0.9);
    bottom: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
}

    .cookie > div {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-left: 10%;
        padding-right: 10%;
    }

#cookie-text {
    max-width: 50%;
}

#cookie-btn {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    padding: 10px;
}

#cancel-cookie-btn, #allow-cookie-btn {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    color: #1A2AA4;
    background-color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 10px;
}

button, a, nav > img {
    cursor: pointer;
}

#burger {
    display: none;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #F4F3F3;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

    .sidenav a {
        padding: 20px;
        text-decoration: none;
        font-size: 16px;
        color: #3F3F3E;
        display: block;
        transition: 0.3s;
    }

        .sidenav a:hover {
            color: black;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 30px;
        margin-left: 100px;
    }

a {
    display: inline-block;
}

.links {
    display: flex;
    align-items: center;
    margin-right: 10%;
}

#goToEvelop {
    background-color: #1A2AA4;
    outline: none;
    border: none;
    color: #F4F3F3;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    padding: 12px;
    margin-left: 56px;
}

#discoverEvelop {
    background-color: #009DE0;
    outline: none;
    border: none;
    color: #F4F3F3;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 60px;
    margin-top: 40px;
    text-decoration: none;
}


section {
    background: #FFFFFF;
    margin: 0;
    scroll-margin-top: 70px;
}

html {
    scroll-behavior: smooth;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    max-width: 600px;
}

h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    max-width: 600px;
}

h4 {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    max-width: 600px;
}

.full {
    max-width: 100%;
}

p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    max-width: 600px;
}

.bold {
    font-weight: 700
}

.white {
    color: #FFFFFF;
}

.darkGray {
    color: #3F3F3E;
}

.gray {
    color: #6E6D6D
}

.lightGray {
    color: #F4F3F3;
}

.max-width-600 {
    max-width: 600px;
}

.max-width-400 {
    max-width: 400px;
}

#home {
    background-image: url('../assets/Main.png');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    padding: 120px;
    height: 75vh;
}

#first-bloc {
    background-color: #FFFFFF;
    padding: 100px 10%;
}

#discover h2, h3 {
    margin-bottom: 30px;
}

#discover .container {
    align-items: flex-start;
    margin-top: 60px;
}

#discover .logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

#policy {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    text-decoration-line: underline;
    color: #6E6D6D;
    margin-top: 10px;
}

#second-bloc {
    background-color: #F4F3F3;
    padding: 100px 10%;
}

.elem {
    background-color: #FFFFFF;
    width: 30%;
    padding: 30px;
}

#second-bloc .flex {
    align-items: stretch;
}

.white-triangle {
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 30px;
    border-color: #FFFFFF transparent transparent transparent;
    margin-left: calc(50% - 30px);
}

.gray-triangle {
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 30px;
    border-color: #F4F3F3 transparent transparent transparent;
    margin-left: calc(50% - 30px);
}

#functioning {
    background-color: #1C75BC;
    padding: 100px 10%;
    text-align: center;
}

    #functioning .flex {
        align-items: stretch;
    }

    #functioning p {
        margin-top: 20px;
    }

#switch-btn-container {
    display: flex;
    justify-content: center;
}

.switch-btn {
    margin: 80px -3px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #FFFFFF;
    padding: 10px 20px;
    background-color: transparent;
    color: #FFFFFF;
}

    .switch-btn.selected {
        background-color: #FFFFFF;
        color: #1C75BC;
    }

.display-none {
    display: none;
}

.item {
    width: 20%;
    text-align: left;
}

#contact {
    text-align: center;
    padding: 100px 10%;
}

    #contact h2, p {
        margin-bottom: 30px;
    }

form {
    padding: 30px;
}

.success {
    background-color: rgba(0, 168, 114, 0.5);
    margin-bottom: 20px;
    padding: 10px;
}

    .success:empty {
        display: none;
    }

.errors > ul > li {
    background-color: rgba(230, 83, 15, 0.8);
    margin-bottom: 20px;
    padding: 10px;
}

.input-container {
    background-color: #F4F3F3;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0px 18px;
    width: 100%;
    margin-bottom: 20px;
}

.input-field {
    border: none;
    outline: none;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    height: 40px;
    width: 100%;
    margin-left: 18px;
    background-color: transparent;
}

.form-icon, #arrow {
    width: 20px;
}

textarea {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    background-color: #F4F3F3;
    border: none;
    padding: 10px;
    width: 100%;
    height: 100px;
}

#submit {
    background-color: #1A2AA4;
    outline: none;
    border: none;
    color: #F4F3F3;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    margin-top: 30px;
}

#rgpd {
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    text-align: start;
    color: #878686;
    padding: 0px 30px;
}

footer {
    background-color: #1A2AA4;
    padding: 30px;
}

    footer .links a {
        color: #FFFFFF;
        text-decoration: none;
        font-style: normal;
        font-weight: 700;
        font-size: 12px;
        float: left;
        display: block;
        padding: 30px;
    }

    footer p {
        color: #D8D6D6;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        text-align: center;
        margin-top: 20px;
        max-width: 100%;
    }

/* LOGIN */
#login-first-bloc, #forgot-pwd-first-bloc, #reset-pwd-first-bloc {
    background-image: url('../assets/Login.svg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    height: calc(100vh - 70px);
    width: 50%
}

    #login-first-bloc > h2, #forgot-pwd-first-bloc > h2, #reset-pwd-first-bloc > h2 {
        margin: 40px;
    }

#login-second-bloc, #forgot-pwd-second-bloc, #reset-pwd-second-bloc {
    width: 40%;
    padding: 10%;
}

    #login-second-bloc > form, #signup-second-bloc > form, #forgot-pwd-second-bloc > form, #reset-pwd-second-bloc > form {
        padding: 0;
    }

        #login-second-bloc > form > .input-container, #signup-second-bloc > form > .input-container, #forgot-pwd-second-bloc > form > .input-container, #reset-pwd-second-bloc > form > .input-container {
            width: auto;
        }

#forgot-pwd {
    color: #1C75BC;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    text-decoration-line: underline;
    right: 10%;
    position: absolute;
}

#submit-login {
    background-color: #1A2AA4;
    outline: none;
    border: none;
    color: #F4F3F3;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    padding: 12px;
    margin-top: 60px;
    width: 100%
}

/* SIGNUP */
#signup-first-bloc {
    background-image: url('../assets/creationdecompte.svg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    height: calc(100vh - 70px);
    width: 50%
}

#signup-second-bloc {
    padding: 0% 10%;
    width: 40%
}

    #signup-second-bloc > h3 {
        margin-top: 20px;
    }

    #signup-second-bloc > form > h4 {
        margin-bottom: 20px;
    }

.checkbox-container {
    display: flex;
    margin: 30px 0;
}

    .checkbox-container > p {
        margin-top: 4px;
    }

.checkbox {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    margin-left: 0px;
    margin-right: 10px;
    accent-color: #1A2AA4;
}

#submit-signup {
    background-color: #1A2AA4;
    outline: none;
    border: none;
    color: #F4F3F3;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    padding: 12px;
    width: 100%
}


/* PRIVACY POLICY */
#privacyPolicyPage, #faqPage, #legalNoticePage {
    padding: 2% 10%;
}

.underline {
    text-decoration: underline;
}

/* FAQ */
#faqPage > h4 {
    margin-bottom: 10px;
    margin-top: 20px;
}

.accordion {
    background-color: #F4F3F3;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
    transition: 0.4s;
    margin-bottom: 10px;
}

    .active,
    .accordion:hover {
        background-color: #eee;
    }

    .accordion:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }

.active:after {
    content: "\2212";
}

.panel {
    padding: 10px;
    display: none;
    overflow: hidden;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
}

td,
th {
    border: 1px solid #F4F3F3;
    text-align: left;
    padding: 8px;
    width: 30%
}

tr:nth-child(even) {
    background-color: #F4F3F3;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.ml-3, .mx-3 {
    margin-left: 1rem !important;
}

.mb-2, .my-2 {
    margin-bottom: 0.5rem !important;
}

.alert-danger {
    color: #73231d;
    background-color: #f8dad7;
    border-color: #f6cbc7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.text-primary {
    color: #233b90 !important;
}

/* MOBILE */
@media only screen and (max-width: 1040px) {

    .hide-scrollbar {
        overflow: auto
    }

    .logo {
        margin-left: 2%;
    }

    nav {
        height: 100px;
    }

        nav a {
            padding: 10px;
            font-size: 16px;
        }

    .links > a {
        display: none;
    }

    .links {
        margin-right: 2%;
    }

    h2 {
        font-size: 38px;
    }

    #burger {
        display: block;
        font-size: 30px;
        padding-right: 20px;
        padding-left: 30px;
    }

    #goToEvelop {
        padding: 20px;
        margin-left: 0%;
    }

    .cookie > div {
        display: block;
    }

    #cookie-text {
        max-width: 100%
    }

    .switch-btn {
        padding: 20px;
    }

    #home, #contact {
        padding: 20px;
    }

    #discoverEvelop {
        padding: 20px 60px;
    }

    .illustration {
        margin-top: 20px;
    }

    h3, p {
        max-width: 100%;
    }

    #discover .container, form .flex, footer .flex {
        display: block;
    }

    #first-bloc > h2 {
        max-width: 200px;
    }

    .elem {
        width: 80%;
        margin-bottom: 20px;
    }

    #sender, #recipient {
        flex-wrap: wrap;
    }

    .item {
        max-width: 45%;
        width: auto
    }

    .input-container {
        width: auto
    }

    textarea {
        height: 200px;
        width: calc(100% - 20px)
    }

    button > .flex {
        display: flex;
    }

    footer .links {
        flex-wrap: wrap;
    }

        footer .links a {
            padding: 10px
        }

    #login-page, #signup-page, #forgot-pwd-page, #reset-pwd-page {
        display: block;
    }

    #login-first-bloc, #signup-first-bloc, #forgot-pwd-first-bloc, #reset-pwd-first-bloc {
        height: 50vh;
        width: 100%
    }

    #login-second-bloc, #signup-second-bloc, #forgot-pwd-second-bloc, #reset-pwd-second-bloc {
        padding: 0;
        width: 100%
    }

        #login-second-bloc > p, #forgot-pwd-second-bloc > p, #reset-pwd-second-bloc > p {
            margin: 0 10%;
        }

        #login-second-bloc > h3, #login-second-bloc > form, #signup-second-bloc > form, #forgot-pwd-second-bloc > h3, #forgot-pwd-second-bloc > form, #reset-pwd-second-bloc > h3, #reset-pwd-second-bloc > form {
            margin: 10%;
        }

        #signup-second-bloc > img, #signup-second-bloc > h3, #signup-second-bloc > p {
            margin: 2% 10%;
        }

        #signup-second-bloc > img {
            margin-top: 30px;
        }

    td, th {
        padding: 4px;
        font-size: 12px;
        width: auto
    }
    .alert {
        position: relative;
        padding: 0.75rem 1.25rem;
        margin-bottom: 1rem;
        border: 1px solid transparent;
        border-radius: 0.25rem;
    }
    .ml-3, .mx-3 {
        margin-left: 1rem !important;
    }

    .mb-2, .my-2 {
        margin-bottom: 0.5rem !important;
    }
    .alert-danger {
        color: #73231d;
        background-color: #f8dad7;
        border-color: #f6cbc7;
    }
    .alert-info {
        color: #0c5460;
        background-color: #d1ecf1;
        border-color: #bee5eb;
    }
    .alert-warning {
        color: #856404;
        background-color: #fff3cd;
        border-color: #ffeeba;
    }
    .text-primary {
        color: #233b90 !important;
    }
}
