/* Reset styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

h1, h2,
h3, h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input, button,
textarea, select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

/* Styles */

@font-face {
    font-family: "Raleway";
    src: url("/fonts/Raleway.ttf") format("truetype-variations");
}

body {
    background-color: #F2F2F2;
    display: grid;
    align-items: center;
    justify-content: center;
    font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: relative;
}

body:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('background.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: contain;
}

.contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
}

.contacts .phone {
  margin-bottom: 10px;
}

.contacts .messangers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
}

.header a {
    font-size: 25px;
    color: #303030;
    display: flex;
    line-height: 2.5rem;
}

.header .address {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.header svg {
    width: 28px;
    margin-right: 10px;
}

.header svg path {
    fill: #40C351;
}

.contacts {
  text-align: center;
  flex-direction: column;
}

.contacts a.text {
  display: block;
  font-size: 16px;
}

.wrapper {
    max-width: 1000px;
    position: relative;
    padding: 5px;
}

h1 {
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 40px;
}

div.image {
    margin-top: 10px;
    margin-bottom: 10px;
}

div.info {
  display: grid;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
  margin: 30px 0;
}

div.lists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 25px;
}

/*
div.lists div {
  display: grid;
  border-left: 1px solid black;
}

div.lists div:last-child {
  border-right: 1px solid black;
}
*/

div.lists img {
  width: 100px!important;
  margin-bottom: 25px;
  justify-self: center;
}

ul {
  margin-top: 0;
  margin-bottom: 0;
}

ul li::marker {
    color: #EF6439;
    font-size: 20px;
}

ul li {
    font-size: 18px;
    font-weight: 550;
}

div.image {
  display: grid;
  justify-content: center;
}

.orange {
    color: #EF6439;
}

p.tk_info {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.small {
    font-size: 15px;
    margin-left: 30px;
    color: #EF6439;
}

@media (orientation: portrait) {
    div.data {
      display: flex;
        flex-direction: column;
        align-items: center;
    }

    div.lists {
      grid-template-columns: 1fr!important;
      grid-template-rows: repeat(4, 1fr);
      max-width: 50%;
    }

    div.lists div, div.lists div:last-child {
      border: none;
      justify-content: center;
    }

    div.lists ul {
      list-style: none;
      padding-left: 0;
    }

    h1 {
        text-align: center;
    }
    .header {
      flex-direction: column;
      order: 1;
    }
    .header a {
      line-height: 3rem;
      font-size: 18px;
    }
    div.data {
      order: 1;
    }
    div.info {
      order: 2;
    }
    div.image {
      order: 3;
    }
    div.lists {
      margin-bottom: 20px;
      align-items: center;
    }
    .header svg {
      width: 22px;
      display: block;
    }
    .small {
      margin-left: 0;
      text-align: center;
    }
}