/* reset button agente stylesheet */

button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;

    background: transparent;

    /* inherit font & color from ancestor */
    color: inherit;
    font: inherit;

    /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
    line-height: normal;

    /* Corrects font smoothing for webkit */
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;

    /* Corrects inability to style clickable `input` types in iOS */
    -webkit-appearance: none;
}

/* Remove excess padding and border in Firefox 4+ */
&::-moz-focus-inner {
    border: 0;
    padding: 0;
}
/* fin reset */

p {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
}

#videoOmazette,
#videoOmazette2,
#videoOmazettePortable {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.container-fluid {
    height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    align-items: center;
    display: flex;
}

.button-carte {
    text-align: center;
    z-index: 200;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    background-color: #ef7f7e;

    border-radius: 10px;
    color: #fff;
    bottom: 7%;
}



.button-carte a {
   color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    transform: translateZ(0);
    overflow: hidden;
    padding: 10px 15px;
    white-space: nowrap;
}
.button-carte:hover {
    color: #ef7f7e;
    background-color: #fff;
    transition: all 0.2s ease-out;
}
.button-carte a:hover {
    color: #ef7f7e;
    transition: all 0.2s ease-out;
}

@media only screen and (max-width: 650px) {
    p {
        font-size: 14px;
    }
    .button-carte a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 535px) {
    p {
        font-size: 12px;
    }
    .button-carte a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 450px) {
    p {
        font-size: 11px;
        padding: 0 15px;
    }
    .button-carte a {
        font-size: 11px;
    padding: 13px;
    }
}

@media only screen and (max-width: 400px) {
    p {
        font-size: 10px;
        padding: 0 15px;
    }
    .button-carte a {
        font-size: 12px;
    }
}

@media (min-aspect-ratio: 16/9) {
    #videoOmazette {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #videoOmazette {
        width: auto;
        height: 100%;
    }
}
