@font-face {
    font-family: Yarin;
    src: url(Yarin-Regular.woff);
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    font-family: 'Titillium Web', sans-serif;
    background-color: #f0ede0 !important;
}

label span {
    color: rgb(255, 0, 0);
}

h1 {
    color: #652111;
    text-align: center;
    /* margin: 5%; */
    width: 0.5rem;
    font-family: Yarin;
    text-transform: uppercase;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

form .form-group {
    display: flex;
    flex-direction: row;
    margin: 5px 5%;
    justify-content: center;
    width: 100%;
}

button {
    width: 10rem;
}

.col-sm-10 {
    display: flex;
    align-items: center;
    width: 60% !important;
}

.col-form-label {
    width: 30% !important;
}

@media only screen and (max-width: 600px) {
    .col-sm-10 {
        width: 100% !important;
    }

    form .form-group {
        margin: 5px 0;
    }

    .col-form-label {
        width: 100% !important;
    }
}

.submit {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.form-check label {
    margin: 10px;
}

#main_checkbox {
    min-width: 16px;
    min-height: 16px;
}

#checkbox_label {
    min-width: 120px;
}

.btn-success {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    padding: 0.7rem 1.8rem !important;
    width: 7rem !important;
}

.btn-success:hover {
    background-color: #288c3c !important;
    border-color: #288c3c !important;
}

#title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 200px !important;
    height: auto !important;
    margin: 1rem;
}

.col {
    flex: 0.5 0 0% !important;
}

#msg {
    display: none;
    margin: 25px;
    color: #652111;
}

#ajax_button {
    margin-top: 20px !important;
}

.justify-content-md-center {
    align-items: center;
    width: 100%;
}

.form-group {
    max-width: 600px;
}

#formularz {
    max-width:700px;
}