@import url(https://fonts.googleapis.com/css?family=Fira+Code:300,regular,500,600,700);
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Fira Code', sans-serif;
  font-style: normal;
}
.toAdmin {
  /* Its text "meet" in home */
  color: #ABB2BF;
  text-decoration: none;
  cursor: default;
}
b.hash {
  color: #C778DD;
  font-weight: 400;
}
ul{
  list-style: none;
  display: flex;
}
a.btn{
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  transition: .2s;
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid #C778DD;
}
a.btn:hover {
  transform: scale(1.1);
  font-weight: 600;
}
body{
  background-color: #282C33;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
}
.container {
  background-color: #282C33;
  width: 100%;
  min-height: 150vh;
  padding: 0 171px;
  position: relative;
}
nav {
  width: 100%;
  height: 61px;
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  margin-bottom: 62px;
}
nav .logo {
  height: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
}
nav .logo img{
  height: 21px;
}
nav h5{
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
}
nav ul{
  gap: 32px;
}
nav ul li a{
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #ABB2BF;
  transition: .2s;
  cursor: pointer;
  text-decoration: none;
}
nav ul li:hover a{
  font-weight: 500;
  color: #fff;
}
nav ul li:hover a b{
  font-weight: 500;
}
aside {
  position: absolute;
  top: 0;
  left: 17px;
  width: 32px;
  /*height: 311px;*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
aside .line {
  width: 1px;
  height: 191px;
  background: #ABB2BF;
}
aside a img{
  width: 32px;
  height: 32px;
}
section#home{
  width: 100%;
  min-height: 423px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 112px;
}
section#home .leftSide {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
section#home .leftSide h1{
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
}
section#home .leftSide h1 span{
  color: #C778DD;
}
section#home .leftSide p{
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #ABB2BF;
}
section#home .leftSide a.btn{
  width: 165px;
}
section#home .rightSide{
  position: relative;
  width: 48%;
  display: flex;
  align-items: center;
}
section#home .rightSide img{
  position: absolute;
  z-index: var(--z);
}
section#home .rightSide img.dots{
  top: 56px;
  left: 320px;
}
#projects {
  width: 100%;
  margin-bottom: 106px;
}
.top{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
}
.top h2{
  font-weight: 500;
  font-size: 32px;
  line-height: 42px;
  position: relative;
}
.top h2::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 105%;
  width: var(--wLine);
  height: 1px;
  background: #C778DD;
}
.top a{
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  transition: .2s;
  animation-name: scaleUp;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes scaleUp{
  from{
    color: #ffffff;
    transform: scale(1);
  }
  to{
    color: #C778DD;
    transform: scale(1.3);
  }
}
.top a:hover{
  transform: scale(1.1);
  font-weight: 600;
}
#projects .some{
  width: 100%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.one{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 390px;
  width: 330px;
  height: var(--h);
  border: 1px solid #ABB2BF;
}
.one img{
  width: 100%;
  height: 201px;
}
.one ul{
  width: 100%;
  padding: 8px;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ABB2BF;
}
.one ul li{
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #ABB2BF;
}
.one h2{
  font-weight: 500;
  font-size: 24px;
  line-height: 31px;
  margin: 16px;
}
.one p{
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #ABB2BF;
  margin: 0 16px;
}
.one a.btn{
  width: 114px;
  margin: 16px;
}
.one a.btn:hover{
  background: rgba(199, 120, 221, 0.2);
}
#skills {
  width: 100%;
  margin-bottom: 112px;
}
#skills>main ul{
  flex-direction: column;
  justify-content: space-evenly;
  gap: 10px;
  max-width: 70%;
}
#skills>main ul li{
  font-weight: 400;
  font-size: 32px;
  line-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#skills>main ul li img{
  width: 40px;
  border: 2px solid #00A300;
  padding: 6px;
  border-radius: 40%;
  animation: animateTick 1s linear var(--delay) 1 forwards normal;
  position: relative;
  opacity: 0;
}
@keyframes animateTick{
  from{
    opacity: 0;
    left: 100px;
  }
  to{
    opacity: 1;
    left: 0;
  }
}
#about{
  width: 100%;
  min-height: 50vh;
  margin-bottom: 135px;
}
#about .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#about .leftSide{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: 515px;
}
#about .leftSide p{
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #ABB2BF;
}
#about .leftSide a{
  width: 210px;
  margin-top: 27px;
}
#about .rightSide{
  position: relative;
  width: 30%;
  display: flex;
  align-items: center;
}
#about .rightSide img{
  position: absolute;
  z-index: var(--z);
}
#about .rightSide img.dots{
  left: 0;
  bottom: 100px;
}
#about .rightSide img.dots2 {
  left: 190px;
  top: 0;
}
#about .rightSide .line{
  width: 271px;
  height: 1px;
  background: #C778DD;
  position: absolute;
  top: 255px;
  left: 41px;
}
#contacts{
  width: 100%;
  margin-bottom: 130px;
}
#contacts .wrapper{
  display: flex;
  justify-content: space-between;
}
#contacts .wrapper p{
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #ABB2BF;
  max-width: 505px;
}
#contacts .wrapper .box{
  border: 1px solid #ABB2BF;
  width: 204px;
  min-height: 141px;
  padding: 16px;
}
#contacts .wrapper .box h3{
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 16px;
}
#contacts .wrapper .box ul{
  flex-direction: column;
  gap: 14px;
}
#contacts .wrapper .box ul li a{
  text-decoration: none;
  display: flex;
  justify-content: start;
  align-items: center;  
  color: #ABB2BF;
}
#contacts .wrapper .box ul li a:hover{
  color: #fff;
}
footer{
  width: 100%;
  min-height: 100px;
  border-top: 1px solid #ABB2BF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.decor .rectangle1{
  width: 91px;
  height: 91px;
  border: 1px solid #ABB2BF;
  position: absolute;
  top: 555px;
  right: 0;
}
.decor .rectangle2{
  width: 80px;
  height: 155px;
  border: 1px solid #ABB2BF;
  border-right: none;
  position: absolute;
  right: 0;
  top: 1170px;
}
.decor .n3{
  transform: rotate(180deg);
  left: 0;
  top: 2000px;
}
.decor .dots1{
  position: absolute;
  left: -50px;
  top: 720px;
}
.decor .dots2 {
  position: absolute;
  right: -20px;
  top: 2170px;
}
.decor .dots3 {
  position: absolute;
  left: -40px;
  top: 2410px;
}
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #C778DD;
}
::-webkit-scrollbar-thumb:hover { 
  background: #ABB2BF;
}


main.works {
  width: 100%;
}
main.works h1{
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 14px;
}
main.works>p{
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 68px;
}
main.works .apps{
  margin-top: 34px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 81px;
}
main.works .apps .smallOne{
  min-height: 230px;
}
footer p{
  text-align: center;
}
footer a{
  color: rgb(210 200 213 / 20%)
} 

/* Certifications carousel */ 
.certs {
  --certs-bg: #282c33;  
  --certs-card: #2f343c;    
  --certs-border: #abb2bf;  
  --certs-text: #ffffff;
  --certs-muted: #abb2bf;
  --certs-accent: #c778dd; 
  --certs-gap: 24px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  color: var(--certs-text);
}

/* Section heading: mirrors your "#projects" / "#skills" style */
.certs__title {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 600;
}
.certs__hash { color: var(--certs-accent); }

/* ---- Carousel layout ---- */
.certs__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.certs__track {
  display: flex;
  gap: var(--certs-gap);
  margin: 0;
  padding: 4px;
  list-style: none;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;            /* Firefox */
  -webkit-overflow-scrolling: touch;
}
.certs__track::-webkit-scrollbar { display: none; }
.certs__track:focus-visible {
  outline: 2px solid var(--certs-accent);
  outline-offset: 4px;
}

/* ---- Cards: 3 per row on desktop, 2 on tablet, 1 on phone ---- */
.certs__card {
  flex: 0 0 calc((100% - 2 * var(--certs-gap)) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--certs-card);
  border: 1px solid var(--certs-border);
  overflow: hidden;
}

.certs__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #1f2329;
  border-bottom: 1px solid var(--certs-border);
}

.certs__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.certs__name { margin: 0; font-size: 18px; font-weight: 600; }
.certs__issuer { margin: 0; color: var(--certs-accent); }
.certs__date { margin: 0; color: var(--certs-muted); font-size: 14px; }

.certs__link {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
  color: var(--certs-text);
  text-decoration: none;
  border-bottom: 1px solid var(--certs-accent);
}
.certs__link:hover { color: var(--certs-accent); }

/* ---- Arrow buttons ---- */
.certs__btn {
  flex: none;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  color: var(--certs-text);
  background: transparent;
  border: 1px solid var(--certs-border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.certs__btn:hover:not(:disabled) {
  border-color: var(--certs-accent);
  color: var(--certs-accent);
}
.certs__btn:focus-visible {
  outline: 2px solid var(--certs-accent);
  outline-offset: 2px;
}
.certs__btn:disabled { opacity: 0.3; cursor: default; }

/* ---- Dots ---- */
.certs__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.certs__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--certs-border);
  background: transparent;
  cursor: pointer;
}
.certs__dot[aria-selected="true"] {
  background: var(--certs-accent);
  border-color: var(--certs-accent);
}
.certs__dot:focus-visible {
  outline: 2px solid var(--certs-accent);
  outline-offset: 3px;
}