:root {
  --main-bg-color: #efefef;
  --header-height: 3rem;
  --footer-height: 6rem;
  --hightlight-color: #E67E25;
  --footer-text-color: #939393;
  --footer-bg-color: #222A35;
  --main-font-color: #222A35;
}

*, ::after, ::before {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--main-font-color);
  background-color: var(--main-bg-color);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.row {
  display: flex;
  align-items: center;
}

.row-space-between {
  justify-content: space-between;
}

.row-top {
  align-items: flex-start;
}

.row-wrap {
    flex-wrap: wrap;
}

.row-gap {
    gap: 1rem;
}

.row-stretch {
    align-items: stretch;
}

.row-height {
    min-height: 35rem;
}

.col {
  flex: 1;
}

.col2 {
  flex: 2;
}

.container, .content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.padded-top {
    margin-top: 5rem;
}

.header {
  background-color: var(--main-bg-color);
  line-height: var(--header-height);
  height: var(--header-height);
  overflow: hidden;
  box-shadow: 0 0 .5rem #ddd;
  position: sticky;
  left: 0;
  top: 0;
}

.logo {
  width: 8rem;
}

.logo img {
  vertical-align: middle;
}

nav {
  display: block;
}

nav ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin: 0;
  font-size: 20px;
}

nav ul a {
  color: #000;
  text-decoration: none;
  display: block;
  border-bottom: 2px solid var(--main-bg-color);
  line-height: 1.2rem;
}

nav ul a:hover {
  border-bottom-color: var(--hightlight-color);
}

.content {
    background-image: url(./images/main-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 1rem 10rem;
}

.welcome {
    padding: 3rem 0;
    text-align: center;
}

.welcome img {
   max-width: 80%;
}

.welcome p {
    font-size: 2rem;
}

.about {
  padding: 2rem 0;
}

.about img {
    max-width: 60%;
}

.about p {
    margin-right: 4rem;
}

.padded-text {
    text-align: left;
    padding-left: 3rem;
    padding-right: 3rem;
}

.text-center {
  text-align: center;
}

.footer {
    padding: 4rem 10rem;
    background-color: var(--footer-bg-color);
}

.footer img {
    max-width: 75%;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--footer-text-color);
}

.footer-list a {
    text-decoration: none;
    color: var(--footer-text-color);
}

.footer-list a:hover {
    text-decoration: underline;
}

.footer-title {
    margin: 0;
    color: #fff;
    font-size: 1.05em;
}

.video-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 56%;
}

.video-wrapper iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.col.video, .col.partner {
    width: calc(25% - 0.75rem);
    flex: none;
}

.col.partner {
    margin-bottom: 1rem;
}

.col.video {
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
}

.col.tool {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
}

.col.tool img {
    margin: 1rem 1rem 3rem;
    max-width: 5rem;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2rem;
}

.tools-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: .5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tools-list li a {
    color: var(--hightlight-color);
    text-decoration: none;
}

.contacts {
    color: #fff;
}

.contacts a {
    color: var(--hightlight-color);
}
