body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-size: 140%;
    background-image: url("nacao.jpg");
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.text p {
    font-size: 1.5em
}

.text strong {
    font-size: 2em
}

.logo-mobile {
    text-align: center;
    background-color: #ffffff;
  }
  
  .logo-mobile img {
    max-width: 50%;
    height: auto;
    display: inline-block;
  }
  


.navbar {
    background-color: rgba(0, 0, 0, 0.6);
    padding-left: 10%;
    padding-right: 10%;
}

nav ul {
    align-items: center;
}

.navbar .nav-item {
    margin: 0 10px;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-bottom: 3px solid transparent;
}


.navbar-light .navbar-nav .nav-link:hover {
    border-bottom: 3px solid #d2232a;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link .active {
    color: #d2232a;
    border-bottom: 3px solid #d2232a;
}

.navbar .nav-item:last-child .nav-link {
    background-color: #d2232a;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #ffffff;
    border-radius: .3rem;
}

main {
    padding: 0 10%;
    background-color: rgba(.8, .8, .8, .3);
    flex: 1;
}

.block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.block .text,
.block .image {
    flex: 0 0 45%;
}

.block .image img {
    width: 100%;
    height: auto;
}

.container {
    max-width: 600px;
    margin: 5% auto;
    padding: 40px;
    text-align: center;
    background-color: rgba(.5,.5,.5,.8);
    border-radius: 20px;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

form {
    display: inline-block;
    text-align: left;
}

input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"],
input[type="submit"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.password-mismatch {
    padding-bottom: 2%;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
}

.birthdate-fields {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}

.birthdate-fields input[type="number"] {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    padding: 10px;
    margin-right: 5px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.birthdate-separator {
    margin-right: 5px;
}

footer {
    padding: 10px 10%;
    background-color: #ffffff;
    color: #555;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .left img {
    min-height: 10em;
}

footer .right a {
    color: #555;
    text-decoration: none;
}

footer .right a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .navbar-light .navbar-nav .active>.nav-link:hover ,
    .navbar-light .navbar-nav .nav-link .active {
    color: #d2232a;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: rgb(49, 49, 49);
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgb(0, 0, 0);
    }

    .ml-auto {
        margin-left: auto!important;
        margin-right: auto;
    }


    .custom-navbar-container .navbar {
        background-color: #cbcbcb !important;
    }

    .block {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    .block .image {
        -webkit-display: none;
        -moz-display: none;
        -ms-display: none;
        -o-display: none;
        display: none;
    }

    
    .block .text,
    .block .image {
        -webkit-flex: 0 0 100%;
        -moz-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        -o-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    footer {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .left, footer .right {
        margin-bottom: 1em;
    }

    footer .left img {
        margin: 0 auto;
    }
}
