/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #322f2f;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    position: relative;
}

main * {
    transition: all 0.3s ease-in-out;
}

main {
    width: 100%;
    min-height: 100%;
    position: absolute;
    box-sizing: border-box;
    border: 5px solid #322f2f;
}

.welcome {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    overflow: hidden;
    background: #fff;
    opacity: 0.99;
}

h1 {
    font-size: 1rem;
}

h2 {
    font-size: 0.8rem;
}

main img {
    width: 220px;
    animation: maxbergIntro 8s 1 0s ease-in-out;
}

.welcome-text {
    opacity: 0;
    animation: maxbergTextIntro 2s 1 6s ease-in-out;
    animation-fill-mode: forwards;
}

.overlay {
    position: absolute;
    transform: translateX(100%);
    animation: overlay 12s infinite 6s ease-in-out;
    animation-fill-mode: backwards;
    z-index: 10;
}

.contact-visible {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
}

.contact-visible::before {
    content: ' ';
    background-color: #322f2f;
    background: #322f2f;
    width: 100%;
    height: 100%;
    position: fixed;
}

footer,
header {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
}

header {
    top: 2rem;
    bottom: initial;
}

footer span,
header span {
    margin: 0;
    display: block;
}

.container {
    min-height: 640px;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: #322f2f;
    text-decoration: none;
}

@media screen and (min-width: 576px) {
    .wrap-contact100 {
        width: 420px;
    }
    main img {
        width: 320px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .btn-show-contact100 {
        font-size: 0.9rem;
        min-width: 8rem;
        height: 2.5rem;
        line-height: 2.5rem;
    }
}

@media screen and (min-width: 768px) {
    main {
        border: 10px solid #322f2f;
    }
    main img {
        width: 420px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    footer,
    header {
        font-size: 1rem;
    }
}

@media screen and (min-width: 992px) {
    .wrap-contact100 {
        width: 560px;
    }
    main img {
        width: 520px;
    }
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.85rem;
    }
    .btn-show-contact100 {
        font-size: 1rem;
        min-width: 10rem;
        height: 3rem;
        line-height: 3rem;
    }
    .contact-us {
        margin-top: 2rem;
    }
    footer span,
    header span {
        margin-left: 0.5rem;
        display: inline-block;
    }
    footer span::before,
    header span::before {
        content: "|";
        margin-right: 0.5rem;
    }
    header span:last-child::after,
    footer span:last-child::after {
        content: "|";
        margin-left: 0.5rem;
    }
}

@media screen and (min-width: 1200px) {
    main img {
        width: 620px;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@keyframes maxbergIntro {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes maxbergTextIntro {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes overlay {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.wrap-contact100 {
    display: none;
}

.contact-heading {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
}

header,
main,
button {
    font-weight: 700;
}

header {
    z-index: 90;
}