@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1288px;
  margin: 0 auto;
}

body {
  color: var(--text-color);
  background-color: var(--base-color);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  font-size: 34px;
  padding: 10px 0;
}

h2 {
  display: inline-block;
  font-size: 28px;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

h2::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 80%;
  width: 100%;
  height: 4px;
  background-color: var(--main-color);
}

h3 {
  padding: 10px 0;
}

ul {
  list-style-type: none;
}

li {
  padding: 10px 0;
}

nav > ul {
  text-transform: uppercase;
}

nav > ul > li > a:hover {
  color: var(--main-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 10px;
  line-height: 2;
}

.u-border-bottom {
  border-bottom: 1px solid #ccc;
}

.u-border-right {
  border-right: 1px solid #ccc;
}
@media (max-width: 1025px) {
  .u-border-right {
    border-right: none;
  }
}

.u-uppercase {
  text-transform: uppercase;
  margin: 10px 0;
}

main {
  padding: 20px 40px;
}
main span {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

:root {
  --main-color: rgb(133, 133, 248);
  --base-color: rgb(244, 253, 253);
  --text-color: rgb(37, 36, 36);
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
}
.article-new {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 40px;
}
.article-new p {
  padding-bottom: 10px;
}

@media (max-width: 1025px) {
  .article-container {
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 20px 0;
  }
  .article-new {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
  }
}
.cart {
  display: flex;
  gap: 40px;
  padding: 40px 20px 20px 20px;
}
.cart-course {
  display: flex;
  flex-direction: column;
  width: 20%;
}
.cart p {
  padding-bottom: 10px;
}

@media (max-width: 1025px) {
  .cart {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    padding: 0;
  }
  .cart-course {
    flex-basis: 40%;
    padding: 6px;
    border: 1px solid gray;
    border-radius: 4px;
  }
}
footer {
  padding: 0 40px;
}

.footer {
  display: flex;
  gap: 40px;
  padding: 20px;
}
.footer-element {
  display: flex;
  gap: 40px;
  padding: 20px;
}
@media (max-width: 1025px) {
  .footer {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
}

header {
  font-size: 10px;
}
header h3 {
  display: inline-block;
  position: relative;
  z-index: 4;
}
header h3::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  top: 80%;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
}

.hero {
  display: flex;
  padding: 20px;
  gap: 20px;
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 1;
  padding-top: 40px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background-color: var(--main-color);
}
.hero > div > p:nth-of-type(2) {
  padding-bottom: 10px;
}

@media (max-width: 1025px) {
  .hero {
    flex-direction: column-reverse;
  }
}
.menu {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background: #f6f7f9;
}
.menu.active {
  display: block;
  animation: slideIn 0.3s forwards;
}
.menu-arrow {
  fill: var(--main-color);
  cursor: pointer;
}
.menu-container {
  height: 100%;
  overflow-y: auto;
  border: 1px solid #ccc;
}
.menu-nav {
  display: flex;
  align-items: center;
  background-color: #e6eaf4;
  height: 14vh;
}
.menu-input {
  width: 80%;
  height: 28px;
  font-size: 10px;
  border: 2px solid #e5e5ed;
  border-radius: 6px;
  margin: 10px;
  padding: 4px;
}
.menu-main {
  padding: 10px;
}
.menu-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.menu-info p {
  padding-bottom: 10px;
}
.menu-contact {
  display: flex;
  align-items: center;
}
.menu-mail {
  text-decoration: underline;
}
.menu-rights {
  font-size: 8px;
}
@keyframes slideIn {
  from {
    left: -250px;
  }
  to {
    left: 0;
  }
}

.button {
  width: 50%;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 10px;
  margin-top: auto;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 4px;
  cursor: pointer;
}
.button:active {
  background-color: #e1e1f5;
}
@media (max-width: 1025px) {
  .button {
    width: 80%;
  }
}

.icon {
  fill: var(--main-color);
  cursor: pointer;
  margin: 10px;
}

.picture {
  width: 50%;
  border-radius: 8px;
}
.picture-wrapper {
  overflow: hidden;
}
.picture-menu {
  width: 100%;
  border: 2px solid #e5e5ed;
  border-radius: 6px;
  margin: 10px 0;
  transition: transform 0.4s ease;
}
.picture-menu:hover {
  transform: scale(1.2);
}
.picture-article {
  width: 100%;
  height: 40vh;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.picture-article:hover {
  transform: scale(1.2);
}
.picture-course {
  width: 100%;
  height: 30vh;
  border-radius: 6px;
  background: radial-gradient(circle, rgb(244, 251, 253) 0%, rgb(244, 251, 253) 14%, rgb(244, 251, 253) 26%, rgb(133, 133, 248) 100%, rgb(235, 225, 138) 100%);
  transition: transform 0.4s ease;
}
.picture-course:hover {
  box-shadow: 10px 10px 15px #3e3c3c;
}

@media (max-width: 1025px) {
  .picture {
    width: 100%;
  }
  .picture-picture {
    height: auto;
  }
  .picture-article {
    max-height: 200px;
  }
  .picture-course {
    max-height: 100px;
  }
}/*# sourceMappingURL=main.css.map */