/*!
 * Custom css - Version - 1.1.1
 * Copyright (c) 2025 Webstudio <info@astrolab.com> and another company

 * L’autorisation est accordée à toute personne qui en obtient une copie de ce style.
 * Il est strictement interdit de publier(vendre) sans l'autorisation préalable des auteurs.
 * Des spécialistes sont à l'origine des documents fournis.
*/

/* General */
.ams-card {
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.ams-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ams-card-image {
    transition: all 0.5s ease;
    object-fit: cover;
    height: 180px !important;
    width: 100%;
}

.ams-card:hover .ams-card-image {
    transform: scale(0.97);
}

/* Section Home */
#home {
    height: 100vh;
    min-height: 720px;
    position: relative;
}

#home .amsarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

#home .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#home .content h1,
#home .content h1 span {
    font-weight: 800 !important;
    font-size: 70px;
    color: var(--light);
}

#home .content p {
    color: #FF8153;
}

/* Logo */

.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 5px 0;
}

.marquee {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.marquee img {
    width: 80px;
    margin: 0 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* end logo */

/* Expertise */
#expertise {
    background-color: #E4E6F1;
}

#domains-expertise .ams-nav-link {
    background-color: var(--light);
    display: flex;
    justify-content: start;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    transition: background, color .3s;
    gap: 10px 20px;
    cursor: pointer;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    border: 0;
    text-decoration: none;
    border-radius: var(--bs-nav-pills-border-radius);
}

#domains-expertise .ams-nav-link.active {
    background-color: var(--primary);
    color: var(--light);
}

#domains-expertise .ams-nav-link .icon-circle {
    height: 53px;
    width: 53px;
    border-radius: 2.5em;
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
}

#domains-expertise .ams-nav-link .icon-circle img {
    width: 23px;
}

.icon {
    color: #FF8153;
}

/* PEHD */
#pehd .number {
    font-size: 36px;
    color: #FF9900;
    font-weight: 700;
}

/* Realisations */
#project {
    background-color: #E4E6F1;
}

/* Blog */

.article-link .article-title {
    color: var(--primary) !important;
    transition: .2s color ease-in;
}

.article-link:hover .article-title,
.ams-card:hover .article-title {
    color: var(--secondary) !important;
}

/* Gallery */
.gallery {
    --g: 10px;

    display: grid;
    gap: var(--g);
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    /* filter: grayscale(80%); */
    transition: .35s linear;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #home {
        height: 100vh;
        min-height: 420px;
    }

    #home .content h1,
    #home .content h1 span {
        font-size: 50px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1700px) {

    #home .content h1,
    #home .content h1 span {
        font-size: 120px;
    }
}