/*
  Página de verificación estilo EGPP.
  V7:
  - Funciona localmente abriendo index.html.
  - Funciona en Netlify con /certificado_idioma/1140268 gracias a _redirects.
*/

:root {
    --bs-gutter-x: 15px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@page {
    margin: 0cm 0cm;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-image: url("https://certificacion.egpp.gob.bo/img/certificacion_egpp.jpg");
    background-size: 500px 800px;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #ffffff;
}

.container {
    width: 100%;
    padding-right: var(--bs-gutter-x);
    padding-left: var(--bs-gutter-x);
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -1);
    margin-left: calc(var(--bs-gutter-x) * -1);
}

.justify-content-center {
    justify-content: center;
}

.col-md-6 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: var(--bs-gutter-x);
    padding-left: var(--bs-gutter-x);
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-egpp {
    font-size: 12px;
    text-align: center;
    font-family: FontsFree-Net-uni-sans-regular, "Times New Roman", Times, serif;
}

/* Bootstrap-like breakpoints */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile */
@media (max-width: 500px) {
    body {
        background-size: 100vw auto;
        background-position: center top;
        font-size: 16px;
    }

    .container {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .col-md-6 {
        padding-right: 0;
        padding-left: 0;
    }

    .card-body {
        padding: 1.25rem;
    }

    .footer-egpp {
        font-size: 12px;
    }
}
