
.presentation .formations-and-about-us-image:hover {
    cursor: unset;
}
.presentation .formations-and-about-us-image:hover img{
    opacity: 1;
}
.presentation .formations-and-about-us-image:hover .us-link {
    position: unset;
    transform: translate(0);
}
.main-title h4 {
    text-align: center;
    font-size: 16px;
    color: var(--primary-color-2);
}
.main-title h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    color: var(--primary-color-2);
    font-size: 48px;
}
.presentation .formations {
    background-color: var(--primary-bg-color);
    margin-top: 26px;
    padding-top: 72px;
}
.presentation .formations-and-about-us-container {
    gap: 0;
    padding-top: 8px;
}
.presentation .formations-and-about-us {
    gap: 0;
}
.presentation h2 {
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 400;
}
.presentation .formations-and-about-us-title {
    padding-bottom: 32px;
    color: var(--primary-color);
}
.presentation .formations-and-about-us-description-container {
    width: 50%;
}
.presentation .formations-and-about-us-image {
    width: 50%;
    max-height: 350px;
    border-radius: 0;
}
.presentation .smaller .formations-and-about-us-image {
    max-height: 300px;
}
.presentation .smaller img {
    /* margin-top: -104px; */
}
.presentation .formations-and-about-us-image img {
    width: 100%;
    height: auto;
    height: inherit;
    width: auto;
}
.presentation .smaller .formations-and-about-us-image img {
    width: 100%;
    height: auto;
}
.presentation .formations-and-about-us-description-image {
    margin-left: 32px;
    width: 96px;
}
.presentation .formations-and-about-us-description {
    padding: 16px 32px;
}
.formations-and-about-us-social-network {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}
.formations-and-about-us-social-network-icon {
    height: 64px;
    width: 64px;
}
.formations-and-about-us-social-network-icon > a {
    width: 100%;
    height: 100%;
}
.formations-and-about-us-social-network-icon > a > img {
    filter: invert(1);
}
.presentation h4 {
    padding: 0 32px;
    margin: 0;
}
.formations-and-about-us-button {
    cursor: pointer;
    padding: 12px 32px;
    margin-left: 32px;
    background-color: var(--secondary-bg-color);
    color: var(--primary-color-2);
    border:none;
    border-radius: 6px;
    font-size: 16px;
}
.formations-and-about-us-button:hover {
    background-color: var(--button-hover-bg);
    color: #000;
}
h5 {
    margin: 0;
    font-size: 16px;
}
.all-description-card-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.description-card-container {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32%;
    height: 250px;
    background-image: url("../images/description-cqrd-title.jpg");
    background-size: contain;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
}

.description-card {
    cursor: default;
    height: 100%;
    /* background: -webkit-linear-gradient(left, #f8c76d, #dfa436);
    background: linear-gradient(left, #f8c76d, #dfa436); */
    background: -webkit-linear-gradient(left, #363e6f, #2540c4);
    background: linear-gradient(left, #363e6f, #2540c4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    color: var(--primary-color-2);
}

.description-card:hover {
    /* background: -webkit-linear-gradient(left, #f8c76daa, #dfa43684);
    background: linear-gradient(left, #f8c76daa, #dfa43684); */
    background: -webkit-linear-gradient(left, #363e6faa, #2540c484);
    background: linear-gradient(left, #363e6faa, #2540c484);
}

.description-card.middle {
    /* background: -webkit-linear-gradient(left, #003499, #002366);
    background: linear-gradient(left, #003499, #002366);
    background: -webkit-linear-gradient(left, #f8c76d, #dfa436);
    background: linear-gradient(left, #f8c76d, #dfa436); */
    background: -webkit-linear-gradient(left, #8f7a51, #ed9901);
    background: linear-gradient(left, #8f7a51, #ed9901);

}
.description-card.middle:hover {
    /* background: -webkit-linear-gradient(left, #003499aa, #00246684);
    background: linear-gradient(left, #003499aa, #00246684);
    background: -webkit-linear-gradient(left, #f8c76daa, #dfa43684);
    background: linear-gradient(left, #f8c76daa, #dfa43684); */
    background: -webkit-linear-gradient(left, #8f7a51aa, #ed990184);
    background: linear-gradient(left, #8f7a51aa, #ed990184);
}

.formations-and-about-us-container.us .formations-and-about-us {
    background-color: var(--tertiary-bg-color);
}
.formations-and-about-us-description-container h4 {
    font-size: 32px;
    text-align: left;
}
.formations-and-about-us-description-container {
    color: var(--primary-color);
}
.our-facility {
    padding-top: 72px;
}

.our-facility-card-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.our-facility-card-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.our-facility-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 30%;
    text-align: center;
}
.our-facility-image {
    width: 100%;
}
.our-facility-image img {
    width: inherit;
    height: auto;
}
.our-facility-image:hover img {
    animation-duration: 1s;
    animation-name: bounceUpDown;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes bounceUpDown {
    from {
        transform: translateY(-4px);
    }
  
    to {
        transform: translateY(-8px);
    }
}

@media screen and (max-width: 1080px) {
    .formations-and-about-us-container .formations-and-about-us {
        flex-direction: column;
        gap: 0;
        padding-bottom: 16px;
    }
    .presentation .formations-and-about-us-image {
        width: 80%;
    }
    .presentation .smaller .formations-and-about-us-image {
        height: auto;
    }
    .presentation .formations-and-about-us-description-container {
        width: 80%;
        padding-top: 16px;
    }
    .all-description-card-container {
        flex-direction: column;
    }
    .description-card-container {
        width: 90%;
    }
}

@media screen and (max-width: 620px) {
    .main-title h1 {
        font-size: 30px;
    }
}
@media screen and (max-width: 550px) {
    .sub-header {
        height: 100px;
    }
    .main-title h1 {
        font-size: 24px;
    }
}
@media screen and (max-width: 500px) {
    h1 {
        padding-left: 0;
        padding-right: 0;
    }
    .presentation .formations-and-about-us-image {
        width: 100%;
    }
    .presentation .smaller .formations-and-about-us-image {
        height: auto;
    }
    .presentation .formations-and-about-us-description-container {
        width: 95%;
        padding-top: 16px;
    }
    .presentation .formations {
        margin-top: 16px;
        padding-top: 24px;
    }
    .carousel-container .carousel-track-1 {
        animation: scroll-l 30s linear infinite;
        display: flex;
        flex-direction: row;
        width: 600px;
    }
    .carousel-container .carousel {
        height: 75pt;
        width: 200px;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
    }
}
@media screen and (max-width: 450px) {   
    .main-title h1 {
        font-size: 20px;
    }
}
@media screen and (max-width: 345px) {
    .sub-header {
        height: 80px;
    }
    .main-title h1 {
        padding: 0;
    }
}


.carousel-container {
    margin-top: 32px;
    display: flex;
    height: 75pt;
    overflow: hidden;
    position: relative;
    cursor: default;
    flex-direction: row;
    flex-wrap: nowrap;
}


.carousel-container:before {
    right: 0;
    top: 0;
}


.carousel-container .carousel-track-1 {
    animation: scroll-l 30s linear infinite;
    display: flex;
    flex-direction: row;
    width: 1000px;
}


.carousel-container .carousel {
    height: 75pt;
    width: 250px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}
.carousel-container .carousel img {
    height: inherit;
    width: auto;
    display: inline-block;
    max-width: 100%;
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6));
    }
}