html {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(241, 54, 56, 0.25);
  border-color: #f13638 !important;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #f13638 !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(241, 54, 56, 0.25);
}

.form-control, .btn {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.shadow-hover:hover {
    background-color: #e1e0e0;
}

.shadow-hover:focus {
    background-color: white !important;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiByp8kv8JHgFVrLDz8V15vFP-KUEg.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiByp8kv8JHgFVrLGT9V15vFP-KUEg.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiByp8kv8JHgFVrLDD4V15vFP-KUEg.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiDyp8kv8JHgFVrJJLm21llFd2PQEhcqw.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiDyp8kv8JHgFVrJJLmg1hlFd2PQEhcqw.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 800;
    font-display: fallback;
    src: url('https://reprise.fertrecyclage.com/app/themes/fert-theme/assets/fonts/pxiDyp8kv8JHgFVrJJLm111lFd2PQEhcqw.woff2') format('woff2');
}

body, html {
    background-color: #e4142d !important;
}

@media (max-width: 768px) {
    .bg-white-rect {
        min-height: 300px !important;
        max-width: 98vw !important;
        padding: 1rem !important;
    }

    .min-h-500 {
        min-height: 200px !important;
    }

    .px-5, .pt-5, .pb-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .form-control-lg {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .w-50 {
        width: 100% !important;
    }

    .form-control-lg {
        width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 400px) {
    .bg-white-rect {
        min-height: 100px !important;
        max-width: 100vw !important;
        padding: 0.5rem !important;
    }

    .min-h-500 {
        min-height: 80px !important;
    }

    .form-control-lg {
        font-size: 0.70rem !important;
        padding: 0.5rem 0.75rem;
        width: 100% !important;
        box-sizing: border-box;
    }

    .btn-validate {
        font-size: 1rem;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.btn-danger {
    background-color: #e4142d !important;
    border-color: #e4142d !important;
    color: #fff !important;
}

.btn-danger:hover, .btn-danger:focus, .btn-validate:hover {
    background-color: #b01022 !important;
    border-color: #b01022 !important;
    color: #fff !important;
}

.btn-validate {
    border-radius: 12px;
    font-weight: 700;
    background-color: #e4142d;
    border-color: #e4142d;
    color: #fff;
    transition: background 0.2s, color 0.2s;
    padding-top: 16px;
    padding-bottom: 16px;
}

.bg-white-rect {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    max-width: 1400px;
    min-height: 500px;
    margin: 40px auto;
    padding: 2.5rem 2rem;
}

.p-2-5-2 {
    padding: 2.5rem 2rem;
}

.min-h-500 {
    min-height: 500px;
}

.max-w-1400 {
    max-width: 1400px;
}

.navbar-custom {
    background-color: #e4142d;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
}

.navbar-brand img {
    width: auto;
    object-fit: contain;
}

.main-content {
    flex: 1;
}

.footer-custom {
    flex-shrink: 0;
    margin-top: 0;
    background-color: #fff;
    color: #000;
    text-align: left;
    padding: 20px 0;
}

.footer-custom p {
    margin: auto;
    text-align: center;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.main-content {
    flex: 1;
}

.block_button_custom {
    background-color: #fff;
    border: none;
    border-radius: 12px;
    color: #00141d;
    cursor: pointer;
    font-weight: 1000;
    letter-spacing: .7px;
    padding: 10px 0px 10px;
    transition: background-color .2s, color .2s;
    width: 100%;
    font-size: 1.5rem;
}

    .block_button_custom:hover {
        background-color: #e4142d;
        color: #fff;
    }

.center-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-accueil-custom {
    background-color: #e4142d !important;
    color: #fff !important;
    border-radius: 0.5rem;
}

.btn-accueil-custom:hover {
    background-color: #b01022 !important;
    color: #fff !important;
}