@font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'PT Mono'; font-style: normal; font-weight: 400; src: url('../fonts/pt-mono-v13-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* ? Переменные для цветов */ :root { --white-color: #fff; --gold-color: #FFDEAD; } .gold-color { color: var(--gold-color); } .height-max-content { height: max-content; } a { text-decoration: none; } body { background-size: 100% auto; min-width: 320px; font-family: "PT Mono", sans-serif; display: flex; flex-direction: column; min-height: 100vh; background-repeat: no-repeat; background-size: cover; background-image: url(./../img/bg/dark-bg.jpg); background-attachment: fixed; background-size: cover; background-position: center center; } .text { color: var(--white-color); text-align: center; font-size: 32px; font-style: normal; font-weight: 500; line-height: 36px; } main { display: flex; flex-direction: column; flex: 1 0 auto; } .input { border: none; width: 100%; height: 100px; background: var(--gold-color); color: var(--dark-color); border-radius: 20px; padding: 0 20px; font-size: 30px; } .button { background: var(--gold-color); color: var(--dark-color); padding: 10px 20px; font-weight: 700; font-size: 20px; width: max-content; border: none; border-radius: 10px; } .form { margin: 0 auto; width: 100%; max-width: 1000px; } .title { font-size: 70px; font-weight: 400; color: var(--gold-color); } .header__items { list-style: none; } .menu__img { width: 100%; object-fit: cover; aspect-ratio: 1/1; } .item-max-width { max-width: 1000px; } .navbar-my-border { border: 1px solid var(--gold-color); } .btn_delete { display: block; width: 20px; height: 25px; background-image: url("../img/icon-delete.svg"); background-repeat: no-repeat; background-position: center; } @media(max-width: 567px) { .title { font-size: 50px; line-height: 60px; } .item__img { max-width: 100%; width: 100%; } } @media (min-width: 768px) { .navbar-my-border { border: none; } }