@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBlack.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraBold.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaExtraLight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaLight.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaMedium.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaSemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Lufga";
  src: url("../fonts/LufgaThin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
:root {
  --font-family: "Lufga", sans-serif;
}
:root {
  --primary-primary-800: #3b269d;
  --primary-primary-600: #6432ff;
  --primary-primary-200: #d2cde8;
  --secondary-blue: #1badff;
  --secondary-pink: #e93fe2;
  --text-primary: #051f2e;
  --text-secondary: #375262;
  --text-extra: #a4afb5;
  --text-white: #fff;
  --dark-shades-900: #051f2e;
  --dark-shades-800: #0e2b3b;
  --dark-shades-400: #2c688a;
  --light-shades-300: #e1e7eb;
  --light-shades-200: #f5f7fa;
  --light-shades-white: #fff;
  --gradient-primary: linear-gradient(135.98deg, #6b83f4 0%, #a862eb 100%);
  --gradient-secondary: linear-gradient(90deg, #6835ff 0%, #1aadff 100%);
  --gradient-tertiary: linear-gradient(128.26deg, #a3deff 0%, #fdadf2 100%);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  background: #ffffff1a;
  height: 100%;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

h1 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 45px;
  line-height: 133%;
  color: var(--text-primary);
}
h2 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 45px;
  line-height: 133%;
  text-align: center;
  color: var(--text-white);
}
h3 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 168%;
  color: var(--text-primary);
}

p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 13px;
  line-height: 138%;
  color: var(--text-secondary);
}

.wrapper-blog {
  background: var(--light-shades-white);
  position: relative;
  width: 100%;
}

.wrapper-blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 74%);
  background: url("../img/blog-background.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}


/* Blog-section */

.blog-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 84px 84px;
  z-index: 1;
}

.blog-wrapper-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 36px;
  z-index: 1;
}

.blog-wrapper-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.blog-wrapper-content-left {
  grid-area: 1 / 1 / 4 / 2;
  background-size: cover !important;
    background-position: center;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 8px;
    max-width: 624px;
    width: 100%;
}

.blog-left-new {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 56px;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #6b83f4 0%, #a862eb 100%);
}
.blog-left-new p {
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  text-align: center;
  color: var(--text-white);
  text-transform: uppercase;
}
.blog-left-text {
  position: relative;
  display: flex;
  padding: 12px 18px 16px;
  border-radius: 8px;
  box-shadow: 0 14px 46px 0 rgba(10, 46, 66, 0.12);
  background: var(--text-white);
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.blog-left-text-content {
  max-width: 480px;
  width: 100%;
}
.border-blog-left {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.blog-left-text-data {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 138%;
  color: var(--text-secondary);
}

.blog-left-text-title {
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-left-text-discription {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.right-img-mobile {
  display: none;
}
.blog-wrapper-content-right-top,
.blog-wrapper-content-right-middle,
.blog-wrapper-content-right-bottom {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
  background: var(--light-shades-white);
}

.blog-wrapper-content-right-top img,
.blog-wrapper-content-right-middle img,
.blog-wrapper-content-right-bottom img {
    max-width: 100%;
}

.blog-right-img {
  display: flex;
}

.blog-right-img img {
    width: 164px;
    height: 104px;
    object-fit: cover;
    border-radius: 6px;
    object-fit: contain;
}
.blog-right-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
  max-width: 300px;
  width: 100%;
  overflow: hidden;
}

.blog-right-text-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-blog-prev {
  position: absolute;
  bottom: 20px;
  right: 12px;
}
.blog-wrapper-content-left,
.blog-wrapper-content-right-top,
.blog-wrapper-content-right-middle,
.blog-wrapper-content-right-bottom,
.publication {
  transition: transform 0.7s ease;
    will-change: transform;
}
.blog-wrapper-content-left:hover {
  transform: scale(1.05);
}
.blog-wrapper-content-right-top:hover,
.blog-wrapper-content-right-middle:hover,
.blog-wrapper-content-right-bottom:hover,
.publication:hover {
  transform: scale(1.05);
}
/* Library-section */

#library-section {
  background: var(--light-shades-200);
}
.library-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 32px;
  grid-row-gap: 48px;
  padding: 48px 84px 48px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.library-wrapper-title {
	display: block;
  padding: 100px 84px 0px;
  max-width: 1440px;
  width: 100%;
	margin: 0 auto;
	align-content: left;
}
  
.library-wrapper-title h2 {
	color: var(--text-primary);
	text-align: left;
}

.publication {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px 16px;
  background: var(--light-shades-white);
  border-radius: 12px;
  gap: 32px;
}

.img-publication {
    display: inline-flex;
    align-items: center;
    height: 240px;
}

 .img-publication img {
     width: 100%;
     height: 100%;
     object-fit: contain;
  }
.discription-publication {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 152px;
}
.discription-publication p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.discription-publication h3 {
  margin-bottom: 6px;
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 12px;
}
/* Start section */

#start-section {
  background: url(../img/background-start.png) no-repeat center;
  background-size: cover;
}

.start-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.start-wrapper-discription {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.start-wrapper-discription p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 175%;
  text-align: center;
  color: var(--text-white);
}

.start-wrapper-button {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  max-width: 243px;
  width: 100%;
  background-color: var(--light-shades-white);
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 19px;
  line-height: 168%;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0 auto;
  transition: background-color 0.3s ease;
  text-transform: capitalize;
}

.start-wrapper-button:hover {
    background-color: var(--text-primary);
    color: var(--text-white);
}
.start-wrapper-button:active {
    background-color: var(--light-shades-white);
    color: var(--text-primary);
}

/* Breakpoint */

@media (max-width: 1024px) {
  h2 {
    font-size: 36px;
    line-height: 144%;
  }

    .wrapper-blog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 60.9%);
    background: url("../img/blog-background.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* Blog-section */

  .blog-wrapper {
    max-width: 1023px;
    width: 100%;
    padding: 40px 84px 96px;
    z-index: 1;
  }

  .blog-wrapper-title {
    margin-bottom: 40px;
    z-index: 1;
  }

  .blog-wrapper-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    grid-column-gap: 0px;
    grid-row-gap: 24px;
    margin-bottom: 48px;
  }

  .blog-wrapper-content-left {
    grid-area: 1 / 1 / 2 / 2;
	aspect-ratio: 2 / 1;
    max-width: 100%;
  }

  .blog-left-text-content {
      max-width: 100%;
  }

  .blog-right-text {
      padding: 10px 0;
      max-width: 580px;
      width: 100%;
  }

  .blog-right-text-title {
    max-width: 100%;
  }

  .link-blog-prev {
    bottom: 40px;
  }

  /* Library-section */

  .library-wrapper {
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 36px;
    padding: 64px 84px;
    max-width: 1023px;
    width: 100%;
  }
  .publication {
    padding: 8px 16px 18px;
  }
 
  .discription-publication h3 {
    max-width: 232px;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
  }
  .discription-publication p {
    max-width: 232px;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Start section */

  #start-section {
    background: url(../img/background-start-tab.png) no-repeat center;
    background-size: cover;
  }
  .start-wrapper {
    max-width: 1023px;
    width: 100%;
    padding: 72px 0 80px;
    gap: 24px;
  }

  .start-wrapper-button {
    max-width: 220px;
    width: 100%;
  }
}
@media (max-width: 955px) {
  .wrapper-blog::before {
    height: calc(100% - 61.7%);
  }
}
@media (max-width: 945px) {
  .wrapper-blog::before {
    height: calc(100% - 61.8%);
  }
}
@media (max-width: 870px) {
  .wrapper-blog::before {
    height: calc(100% - 62.5%);
  }
}
@media (max-width: 800px) {
  .wrapper-blog::before {
    height: calc(100% - 63.2%);
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
    line-height: 144%;
  }
  h2 {
    font-size: 36px;
    line-height: 144%;
  }

  .wrapper-blog::before {
      display: none; 
  }
  .wrapper-blog {
      background: url(../img/blog-background-mobile-global.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: 100% 100%;
  } 

  /* Blog-section */

  .blog-wrapper {
    margin: 0 auto;
    padding: 40px 64px 0;
    z-index: 1;
  }

  .blog-wrapper-title {
    margin-bottom: 36px;
    z-index: 1;
  }

  .blog-wrapper-content {
    display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        grid-column-gap: 0px;
        grid-row-gap: 16px;
        margin-bottom: 0;
  }

  .blog-wrapper-content-left {
    height: 100%;
    position: relative;
    padding: 8px 8px 12px;
    grid-area: 1 / 1 / 2 / 2;
    max-width: 100%;
    background-size: cover !important;
  }
  .blog-left-text {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    border: none;
    z-index: 10;
  }

  .blog-left-text::before {
      content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: inherit;
        padding: 1.5px;
        background: linear-gradient(to right, #A3DEFF 0%, #FDADF2 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -10;
  }

  .border-blog-left {
      display: none;
  }

  .blog-left-text-content {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .link-blog-new {
      display: none;
  }

  .right-img {
    display: none;
  }
  .right-img-mobile {
    display: block;
    max-width: 120px;
    width: 100%;
  }
  .blog-wrapper-content-right-top,
  .blog-wrapper-content-right-middle,
  .blog-wrapper-content-right-bottom {
    padding: 8px;
    gap: 8px;
    min-height: 128px;
    height: 100%;
  }

   .blog-wrapper-content-right-top img,
  .blog-wrapper-content-right-middle img,
  .blog-wrapper-content-right-bottom img {
      max-width: 120px;
      width: 100%;
  }

  .blog-right-text {
    gap: 8px;
    padding: 5px 0;
    max-width: 100%;
  }

  .blog-right-text-title {
    max-width: 100%;
  }

  .link-blog-prev {
    display: none;
  }


  .blog-wrapper-content-left:hover,
  .blog-wrapper-content-right-top:hover,
  .blog-wrapper-content-right-middle:hover,
  .blog-wrapper-content-right-bottom:hover,
  .publication:hover {
    transform: scale(1);
  }
  /* Library-section */
  #library-section {
      background: none;
  }
  .library-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 64px 40px;
    margin: 0 auto;
  }

  .library-wrapper-title {
      display: flex;
      padding: 60px 64px 0;
      margin: 0 auto;
    }
  
  .library-wrapper-title h2 {
     color: var(--text-primary); 
  }
  .discription-publication p {
    max-width: 100%;
  }
  .img-publication img {
    width: 100%;
  }

  .discription-publication h3 {
    margin-bottom: 2px;
    max-width: 100%;
  }
  /* Start section */

  .start-wrapper {
    max-width: 393px;
    width: 100%;
    padding: 40px 20px;
    gap: 64px;
  }

  .start-wrapper-button {
    max-width: 100%;
    font-size: 16px;
    line-height: 137%;
    color: var(--text-primary);
  }
}

@media (max-width: 520px) {
    .blog-wrapper {
        max-width: 393px;
        width: 100%;
        margin: 0 auto;
        padding: 40px 20px 0;
        z-index: 1;
    }

    .library-wrapper-title {
      display: flex;
      max-width: 393px;
      width: 100%;
      padding: 60px 20px 0;
      margin: 0 auto;
    }

    .library-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 20px 40px;
        max-width: 393px;
        width: 100%;
        margin: 0 auto;
    }
}




