@font-face {
    font-family: 'parisienne';
    src: url('./fonts/Parisienne-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'montserrat';
    src: url('./fonts/Montserrat-Regular.ttf') format('truetype');
}


:root {
    --main-font-size: 16px;
    --main-font-family: 'montserrat';
    --light-blue: #dcecff;
    --burgundy: #8d0300;
    --dark-burgundy: #720200;
    --purple: #561b8c;
    --dark-purple: #3c1363;
    --yellow: #fde456;
    --dark-gray: #252c30;
    --gray: #7d7d7d;
    --light-gray: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 500px;
    margin: 1em auto;
    padding: 0 1em;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col {
    flex: 1 0 0%;
}

body {
    background: var(--light-blue);
    color: var(--burgundy);
    font-family: var(--main-font-family);
    font-size: var(--main-font-size);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 2em;
    line-height: 1.75;
    margin-bottom: .5em;
    font-family: 'parisienne';
}

h2 {
    text-align: center;
}

header, main, footer, section {
    width: 100%;
}

header {
    text-align: center;
}

header img {
    width: 100%;
    height: auto;
}

header .logo {
    max-width: 200px;
}

.button-group {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1em;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
    margin: 0 10px;
}

.virtue-color {
    background: var(--purple);
    color: var(--light-gray);
}

.btn.virtue-color:hover {
    background: var(--dark-purple);
}

.admonishment-color {
    background: var(--burgundy);
    color: var(--yellow);
}

.btn.admonishment-color:hover {
    background: var(--dark-burgundy);
}

.card {
    padding: .75em 1em;
    border-radius: 10px;
    max-width: 450px;
    margin: 0 auto 1.25em;
}

.lampion-container {
    width: 50px;
    margin-right: 1rem;
}

.lampion {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
}

.card-header {
    font-size: .75em;
    display: flex;
    align-items: center;
}

.card-body {
    margin: .5em 0;
}

.text-center {
    text-align: center;
}

.actions {
    display: none;
}

section .container{
    max-width: 960px;
    margin: 1em auto;
}

.link-header {
    max-width: 500px;
    margin: .5em auto 1.5em;
}

section .container .links {
    display: flex;
    flex-direction: column;
    line-height: 1.75em;
    margin: 0 1em;
}

section .container .links a,
section .container .links a:visited,
section .container .links a:active {
    color: var(--dark-gray);
    margin-bottom: 1.25em;
}

section .container .links a:hover {
    color: var(--gray);
}

footer {
    background-color: var(--dark-gray);
    color: var(--gray);
    font-size: .75rem;
    line-height: 1.75em;
    text-align: center;
}

footer .container {
    padding: 15px 1em;
}

footer .row {
    flex-direction: column;
    max-width: 100%;
}

footer .row .col {
    max-width: 100%;
}

footer a, footer a:visited, footer a:active{
    /* text-decoration: none; */
    color: var(--gray);
}

footer a:hover {
    text-decoration: underline;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
  
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 300px; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    height: 30px;
}
  
/* Modal Body */
.modal-body {
    padding: 2px 16px;
}
  
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} 

.form-control {
    display: block;
    max-width: 350px;
    margin: 0 auto;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-label {
    margin-bottom: .5rem;
}

label {
    display: inline-block;
}

.btn-save {
    width: 100px;
    margin: 0 auto;
}

.btn-submit-wrapper {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    body {
      font-size: 14px;
    }
    .lampion {
        width: 30px;
    }
    .lampion-container {
        width: 30px;
    }
    section .row {
        flex-direction: column;
        padding: 0 1em;
    }
}