.main__wrapper {
  padding: 0 30px;
  margin: 0 auto;
  display: flex;
  justify-content: center;

  @media (max-width: 768px) {
    padding: 30px;
  }

  @media (max-width: 560px) {
    padding: 0px;
  }
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 100px;
  width: 100%;
  max-width: 1000px;

  @media (max-width: 768px) {
    max-width: fit-content;
    width: 100%;
  }
}

.content-wrapper {
  position: relative;

  background-color: white;

  margin: 0 auto;
  width: 100%;
}

.side-box {
  position: fixed;
  top: 0;

  height: 100%;
  width: 100%;
  max-width: 385px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;

  @media (max-width: 1440px) {
    max-width: 250px;
    watch: 100%;
    height: 80%;
  }

  @media (max-width: 960px) {
    display: none;
  }
}

.side-box-img {
  @media (max-width: 1440px) {
    watch: 100%;
    height: 80%;
  }
}

.side-box.right {
  right: 0;
}

.side-box.left {
  left: 0;
}

@keyframes slideDown {
  from {
    bottom: 0;
  }
  to {
    bottom: -100px;
  }
}

.banner-bottom__container {
  position: fixed;
  display: block;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 22;
  margin: 0 auto;
  background-color: transparent;
  transition: bottom 0.5s ease;

  @media (max-width: 768px) {
    display: none;
  }
}

.banner-bottom__container.closed {
  bottom: -100px;
}

.banner-bottom__link {
  display: flex;
  justify-content: center;
  height: auto;
}

.banner-bottom__link img {
  max-width: 1920px;
  width: 100%;
  height: auto;
}

.banner-bottom__icon {
  position: absolute;
  right: 10px;
  background: #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.banner-bottom__icon img {
  background: transparent;
  width: 30px;
  height: 30px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 40px;
  background-color: #313131;
  display: flex;
  align-items: center;

  @media (max-width: 768px) {
    padding: 0 16px;
  }
}

.banner-top__wrapper {
  position: sticky;
  top: 0px;

  background: url("../img/banner-top-bg.png") center;
  background-repeat: no-repeat;
  background-size: contain;

  display: flex;
  justify-content: space-around;
  align-items: center;

  height: 250px;
  max-width: 1000px;
  width: 100%;

  cursor: pointer;

  @media (max-width: 768px) {
    display: none;
  }
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropbtn {
  border: none;
  background-color: transparent;

  display: flex;
  align-items: center;
  gap: 5px;

  color: white;
  cursor: pointer;

  padding: 0;

  height: 40px;
}

.dropbtn:hover {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.6);
}

.subscribe-text {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.dropdown-content {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.22);
  position: absolute;

  top: 28px;
  left: 0;
  display: none;
  max-width: 146px;
  z-index: 11;
  margin-top: 10px;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

.dropdown-content a {
  border-radius: 3px;
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1;

  padding: 12px 31px 12px 10px;
  font-size: 14px;
  color: #000;
  transition: background-color 0.25s ease-in-out;
  position: relative;
}

.dropdown-content a:hover {
  color: #000;
  background: #e5e5e5;
  text-decoration: none;
}

.dropdown-container:hover .dropdown-content {
  display: block;
}

.dropbtn:hover .text {
  text-decoration: underline;
}

.logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  background: url("../img/logo.png") no-repeat 0 0;
  background-size: 100% 200%;
  display: block;
  height: 40px;
  width: 132px;
}

.logo:hover {
  background-position: 0 -40px;
  cursor: pointer;
}

.authorization-container {
  display: flex;
  gap: 52px;

  line-height: 0;
}

@media (max-width: 768px) {
  .authorization-container {
    gap: 16px;
  }
}

.sign-up,
.sign-in {
  display: flex;
  align-items: center;
  gap: 5px;
}

.authorization-text {
  color: #777;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
}

.authorization-text:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #9a9a9a;
}

.footer {
  padding: 20px;
  background: #000;
  color: #fff;
  padding: 20px;

  @media (max-width: 768px) {
    padding: 20px 0;
  }

  @media (max-width: 560px) {
    padding: 20px;
  }
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 100%;

  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
}

.footer-nav a {
  color: #777;
  font-size: 12px;
  line-height: 16px;
  padding-right: 50px;
  text-decoration: none;
}

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

.footer-info {
  width: 170px;
}

.footer-info p {
  color: #777;
}

.footer-info a img {
  width: 20px;
  height: 20px;
}

.footer-nav .footer-nav-active {
  color: white;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  width: 100%;
  text-align: start;
  margin-top: 10px;
}

.footer-note p {
  margin-bottom: 5px;
  color: white;
  text-decoration: none;
}

.footer-note a {
  width: 170px;

  color: #2e859e;
  text-decoration: none;
}

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