body {
    background-color: black;
    margin-left: 0;
    display: flex;
    flex-direction: column;

    justify-content: space-around;
}

h1 {
    color: rgba(255, 255, 255, 0.20);

    font-family: 'Jomhuria', serif;
    /*font-size: max(2vh, 250px);*/
    font-size: 175px;
    font-style: normal;
    font-weight: 50;
    line-height: normal;
    letter-spacing: 20px;
    text-align: center;
    margin: 0 0 0 50px;
}

h2 {
    font-size: max(25px, 1.8vw);
    letter-spacing: 6px;
    flex: 1.5;
    /*border-style: solid;*/
    /*border-color: violet;*/
    margin: 0 0 0 0;
}

.nikon-title {
    margin-top: 20px;
    font-family: TheTexteriusItalic, 'serif';
}

p {
    letter-spacing: 3px;
    /*border-style: solid;*/
    border-color: blue;
    flex: 1;
    font-size: max(15px, 1.15vw);
    color: #44E47A;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
    width: 80%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.global-container {
    display: flex;
    flex-direction: column;

    justify-content: space-around;
    margin-top: 6vh;
    margin-bottom: 150px;
}

.container:nth-child(even) {
    flex-direction: row-reverse;
}

.photo {
    width: 28vw;
    height: 17.36vw;
    background-color: red;
    border-color: #44E47A;
    border-style: solid;
    border-width: 2px;
}

img {
    width: 28vw;
}

.nikon-desc {
    width: 28vw;
    height: 17.36vw;
    text-align: center;
    /*font-family: TheTexteriusItalic, 'serif';*/
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.drone-desc {
    width: 28vw;
    border-color: green;
    text-align: center;
    font-family: TheTexteriusItalic, 'serif';
    color: white;
    margin: auto 0 auto 0;
}


li {
    color: white;
    list-style-type: none;
}

@keyframes fondu-drone {
    0%{background-image: url("../misc/photo/drone1.jpeg")}
    33%{background-image: url("../misc/photo/drone2.jpeg")}
    66%{background-image: url("../misc/photo/drone3.jpg")}
    100%{background-image: url("../misc/photo/drone1.jpeg")}
}

@keyframes fondu-appareil {
    0%{background-image: url("../misc/photo/nikon2.jpeg")}
    50%{background-image: url("../misc/photo/nikon3.jpeg")}
    100%{background-image: url("../misc/photo/nikon2.jpeg")}
}

.diapo {
    width: 99%;
    height: 0;
    padding-top: 66%;
    /*margin: 50px auto;*/
    background-color: white;
    background-size: contain;
    border: black 3px solid;

}

.anim-appareil {
    animation: fondu-appareil 4s infinite step-end;
}

.anim-drone {
    animation: fondu-drone 8s infinite step-end;
}

.diapo:hover {
    animation-play-state: paused;
    /*border-style: solid;*/
    border: #44E47A 3px solid;
}

.diapo-container {
    width: 100%;
    max-width: 500px;
    /*margin: 50px auto;*/
}

@font-face {
    font-family: TheTexteriusItalic;
    src: url(../TheTexteriusItalic-Ea8vg.ttf);
}

@media screen and (max-width: 800px) {
    .global-container {
        display: flex;
        flex-direction: column;

        justify-content: space-around;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 65px;
        letter-spacing: 8px;
        margin-left: 0;
        text-align: left;
        padding-left: 7vw;
        padding-top: 2.8vw;
    }

    h2 {
        font-size: 20px;
        letter-spacing: 3px;
        flex: 1.5;
        /*border-style: solid;*/
        /*border-color: violet;*/
        margin: 0 0 0 0;
    }

    p {
        font-size: 12px;
        letter-spacing: 2px;
        flex: 1;
    }

    .nikon-desc {
        width: 100vw;
    }
    .nikon-title {
        margin-top: 20px;
        flex: 2;
    }

    .container, .container:nth-child(even) {
        flex-direction: column-reverse;
        justify-content: left;
        align-items: center;
        margin-bottom: 90px;
    }

    .nikon-desc {
        height: 120px;
    }

    .drone-desc {
        width: 100vw;
        margin-bottom: 15px;
    }

    .photo {
        width: 80vw;
        height: 45vw;
    }
}