/* Add a black background color to the top navigation */
.topnav {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    background-color: #f2f2f2;
    border-radius: 8px;
}

/* Style the links inside the navigation bar */
.topnav a {
    border-radius: 8px;
    padding: 0.75em;
    flex-grow: 1;
    color: black;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    display: flex;
    flex-wrap: nowrap;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #f2f2f2;
    color: black;
}

.logo {
    display: block;
    margin: 2.5em auto;
    height: 128px;
    width: 128px;
}

.images {
    margin: 2.5em 0;
    display: flex;
}

.image {
    margin: 0 auto;
    max-width: 15%;
}

.image:first-child {
    position: absolute;
    left: 2.5em;
}

.image:last-child {
    position: absolute;
    right: 2.5em;
}

.centered {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.pitch{
    margin: 0px 18%;
}

.pitch-text {
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    font-size: 19px;
}

.paragraph {
    margin-top: 0.6em;
}

.btn {
    text-decoration: none;
    padding: 8px;
    border-radius: 33px;
    background-color: black;
    color: white;
    border: 1px solid rgba(0,0,0,40%);
}

.btn:hover {
    cursor: pointer;
}

.border-white {
    border: 1px solid rgba(255,255,255,40%);
}

.border-black {
    border: 1px solid rgba(255,255,255,40%);
}

.page-title {
    text-align: center;
    font-weight: normal;
}

.page-subtitle {
    text-align: center;
    margin-top: 0;
    font-weight: normal;
}

.text-blue {
    color: #4285F4;
}

.text-red {
    color: #EA4335;
}

.text-green {
    color: #34A853;
}

.text-white {
    color: #f2f2f2;
}

.text-black {
    color: #101010;
}

.background-blue {
    background-color: #4285F4;
}

.background-red {
    background-color: #EA4335;
}

.background-green {
    background-color: #34A853;
}

.background-white {
    background-color: #fff;
}

.background-black {
    background-color: #000;
}

.flex {
    display: flex;
}

.i-flex {
    display: inline-flex;
}

.left-div {
    flex-grow: 1;
}

.contact-form {
    border-right: 1px solid rgba(0,0,0,40%);
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-div {
    flex-grow: 1;
}

.right-div .icon:first-of-type {
    margin-top: 80px;
}

.split-two {
    display: flex;
    gap: 40px;
}

.split-two input {
    flex-grow: 1;
}

.contact-instructions {
    font-size: 18px;
    padding-left: 40px;
}

input {
    font-size: 18px;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,40%);
    padding: 5px 10px;
}

.message {
    width: 100%;
    padding: 5px 10px;
    resize: none;
    box-sizing: border-box;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,40%);
}

.send-form {
    text-decoration: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 9px;
}

.lexend, body, textarea {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.icon {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: start;
}


.icon-text {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.f-12 {
    font-size: 12px;
}

.f-16 {
    font-size: 16px;
}

.f-20 {
    font-size: 20px;
}

.f-24 {
    font-size: 24px;
}

.icon p {
    margin: 0;
}

.user-form {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    gap: 14px;
}

.user-info>p {
    margin: 0;
}

.user-info>.icon {
    justify-content: center;
}

.user-info-inline {
    display: inline-flex;
}

.mono {
    white-space: pre;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.round {
    height: fit-content;
    border-radius: 200px;
}

.m-0 {
    margin: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.securite-sociale {
    border: 1px solid black;
    border-radius: 4px;
}

.securite-sociale>input {
    border: none;
}

.securite-sociale>input:first-of-type {
    border-right: 1px solid black;
}

.squared {
    border-radius: 8px;
}

.flex {
    display: flex;
}

input[type=file] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    display:block;
}

.upload {
    margin-top: -10px;
}

.upload:hover,.upload:focus{
    background-color: #eee;
}

input[type=checkbox] {
    transform: scale(1.3);
}

.toast {
    position: absolute;
    display: none;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background-color: #FFFFFF;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-left: 6px solid #34A853;
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast.active {
    transform: translateX(0%);
}

.toast .toast-content {
    display: flex;
    align-items: center;
}

.toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: #34A853;
    color: #FFFFFF;
    font-size: 20px;
    border-radius: 50%;
}

.toast-content .toast-message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.toast-message .text {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

.toast-message .text.toast-title {
    font-weight: 600;
    color: #000000;
}

.toast .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: .7;
}

.toast .close:hover {
    opacity: 1;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #FFFFFF;
}

.toast .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #34A853;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}



@keyframes progress {
    100% {
        right: 100%;
    }
}

body {
    overflow-x: hidden;
}

.error-message {
    background-color: #EA4335;
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,40%);
    border-radius: 10px;
    display: inline-flex;
    flex-direction: row;
    align-self: center;
    gap: 6px;
    color: white;
    margin-bottom: 30px;
}

.success-message {
    background-color: #34A853;
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,40%);
    border-radius: 10px;
    display: inline-flex;
    flex-direction: row;
    align-self: center;
    gap: 6px;
    color: white;
    margin-bottom: 30px;
}

footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}

a {
    color: inherit;
}

.note {
    font-size: 10px;
    color: #EA4335;
    margin: 0;
}

.notes {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media screen and (max-width: 570px) {
    .user-form {
        margin-left: auto;
        margin-right: auto;
        width: 50vmin;
    }
}

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

    .flex {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form {
        border-right: none;
        border-bottom: 1px solid black;
        padding: 40px 0;
    }

    .split-two {
        flex-direction: column;
    }

    .right-div .icon {
        margin-left: 40px;
    }

    .right-div .icon:first-of-type {
        margin-top: 20px;
    }

    .images {
        display: none;
    }
}

@media screen and (min-width: 571px) {

    .user-form {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        gap: 14px;
    }
}
