@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/WorkSans-Regular.eot');
  src: local('☺'), url('../fonts/WorkSans-Regular.woff') format('woff'), url('../fonts/WorkSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/WorkSans-Medium.eot');
  src: local('☺'), url('../fonts/WorkSans-Medium.woff') format('woff'), url('../fonts/WorkSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

html {
  height: 100%;
}

body {
  font-family: 'Work Sans';
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  background-color: #ffffff;
  color: #1A301A;
  position: relative;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

#about,
#contacts-footer {
  scroll-margin-top: 120px;
}

/*--------HEADER START--------*/

header {
  padding: 20px 0;
}

header {
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

header {
  top: 0;
  padding: 20px 0 0;
}

footer {
  /* position: fixed; */
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

/* Hide classes for header and footer */
.hide-header {
  transform: translateY(-100%);
}

.hide-footer {
  transform: translateY(100%);
}

.header-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 10px 20px;
  align-items: center;
}

.nav-list li {
  margin: 0 15px;
}

.nav-list a {
  text-decoration: none;
}

.divider {
  border-left: 1px solid #e0e0e0;
  height: 25px;
}

/*--------HEADER END--------*/

.first_page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 50px 20px;
  background-color: #ffffff;
}

main.works {
  padding: 120px 20px 0;
}

.intro {
  text-align: center;
  max-width: 545px;
}

.intro h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  margin-bottom: 10px;
}

.intro p {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 40px;
}

.profile-pic {
  width: 299px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-section {
  padding: 115px 0;
}

/* new first page */

.section_cv {
  padding-top: 81px;
}

.section_cv-top {
  text-align: center;
}

.main_page-links {
  padding: 100px 0 25px;
}

.main_page-links li {
  padding-right: 50px;
}

.main_page-links li a {
  font-weight: 400;
  font-size: 26px;
  line-height: 39px;
}

.main_page-links li:last-child {
  margin-left: auto;
  padding-right: 0;
}

.image-pr {
  max-width: 100%;
  height: auto;
}

.kitty-youtube-wrapper {
  width: 100%;
  height: 700px;
  padding-bottom: 20px;
}

.youtube-frame {
  width: 100%;
  height: 100%;
}

a {
  color: #1A301A;
}

a:hover,
a:visited,
a:active {
  text-decoration: none;
}

/* end of cv summary */
.profile-image {
  width: 40%;
  background-image: url('path/to/your-image.jpg');
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
}

.content {
  padding: 20px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  transition: ease-in-out 0.3s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 3;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0.3s;
}

#header {
  margin: 0;
  padding: 0;
}

#header h1 a,
#header h1 a:hover {
  line-height: 1;
  display: inline-block;
}

#header h2 {
  margin-top: 20px;
}

#header h2 span {
  border-bottom: 1px solid #18d26e;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  display: flex;
  opacity: 0.5;
  justify-content: flex-start;
  align-items: center;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.main-icon {
  width: 26px;
  height: 26px;
}

.ri-menu,
.ri-close {
  position: relative;
  z-index: 1;
}

.ri-menu::after,
.ri-close:after {
  position: absolute;
  font-family: 'Work Sans';
  z-index: 2;
  top: 0;
  right: 0;
}

.ri-menu::after {
  content: 'menu';
  color: #000000;
}

.ri-close:after {
  content: 'close';
  color: #000000;
}

#header.header-tops {
  position: relative;
}

#header.header-tops:not(.header-tops.header-top)::before {
  content: "";
  position: fixed;
  background: url(../img/bg.jpg) top left no-repeat;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  z-index: -1;
}

video.tata {
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */

.nav-menu {
  margin-top: 25px;
}

.nav-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-tops .nav-menu li:last-child {
  margin-left: 30px;
}

.header-tops.header-top .nav-menu li+li {
  margin-left: 30px;
}

.nav-menu a {
  display: block;
  position: relative;
}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
  text-decoration: none;
}

/* Mobile Navigation */

/* show/hide text start */

.cont div.showhide {
  line-height: 30px;
}

.cont .read-m {
  position: relative;
  display: inline-block;
  padding: 15px 0 15px;
  cursor: pointer;
}

.cont .read-m::after {
  content: "";
  display: flex;
  width: 100%;
  height: 1px;
  background-color: #00199A;
  transition: width 0.4s;
}

.showhide_auto {
  height: auto !important;
}

.showhide_cut {
  height: 185px !important;
}

.fade:not(.show) {
  opacity: 1;
}

.fade {
  height: 185px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  content: "";
  background: -webkit-linear-gradient(#00199a, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* show/hide text end */

.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 20px;
  z-index: 9999;
  border: 0;
  background: none;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #000000;
  font-style: initial;
}

.mobile-nav {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  overflow-y: auto;
  background: rgba(9, 9, 9, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  padding: 10px 20px;
  outline: none;
}

.block-allign {
  margin-right: 15px;
  margin-left: 15px;
}

.mobile-nav a:hover,
.mobile-nav li:hover>a {
  text-decoration: none;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

/* Header Top */

#header.header-top {
  height: 60px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #000000;
}

#header.header-top .social-links,
#header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin: 0 auto 0 0;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .nav-menu {
  margin: 0;
}

.header-tops .hello-link {
  display: none;
}

.header-tops.header-top .hello-link {
  display: block;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

.section-title-main {
  display: flex;
  justify-content: space-between;
  padding-top: 120px;
}

.section-title-main h2 {
  font-weight: 400;
  text-align: left;
  height: 100%;
  color: #00199A;
  padding-right: 20px;
}

.section-title h3 {
  font-weight: 400;
}

.section-title p {
  margin: -15px 0 15px 0;
  line-height: 39px;
  text-indent: 25px;
}

.section_description {
  padding-top: 20px;
}

.section_description p {
  font-weight: 400;
  line-height: 28px;
}

.figma {
  font-weight: 400;
  line-height: 39px;
  text-indent: 0;
  display: flex;
  padding: 25px 0 0 0;
}

.figma a {
  padding: 0;
}

.figma a:first-child {
  margin-right: 50px;
}

.figma div {
  display: inline-flex;
}

.img-projects {
  padding-top: 30px;
  line-height: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

.about-me {
  margin-bottom: 40px;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  padding-bottom: 10px;
}

.about-me .content ul i {
  font-size: 20px;
  padding-right: 2px;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

.about-me__top {
  font-weight: 400;
  color: #00199A;
  line-height: 42px;
}

.about-me__bottom {
  padding-bottom: 40px;
  color: #00199A;
  margin: 0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.main_page {
  padding-bottom: 75px;
}

.main_page-right {
  text-align: right;
  padding-bottom: 70px;
}

.project-top {
  padding: 0 0 100px;
}

.portfolio .portfolio-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.portfolio .portfolio-wrap {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
}

.portfolio .portfolio-wrap .img-fluid {
  border-radius: 16px;
}

.portfolio-item__text {
  /* display: flex; */
  /* height: 100%; */
  padding: 15px 0 5px 0;
}

.portfolio-item__text p,
.head_underline {
  position: relative;
  font-weight: 400;
  line-height: 39px;
  margin: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-item__text p::after,
.head_underline::after {
  position: absolute;
  bottom: 6px;
  left: 0;
  content: " ";
  width: 0%;
  height: 1px;
  background-color: #00199A;
  transition: width 0.4s;
}

.head_underline::after {
  bottom: 5px;
}

.bold-link {
  font-weight: 500;
}

.portfolio-item:hover p::after,
li:hover .head_underline::after {
  width: 100%;
}

.button-back {
  padding-left: 15px;
}

.button-back .back_totop {
  font-weight: 400;
}

.button-back .back_totop::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #00199A;
  transition: width 0.4s;
}

.button-back .back_totop:hover::after {
  width: 0%;
}

/* link-footer start */

.link-footer {
  text-decoration: none;foot
  position: relative;
  width: auto;
}

.link-footer::after {
  position: absolute;
  bottom: 6px;
  left: 0;
  content: " ";
  width: 100%;
  height: 1px;
  background-color: #00199A;
  transition: width 0.4s;
}

.link-footer:hover::after {
  width: 0%;
}

/* link-footer end */


.accordion__item {
  background: #fffffe;
  border-bottom: 1px solid #E9E9E9;
}

.accordion__item.open-accordion .accordion__header {
  border-bottom: 1px solid #E9E9E9;
}

.accordion__header {
  position: relative;
  padding: 17px 0;
  font-weight: 500;
  cursor: pointer;
}

.accordion__header::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(90deg);
  background: url("../img/minus.svg") no-repeat center;
  background-size: contain;
  transition: all .2s ease;
}

.accordion__header::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url("../img/minus.svg") no-repeat center;
  background-size: contain;
  transition: all .4s ease;
}

.accordion__header-about {
  color: #565656;
  font-size: 14px;
}

.accordion__body {
  display: none;
  padding: 20px 10px 10px 0;
  line-height: 30px;
}

.accordion__body.opened {
  display: block;
}

.accordion__body-exp:not(:last-child),
.accordion__body-educ:not(:last-child) {
  border-bottom: 1px solid #E9E9E9;
}

.accordion__body-educ:not(:first-child) {
  padding-top: 20px;
}

.accordion__body-exp {
  display: flex;
  justify-content: space-between;
  gap: 0 30px;
  padding: 20px 0 15px;
}

.block_left {
  width: 125px;
}

.block_left p {
  font-weight: 500;
}

.experience_link {
  text-decoration: none;
  position: relative;
  width: auto;
}

.experience_link::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  content: " ";
  width: 100%;
  height: 1px;
  background-color: #00199A;
  transition: width 0.4s;
}

.experience_link:hover::after {
  width: 0%;
}

.block_center {
  max-width: 24%;
}

.block_center-flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-left {
  min-width: fit-content;
}

.flex-left,
.flex-right {
  margin-bottom: 0;
}

.exp_bold {
  font-weight: 500;
}

.block_right {
  width: 60%;
}

.block_right h2 {
  font-size: 16px;
  font-weight: 400;
  padding-top: 5px;
}

.block_right ul.special-list {
  list-style: none;
}

.block_right ul.special-list li::before {
  content:  "-";
  position: relative;
  left: -5px;
}

/* SKILL BLOCK START */

.accordion__body-skill {
  display: flex;
  justify-content: flex-start;
  gap: 0 50px;
}

.accordion__body-skill .left {
  width: 40%;
}

.accordion__body-skill .left div:first-child,
.accordion__body-skill .right div:first-child {
  padding-top: 20px;
  padding-bottom: 20px;
}

.accordion__body-skill .right {
  width: 60%;
}

.accordion__body-educ .left p,
.accordion__body-educ .right p {
  margin-bottom: 0;
}

.accordion__body-skill .left h2,
.accordion__body-skill .right h2 {
  font-size: 16px;
}

/* SKILL BLOCK END */



/* EDUCATION BLOCK START */

.accordion__body-educ:first-child {
  padding-top: 20px;
}

.accordion__body-educ {
  display: flex;
  justify-content: flex-start;
  gap: 0 50px;
}

.accordion__body-educ {
  padding-bottom: 30px;
}

.accordion__body-educ .left {
  width: 40%;
}

.accordion__body-educ .right {
  width: 60%;
}

.accordion__body-educ .left p,
.accordion__body-educ .right p {
  margin-bottom: 0;
}

/* EDUCATION BLOCK END*/


/* about_me start */

.about_me {
  padding: 30px 0;
  display: flex;
  gap: 0 50px;
}

.about_me-left, .about_me-right {
  width: 50%;
}

.about_me-left img {
  width: 100%;
}

.about_me-right {
  align-content: center;
}

.mobile-hero-photo {
  display: none;
}

.about-summary-title {
  display: none;
}

/* about_me end */

.open-accordion .accordion__header::after {
  transform: rotate(0deg);
}

.mobile {
  width: 100%;
}

.mobile .main_page-links {
  padding: 0 0 30px;
}

.mobile .main_page-links li a {
  font-weight: 400;
}

.mobile .mobile-img {
  padding: 20px 0;
}

.mobile .button-back {
  padding: 30px 0 30px 55px;
}

.footer_mobile {
  padding-bottom: 45px;
}



@media (max-width: 1023px) {
  .accordion__body-exp {
    flex-wrap: wrap;
  }

  .block_left {
    width: 100%;
  }

  .block_center {
    max-width: 100%;
  }

  .block_right {
    width: 100%;
  }
}

/* Mobile accordion end */



/*--------FOOTER START--------*/

/* footer {
  display: flex;
  justify-content: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
}

.footer-list {
  display: flex;
  list-style: none;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 10px 20px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-list li {
  margin: 0 15px;
}

.footer-list a {
  text-decoration: none;
}

.divider {
  border-left: 1px solid #e0e0e0;
  height: 25px;
} */

/*--------FOOTER END--------*/

.contacts-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  text-align: center;
}

.contacts-hero-photo {
  width: 160px;
  height: 230px;
  margin: 0 auto 40px;
  border-radius: 4px;
  overflow: hidden;
}

.contacts-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.95);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.contacts-hero-title {
  font-family: 'Work Sans';
  font-size: 3.2rem;
  font-weight: 400;
  color: #1A301A;
  margin: 0 0 60px;
}

.contacts-hero-grid {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}

.contacts-hero-grid .contacts-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  min-width: auto;
}

@media (max-width: 600px) {
  .contacts-hero {
    padding: 50px 20px 80px;
  }

  .contacts-hero-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .contacts-hero-grid {
    gap: 40px;
  }
}

.contacts-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  font-family: 'Work Sans';
  color: #1A301A;
}

.contacts-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 16px;
}

.contacts-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 32px;
}

.contacts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.contacts-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.contacts-col a {
  position: relative;
  color: #1A301A;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  width: fit-content;
}

.contacts-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 0.3s ease-out;
}

.contacts-col a:hover::after {
  transform: scaleX(0);
}

.contacts-col a.socials_notline::after {
  display: none;
}

@media (max-width: 600px) {
  .contacts-grid {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
    column-gap: 10px;
  }

  .contacts-col {
    min-width: 0;
    flex: 0 1 30%;
    gap: 20px;
  }
}

.decor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.decor img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

h1 span {
  font-size: 2.2rem;
  display: block;
}

.decor-intro {
  /* font-size: 1.2rem; */
  color: #444;
  margin: 1rem 0 2rem;
}

/* .contact {
  font-size: 1rem;
} */

.contact .socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* .contact .socials a {
  text-decoration: underline;
  color: #1f2d1e;
}

.contact .socials .socials_notline {
  text-decoration: none;
} */

.contact .socials a {
  position: relative;
  text-decoration: none;
  color: #1f2d1e;
  display: inline-block;
}

.contact .socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 0.3s ease-out;
}

.contact .socials a:hover::after {
  transform: scaleX(0);
}

.contact .socials .socials_notline::after {
  display: none;
}

/*--------MEDIA QUARIES START--------*/

@media (min-width: 1441px) {
  .container {
    max-width: 1440px;
  }

  .kitty-youtube-wrapper {
    height: 813px;
  }
}

@media (max-width: 1440px) {
  .kitty-youtube-wrapper {
    height: 645px;
  }
}

@media (max-width: 1300px) {
  .logo-img-main-menu {
    width: 55px;
    height: 55px;
  }
}

@media (min-width: 1201px) {
  .img-main {
    height: 100%;
    max-width: 450px;
    width: 100%;
  }
}

@media (min-width: 786px) and (max-width: 1200px) {
  .col-kit {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .portfolio-section {
    padding-bottom: 65px;
  }
}

@media (max-width: 1200px) {

  /* .link-footer-social  */
  .nav-item:not(:last-child),
  .main_page-links li {
    padding-right: 25px;
  }

  .section-title-main {
    flex-direction: column;
    padding-top: 15px;
  }

  .img-main {
    padding-top: 50px;
    width: 65%;
  }

  .main_page-links {
    padding-top: 50px;
  }
}

@media (min-width: 1024px) {
  #header.header-tops::before {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  .kitty-youtube-wrapper {
    height: 545px;
  }
}

@media (max-width: 992px) {
  .main_page-links li:last-child {
    margin-left: 0;
    padding-right: 25px;
    order: 1;
  }

  .experience {
    padding-top: 24px;
  }

  .about-me__right {
    padding-top: 40px;
  }

  #header .social-links a {
    justify-content: center;
    margin-right: 0;
  }

  .portfolio-details .portfolio-info {
    padding-top: 20px;
  }

  #header .social-links {
    margin-top: 15px;
  }

  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 991px) {

  .section-title.education,
  .target {
    margin-bottom: 27px;
  }
}

/* here when less than 769px mobile version is on START */

@media (min-width: 769px) {

  .menu_burger, .footer_mobile {
    display: none;
  }

  /* hide mobile version accordion */

  .cont .read-m {
    display: none;
  }

  .project-top-line {
    padding-bottom: 30px;
  }
}

/* here when less than 769px mobile version is on END */

@media (min-width: 769px) {
  .portfolio-section_title {
    display: none;
  }
}

@media (max-width: 768px) {

  body {
    background-color: #1A301A;
  }

  /* The white "card" now starts right at section_cv-top (below the
     green burger bar), not further down at .mobile */
  .section_cv-top {
    background-color: #ffffff;
    border-radius: 32px 32px 0 0;
    padding: 32px 20px 0;
  }

  .contact .socials {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    padding: 0 20px;
  }

  .mobile-hero-photo {
    display: block;
    margin: 30px 0 0;
  }

  .mobile-hero-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
  }

  /* About text was stuck at 50% width because its sibling image
     column was hidden but still reserving half the row */
  .about_me-left {
    display: none;
  }

  .about_me-right {
    width: 100%;
  }

  .about-summary-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
  }

  #about,
  #contacts-footer {
    scroll-margin-top: 20px;
  }

  /* The white "card" continues all the way to the footer on mobile -
     the whole page is white, green only behind the top burger bar */
  .contacts-footer {
    background-color: #ffffff;
  }

  .contacts-title,
  .contacts-divider {
    display: none;
  }

  .mobile {
    background-color: #ffffff;
  }

  .portfolio {
    border-radius: 32px 32px 0 0;
  }

  header {
    display: none;
  }

  .first_page {
    padding: 40px 20px 0;
    justify-content: flex-start;
    border-radius: 32px 32px 0 0;
  }

  .intro h1 {
    font-size: 24px;
    line-height: 2px;
  }

  .intro p {
    font-size: 20px;
    line-height: 38px;
    padding-top: 10px;
    margin-bottom: 35px;
  }

  .profile-pic {
    margin-bottom: 50px;
  }

  .portfolio {
    background-color: #ffffff;
  }

  .portfolio-section_title {
    display: block;
    font-size: 20px;
    padding: 45px 0 10px
  }

  main.works {
    padding: 0;
  }

  .portfolio-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .img-main {
    padding-top: 0;
  }

  .img-main {
    width: 100%;
  }

  .figma {
    flex-direction: column;
  }

  .figma a:first-child {
    margin-right: 0;
  }

  .project-top {
    padding: 0;
    background-color: #ffffff;
    border-radius: 32px 32px 0 0;
  }

  #targetBlock {
    padding-bottom: 35px;
  }

  .mobile-arrow {
    padding: 30px 0 0 0;
  }

  .mobile-arrow {
    padding-left: 0;
  }

  .accordion__body {
    padding: 0;
    margin-bottom: 20px;
  }

  .portfolio-item__text {
    padding: 10px 0 10px 0;
  }

  .section-title-main h2 {
    padding-top: 15px;
    margin-bottom: 0;
  }

  .section-title h3 {
    line-height: normal;
    padding: 0;
  }

  .project-top-line {
    padding-top: 40px;
  }

  /* .link-footer-social  */
  .nav-item:not(:last-child),
  .main_page-links li {
    padding-right: 20px;
  }

  .kitty-youtube-wrapper {
    height: 410px;
  }

  .about-me__right {
    padding-top: 40px;
  }

  #header.header-top {
    height: 60px;
  }

  .logo-img-main-menu {
    width: 35px;
    height: 35px;
    padding-bottom: 7px !important;
  }

  .accordion__body-skill {
    flex-wrap: wrap;
  }

  .accordion__body-skill .left,
  .accordion__body-skill .right {
    width: 100%;
  }

  .accordion__body-educ .left,
  .accordion__body-educ .right {
    width: 100%;
  }

  section {
    top: 120px;
  }

  .section .container {
    padding: 20px;
  }

  section.section-show {
    top: 80px;
  }

  .accordion__body-educ {
    flex-wrap: wrap;
  }

  .about_me-left img {
    display: none;
  }

  .about_me {
    flex-wrap: wrap;
    padding: 17px 0;
  }

  .section_cv {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  #header.header-tops:not(.header-tops.header-top)::before {
    display: none;
  }

  #header h2 {
    margin: 0;
  }

  #resume .container,
  #portfolio .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .kitty-youtube-wrapper {
    height: 245px;
  }

  .contact .info-box {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 482px) {
  .mobile-links {
    line-height: 40px;
  }
}

@media (max-width: 375px) {
  .kitty-youtube-wrapper {
    height: 215px;
  }
}

@media (max-width: 320px) {
  .kitty-youtube-wrapper {
    height: 183px;
  }
}

/* --------MEDIA QUARIES END-------- */

.menu_burger {
  padding: 20px 24px 20px;
  background-color: #1A301A;
  z-index: 99;
  width: 100%;
}

.menu-container {
  display: flex;
  justify-content: space-between;
}

.menu-share a {
  color: #ffffff;
}

/* Hamburger icon styling */
.menu-button {
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.menu-active .hamburger:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-active .hamburger:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hidden menu list */
.menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 70px;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

/* Show menu items when active */
.menu-active .menu-list {
  max-height: 300px;
  /* Adjust based on number of menu items */
  padding-bottom: 30px;
}

.menu-list a {
  color: #ffffff;
}

/* Menu items styling */
.menu-item {
  text-decoration: none;
  padding: 20px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #ffffff;
}

.mobile-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0 20px;
}