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

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

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

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

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: SF Pro Display;
}

.card {
  width: 100vw;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

body {
  background-image: url(../images/bg-big.jpg);
  background-size: cover;
}

@media screen and (max-width: 767px) {
  body {
    background-image: url(../images/bg-small.jpg);
  }
}

.header img {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .header img {
    width: 80px;
    height: 80px;
    max-width: 110px;
  }
}

.item {
  overflow: hidden;
  text-decoration: none;
}

.item,
.item-big {
  display: block;
  max-width: 550px;
}

@media screen and (max-width: 767px) {
  .item-big {
    display: none;
  }
}

.item-small {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .item-small {
    display: none;
  }
}

.item:not(:last-of-type) {
  margin-bottom: 50px;
}

.item img {
  max-width: 100%;
  border-radius: 12px;
}

footer {
  margin-top: auto;

  width: 100%;
}

.footer-big {
  display: block;
  margin: 0 auto;
  max-width: 35%;
}

@media screen and (max-width: 767px) {
  .footer-big {
    display: none;
  }
}

.footer-small {
  display: block;
  margin: 0 auto;
  max-width: 45%;
}

@media screen and (min-width: 768px) {
  .footer-small {
    display: none;
  }
}

.banner__cont {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.banner__item{
  width: 45%;
}

.banner__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (min-width: 480px){
  .banner__item{
    width: 31%;
    max-width: 300px;
  }
}

@media screen and (min-width: 768px) {
  .banner__cont {
    gap: 20px;
  }

  /* .banner__item{
    width: 45%;
  } */

  /* .banner__img { */
    /* width: 200px; */
    /* max-height: 200px; */
    /* height: auto; */
  /* } */
}

@media screen and (min-width: 1240px) {
  .banner__item,
  .banner__img {
    max-width: 400px;
    /* max-height: 300px; */
  }
}

.pseudo-btn {
  max-width: 500px;
  margin: 0 auto;
  height: 48px;
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 32px;
  background-color: rgb(241, 44, 76);
  color: rgb(255, 255, 255);
  border-radius: 4px;
  padding: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SofiaPro", sans-serif;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;

  transition: background-color 0.3s ease;
}

.pseudo-btn svg {
  margin-left: -6px;
  width: 50px;
  height: 23px;
  fill: white;
}

.banner__item:focus .pseudo-btn,
.banner__item:hover .pseudo-btn {
  background-color: rgb(168, 30, 53);
}

.banner__item {
  text-decoration: none;
}

form {
  right: 20px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  align-items: center;
  width: 170px;
  margin-left: auto;
  border-radius: 15px;
}

label {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.05;
  color: #f1e7c7;
}

@media screen and (min-width: 480px) {
  form {
      right: 20px;
      top: 70vh;
      bottom: auto;
      width: 200px;
      background-color: transparent;
  }

  label {
      font-size: 14px;
  }
}

input {
  width: 100%;
  height: 26px;
  border-radius: 3px;
  border: none;
  padding: 5px;
  font-size: 12px;
  margin-bottom: 8px;
  background-color: #423222;
  color: #f1e7c7;
}

input::placeholder {
  color: #f1e7c7;
}

input:active {
  background-color: #33271b;
  color: #f1e7c7;
}

button[type="reset"] {
  margin-left: auto;
  height: 26px;
  border-radius: 3px;
  padding: 5px;
  font-size: 12px;
  background-color: #33271b;
  color: #f1e7c7;
  cursor: pointer;
  border: none;

  transition: background-color 0.3s ease-in-out;
}

button[type="reset"]:focus,
button[type="reset"]:hover {
  background-color: #4e3c28;
}