@font-face {
    font-family: 'PP Pangram Sans Rounded';
    font-weight: normal;
    /* <=> normal */
    src:
        local('PP Pangram Sans Rounded'),
        url('../fonts/PPPangramSansRounded-CompactRegular.woff2') format('woff2'),
        url('../fonts/PPPangramSansRounded-CompactRegular.woff') format('woff'),
        url('../fonts/PPPangramSansRounded-CompactRegular.otf') format('opentype');
}

@font-face {
    font-family: 'PP Pangram Sans Rounded';
    font-weight: 500;
    /* si entre normal et bold, je ne suis pas sûr pour ce fichier en particulier */
    src:
        local('PP Pangram Sans Rounded'),
        url('../fonts/PPPangramSansRounded-Medium.woff2') format('woff2'),
        url('../fonts/PPPangramSansRounded-Medium.woff') format('woff'),
        url('../fonts/PPPangramSansRounded-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'PP Pangram Sans Rounded';
    font-weight: bold;
    /* <=> bold */
    src:
        local('PP Pangram Sans Rounded'),
        url('../fonts/PPPangramSansRounded-Bold.woff2') format('woff2'),
        url('../fonts/PPPangramSansRounded-Bold.woff') format('woff'),
        url('../fonts/PPPangramSansRounded-Bold.otf') format('opentype');
}

body {
    font-family: 'PP Pangram Sans Rounded', sans-serif;
    font-weight: 400;
    overflow: hidden;
    font-size: 1em;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-color: #fff;
}

.bg {
    background-color: #000;
}

.bottomLogoContainer {
    text-align: center;
    margin-bottom: 2em;
}

.bottomLogoContainer a {
    background: none;
}

.bottomLogo {
    width: 50%;
    cursor: pointer;
}

.leftPanel {
    position: absolute;
    background-color: white;
    height: 100%;
    width: 33%;
    text-align: left;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 10000;
}

.container {
    width: 75%;
    height: 100%;
}

.title {
    font-size: 30px;
    font-weight: bold;
}

.hint {
    margin-top: 0;
    margin-bottom: 20px;
}

input {
    border-radius: 12px;
    height: 52px;
    line-height: 52px;
    color: #1ba8b9;
    border: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: 'PP Pangram Sans Rounded';
    font-weight: 400;
    font-size: 18px;
    transition: 0.5s;
    padding-bottom: 5px;
}

input:not(input[type='submit']):not(input[type='checkbox']) {
    padding-right: 50px;
    padding-left: 10px;
}

.email {
    background: url("../assets/icons/icon_mail.png") no-repeat 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

input[type='password'] {
    letter-spacing: 0px;
}

input[type='submit'] {
    cursor: pointer;
}

.separator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-block: 1.5rem;
}

.separator>div {
    width: 100px;
    height: 1px;
    border-radius: 5px;
    background-color: #c1c1c1;
}

.separator>span {
    color: #c1c1c1;
    margin-bottom: 5px;
}

.password {
    background: url("../assets/icons/icon_password.png") no-repeat;
    background-position: 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

.identity {
    background: url("../assets/icons/icon_identity.png") no-repeat;
    background-position: 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

.identityElement>.identity {
    background: url("../assets/icons/icon_identity.png") no-repeat;
    background-position: 90% !important;
    background-size: 20px;
    background-color: #e0f5f8;
    padding-right: 45px !important;
}

.company {
    background: url("../assets/icons/icon_company.png") no-repeat 96%;
    background-position: 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

.job {
    background: url("../assets/icons/icon_jobtitle.png") no-repeat;
    background-position: 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

.phone {
    background: url("../assets/icons/icon_phone.png") no-repeat;
    background-position: 96%;
    background-size: 20px;
    background-color: #e0f5f8;
}

.inputError {
    color: #f24740 !important;
    background: url("../assets/icons/icon_help.png") no-repeat !important;
    background-position: 96% !important;
    background-size: 20px !important;
    background-color: rgba(242, 71, 64, 0.2) !important;
}


input:focus {
    transition: 0.5s;
    outline: solid 1px #1ba8b9;
}

.inputError:focus {
    transition: 0.5s;
    outline: solid 1px #f24740;
}


/* Change default autofill colors */
.email:-webkit-autofill,
.email:-webkit-autofill:hover,
.email:-webkit-autofill:focus,
.email:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

.password:-webkit-autofill,
.password:-webkit-autofill:hover,
.password:-webkit-autofill:focus,
.password:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

.identity:-webkit-autofill,
.identity:-webkit-autofill:hover,
.identity:-webkit-autofill:focus,
.identity:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

.company:-webkit-autofill,
.company:-webkit-autofill:hover,
.company:-webkit-autofill:focus,
.company:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

.job:-webkit-autofill,
.job:-webkit-autofill:hover,
.job:-webkit-autofill:focus,
.job:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

.phone:-webkit-autofill,
.phone:-webkit-autofill:hover,
.phone:-webkit-autofill:focus,
.phone:-webkit-autofill:active {
    -webkit-text-fill-color: #1ba8b9 !important;
    -webkit-box-shadow: 0 0 0 50px #e0f5f8 inset;
    /* Change the background color */
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(27, 168, 185, 0.5);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgba(27, 168, 185, 0.5);
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgba(27, 168, 185, 0.5);
}

.inputError::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #f24740;
    opacity: 1;
    /* Firefox */
}

.inputError:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #f24740;
}

.inputError::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #f24740;
}

input[type='checkbox'] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #e0f5f8;
    margin: 0;
    padding: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.12em solid currentColor;
    border-radius: 100%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    align-self: center;
    outline: none;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.55em;
    height: 0.55em;
    border-radius: 100%;
    transform: scale(0);
    transition: 120ms transform ease-in;
    background-color: currentColor;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.form-control {
    color: #4cc6d4;
    font-weight: 400;
    font-size: 11px;
    margin-block: 20px;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 1em;
    text-align: justify;
}

.form-control+.form-control {
    margin-top: 1em;
}

a {
    font-style: normal;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    background-image: url('../assets/underline/ligne_pointillee_loop.svg');
    background-repeat: repeat-x;
    background-position-y: 30px;
    background-size: 110px 20px;
    background-clip: padding-box;
    padding-bottom: 15px;
    transition: 100ms ease-in;
}

a:hover {
    background-position-y: 18px;
}

a:link {
    color: #f24740;
}

a:visited {
    color: #f24740;
}


.backgroundImage {
    width: 100%;
    height: 100vh;
}

.forgotPassword {
    text-align: right;
}

input.button {
    height: 60px;
    background-color: #f24740;
    font-weight: 500;
    font-size: 24px;
    color: #fff;
    padding: 0;
    transition: 100ms;
    padding-bottom: 5px;
}

input.button:hover {
    background-color: #da433e;
}

input.button.secondary {
    font-size: 20px;
    background-color: #fff;
    color: #f24740;
    border: 2px solid #f24740;
}

input.button.secondary:hover {
    background-color: #f24740;
    color: #fff;
}

.secondaryText {
    font-weight: 400;
    font-size: 16px;
    color: #c1c1c1;
}

.signupText {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    margin-block: 5px;
}

#signupText {
    background-color: #1ba8b9;
    padding-block: 15px;
    margin-block: 1.5em;
    cursor: default;
}

#signupText>button {
    margin-top: 10px;
}

.signupText:nth-child(1) {
    margin-top: 0;
}

.textError {
    color: #f24740 !important;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-6 {
    margin-bottom: 60px;
}

.centered {
    text-align: center;
}

.secondaryTitle {
    color: #81dae5
}

.blank {
    height: 20px;
    background-color: white;
}

.sectionTitle {
    font-weight: 400;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    text-align: center;
}

.doubleButtonsContainer {
    display: flex;
    justify-content: space-between;
}

.link {
    background-color: transparent;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.link:focus {
    outline: none;
}

.link:hover {
    text-decoration: #f24740 underline;
}

.blackLink:hover {
    text-decoration: black underline;
}

.info {
    font-weight: 500;
    font-size: 18px;
    color: orange;
}

.hubButtonContainer {
    max-width: 55%;
    position: absolute;
    top: 50%;
    right: 33%;
    border-radius: 15px;
    border: none;
    transform: translate(+50%, -50%);
    font-weight: bold;
    padding: 1rem;
    background-color: #fff;
    z-index: 1000;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    gap: 0.5rem;
    padding-inline: 2rem;
    margin-block: 2rem;
}

.feature {
    text-align: center;
}

.feature>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-description {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    margin-top: 0.5rem;
    background-color: rgba(129, 218, 229, 0.2);
    padding-inline: 0.5rem;
    box-sizing: border-box;
}

.feature-description>p {
    color: #1ba8b9;
}

.hubButtonContainer>form {
    justify-content: center;
    display: flex;
}

.hubButton {
    border-radius: 18px;
    border: none;
    width: fit-content;
    height: 84px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    line-height: 45px;
    background: url('../assets/icons/picto_porte.png') no-repeat 8%;
    background-color: #f24740;
    background-size: 45px;
    padding-left: 100px;
    padding-right: 50px;
    transition: 0.2s;
    z-index: 1000;
}

.hubButton2 {
    position: absolute;
    top: 50%;
    right: 33%;
    border-radius: 18px;
    border: none;
    width: 260px;
    transform: translate(+50%, -50%);
    font-weight: bold;
    padding: 19px 29px 24px 30px;
    background-color: #fff;
    z-index: 1000;
}

.hubButton2-text {
    color: #4cc6d4;
    font-size: 32px;
    background: url('../assets/icons/picto_porte_2.png') no-repeat;
    background-size: 45px;
    padding: 0 0 5px 55px;
    line-height: 40px;
}

.hubButton2-lock {
    width: 197px;
    height: 41px;
    margin: 16px 0 0;
    border-radius: 18px;
    color: #fff;
    background: url(../assets/icons/cadenas.png) no-repeat 16px 13px;
    background-color: #f24740;
    padding: 5px 0 10px 63px;
    background-size: 24px 26.7px;
    font-size: 36px;
}

.hubButton2-info {
    font-size: 1.4em;
    padding-inline: 2rem;
    text-align: center;
    margin-top: 1rem;
}

.hubButton:hover {
    background-color: #da433e;
}

.bottomLinkContainer {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

.bottomLink {
    cursor: pointer;
    background: none !important;
    color: #959595;
    text-align: center;
    font-size: 1em;
    margin-bottom: 1rem;
}

.bottomLink:hover {
    color: #1ba8b9;
}

.darken {
    opacity: 0.7;
}

#popupContainer {
    z-index: 100001;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #0000007f;
}

.popup {
    width: 30%;
    min-width: 200px;
    text-align: center;
    background-color: white;
    border-radius: 14px;
    position: absolute;
    padding: 2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
}

.popup>button {
    margin-block: 1rem;
}

.section {
    background-color: #81dae5;
    transition: background-color 0.3s ease-in-out;
    padding-block: 3px;
    padding-inline: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.sectionText {
    font-weight: 400;
    font-size: 16px;
    color: #f3f3f3;
}

.sectionBody {
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}


.identityContainer {
    display: flex;
    flex-direction: row;
    gap: 13px;
    align-items: center;
}

.identityContainer p {
    width: 100%;
    margin: 0;
}

/* .phoneContainer {
    display: flex; 
    flex-direction: row; 
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
}

.phoneContainer .phoneInput {
    width: 100%;
    margin: 0;
} */

button {
    font-family: 'PP Pangram Sans Rounded';
    width: 100%;
    height: 60px;
    background-color: #f24740;
    font-weight: 500;
    font-size: 24px;
    color: #fff;
    padding: 0;
    transition: 100ms;
    padding-bottom: 5px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #da433e;
}

select {
    background-color: #e0f5f8;
    border-radius: 12px;
    height: 52px;
    line-height: 52px;
    color: #1ba8b9;
    border: 0;
    width: 100%;
    font-family: 'PP Pangram Sans Rounded', sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding-inline: 10px;
    outline: none;
    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%);
    background-position:
        calc(100% - 25px) calc(1em + 2px),
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 4em) 0.5em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:focus {
    background-image:
        linear-gradient(45deg, #1ba8b9 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, #1ba8b9 50%);
    background-position:
        calc(100% - 20px) 1em,
        calc(100% - 25px) 1em,
        calc(100% - 4em) 0.5em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    outline: solid 1px #1ba8b9;
}


select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

/* Responsive */
@media screen and (max-width: 1000px),
screen and (max-device-width: 1000px) {
    body {
        overflow: scroll;
    }

    .leftPanel {
        width: 100%;
        position: relative;

    }

    .container {
        text-align: center;
        height: auto;
        width: 85%;
    }

    #background {
        display: none !important;
    }

    .bg {
        background-color: #fff;
    }

    .bottomLogo {
        width: 30%;
        content: url('../assets/icons/logo_vertical.png');
        /* margin-top: 50px; */
    }

    .hubButton {
        font-size: 32px;
    }

    .hubButtonContainer {
        position: relative;
        max-width: none;
        top: unset;
        right: unset;
        transform: none;
    }

    .popup {
        width: 80%;
    }
}

@media screen and (max-width: 600px),
screen and (max-device-width: 600px) {
    .hubButtonContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .container {
        width: 75%;
    }

    .features-container {
        width: 60%;
        flex-direction: column;
        gap: 3rem;
    }

    .hint {
        text-align: left;
        margin-bottom: 40px;
    }

    .signupText {
        text-align: center;
    }

    a {
        background-image: none;
    }

    .form-control {
        grid-template-columns: 4em auto;
    }
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(200, 200, 200);
}