/* RESET STYLES*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea,
select,
label,
button,
picture {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th,
td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q,
blockquote {
    quotes: none;
}

q:before,
q:after,
blockquote:before,
blockquote:after {
    content: "";
    content: none;
}

a img {
    border: 0;
}

img,
picture,
svg,
video,
canvas {
    border: 0;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

img,
picture,
svg,
video,
canvas,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
    display: block;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100vh;
    font: normal 16px "effra", sans-serif;
    line-height: 1.2;
}

html,
body,
.register-form__submit,
.register-form__message-summary__close {
    background-color: #18988b;
}

body,
.register-form {
    position: relative;
}

body {
    overflow-x: hidden;
}

.main {
    padding: 13% 15px;
    position: relative;
    z-index: 2;
}


.headline {
    font-size: 3.5625rem;
    text-transform: uppercase;
}

.headline,
.body-text,
.register-form__submit,
.register-form__message-summary__close {
    color: #fff;
}

.headline,
.body-text {
    margin-bottom: 4rem;
    line-height: 1.2;
    text-align: center;
}

.body-text {
    font-size: 1.75rem;
}

strong {
    font-weight: 700;
}

.register-form {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.register-form__input-group,
.register-form__message-summary.show,
.register-form__message-summary {
    display: flex;
}

.register-form__input-group {
    justify-content: space-between;
    margin-bottom: 20px;
}

.register-form__input-group,
#name,
#email,
#phone,
#city,
#specialty {
    width: 100%;
}

@media (min-width: 993px) {

    #email,
    #phone,
    #city,
    #specialty {
        width: 45%;
    }
}

.register-form__input,
.register-form__message-summary__content {
    padding: 2.5rem 2rem;
    background-color: #fff;
}

.register-form__input,
.register-form__submit {
    border-radius: 3.3125rem;
    font-size: 1.875rem;
}

.register-form__message-summary__close,
.register-form__submit {
    display: block;
    width: fit-content;
    padding: 1rem 2.5rem;
    border: 2px solid #fff;
    margin-left: auto;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.register-form__message-summary__close {
    margin-right: auto;
    margin-top: 40px;
}

.register-form__submit:hover {
    background-color: #fff;
    color: #18988b;
}

.bg-crosses {
    position: absolute;
    z-index: 1;
}

.bg-cross__top-right {
    top: -171px;
    right: -189px;
}

.bg-cross__bottom-left {
    bottom: -75px;
    left: -135px;
}

.register-form__message-summary {
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.5);
}

.register-form__message-summary__content {
    width: 80%;
    border-radius: 2.3125rem;
}

#loader,
.register-form__message-summary {
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#loader {
    position: fixed;
    background: rgba(0, 0, 0, 0.5) url(./bouncing-squares.svg) no-repeat center center;
    background-size: 100px;
    z-index: 9999;
}

#loader.show {
    display: block;
}

@media (max-width: 1200px) {

    html,
    body {
        font-size: 12px;
    }
}

@media (max-width: 992px) {

    html,
    body {
        font-size: 10px;
    }

    .register-form__input-group {
        flex-direction: column;
    }

    #email,
    #city {
        margin-bottom: 20px;
    }

    .bg-crosses {
        width: 27%;
    }

    .bg-cross__top-right {
        top: -3.90625%;
        right: -9.84375%;
    }

    .bg-cross__bottom-left {
        bottom: -3.90625%;
        left: -7.03125%;
    }
}

@media (max-width: 768px) {
    .body-text br {
        display: none;
    }
}