body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
}

/* Modal */
.rent-modal-container {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.rent-modal-content {
    text-align: center;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1200px;
}

/* Close modal button */
.close-rent-modal {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.mobile-menu {
    z-index: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background-color: white;
    position: absolute;
    text-align: center;
    height: 100vh;
    width: 100%;
    left: 0;
    overflow-y: hidden;
}

.mobile-menu li a {
    font-size: 22px;
    color: #530606;
    font-weight: bold;
}

.modal-content {
    display: none;
}

.modal-rent-step {
    background: rgb(0, 0, 0);
    border-radius: 5px;
    color: white;
    padding: 10px;
    width: fit-content;
    margin: 12px auto;
}

.modal ul {
    display: none;
}


.close-rent-modal:hover,
.close-rent-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

header .menu-burger {
    position: absolute;
    right: 20px;
    width: 40px;
    top: 3px;
}

nav {
    height: 53px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(68, 14, 14, 0.288);
}

nav .logo {
    width: 122px;
    margin-right: 50px;
}

nav picture {
    z-index: 1;
}

.slogan {
    width: 100%;
    background: black;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-top: 53px;
}

.slogan h1 {
    margin: 0;
    color: white;
    padding: 20px;
    font-size: 20px;
}

#accueil {
    background-image: radial-gradient(circle, #530606, #41080d, #2f0a0f, #1d060b, #000000);
}

#accueil .container img {
    width: 100%;
    margin: 20px 0;
}

section .category-title {
    text-align: center;
    background: black;
    color: white;
    padding: 10px;
    max-width: 1600px;
    font-size: 19px;
    padding: 20px;
}

#catalogue .news-banner {
    text-align: center;
    background-color: black;
    font-size: 20px;
    color: white;
    margin: 0 10px;
    padding: 5px;
    font-size: 17px;
    font-weight: 600;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card-left-content img {
    width: 100%;
    max-width: 443px;
}

.card-left-content h2 {
    font-size: 19px;
}

#catalogue {
    background-color: rgb(228, 228, 228);
}

#catalogue .card {
    background-color: white;
    padding: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

#catalogue p {
    font-size: 12px;
}

.card h3 {
    color: rgb(110, 11, 11);
}

.card:not(:first-of-type) {
    margin-top: 10px;
}

#catalogue .rent-button {
    background-color: #530606;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    width: 150px;
    text-align: center;
}

#catalogue .rent-button:hover {
    background-color: #41080d;
}

.card-price-left-content-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-price-right-content-container {
    display: flex;
    flex-direction: column;
}

.card-price-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.card-price-content {
    border-top: 1px solid rgb(148, 141, 141);
    margin-top: 5px;
}


#leasing {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 40px 5px;
}

.leasing_page {
    padding: 79px 5px 1px 5px;
}

#leasing .leasing_type_container {
    display: flex;
    gap: 1px;
    justify-content: center;
}

#leasing .leasing_type {
    width: 100%;
    max-width: 400px;
    height: 150px;
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.521) 0px 30px 60px -30px;
}

#leasing .leasing_type_1 {
    transition: all 1s;
    background-image:
            linear-gradient(to bottom, rgba(66, 18, 20, 0.644), rgba(66, 18, 18, 0.85)),
            url(/assets/img/leasing_bg_1.jpg);
    border-radius: 15px 0 0 15px;
}

#leasing .leasing_type_2 {
    transition: background-image 1s;
    background-image:
            linear-gradient(to bottom, rgba(66, 18, 20, 0.644), rgba(66, 18, 18, 0.85)),
            url(/assets/img/leasing_bg_2.png);
    border-radius: 0 15px 15px 0;
}

#leasing .leasing_type_1:hover {
    background-image:
            linear-gradient(to bottom, rgba(66, 18, 20, 0.596), rgba(27, 2, 2, 0.993)),
            url(/assets/img/leasing_bg_1.jpg);
}

#leasing .leasing_type_2:hover {
    background-image:
            linear-gradient(to bottom, rgba(66, 18, 20, 0.596), rgba(27, 2, 2, 0.993)),
            url(/assets/img/leasing_bg_2.png);
}


#contact {
    background-color: black;
    color: white;
    height: fit-content;
    padding: 20px;
}

#contact .container h2 {
    margin-bottom: 3%;
    text-align: center;
}

#contact .button-container {
    gap: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact .button-container .contact-img-container {
    padding: 10px;
    background-color: rgba(61, 4, 4, 0.557);
    border-radius: 10px 0 0 10px;
}

#contact .phone-infos {
    font-size: 13px;
    margin-left: 10px;
}

#contact button {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 800;
    border: none;
    font-size: 20px;
    color: white;
    padding: 0;
    border-radius: 10px;
    background: #530606;
    transition: background-color 0.3s ease;
    width: 100%;
}

#contact a button:hover {
    cursor: pointer;
    background-color:rgba(61, 4, 4);
}

#contact button img {
    width: 15px;
}

#contact button p {
    text-align: center;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

#mentions-legales {
    text-align: left;
    background-color: rgb(228, 228, 228);
}

#mentions-legales .container {
    background-color: white;
    padding: 20px;
    font-size: 12px;
}

footer .Copyright {
    font-size: 12px;
    text-align: center;
}

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

    p {
        font-size: 14px !important;
    }

    h4 {
        font-size: 15px;
    }

    .slogan {
        margin-top: 84px;
        height: 150px;
    }

    .slogan h1 {
        margin: 0;
        color: white;
        padding: 20px;
        font-size: 31px;
    }

    nav {
        z-index: 1;
        position: absolute;
        padding: 0 50px;
        width: 100%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        align-items: center;
        background-color: white;
        height: fit-content;
    }

    nav ul {
        display: flex;
    }

    nav ul li {
        margin: 25px;
    }

    nav a {
        color: black;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.4em;
        padding: 1px;
    }

    nav a:hover {
        border-bottom: 2px solid #791919fc;
        border-radius: 2px;
    }

    #accueil,
    #contact,
    #mentions-legales {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    section .category-title {
        width: 100%;
        text-align: center;
        background: black;
        color: white;
        padding: 20px;
        max-width: 1600px;
        margin: 10px;
    }
    #accueil .container img {
        max-width: 950px;
    }

    .container {
        width: 80%;
        max-width: 1600px;
        margin: 0 auto;
    }

    .modal-content {
        display: flex !important;
    }


    .card {
        display: flex;
        flex-wrap: wrap;
        text-align: left;
        background-color: white;
        padding: 20px;
        margin-right: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .card-infos-container {
        display: flex;
    }

    .card h2 {
        text-align: center;
    }

    .card .card-left-content {
        width: fit-content;
        z-index: 0;
        flex: 1;
    }

    .card .card-left-content img {
        width: 100%;
        max-width: fit-content;
    }

    .card .card-right-content {
        padding: 20px;
        flex: 1;
    }

    .card .card-right-content .description {
        font-weight: 400;
        color: rgb(51, 51, 51);
        font-size: 15px;
    }

    .card .card-price-content {
        flex: 1;
        padding: 30px 10px 10px 10px;
        border-top: 1px solid rgb(151, 149, 149);
    }

    .card .card-price-content .card-price-content-container-leasing {
        align-items: center;
    }

    .card .card-price-content .card-price-content-container-leasing {
        align-items: center;
    }

    .card .card-price-content h3 {
        text-align: center;
    }

    .card-price-content-container {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }

    .card-price-left-content-container,
    .card-price-right-content-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 24px;
    }

    .card-price-content-container h3 {
        margin: 0;
    }

    .card p {
        font-weight: 400;
    }

    #accueil {
        height: 35vh;
    }

    #catalogue {
        padding: 40px;
        z-index: 1;
        background-color: rgb(228, 228, 228);
    }

    #catalogue .news-banner {
        text-align: center;
        width: 100%;
        background-color: #5b5757;
        font-size: 20px;
        color: white;
        padding: 10px;
        font-size: 20x;
        font-weight: 600;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    #catalogue .container {
        display: flex;
        flex-wrap: wrap;
    }

    #catalogue .rent-button {
        background-color: #530606;
        color: white;
        padding: 18px;
        border-radius: 5px;
        font-weight: 500;
        margin-top: 20px;
        width: 150px;
        text-align: center;
    }

    #catalogue .rent-button:hover {
        background-color: #41080d;
    }


    #contact {
        background-color: black;
        color: white;
        height: 30vh;
    }

    #contact .phone-number,
    #contact .mail {
        font-size: 16px !important;
    }

    #contact .container h2 {
        margin-bottom: 3%;
    }

    #contact .button-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
        justify-content: center;
        flex-direction: row;
    }

    #contact .button-container .contact-img-container {
        padding: 20px;
        background-color: rgba(61, 4, 4, 0.557);
        border-radius: 10px 0 0 10px;
    }

    #contact .phone-infos {
        font-size: 13px;
        margin-left: 10px;
    }

    #contact button {
        font-family: 'Montserrat', Arial, Helvetica, sans-serif;
        font-weight: 800;
        width: 450px;
        border: none;
        font-size: 20px;
        color: white;
        padding: 0;
        border-radius: 10px;
        background: #530606;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.3s ease;
    }

    #contact a button:hover {
        cursor: pointer;
        background-color:rgba(61, 4, 4);
    }

    #contact button img {
        width: 30px;
    }

    #contact button p {
        text-align: center;
        width: 100%;
    }

    #mentions-legales {
        text-align: left;
        background-color: rgb(228, 228, 228);
        height: 90vh;
    }

    #mentions-legales .container {
        background-color: white;
        padding: 50px;
    }

    header .menu-burger {
        display: none;
        position: absolute;
        z-index: 1;
        top: 25px;
        right: 25px;
        width: 35px;
    }

    .Copyright {
        text-align: center;
        font-weight: 500;
    }
}