@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;600;700&family=Roboto+Mono:wght@100;400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@800&display=swap");
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


.mark1 {
  -webkit-animation: 1s highlight 1s 1 normal forwards;
          animation: 1s highlight 1s 1 normal forwards;
  background-color: none;
  background: linear-gradient(90deg, #FFFF00 50%, rgba(255, 255, 255, 0) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
}

.mark2 {
  -webkit-animation: 1s highlight 1s 1 normal forwards;
          animation: 1s highlight 1s 1 normal forwards;
  background-color: none;
  background: linear-gradient(90deg, #E851F9 50%, rgba(255, 255, 255, 0) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
}

.mark3 {
  color: white;
  -webkit-animation: 1s highlight 1s 1 normal forwards;
          animation: 1s highlight 1s 1 normal forwards;
  background-color: none;
  background: linear-gradient(90deg, #000000 50%, rgba(255, 255, 255, 0) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
}


@-webkit-keyframes highlight {
  to {
    background-position: 0 0;
  }
}

@keyframes highlight {
  to {
    background-position: 0 0;
  }
}
.mark2 {
  -webkit-animation: 1s highlight 1s 1 normal forwards;
          animation: 1s highlight 1s 1 normal forwards;
  background-color: none;
  background: linear-gradient(90deg, #F351F9 50%, rgba(255, 255, 255, 0) 50%);
  color: white;
  background-size: 200% 100%;
  background-position: 100% 0;
}

@-webkit-keyframes highlight {
  to {
    background-position: 0 0;
  }
}

@keyframes highlight {
  to {
    background-position: 0 0;
  }
}
.moving-border {
  width: 200px;
  height: 300px;
  position: relative;
  background: #111;
  padding: 1px;
}
.moving-border::before,
.moving-border::after {
  content: "";
  position: absolute;
  inset: -0.2rem;
  z-index: -1;
  background: linear-gradient(var(--angle), 
    #FFFF00,  #FFFF00, #FFFF00);
  animation: rotate 10s linear infinite;
}
.moving-border::after {
  filter: blur(2px);
}
@keyframes rotate {
  0%     { --angle: 0deg; }
  100%   { --angle: 360deg;
  }
}
.parallax-sticker {
    width: 200px; /* Adjust based on your sticker size */
    height: 200px; /* Adjust based on your sticker size */
    background-size: contain;
    background-repeat: no-repeat;

}

.sticker1 {
    background-image: url('sticker.png');
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sticker2 {
    background-image: url('xx.png');
    width: 750px;
    height: 400px;
    top: 100%;
    left: 65%; /* Updated to position on the left side */
    /* Combine translate and rotate in the transform property */
    transform: translate(-50%, -50%) rotate(25deg); /* Correct rotation unit to degrees */
    position: absolute; /* Ensure positioning relative to the nearest positioned ancestor */
}

body::before {
  --size: 70px;
  --line: hsl(0 0% 100% / 0.13);
  --thickness: 2px;
  --offset: 20px;
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0 calc(var(--size) - var(--thickness)), var(--line) calc(var(--size) - var(--thickness)) var(--size)) var(--offset) var(--offset) / var(--size) var(--size),
    linear-gradient(90deg, transparent 0 calc(var(--size) - var(--thickness)), var(--line) calc(var(--size) - var(--thickness)) var(--size)) var(--offset) var(--offset) / var(--size) var(--size);
}


.wrapper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

}
.wrapper .card {
  position: relative;
  width: 300px;
  height: 418px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  transform-style: preserve-3d;
  transform: perspective(400px);
  background-color: #f5f6f7;
}
.card.hackbox {
  background-color: #141d2b;
}
.hb-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hackbox-heading {
  color: #9fef00;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}
.hackbox-span {
  font-family: "Raleway", sans-serif;
  font-family: 100;
  color: #9fef00;
  font-size: 2.5em;
}
.hackbox-heading:hover {
  color: #ffe700;
}
.hackbox p {
  color: #a4b1cd;
}
.hb {
  color: #9fef00;
}
.hb:hover {
  color: #fff;
}

.card.tryhackme {
  background-color: #161e2d;
}
.tryhackme-heading {
  color: #a6170e;
  font-family: "Ubuntu Mono", monospace;
}

.tryhackme-heading:hover {
  color: #fff;
}

.tryhackme p {
  color: #8e929c;
  font-family: "Ubuntu", sans-serif;
}
.tryhackme p:hover {
  color: #fff;
}
.tr:hover {
  color: #88cc14;
}
.tr {
  color: #a6170e;
}

h2 {
  color: #0a0a23;
  font-size: 2.5rem;
  text-align: center;
  font-family: "Roboto-mono", sans-serif;
}

ul {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding-top: 30px;
}

li {
  cursor: pointer;
  width: 30px;
  height: 30px;
}
i {
  color: #0a0a23;
  font-size: 2em;
  transition: all 0.3s ease;
}
i:hover {
  transform: translate3d(0, -12px, 22px);
  color: #616171;
}
.material-icons-outlined {
  color: #767676;
}

h2 {
  transition: all 0.4s ease;
  color: white;
}
h2:hover {
  transform: translate3d(0, -10px, 20px);
  color: white;
}
h5 {
  font-family: "Jost", sans-serif;
}
footer {
  flex-wrap: wrap;
}
a {
  text-decoration: none;
}




.swiper {
  width: 100%;
}

.swiper-slide {
  width: 300px;
  height: 400px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  filter: blur(0px);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}

.swiper-slide-active {
  filter: blur(0px);
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-slide span {
  text-transform: uppercase;
  color: #fff;
  background: #1b7402;
  padding: 7px 18px 7px 25px;
  display: inline-block;
  border-radius: 0 20px 20px 0px;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-family: "Open Sans", sans-serif;
}

.swiper-slide--one span {
  background: #62667f;
}

.swiper-slide--two span {
  background: #087ac4;
}

.swiper-slide--three span {
  background: #b45205;
}

.swiper-slide--four span {
  background: #087ac4;
}

.swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 25px 45px 0 25px;
}

.swiper-slide p {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  padding: 0 25px 35px 25px;
}



.swiper-slide--one {
  background: 
    url(certs_img/444.png)
      no-repeat 50% 50% / cover;
}

.swiper-slide--two {
  background:
    url("certs_img/BRNB42200190B6B_002286-3-1.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--three {
  background:
    url("certs_img/555.png")
    no-repeat 50% 50% / cover;
}

.swiper-slide--four {
  background:
    url("certs_img/Скан_I.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--five {
  background:
    url("certs_img/Скан_II.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--six {
  background:
    url("next.png")
      no-repeat 50% 50% / cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}















.container__cards{
    color: white;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card{
    color: white;
    width: 300px;
    margin: 10px;
    transition: all 300ms;
}

.card:hover{
    width: 350px;
}

.card .cover{
    color: white;
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card .cover img{
    width: 250px;
    display: block;
    margin: auto;
    position: relative;
    top: 40px;
    z-index: 1;
    filter: drop-shadow(5px 5px 4px rgba(0,0,0,0.5));
    transition: all 400ms;
}

.card:hover .cover img{
    top: 0px;
    filter: none;
}

.card .img__back{
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: -80px;
    left: 0;
    background-size: cover;
    border-radius: 20px;
    transition: all 300ms;
}

.card:nth-of-type(1) .img__back{
    background-image: url(https://i.pinimg.com/564x/39/b5/10/39b5103f7c6f5d868d165af0977c2f44.jpg);
}

.card:nth-of-type(2) .img__back{
    background-image: url(https://i.pinimg.com/564x/9f/84/2b/9f842b10f092cfa3815cde658f39ecf7.jpg);
}

.card:nth-of-type(3) .img__back{
    background-image: url(https://i.pinimg.com/564x/6c/45/18/6c45183b1ac366445891a2d7f9a710db.jpg);
}

.card:hover .img__back{
    bottom: -40px;
}

.card .description{
    color: white;
    background: #18181A;
    margin-top: -10px;
    padding: 20px;
    border-radius: 0px 0px 20px 20px;
    transition: all 300ms;
}

.card:hover .description{
    padding: 40px;
}

.card .description h2{
    margin-top: 10px;
}

.card .description p{
    margin-top: 10px;
}

.card .description input{

    padding: 10px 40px;
    margin-top: 20px;
    border: none;
    background: #FFFF00;
    cursor: pointer;
    border-radius: 8px;
    transition: all 300ms;
}

.card .description input:hover{

    background: #000000;
}