html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat Alternates", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- header ---- */

.header {
  background-color: #333;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__link {
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  justify-content: end;
  align-items: center;
}

.menu {
  display: flex;
  margin: 26px 0;
}

.menu__item {
  padding-right: 27px;
  font-size: 20px;
  font-weight: 400;
}

.menu__item__main {
  font-weight: 500;
}

/* --- main --- */

.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1000px;
  clip-path: polygon(15% 0%, 100% 0, 100% 100%, 70% 100%);
  z-index: -1;
  background: linear-gradient(180deg, #47ceff 0%, #1488d9 100%);
}

.main__content {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr;
  grid-template-rows: 0.8fr 0.7fr;
  gap: 0px 0px;
  grid-template-areas:
    "logoImg main__content-info"
    "logoImg main__content-info";
}
.logoImg {
  grid-area: logoImg;
}
.main__content-info {
  grid-area: main__content-info;
}

.logoImg {
  max-width: 650px;
  margin: 50px 20px 90px 20px;
  z-index: -1;
}

.main__content-info {
  text-align: center;
  margin-top: 200px;
  padding: 10px;
}

.title__header-content {
  font-size: 60px;
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.btnRegistr {
  padding: 15px 25px;
  text-decoration: none;
  color: #202020;
  font-size: 24px;
  font-weight: 700;
  border-radius: 19px;
  background: #e0e0e0;
  box-shadow: 1px 6px 8px 0px rgba(0, 0, 0, 0.25);
}

.text-w{
  padding: 20px 0;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}

/* --- for titles --- */

.title {
  color: #202020;
  font-size: 48px;
  font-weight: 700;
  margin: 45px 35px;
}

/* --- about ---  */

.about{
  padding: 70px 0 35px 0;
}

.info__text {
  color: #000;
  font-size: 24px;
  font-weight: 400;
  padding: 0 10px;
  word-spacing: 2px;
  line-height: 35px;
}

.about__info {
  margin-bottom: 100px;
}

/* --- contests --- */


.contests .title {
  text-align: center;
  margin: 0;
}

.contests__deco-r {
  margin: 0 45px;
  color: #202020;
  font-size: 48px;
  font-weight: 700;
  display: block;
  text-align: end;
  
}

.contests__deco-l {
  margin: 6px 45px 15px;
  color: #202020;
  font-size: 48px;
  font-weight: 700;
  display: block;
}

.contests__logos {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  text-align: center;
}

.contests__logos-img {
  height: 230px;
  margin: 10px;
}

/* --- title contest --- */

.title__contest {
  text-align: center;
  color: #202020;
  font-size: 48px;
  font-weight: 700;
  margin: 45px 35px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-top: 100px;
}

.title__contestsName {
  text-transform: uppercase;
  color: #1488d9;
}

/* --- videoblog --- */

.info__text-videoblog {
  color: #000;
  font-size: 26px;
  font-weight: 600;
  padding: 0 10px;
}

.videoblog__img {
  max-height: 344px;
}

.btn__moreInfo {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  padding: 10px 50px;
  margin: 0 10px;
  border-radius: 12px;
  background: #1488d9;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.videoblog__info {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1.2fr auto 0.2fr;
  gap: 10px 10px;
  grid-template-areas:
    "title__contest videoblog__img videoblog__img"
    "info__text info__text info__text"
    "btn__moreInfo btn__moreInfo.";
}
.videoblog__img {
  grid-area: videoblog__img;
}
.title__contest {
  grid-area: title__contest;
}
.info__text {
  grid-area: info__text;
}
.btn__moreInfo {
  grid-area: btn__moreInfo;
}

/* --- The coding arena --- */

.theCodingArena__img {
  max-height: 344px;
}

.theCodingArena__info {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1.2fr auto 0.2fr;
  gap: 10px 10px;
  grid-template-areas:
    "title__contest theCodingArena__img theCodingArena__img"
    "info__text info__text info__text"
    "btn__moreInfo btn__moreInfo.";
}
.theCodingArena__img {
  grid-area: theCodingArena__img;
}
.title__contest {
  grid-area: title__contest;
}
.info__text {
  grid-area: info__text;
}
.btn__moreInfo {
  grid-area: btn__moreInfo;
}

/* --- Gamer --- */

.gamer__img {
  max-height: 344px;
}

.gamer__info {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1.2fr auto 0.2fr;
  gap: 10px 10px;
  grid-template-areas:
    "title__contest gamer__img gamer__img"
    "info__text info__text info__text"
    "btn__moreInfo btn__moreInfo.";
}
.gamer__img {
  grid-area: gamer__img;
}
.title__contest {
  grid-area: title__contest;
}
.info__text {
  grid-area: info__text;
}
.btn__moreInfo {
  grid-area: btn__moreInfo;
}

/* --- Code Runners --- */

.codeRunners__img {
  max-height: 344px;
}

.codeRunners__info {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1.2fr auto 0.2fr;
  gap: 10px 10px;
  grid-template-areas:
    "title__contest codeRunners__img codeRunners__img"
    "info__text info__text info__text"
    "btn__moreInfo btn__moreInfo.";
}
.codeRunners__img {
  grid-area: codeRunners__img;
}
.title__contest {
  grid-area: title__contest;
}
.info__text {
  grid-area: info__text;
}
.btn__moreInfo {
  grid-area: btn__moreInfo;
}

/* --- contacts --- */

.contacts {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
}

.contacts__line-title {
  margin-top: 100px;
  display: flex;
}

.line {
  margin: 70px 0;
  height: 5px;
  background-color: #333;
  min-width: 50px;
  width: 800px;
}

.contacts__text {
  padding: 40px;
}

.contacts__text-p {
  color: #333;
  font-size: 28px;
  font-weight: 400;
}
.contacts__text-p span {
  font-weight: 600;
}

.contacts__text-p a {
  text-decoration: underline;
  color: #333;
}

/* --- ParticipateInFestival --- */

.participateInFestival {
  background: linear-gradient(180deg, #47ceff 0%, #1488d9 100%);
  padding-bottom: 70px;
}

.participate__title {
  margin: 0;
  padding: 55px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

.participateInFestival .btnRegistr {
  display: block;
  text-align: center;
}

/* --- Footer --- */

.footer {
  background-color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__list {
  display: flex;
  margin: 40px 0;
}

.footer__list-link {
  color: #fff;
  text-decoration: none;
}

.footer__list-link {
  font-size: 14px;
  font-weight: 400;
}

.footer__list-item_c {
  padding: 0 70px;
}
