html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

header, main {
    flex: 1;
}
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.button-container button {
    background-color: #dd2f2f;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    flex: 1 1 auto; /* Permet aux boutons de grandir ou de rétrécir en fonction de l'espace disponible */
    max-width: 150px; /* Limite la largeur des boutons */
    text-align: center;
}

.button-container button:hover {
    background-color: #8ab1dc;
}

/* Media query pour les écrans de moins de 600px de largeur */
@media (max-width: 600px) {
    .button-container {
        flex-wrap: nowrap; /* Empêche les boutons de passer à la ligne suivante */
    }

    .button-container button {
        width: auto; /* Les boutons prennent la taille de leur contenu */
        white-space: nowrap; /* Empêche le contenu des boutons de se casser sur plusieurs lignes */
    }
}

footer {
    text-align: center;
    margin-top: auto;
}

header .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header ul {
    justify-content: space-between;
    align-items: center;
}

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

.swiper-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.swiper-slide img {
    width: 60%;
    max-height: 500px;
}

.swiper-slide article {
    width: calc(40% - 30px);
}

.swiper-pagination {
    position: unset;
    margin: 30px 0 0 0;
}

.project-img {
    max-height: 360px;
}

h5 {
    font-weight: 400;
}

@media (min-width: 1200px) {
    h1.logo {
        font-size: 3rem;
    }
}

#contact-left, #contact-right {
    font-size: 18px;
    line-height: 1.6;
}

#contact-left p, #contact-right p {
    margin: 10px 0;
}

.contact-image {
    width: 100%;
    margin-top: 10px;
}

#contact-right {
    margin-top: 113px;
}
@font-face {
    font-family: 'Abadi';
    src: url('path/to/abadi.woff2') format('woff2'),
    url('path/to/abadi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


.abadi-text {
    font-family: 'Abadi', sans-serif;
    font-size: 20px;
    color: red;
    font-weight: bold;
    text-decoration: underline;
}
.abadi-text-small {
    font-family: 'Abadi', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.abadi-text-normal {
    font-family: 'Abadi', sans-serif;
    font-size: 20px;
    font-weight: bold;
}
.section-frame {
    border: 2px solid #000;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

.arial-text {
    font-family: Arial, sans-serif;
    font-size: 20px;
}
.arial-text-large {
    font-family: Arial, sans-serif;
    font-size: 24px;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-info, .contact-details {
    flex-basis: 48%;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    padding-bottom: 10px;
}

h3 {
    color: #dd2f2f;
}
.phone, .email, .hours {
    flex-basis: 100%;
    margin-bottom: 10px;
}
.maps-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.maps-link img {
    width: 20px;
    margin-right: 10px;
}

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

.phone, .email {
    flex-basis: 48%;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info, .contact-details {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}