/*
-------------------------------------
BACKGROUND
-------------------------------------
*/
/*
body {
    background: linear-gradient(-45deg, #0F1A02, #021A19, #0D021A, #1A0203);
    background-size: 400% 400%;
    animation: gradient 2s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
*/
/*
body {
    background-color: #212529;
    background-image:
    linear-gradient(to bottom, rgb(255,193,7), rgb(255,255,255)),
    url('./images/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
*/

/*
-------------------------------------
POSITIONEMENT DES ELEMENTS
-------------------------------------
*/
h1 {
    margin-top: 2em;
}
/*
-------------------------------------
Shadow
-------------------------------------
*/
.footer {
    box-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.5);
}
/*
-------------------------------------
INTERACTION RELIEF
-------------------------------------
*/
.over-relief-style {
    box-shadow: none;
    transition: ease-out 400ms;
}
.over-relief-style:hover {
    /* box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px; */
    transform: scale(1.3);
}
.size {
    max-width: 13em;
    height: 7em;
}
/*
-------------------------------------
Affichage network
-------------------------------------
*/
.diagHautGauche {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-color: #212529; /* Adjust background color */
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}

.diagHautDroite {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background-color: #212529; /* Adjust background color */
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}
/*
-------------------------------------
Affichage octogone
-------------------------------------
*/
.octagon {
    position: relative;
    filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.5));
}

.octagon-center {
    z-index: 1;
}

.octagon-top {
    position: relative;
    width: 100%;
    height: 7em;
    background-color: #212529; /* Adjust background color */
    clip-path: polygon(90% 0%, 10% 0%, 0% 100%, 100% 100%);
}

.octagon-bottom {
    position: relative;
    width: 100%;
    height: 7em;
    background-color: #212529; /* Adjust background color */
    clip-path: polygon(10% 100%, 90% 100%, 100% 0%, 0% 0%);
}

.octagon-top {
    top: 1px;
}

.octagon-bottom {
    bottom: 1px;
}
/*
-------------------------------------
MINIATURES DE NAVIGATION
-------------------------------------
*/
.project-item {
    text-align: center;
}

.project-item a {
    display: block;
    width: 170px;
    text-decoration: none;
}

.project-item img {
    width: 170px;
    height: auto;
    max-width: 170px;
    max-height: 170px;
    margin-bottom: 7px;
}

.project-item p {
    margin: 0;
}

/*
-------------------------------------
CAROUSSEL
-------------------------------------
*/
/* Taille d'écran de plus de 1920 pixels */
@media screen and (min-width: 1920px) {
    .carousel-img {
        height: 1080px;
        width: 1920px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 100px;
    }
}
/* Taille d'écran entre 1920 pixels et 1280 */
@media screen and (min-width: 1280px) and (max-width: 1920px) {
    .carousel-img {
        height: 720px;
        width: 1280px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 80px;
    }
}
/* Taille d'écran entre 1280 pixels et 1024 */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .carousel-img {
        height: 576px;
        width: 1024px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 60px;
    }
}
/* Taille d'écran entre 1024 pixels et 768 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .carousel-img {
        height: 432px;
        width: 768px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 40px;
    }
}
/* Taille d'écran entre 768 pixels et 480 */
@media screen and (min-width: 480px) and (max-width: 768px) {
    .carousel-img {
        height: 288px;
        width: 480px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 30px;
    }
}
/* Taille d'écran entre 480 pixels et 320 */
@media screen and (min-width: 320px) and (max-width: 480px) {
    .carousel-img {
        height: 216px;
        width: 320px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 20px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    background-color: whitesmoke;
    color: black;
    opacity: 0;
    text-decoration: none;
    transition: opacity 0.5s;
}

.carousel-control-next:hover
{
    color: black;
    opacity: 0.5;
    transition: ease-out 400ms;
}
.carousel-control-prev:hover
{
    color: black;
    opacity: 0.5;
    transition: ease-out 400ms;
}
.carousel-control-next:focus
{
    color: black;
    opacity: 0;
    transition: ease-out 400ms;
}
.carousel-control-prev:focus
{
    color: black;
    opacity: 0;
    transition: ease-out 400ms;
}
.carousel-control-next:focus:hover
{
    color: black;
    opacity: 0.5;
    transition: ease-out 400ms;
}
.carousel-control-prev:focus:hover
{
    color: black;
    opacity: 0.5;
    transition: ease-out 400ms;
}