@font-face
{
    font-family: "Montserrat medium";
    src: url( "../font/static/Montserrat-Medium.ttf" );
}

@font-face
{
    font-family: "Montserrat bold";
    src: url( "../font/static/Montserrat-Bold.ttf" );
    font-weight: bold;
}

@font-face
{
    font-family: "Montserrat regular";
    src: url( "../font/static/Montserrat-Regular.ttf" );
    font-weight: bold;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-color: #212b59;
    background-image: url('../img/TOUT-DOOH-PAGE-WEB-PAYSAGE.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
}

div span
{
    font-family: "Montserrat medium", serif !important;
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(229,5,81,1) !important;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #e50551;
    --bs-btn-border-color: #e50551;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #af0848;
    --bs-btn-hover-border-color: #af0848;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #af0848;
    --bs-btn-active-border-color: #af0848;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #e50551;
    --bs-btn-disabled-border-color: #e50551;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 34px;
    margin : auto;
}

.content {
    max-width: 1000px;
    width: 100%;
    margin: auto;
    text-align: center;
    box-sizing: border-box;
}

.logo {
    max-width: 280px;
    height: auto;
}

.logos_partenaires
{
    margin-top: 45px;
}

.baseline {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2.5em;
    font-family: "Montserrat regular", serif !important;
}

.video {
    margin: 20px 0;
}

video {
    width: 100%;
    max-width: 70%;
    height: auto;
}

.svg
{
    filter: invert(9%) sepia(100%) saturate(5800%) hue-rotate(335deg) brightness(105%) contrast(100%);;
    margin-left: 10px;
    height: 1em;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn:not(.modal button) {
    text-decoration: none;
    color: #212b59;
    background-color: white;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 1.8em;
    font-weight: 200;
    width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal button {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.4em;
    font-weight: 200;
    width: 200px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn_mediakit
{
    margin-right: 1vw;
}

.btn_mediakit:hover
{
    background-color: #af0848 !important;
    .svg {
        filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(553%) hue-rotate(190deg) brightness(113%) contrast(100%);
    }
}

.btn_envoyer
{
    margin-left: 1vw;
}

.btn_envoyer:hover
{
    background-color: #af0848 !important;
    .svg {
        filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(553%) hue-rotate(190deg) brightness(113%) contrast(100%);
    }
}

.modal button .svg-form
{
    filter: invert(93%) sepia(7%) saturate(26%) hue-rotate(204deg) brightness(104%) contrast(107%);
    margin-left: 10px;
    height: 1.4em !important;
}

.modal label {
    color: black;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #333; /* Dark background color */
    padding: 5px 0;
    text-align: center;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.5);
    color: white;
}

footer a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


@media (orientation: landscape) and (max-height: 912px)
{
    .logo {
        max-width: 200px;
    }

    .baseline, .btn:not(.modal button) {
        font-size: 1.6em;
    }

    .video {
        display: block;
        margin: 15px auto;
    }

    video
    {
        max-width: 60%;
    }

    .buttons {
        margin-top: 25px;
    }

    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }
}

@media (orientation: landscape) and (max-height: 600px)
{
    .logo {
        max-width: 180px;
    }

    .baseline, .btn:not(.modal button) {
        font-size: 1.2em;
    }

    .video {
        display: block;
        margin: 15px auto;
    }

    video
    {
        max-width: 60%;
    }

    .buttons {
        margin-top: 25px;
    }

    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }
}

@media (orientation: landscape) and (max-height: 540px)
{
    .logo {
        max-width: 140px;
    }

    .baseline, .btn:not(.modal button) {
        font-size: 1em;
    }

    .video {
        display: block;
        margin: 15px auto;
    }

    video
    {
        max-width: 60%;
    }

    .buttons {
        margin-top: 25px;
    }
    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }
}

@media (orientation: landscape) and (max-height: 450px)
{
    .container {
        padding-bottom: 24px;
    }

    .logo {
        max-width: 140px;
    }

    .baseline, .btn:not(.modal button) {
        font-size: 1em;
    }

    .video {
        display: block;
        margin: 15px auto;
    }

    video
    {
        max-width: 35%;
    }

    .buttons {
        margin-top: 15px;
    }

    footer {
        padding: 0;
    }

    footer a {
        font-size: 12px;
    }

    .modal-dialog {
        max-width: 90vw;
    }

    .modal button {
        padding: 10px 20px;
        font-size: 1.0em;
        font-weight: bold;
        width: 140px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .modal-body {
        max-height: 20vh;
        padding: 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }
}

@media (orientation: landscape) and (max-height: 360px)
{
    .container {
        padding-bottom: 24px;
    }

    .logo {
        max-width: 100px;
    }

    .baseline, .btn:not(.modal button) {
        font-size: 1em;
    }

    .video {
        display: block;
        margin: 15px auto;
    }

    video
    {
        max-width: 35%;
    }

    .buttons {
        margin-top: 10px;
    }

    footer {
        padding: 0;
    }

    footer a {
        font-size: 12px;
    }

    .modal-dialog {
        max-width: 90vw;
    }

    .modal button {
        padding: 10px 20px;
        font-size: 1.0em;
        font-weight: bold;
        width: 140px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }

    .modal-body {
        max-height: 30vh;
        padding: 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (orientation: portrait) {
    body
    {
        background-image: url( '../img/TOUT-DOOH-PAGE-WEB-PORTRAIT.jpg' );
        background-position: center;
    }

    .logo {
        max-width: 180px;
    }

    .logos_partenaires
    {
        width: 400px;
        margin-top: 55px;
    }

    .baseline, .btn {
        font-size: 1.6em;
    }

    .buttons {
        flex-direction: column;
        gap: 20px;
        margin-right: 10vw;
        margin-left: 10vw;
    }

    .btn:not(.modal button) {
        width: auto;
        max-width: none;
    }

    video
    {
        max-width: 95%;
    }

    .modal-body {
        max-height: 65vh;
        padding: 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal button {
        padding: 10px 20px;
        font-size: 1.0em;
        font-weight: bold;
        width: 140px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn_mediakit
    {
        margin-right: 0;
    }

    .btn_envoyer
    {
        margin-left: 0;
    }

    .svg-form
    {
        margin-left: 5px !important;
        height: 1.4em !important;
    }
}

