/* General */
:root {
    --p: 85 76% 37%;
    --pf: 85 75% 32%;
    --a: 85 76% 37%;
    --af: 85 75% 32%;
}
::selection {
    background-color: #6aa617;
    color: white;
}
body {
    padding: 2rem;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}
.alert {
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.alert.message {
    max-width: 35rem;
}
.alert.message svg {
    margin-right: 1rem;
}

.choice-grid {
    display: grid;
    flex-direction: row;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 17rem));
    gap: 1rem;
    width: 100%;
    align-content: center;
    justify-content: center;
}
.choice-grid .choice-text {
    text-align: center;
    margin-bottom: 2rem;
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .row {
        flex-direction: column;
    }
}

/* Logos */
.mgen-logo,
.pas-logo,
.ministry-logo {
    height: 10rem;
    margin: 1rem;
    object-fit: contain;
}
@media (max-width: 1000px) {
    .mgen-logo,
    .pas-logo,
    .ministry-logo {
        height: 6rem;
    }
}
.mail-sent {
    border-radius: 1rem;
    margin: 0 auto;
    margin-bottom: 4rem;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#change-theme {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    outline: none;
    background-color: #ECECEC;
    border-radius: .3rem;
    position: fixed;
    top: 1rem;
    right: 1rem;
}
#change-theme:focus {
    outline: 1px solid;
}
html[data-theme=dark] #change-theme{
    background-color: #636363;
}
.sun {
    display: none;
}

/* Heading */
h1 {
    padding-bottom: 3rem;
}
h1,h2 {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

/* Form */
.content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.content-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 2rem;
}
@media (min-width: 900px) {
    .content-container {
        flex-direction: row;
    }
    .choice-buttons:first-of-type:not(.choice-grid .choice-buttons) {
        margin-right: 1rem;
    }
}

html[data-theme=dark] .choice-buttons {
    background-color: #777777;
}

.choice-buttons {
    background-color: #e9e9e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: unset;
    margin-bottom: 1rem;
    padding: 3rem 4rem;
}

.choice-text {
    font-weight: bold;
    color: #0E0E0E;
    margin-top: 1rem;
}
.choice-subtext {
    font-size: .8rem;
    opacity: .8;
    font-weight: normal;
    margin: .5rem 0 1rem 0;
}
#copy{
    outline: none;
}
#copy:hover {
    background-color: #FFF;
}
#copy:hover svg {
    stroke: #0e0e0e;
}
.mockup-code  {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.mockup-code pre {
    height: 1.5rem;
    display: flex;
    justify-content: flex-start;
    padding: 0 2rem;
    margin-right: 1rem;
    font-size: .8rem;
}
.mockup-code pre::before,
.mockup-code::before {
    content: none;
}
.copy-mail {
    position: relative;
    margin-top: 2rem;
}
.copy {
    position: absolute;
    top: 50%;
    right: .7rem;
    transform: translateY(-50%);
}
#copy {
    border-radius: .2rem;
}
#copy:focus {
    outline: 1px solid #FFF;
}
.label {
    justify-content: flex-start;
}
.dropdown {
    margin-left: 1.2rem;
    height: 1.5rem;
}
.dropdown .btn-circle {
    min-height: 1rem;
}
.form-control {
    margin-bottom: 1rem;
    flex: 1;
    max-width: 30rem;
}
.row > .form-control:first-of-type {
    margin-right: 1rem;
}
.full-size {
    max-width: initial;
}
.divider:after,
.divider:before,
.divider::after,
.divider::before {
    background-color: rgb(192, 192, 192)!important;
}
/* .check {
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: row-reverse;
}
.check .checkbox {
    width: 1.7rem;
    min-width: 1.7rem;
    height: 1.7rem;
    min-height: 1.7rem;
}
.check > .label-text {
    margin-left: 1rem;
} */
.check {
    line-height: 10px;
    margin-bottom: 1.5rem;
    margin-top: -1rem;
}
.check .label-text {
    font-size: .75rem;
    line-height: 14px;
    display: block;
}
.submit {
    margin-top: 2rem;
}
.mandatory {
    color: #6aa617;
}
.stroke-current {
    stroke: currentColor;
}
.mt-4 {
    margin-top: 1rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mx-2 {
    margin-left: .5rem;
    margin-right: .5rem;
}