@import url('./colors/default.css');
@import url('./fonts.css');
@import url('./form.css');
@import url('./header.css');
@import url('./main.css');
@import url('./footer.css');

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

@media (max-width: 1280px) {
  html {
    scroll-padding-top: 100px;
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 80px;
  }
}

body {
  font-family: 'Roboto';
  margin: 0;
}

.container {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1500px;
}

.brandbar {
  position: fixed;
  background-color: var(--color-brand-1);
  width: 100%;
  top: 0;
  z-index: 100;
}

.brandbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 1600px) {
  .brandbar > .container {
    padding-left: 88px;
    padding-right: 88px;
  }
}

@media (max-width: 880px) {
  .brandbar > .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 680px) {
  .brandbar > .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.brandbar__brand {
  width: 96px;
  height: 96px;
}

@media (max-width: 1280px) {
  .brandbar__brand {
    width: 56px;
    height: 56px;
  }
}

.brandbar__brand-link {
  display: flex;
  outline: 0;
}

@media (max-width: 1366px) {
  .brandbar__brand-link {
    order: 1;
  }
}

@media (max-width: 680px) {
  .brandbar__brand-link {
    visibility: hidden;
  }
}

@media (max-width: 1366px) {
  .brandbar__navigation {
    order: 3;
  }
}

.brandbar__navigation-list {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 100%;
  column-gap: 32px;
}

@media (max-width: 1366px) {
  .brandbar__navigation-list {
    display: none;
  }

  .brandbar__navigation-list--open {
    position: absolute;
    display: flex;
    background-color: var(--color-brand-1);
    flex-direction: column;
    align-items: center;
    height: fit-content;
    top: 100%;
    right: 88px;
  }

  .brandbar__navigation-list--open li {
    font-size: 24px;
    padding: 16px 24px;
  }
}

@media (max-width: 680px) {
  .brandbar__navigation-list--open {
    right: 24px;
  }
}

.brandbar__navigation-burger {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-1);
  border: 1px solid var(--color-primary-2);
  width: 80px;
  height: 80px;
}

@media (max-width: 1366px) {
  .brandbar__navigation-burger {
    display: flex;
  }
}

@media (max-width: 1280px) {
  .brandbar__navigation-burger {
    border-width: 0;
    width: 48px;
    height: 48px;
  }
}

.brandbar__navigation-burger-icon {
  stroke: var(--color-primary-2);
  width: 40px;
  height: 40px;
}

.brandbar__navigation-item {
  display: flex;
  background-color: transparent;
  align-items: center;
  font-weight: 300;
  font-size: 36px;
  text-transform: uppercase;
}

@media (max-width: 1600px) {
  .brandbar__navigation-item {
    font-size: 24px;
  }
}

.brandbar__navigation-link {
  background-color: transparent;
  color: var(--color-primary-2);
  border-radius: 8px;
  outline-width: 0;
  outline-color: var(--color-brand-2-accent);
  outline-style: solid;
  transition: background-color .1s, color .1s, outline-width .1s;
}

.brandbar__feedback-link {
  display: flex;
  align-items: center;
  background-color: transparent;
  font-weight: 300;
  font-size: 24px;
  color: var(--color-primary-2);
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
  outline-offset: 0;
  outline-width: 0;
  outline-color: var(--color-brand-2-accent);
  outline-style: solid;
  height: fit-content;
  transition: background-color .1s, color .1s, outline-width .1s;
}

@media (max-width: 1366px) {
  .brandbar__feedback-link {
    margin-left: auto;
    margin-right: 80px;
    order: 2;
  }
}

@media (max-width: 1280px) {
  .brandbar__feedback-link {
    font-size: 16px;
    text-decoration: underline;
  }
}

@media (max-width: 880px) {
  .brandbar__feedback-link {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .brandbar__feedback-link {
    padding-right: 24px;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 460px) {
  .brandbar__feedback-link {
    display: none;
  }
}

.brandbar__navigation-link:hover,
.brandbar__navigation-link:focus,
.brandbar__feedback-link:hover,
.brandbar__feedback-link:focus {
  background-color: var(--color-brand-2-accent);
  color: var(--color-brand-1);
  text-decoration: none;
  outline-width: 8px;
}

.brandbar__navigation-link:focus {
  outline-offset: 0;
}