* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;;
    /* border: 1px solid black; */
}

:root {
    --red: rgb(255, 112, 112);
    --yellow: #f7bd10;
    --blue: #3c97cb;
    --black: #414141;
    --light-grey: #f0f0f0;
    --light-blue: #f1f9fd;
}

body {
    background-color: #f0f0f0;
    color: #414141;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation styles */
.company-name {
    font-weight: 1000;
    color: var(--yellow);
    font-family: 'Bad Script', sans-serif;
}

.company-logo {
    padding-top: 0px;
    width: 200px;
}

/* Footer styles */
footer {
    background-color: #414141;
    color: #f0f0f0;
    text-align: center;
    padding: 1em;
    margin-top: 50px;
}

.book-meeting {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    height: 100%;
}

.book-meeting p {
    font-size: 2rem;
    font-weight: 900;
    color: var(--yellow);
    margin-top: 20px;
}

.btn-book-meeting {
    margin-top: 20px;
    margin-bottom: 50px;
    border: none;
    padding: 0.8em 1.5em;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

footer hr {
    width: 70%;
    margin: 0 auto;
}

footer .heading {
    color: var(--yellow);
    margin-top: 40px;
    font-size: 1.75em;
    font-weight: 900;
}

.copyright {
    margin-top: 1em;
}

/* Class to hide an element. */
.hidden {
    display: none;
}

/* Bouton plus d'informations */
.btn-more-info {
    --primary-color: var(--blue);
    --secondary-color: #fff;
    --hover-color: #111;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    box-sizing: border-box;
    border: 0;
    border-radius: 20px;
    color: var(--secondary-color);
    padding: 1em 1.8em;
    background: var(--primary-color);
    display: flex;
    transition: 0.2s background;
    align-items: center;
    gap: 0.6em;
    font-weight: bold;
    font-size: 1.05em;;
}

.btn-more-info .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-more-info .arrow {
    margin-top: 1px;
    width: var(--arrow-width);
    background: var(--primary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: 0.2s;
}

.btn-more-info .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 3px;
    transition: 0.2s;
    padding: 3px;
    transform: rotate(-45deg);
}

.btn-more-info:hover {
    background-color: var(--hover-color);
    cursor: pointer;
}

.btn-more-info:hover .arrow {
    background: var(--secondary-color);
}

.btn-more-info:hover .arrow:before {
    right: 0;
}

/* Small devices (phones, large phones and portrait tablets, 768px and down) */
@media only screen and (max-width: 768px) {
    /* Navigation styles */
    header.desktop-display {
        display: none;
    }

    header {
        box-shadow: 0 7px 7px -10px rgba(0, 0, 0, 0.5);
    }

    .logo-link {
        width: 95%;
        margin: 0 auto;
        display: block;
    }

    .company-name {
        font-size: 2rem;
        width: 80%;
        margin: 0 auto;
        padding-top: 15px;
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;

        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #f0f0f0;
        width: 100%;
        height: 60px;
        box-shadow: 0 5px 5px 10px rgba(0, 0, 0, 0.1);

        /* Safe area support for iPhones */
        height: calc(60px + env(safe-area-inset-bottom));
        height: calc(60px + constant(safe-area-inset-bottom)); /* fallback for older iOS */
        
        /* Safe area support for iPhones */
        padding-bottom: env(safe-area-inset-bottom);
        /* For backward compatibility with older iOS versions */
        padding-bottom: constant(safe-area-inset-bottom);
    }

    .nav-links a {
        width: 75px;
    }

    .nav-links .link {
        width: 100%;
        height: 100%;
        text-align: center;
    }

    header .icon {
        width: 25px;
        height: 25px;
    }

    .link .icon-name {
        font-size: 14px;
        font-weight: 400;
    }

    /* Footer styles */
    .btn-book-meeting {
        background-color: var(--blue);
        color: #f0f0f0;
        border-radius: 20px;
    }

    .btn-book-meeting:hover {
        background-color: var(--yellow);
        color: #f0f0f0;
    }

    footer {
        margin-bottom: calc(60px + env(safe-area-inset-bottom));
        margin-bottom: calc(60px + constant(safe-area-inset-bottom)); /* fallback for older iOS */;
    }
}

@media only screen and (min-width: 768px) {
    /* Navigation bar styles */
    header.mobile-display {
        display: none;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 80%;
        height: 175px;
        margin: 0 auto;
        background-color: #f0f0f0;
        box-shadow: 0 7px 7px -10px rgba(0, 0, 0, 0.5);
    }

    .company-name {
        font-size: 2rem;
        width: max-content;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.4em;
        font-weight: 600;
        width: max-content;
        height: max-content;
        color: #414141;
        transition: all 0.1s ease-in-out;
    }

    .nav-links:hover a.link {
        color: #9b9b9b;
    }

    .nav-links a.link:hover {
        color: var(--yellow);
        transform: scale(1.05);
    }

    /* Footer styles */
    .btn-book-meeting {
        background-color: #f0f0f0;
        color: #414141;
        border-radius: 5px;
    }

    .btn-book-meeting:hover {
        background-color: var(--blue);
        color: #f0f0f0;
    }
}