

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

:root {
    font-size: initial;
}

html {

}

body {
    min-height: 100vh;
    position: relative;
    font-family: 'Alegreya Sans', sans-serif;
    line-height: 1.2;

}


/* jobForm */

.jobForm {
    min-height: 400px;
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    gap: 1.5rem;

    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    background-color: white;
    font-size: 1.2rem;
    color: black;

    overflow: hidden;
    
}

.jobForm__container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background-color: #f2f2f2;
}

.jobForm__header {
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    font-size: 1.7rem;
    background-color: #337AB7;
    color: white;
}

.jobForm__btn {
    align-self: center;
    color: #fff;
    background: #337AB7;
    border: none;
    font-size: 18px;
    font-family: 'Alegreya Sans', sans-serif;
    border-radius: 5px;
    text-align: center;
    padding: 10px 50px;
    margin-top: 10px;

    cursor: pointer;
    
    transition: 0.3s all ease;
}
.jobForm__btn:hover {
    background-color: #2d6da4;
}


.jobFormField {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.jobFormField__label {

}

.jobFormField__input {
    height: 2.5rem;         /* вместо min-height */
    line-height: 2.5rem;    /* выравнивание текста по центру */
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    outline: none;
    border: 1px solid #337AB7;

}

.jobFormField__input_select {

}

.jobFormField__input_checkbox {
    padding: 0.2rem;
    border-radius: 2px;
    height: auto;
}

.terms {
    display: block;
    margin: 0 auto;
    text-align: center;
}


.terms__link {
    color: #337AB7;
    font-weight: 500;
}


/* media */

@media screen and (max-width: 800px) {
    .jobForm__container {
        align-items: stretch;
    }
}