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;
}

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;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}
body.overflow {
    overflow: hidden;
}

.container {
    max-width: 970px;
    margin: 0 auto;
    padding: 0 15px;
}

/* style for header */
.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.menu a {
    color: #FFF;
    font-family: Oxygen;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-left: 40px;
    transition: all 0.5s;
}
.menu.open {
    display: flex;
}

.menu a:hover {
    color: orange;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger {
    color: #fff;
    font-size: 24px;
    display: none;
}

.banner h1 {
    color: #FFF;
    text-align: center;
    font-family: Lora;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 51px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.banner {
    background-image: url(img/background.jpg);
    height: 500px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner p {
    color: rgba(255, 255, 255, 0.63);
    text-align: center;
    font-family: Oxygen;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 30px;
}

.banner a {
    color: #FFF;
    text-align: center;
    font-family: Oxygen;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    border-radius: 3px;
    background: #DD783F;
    padding-right: 31px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 31px;
    display: inline-block;
    transition: all 0.5s;
}

.banner a:hover {
    background: cyan;
}

.card-text {
    position: absolute;
    left: 0;
    padding: 20px;
    bottom: 0;
    width: 100%;
}

.card {
    position: relative;
}

.card-text h3 {
    color: #FFF;
    font-family: Lora;
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 6px;
}

.role {
    color: rgba(255, 255, 255, 0.70);
    font-family: Oxygen;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 17px;
}

.card-text span {
    color: rgba(255, 255, 255, 0.70);
    font-family: Oxygen;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    margin-left: 10px;
}

.z {
    color: rgba(255, 255, 255, 0.70);
    font-family: Oxygen;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    margin-left: auto;
}

.info {
    display: flex;
    align-items: center;
}

.cards-wrap {
    display: flex;
    gap: 20px;
}

.posts h2 {
    color: #2E2E2E;
    text-align: center;
    font-family: Oxygen;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.posts {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contacts h2 {
    color: #EFEFEF;
    text-align: center;
    font-family: Oxygen;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 38px;
}

.contacts {
    background: url(img/footer-background.jpg);
    min-height: 378px;
    padding-top: 81px;
}

.email {
    border-radius: 3px 0px 0px 3px;
    background: #FFF;
    border: none;
    max-width: 375px;
    width: 100%;
    padding: 18px 35px;
}

.button {
    color: #F8F8F8;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 0px 3px 3px 0px;
    background: rgba(255, 255, 255, 0.28);
    border: none;
    padding: 18px 44px;
}

.contacts form {
    display: flex;
    justify-content: center;
}

.footer {
    background: rgba(35, 47, 56, 0.60);
    padding-bottom: 25px;
    padding-top: 25px;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.escape {
    position: relative;
}

.footer ul {
    display: flex;
    gap: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.60);
    text-align: right;
    font-family: Oxygen;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media(max-width:600px) {
    .cards-wrap {
        flex-direction: column;
    }

    .card>img {
        width: 100%;
    }

    .contacts form {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .burger {
        display: block;
    }

    .menu {
        display: none;
        background: rgba(255, 255, 255, 0.66);
        backdrop-filter: blur(5px);
        position: fixed;
        top:60px;
        left: 50%;
        translate: -50%;
        width: 65%;
        height: 100vh;
        z-index: 100;
        padding: 20px;
       
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
    }

    .menu a {
        margin: 0;
        color: #DD783F;
    }

    .footer{
        display: none;
    }
}