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

body {
  font-family: "Noto Sans";
  width: 100%;
}

header,
section,
article,
footer {
  width: 100%;
}

ul,
li,
ol {
  margin: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
  font-weight: bolder;
}

path {
  transition: all 0.3s;
}

.header {
  z-index: 9999;
  position: sticky;
  top: 0;
}
.header__container {
  padding: 15px;
  background-color: rgb(46, 7, 7);
  text-align: center;
}
.header__logo {
  height: 40px;
  margin-left: 10px;
}
.header__logo:hover path {
  cursor: pointer;
  fill: #8f8f8f;
}
.header__logo:active path {
  transform-origin: center;
  transform: scale(0.9);
}
.header__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.header__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  -moz-column-gap: 75px;
  column-gap: 75px;
}
@media (max-width: 768px) {
  .header__list {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    flex-direction: column;
    background: rgb(46, 7, 7);
    padding: 50px 0px;
    width: 100%;
    gap: 40px;
    opacity: 0;
    transform: translateY(-250px);
    border-radius: 0px 0px 16px 16px;
    pointer-events: none;
    transition: all 0.5s ease;
  }
}
@media (max-width: 768px) {
  .header__list.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
}
.header__list-link {
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  color: white;
  transition: all 0.3s;
  font-weight: bold;
  width: 100%;
}
.header__list-link:hover {
  color: #b7b7b7;
}
.header__list-link:active {
  color: #8f8f8f;
}
.header__burger {
  display: none;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  height: 40px;
}
.header__burger:hover path {
  stroke: #b7b7b7;
}
@media (max-width: 768px) {
  .header__burger {
    display: block;
  }
}

.hero {
  padding-block: 50px;
  color: #460202;
  text-align: center;
  background-color: rgba(74, 10, 10, 0.368627451);
}
.hero__container {
  width: 100%;
  padding-block: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero__title {
  font-size: 50px;
  margin-bottom: 20px;
}
.hero__text {
  font-size: 20px;
  font-weight: bolder;
  margin: 0 auto;
  width: 500px;
}
.hero__subtitle {
  font-size: 35px;
  margin-block: 50px;
}
.hero__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 50px;
  justify-content: center;
}
.hero__list-item {
  width: 250px;
  box-shadow: 0 0 10px #3b0000;
  transition: transform 0.3s;
  border-radius: 8px;
}
.hero__list-item:hover {
  transform: translateY(-10px);
}
.hero__list-img {
  width: 250px;
  aspect-ratio: 1;
  border-radius: 8px;
}
@media (max-width: 1200px) {
  .hero__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 150px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .hero__list-img {
    width: 150px;
    aspect-ratio: 1;
  }
  .hero__list-item {
    width: 150px;
  }
  .hero__text {
    width: 350px;
    font-size: 15px;
  }
}

.video-subtitle {
  font-size: 30px;
}
@media (max-width: 768px) {
  .video-subtitle {
    font-size: 20px;
    margin-top: 20px;
  }
}

.video-info {
  color: #3b0000;
  background-color: rgba(91, 0, 0, 0.4352941176);
}
.video-info__container {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 20px;
}
.video-info__text-container {
  max-width: 700px;
  font-weight: bolder;
  padding-block: 20px;
  padding-inline: 20px;
  border: 0.5px solid #3b0000;
  border-radius: 8px;
  margin: 50px auto 0px auto;
}
@media (max-width: 768px) {
  .video-info__text-container {
    width: 400px;
  }
}
.video-info__text {
  font-size: 18px;
  line-height: 2;
  font-weight: bolder;
  text-align: center;
}
@media (max-width: 768px) {
  .video-info__text {
    font-size: 15px;
  }
}
.video-info__title {
  font-size: 45px;
  padding-top: 50px;
  text-align: center;
  color: #3b0000;
}
.video-info__video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block-start: 100px;
  padding-block-end: 50px;
}
.video-info__video {
  box-shadow: 0 0 20px #460202;
  border-radius: 8px;
}
@media (max-width: 1200px) {
  .video-info__video {
    width: 620px;
    height: 350px;
  }
}
@media (max-width: 768px) {
  .video-info__title {
    font-size: 18px;
    padding-top: 30px;
  }
  .video-info__video-container {
    padding-block: 50px;
  }
  .video-info__video {
    width: 430px;
    height: 250px;
  }
}
@media (max-width: 450px) {
  .video-info__video {
    width: 340px;
    height: 190px;
  }
  .video-info__text-container {
    width: 350px;
  }
  .video-info__text {
    font-size: 14px;
  }
}

.extra-info {
  color: rgb(80, 18, 18);
  background-color: rgba(112, 7, 7, 0.368627451);
}
.extra-info__container {
  padding: 25px;
  padding-bottom: 50px;
}
.extra-info__title {
  text-align: center;
  margin-bottom: 100px;
}
.extra-info__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.extra-info__list-item {
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  width: 250px;
  margin: 0 auto;
}
.extra-info__subtitle {
  color: rgb(82, 0, 0);
  position: relative;
  font-size: 25px;
  display: inline-block;
}
.extra-info__subtitle::before {
  content: "";
  display: block;
  width: 200px;
  aspect-ratio: 1;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.extra-info__subtitle.brain::before {
  background-image: url("../img/grid-logos/brain.svg");
}
.extra-info__subtitle.silence::before {
  background-image: url("../img/grid-logos/silence.svg");
}
.extra-info__subtitle.books::before {
  background-image: url("../img/grid-logos/books.svg");
}
.extra-info__subtitle.clock::before {
  background-image: url("../img/grid-logos/clock.svg");
}
.extra-info__subtitle.idea::before {
  background-image: url("../img/grid-logos/idea.svg");
}
.extra-info__subtitle.laptop::before {
  background-image: url("../img/grid-logos/laptop.svg");
}
.extra-info__text {
  margin-top: 20px;
  font-size: 18px;
}
@media (max-width: 1024px) {
  .extra-info__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .extra-info__list-item {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .extra-info__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .extra-info__list-item {
    width: 100%;
    padding-block: 20px;
  }
  .extra-info__subtitle {
    font-size: 20px;
  }
  .extra-info__text {
    font-size: 14px;
    line-height: 1.5;
  }
}

.footer {
  background-color: rgba(94, 5, 5, 0.559);
}
.footer a {
  color: rgb(73, 2, 2);
  display: inline-block;
  overflow-wrap: break-word;
  word-break: break-word;
}
.footer__container {
  padding: 50px;
}
@media (max-width: 768px) {
  .footer__container {
    padding: 20px;
  }
}
.footer__subtitle {
  font-size: 20px;
  color: #420000;
}
.footer__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__text.copyright {
  font-size: 20px;
  font-weight: bolder;
  color: rgb(42, 3, 3);
}
@media (max-width: 768px) {
  .footer__text.copyright {
    font-size: 15px;
  }
}
.footer__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer__list-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 2;
}
@media (max-width: 768px) {
  .footer__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer__list-item:last-child {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .footer__list-item:last-child {
    grid-column: auto;
    margin-top: 0;
    text-align: left;
  }
}

.rotated {
  transform: rotate(-90deg);
}

@media (max-width: 1920px) {
  .header__burger {
    display: none;
  }
}
@media (max-width: 768px) {
  .header__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .header__burger {
    display: block;
  }
  .hero__title {
    font-size: 30px;
  }
}