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 {
  border: 0;
  font: inherit;
  margin: 0;
  padding: 0;
  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:after,
blockquote:before,
q:after,
q:before {
  content: "";
}

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

a {
  color: inherit;
  outline: none;
  text-decoration: none;
}

img,
video {
  height: auto;
  max-width: 100%;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  line-height: normal;
}

:focus {
  outline: none;
}

img {
  display: block;
}

:root {
  font-size: 16px;
}



@media (max-width: 500px) {
  :root {
    font-size: 2.2099447514vw;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

/* Базовая типографика и фон */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff;
  background-color: transparent;
  font-family: MD Nichrome, Arial, "sans-serif";
  font-style: normal;
  font-weight: 500;
  background-color: #FAF5F0;
    color:#fff;
  background-image: url(bg.jpg);
  /* background-size: 100%; */
}

.body-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 100dvh;
}

/* Кнопки по умолчанию (на случай, если где-то появятся) */
button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin: 0;
  padding: 0;
}

/* Шрифты */

@font-face {
  font-display: swap;
  font-family: Haffer;
  font-style: normal;
  font-weight: 400;
  src:
    local("Haffer Regular"),
    local("Haffer-Regular"),
    url(Haffer-Regular.woff2) format("woff2"),
    url(Haffer-Regular.woff) format("woff");
}

@font-face {
  font-display: swap;
  font-family: MD Nichrome Dark;
  font-style: normal;
  font-weight: 500;
  src:
    local("MD Nichrome Dark"),
    local("MDNichrome-Dark"),
    url(MDNichrome-Dark.woff2) format("woff2"),
    url(MDNichrome-Dark.woff) format("woff");
}

@font-face {
  font-display: swap;
  font-family: MD Nichrome;
  font-style: normal;
  font-weight: 400;
  src:
    local("MD Nichrome Regular"),
    local("MDNichrome-Regular"),
    url(MDNichrome-Regular.woff2) format("woff2"),
    url(MDNichrome-Regular.woff) format("woff");
}

/* Лэйаут */

.container {
  margin: 0 auto;
  padding: 75px 0;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease;
  min-height: 100dvh;
}

.main__logo{
  width: 250px;
  margin: 0 auto;
}

.main__table{
    margin-top: 68px;
    color: #000000;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    border-collapse: collapse;
}


th{
  background-color: #0F0F23;
  border: 1px solid #0F0F23;
  font-size: 22px;
  color: #fff;
  padding: 16px 22px;
   white-space: nowrap;
}

th:nth-child(1) {
  text-align: left;
}



td{
  font-family: Haffer, Arial;
   border: 1px solid #FAF5F0;
    padding: 20px 22px;
    vertical-align: middle;
    font-size: 18px;
}

td:nth-child(1) div{
   white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

td:nth-child(3) {
  text-align: center;
}


td img{
  flex: 0 0 auto;
    display: block;
	width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}


@media (orientation: portrait) {
  .container {
    /* background-image: url(./bg_mob.png); */
    padding: 24px 16px;
  }

  .main__table{
    margin-top: 24px;
  }
    
    .main__logo{
      width: 150px;
      margin: 0 auto;
    }

    th{
      padding: 10px 15px;
      font-size: 13px;
        white-space: wrap;
        text-align: left;
        vertical-align: middle;
    }
    
    td{
        padding: 10px 15px;
        vertical-align: middle;
        font-size: 12px;
    }

    td:nth-child(1) div{
    white-space: wrap;
    display: flex;
    align-items: center;
    gap: 10px;
  }
    
   td:nth-child(1) {
        width: 44px;
    }

        td:nth-child(2) {
                padding-right: 12px;
            }

        td:nth-child(4) {
                padding-left: 12px;
            }
    
    td img{
        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        object-fit: cover;
        overflow: hidden;
    }


}
