body, html {
    height: 100%;
    margin: 0;
    font: 400 15px/1.8 "Lato", sans-serif;
    color: #777;
    padding: 0;
}
.soustitre {
    font-size:3em;
    font-family: 'Amaranth', Arial, Verdana, sans-serif;
    text-shadow: 0 2px 2px #fff;
    margin: 0;
    letter-spacing: .2rem;
    transform-origin: 50% 100%;
    text-align: center;
    color: #150d0524;
    background-color: rgba(117, 117, 117, 0.5);
    border: 2px solid #ddd;
    border-radius: 5px;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 10px;
    padding-top: 5px;
}
.et-hero-tabs, .et-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*height: 70vh;*/
    position: relative;
    background: transparent;
    text-align: center;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}
.bgimg-1, .bgimg-2, .bgimg-3 , .bgimg-4, .bgimg-5, .bgimg-6{
    position: relative;
    /*opacity: 0.65;*/
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}


.bgimg-1 {
    position: relative;
    width: 100%;
    height: 60rem;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 1;
}

.bgimg-2 {
    background-image: url("../../img/web.png");
    /*min-height: 30%;*/
    height: 40rem;
}

.bgimg-3 {
    background-image: url("../../img/prog_2.png");
    /*min-height: 30%;*/
    height: 40rem;
}

.bgimg-4 {
    background-image: url("../../img/cyber.png");
    /*min-height: 30%;*/
    height: 40rem;
}

.bgimg-5 {
    background-image: url("../../img/prog_3.png");
    /*min-height: 30%;*/
    height: 40rem;
}
.bgimg-6 {
    background-image: url("../../img/espace.png");
    /*min-height: 30%;*/
    height: 60rem;
}
.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
}

.caption span.border {
    background-color: #111;
    color: #2bff60;
    padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
    min-height: 20%;
}


@media (min-width: 800px) {
    .et-hero-tabs h1, .et-slide h1 {
        font-size: 3rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: 1rem;
    }
    .et-hero-tab {
        font-size: 1rem;
        text-align: center;
    }
    .et-hero-tabs p{
        font-size: 0.8rem;
        text-align: center;
    }
}
@media only screen and (max-width: 1100px) {
    .et-slide{
        padding: 4rem 2rem;
    }
    .caption span.border {
        padding: 5px;
        font-size: 17px;
        letter-spacing: 5px;
    }
    .bgimg-1 {
        height: 39rem;
    }
    .bgimg-2 {
        height: 30rem;
    }
    .bgimg-3 {
        height: 30rem;
    }
    .bgimg-4 {
        height: 30rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: 0.8rem;
    }
    .soustitre {
        font-size: 1.5em;
    }
    .et-slide p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 700px) {
    .et-main{
        padding: 2em;
        flex-flow: column wrap;
    }
    .et-hero-tabs p{
        font-size: 0.8rem;
        line-height: 1;
        padding: 0;
    }
    .et-hero-tabs, .et-slide {
        display: flex;
        flex-direction: column;
        justify-content: end;
        position: relative;
        background: #eee;
        padding: 0;
    }
    .et-slide h1{
        font-size: .9rem;
    }
    .et-hero-tabs h1, .et-slide h1 {
        font-size: 2rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: .8rem;
    }
    .et-hero-tab {
        font-size: .8rem;
    }
    .caption span.border {
        padding: 5px;
        font-size: 11px;
        letter-spacing: 5px;
    }
    .bgimg-1 {
        height: 30rem;
    }
    .bgimg-2 {
        height: 20rem;
    }
    .bgimg-3 {
        height: 20rem;
    }
    .bgimg-4 {
        height: 20rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: 0.6rem;
    }
    .soustitre {
        font-size: 1.2em;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .et-slide p {
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 500px) {
    .et-main{
        padding: 0;
        flex-flow: column wrap;
    }
    .et-slide p{
        font-size: .8rem;
    }
    .et-slide h1{
        font-size: .9rem;
        display: flex;
    }
    .et-hero-tabs h1, .et-slide h1 {
        font-size: 1rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        display: none;
    }
    .et-hero-tab {
        font-size: .8rem;
    }
    .et-hero-tabs p{
        font-size: 0.8rem;
        line-height: 1;
        padding: 0;
    }
    .et-hero-tabs, .et-slide {
        margin: 0;
    }
    .et-hero-tabs-container{
        display: none;
    }
    .caption span.border {
        padding: 5px;
        font-size: 11px;
        letter-spacing: 5px;
    }
    .bgimg-1 {
        height: 30rem;
    }
    .bgimg-2 {
        height: 20rem;
    }
    .bgimg-3 {
        height: 20rem;
    }
    .bgimg-4 {
        height: 20rem;
    }
    .et-hero-tabs h3, .et-slide h3 {
        font-size: 0.6rem;
    }
    .soustitre {
        font-size: 1em;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .et-slide p {
        font-size: 0.7rem;
        margin: 3%;
    }
}
