:root {
    --black: #231F20;
    --red: #FF4B4B;
}

@font-face {
    font-family: 'Lato';
    src: url('./WorkSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: 'Lato';
    src: url('./WorkSans-Light.ttf') format('truetype');
    font-weight: 300;
}

body,
html {
    font-family: 'Lato', sans-serif;
    height: 100%;
    margin: 0;
    background-color: white;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

h1 {
    font-size: 40px;
    text-align: center;
}

button {
    font-family: 'Lato', sans-serif;
}

/* animateImg */
.AnimatedImg {
    background-position: top left;
    animation: moveBackground 5s linear infinite;
}

@keyframes moveBackground {
    from {
        background-position: top left;
    }

    to {
        background-position: bottom right;
    }
}

/* heqader */
.nav-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.nav-item::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-item_white {
    color: white;
}

.nav-item_white::after {
    background-color: white;
}

.nav-item:hover::after {
    transform: scaleX(1);
}

header {
    position: fixed;
    z-index: 10;
    width: 100vw;
    overflow-x: hidden;
}

#header_div {
    width: 100vw;
    height: 16vh;
    background-color: white;
    display: flex;
}

#header_logo {
    margin-left: 20px;
    width: 24vh;
    height: 16vh;
}

#header_div div {
    justify-content: flex-end;
    width: calc(100vw - 24vh);
    align-items: center;
    display: flex;
    margin-right: 20px;
}

#header_div div h2 {
    padding-left: 10px;
    padding-right: 10px;
    color: var(--black);
    font-size: x-large;
}

@media (max-width: 640px) {

    #header_div {
        width: 100vw;
        height: 10vh;
        background-color: white;
        display: flex;
    }

    #header_logo {
        margin-left: 20px;
        width: 15vh;
        height: 10vh;
    }

    #header_div div h2 {
        padding-left: 5px;
        padding-right: 5px;
        font-size: medium;
    }

    #header_div div {
        margin-right: 10px;
        width: calc(100vw - 15vh);
    }
}

@media (max-width: 340px) {

    #header_div {
        height: 8vh;
    }

    #header_logo {
        width: 12vh;
        height: 8vh;
    }

    #header_div div h2 {
        font-size: smaller;
    }

    #header_div div {
        width: calc(100vw - 12vh);
    }
}

/* main image */
.bg {
    margin-top: 10vh;
    height: 90vh;
    width: 100vw;
    object-fit: cover;
}

/* auto text */
#animated-rect-text {
    color: white;
    font-size: x-large;
    animation: blinkTextCursor 700ms steps(44) infinite normal;
    position: relative;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, .75);
}


@keyframes blinkTextCursor {
    0% {
        border-right-color: rgb(255, 255, 255);
    }

    50% {
        border-right-color: rgb(253, 253, 253);
    }

    100% {
        border-right-color: rgba(255, 255, 255, 0);
    }
}

@keyframes moveBackground {
    from {
        background-position: top left;
    }

    to {
        background-position: bottom, right;
    }
}


.centered {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mainButton {
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 10px;
    font-size: large;
    transition: 0.5s ease-in;
    color: white;
}

.mainButton h2 {
    clear: both;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

.mainButton:hover {
    background-color: white;
    color: var(--black);
}

/* text and image */
.textAndImage {
    display: flex;
    background-color: var(--black);
    color: white;
}
.textAndImage video,
.textAndImage img {
    width: 60vw;
    max-height: 50vh;
    object-fit: cover;
}

.textAndImage div {
    text-align: center;
    align-self: center;
}

.textAndImage div p {
    text-align: justify;
    font-size: 25px;
    margin-right: 10%;
    margin-left: 10%;
}

@media (max-width: 1000px) {
    .textAndImage {
        display: block;
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .textAndImage video,
    .textAndImage img {
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
        max-height: 50vh;
        object-fit: cover;
    }

    .textAndImage div p {
        text-align: start;
    }
}

/* fondation */
#fondationNova {
    width: 100vw;
    overflow: hidden;
    flex-direction: row-reverse;
}

/* mission */
/* values */
#values {
    width: 100vw;
    overflow: hidden;
    background-color: white;
    color: black;
}

/* stats */
#statsContainer {
    margin-top: 5vh;
    margin-bottom: 5vh;
    display: flex;
    min-height: 20vh;
    width: 100vw;
    overflow-x: hidden;
    flex-wrap: wrap;
}

.stats {
    width: 19vw;
    padding: 2.5vw;
    text-align: center;
}

.circle {
    width: 19vw;
    height: 19vw;
    border-radius: 50%;
    background-color: var(--black);
    position: relative;
    color: #fff;
    display: flex;
}

.percentage {
    color: white;
    font-size: max(20px, 5vw);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1000px) {
    .stats {
        width: 44vw;
        padding: 2.5vw;
    }

    .circle {
        width: 44vw;
        height: 44vw;
    }

    .percentage {
        font-size: max(20px, 8vw);
    }
}

@media (max-width: 480px) {
    .stats {
        width: 90vw;
        padding: 5vw;
        display: block;
    }

    .circle {
        width: 50vw;
        height: 50vw;
        display: inline-block;
    }

    .percentage {
        font-size: max(20px, 15vw);
    }
}

/* mission */
#vision {
    flex-direction: row-reverse;
}

/* footer */
footer {
    display: flex;
    background-color: var(--black);
    padding: 5vw;
}

#footerPageSection {
    display: block;
    color: white;
}

/* contacts */
#contact-container {
    background-color: var(--black);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.contact-header h1 {
    margin: 0;
}

.contact-details-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.contact-description {
    width: 45vw;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 5vw;
}

.contact-infos {
    display: block;
}

.contact-details {
    align-items: left;
    text-align: start;
    width: 40%;
    text-align: right;
    margin-right: 5vw;
    display: block;
}

.contact-details p {
    margin: 0 10px;
}

.contact-button {
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 5px;
}
@media (max-width: 700px) {
    .contact-details-container {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-details {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* team */

#teamContainer{
    width: 100vw;
}
#team{
    display: flex;
    width: 100vw;
}
.member{
    display: block;
    width: 29vw;
    margin-left: 2vw;
    margin-right: 2vw;
}
.member img{
    width: 100%;
    height: 60vh;
    object-fit: cover;
}
.member p{
    text-align: justify;
}
.member h2{
   text-align: center;
}
@media (max-width: 1000px){
    #team{
        display: block;
    }
    .member{
        display: block;
        width: 90vw;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    .member img{
        width: 100%;
        height: 80vh;
        object-fit: cover;
    }
}
/* R&D */
#RetD{
    font-size: medium;
    background-color: white;
    color: black;
    margin-bottom: 3px;
}