@import url(../source/projectsIMG.css);

.cls_SecondeNav {
    position: relative;
    width: 70%; height: auto;
    padding: 20px 0;
    top: 0; left: 0;
}

.AllProjectsConcluded {
    background: var(--greatGREY) !important;
    position: relative;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

a.project {
    position: relative;
    background: black;
    width: calc(95% - (5px * 2)); height: auto;
    margin: 2.5%;
    aspect-ratio: 12.4 / 9;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: var(--boxshadowOFFICIAL);
    color: white;
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    transition: 0.3s;
    display: flex;
}
a.project:hover {
    transition: 0.2s;
    background-size: 110%;
    cursor: pointer;
    box-shadow: 0 0 5px transparent;
}

a.DoNotThisOne9275 {
    text-decoration: underline;
    color: var(--colorNV);
} a.DoNotThisOne9275:hover {
    text-decoration: none;
    opacity: 60%;
}

.etqt {
    position: absolute;
    top: 5px; right: 5px;
    margin: 0; padding: 0;
    width: auto; height: auto;
    list-style-position: inside;
    opacity: 90%;
}
 .etqt li {
    position: relative;
    top: 0; right: 0;
    background: var(--colorNV);
    min-width: 50px; 
    max-height: 30px;
    margin-bottom: 3px;
    padding: 5px 10px 5px 20px;
    border-radius: 4px 8px 8px 4px;
} .etqt li::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--colorNV);
} .etqt li::marker {
    content: "";
}


.shadows {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.705), transparent);
    width: 100%; height: 20%;
    position: absolute;
    right: 0; bottom: 35%;
}

a.project div:not(.shadows, .FlexCenter2, .infoBullPOPUP) {
    background: white;
    position: absolute;
    bottom: 0; right: 0;
    width: 100%; height: 35%;
    border-radius: 0 0 20px 20px;
    border-top: 2px solid black;
}

.infoBullPOPUP {
    background: grey;
    width: auto; height: auto;
    color: white;
    padding: 3px 7px;
    border-radius: 20px 20px 0 20px;
    position: absolute;
    bottom: 35px; right: calc(20px + 10px);
    opacity: 1;
}

a.project .infobullPrix {
    opacity: 60%;
    color: grey;
    font-size: 13px;
    margin-left: 10px;
} a.project .infobullPrix:hover {
    opacity: 1;
}

a.project h1 {
    padding: 0; margin: 10px 20px;
    color: black;
    font-size: 23px;
    position: absolute;
    top: 0;
    left: 0;
}
a.project p {
    padding: 0; margin: 10px 25px;
    color: rgb(41, 41, 41);
    max-width:50%;
    font-size: 14px;
    position: absolute;
    top: 27px;
    left: 0;
}
a.project h3 {
    padding: 0; margin: 10px 20px;
    color: black;
    font-size: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
}

#ifNotIn {
    display: none;
    width: calc(300% - (20px * 2) - (5px * 2)); height: auto;
    position: relative;
    padding: 20px; margin: 0;
    background: white;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: var(--boxshadowOFFICIAL);
}

@media screen and (max-width:1576px) {
    a.project {
        aspect-ratio: 12.4 / 9;
    }
}

@media screen and (max-width:1350px) {
    .AllProjectsConcluded {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:950px) {
    .cls_SecondeNav {
        flex-direction: column;
    }
}

@media screen and (max-width:865px) {
    .AllProjectsConcluded {
        grid-template-columns: repeat(1, 1fr);
    }
    .AllProjectsConcluded {
        width: 100% !important;
    }
}