
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html{
  scroll-behavior: smooth;
}
 

body{
  min-height: 100vh;
  color: #ededed;
}

.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(50px);
  z-index: -1;
}
.header::after{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transition: .5s;
}

.header:hover::after{
  left: 100%;
}

.logo{
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #00abf0;
  text-decoration: none;
  font-style: italic;
  font-weight: 400;
}

.navbar a{
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
}

#check{
  display: none;
}

.icons{
  position: absolute;
  right: 5%;
  font-size: 2.8rem;
  color: #fff;
  cursor: pointer;
  display: none;
}

/* HEROSECTION */

.home{
  position: relative;
  height: 100vh;
  background: 
  url('./Images/groovepaper.png') repeat,
  linear-gradient(90deg, rgb(19,19,19) 0%, rgba(24,26,26,1) 46%, rgba(36,36,35,1) 100%);
  background-blend-mode: overlay;
  background-size: auto;
  background-position: center;
  border-radius: 0 0 3% 3%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* recent */
  padding: 0 10%;
}
.home::before,
.home::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid #EEEEEE;
  z-index: 1;
}

/* Colț stânga-sus */
.home::before {
  top: 130px;
  left: 40px;
  border-right: none;
  border-bottom: none;
}

/* Colț dreapta-jos */
.home::after {
  bottom: 40px;
  right: 40px;
  border-left: none;
  border-top: none;
}
.home-devices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  flex: 1;
  animation: floatDevices 8s ease-in-out infinite;
}

.device-svg {
  width: 100px;
  height: auto;
  stroke: #00abf0;
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  opacity: 0.7;
  transition: stroke-dashoffset 1.5s ease-out, opacity 0.5s;
}

/* Apare când intră în viewport */
.device-svg.visible {
  stroke-dashoffset: 0;
  opacity: 1;
}

/* Efect de plutire */
@keyframes floatDevices {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


.break-md{
  display: none;
}
.home-content{
  max-width: 800px;
}

.home-content h1{
  font-size: 56px;
  font-weight: 100;
  line-height: 1.2;
}
.home-content h3{
  font-size: 32px;
  font-weight: 200;
  color: #00abf0;
}
.typed-text{
  color: #eeeeee	;
  font-weight: 500;
}
.home-content p {
  font-size: 16px;
  margin: 20px 0 40px;
}

.home-content .btn-box{
  display: flex;
  justify-content: space-between;
  width: 345px;
  height: 50px;
}

.btn-box a{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100%;
  background: #00abf0;
  border:  2px solid #00abf0;
  border-radius: 8px;
  color: #081b29;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 1;
  overflow: hidden;
  transition: .5s;
}

.btn-box a:hover{
  color: #00abf0;
}
.btn-box a:nth-child(2){
  background: transparent;
  color:#00abf0;
}
.btn-box a:nth-child(2):hover{
  color: #081b29;
}
.btn-box a:nth-child(2)::before{
  background: #00abf0;
}

.btn-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #081b29;
  z-index: -1;
  transition: 0.5s;
}

.btn-box a:hover::before{
  width: 100%;
}

.home-sci{
  position: absolute;
  bottom: 40px;
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.home-sci a{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #00abf0;
  border-radius: 50%;
  font-size: 20px;
  color: #00abf0;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: .5s;

}

.home-sci a:hover{
  color:#081b29
}

.home-sci a::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #00abf0;
  z-index: -1;
  transition: .5s;
}
.home-sci a:hover::before{
  width: 100%;
}

@keyframes slide {
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-100%);
  }
  
}

.logos{
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos::before,
.logos::after{
  content: '';
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
}
.logos::before{
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}
.logos::after{
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide{
  animation-play-state: paused;
}
.logos-slide{
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img{
  height: 50px;
  margin: 0 40px;
}

/* ABOUT ME SECTION */

.about-me{
  height: 100vh;
  background: url(./Images/about-background.jpg) no-repeat;
  background-size: cover;
  background-position: center right;
  border-radius: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}
.about-vertical-container {
  position: absolute;
  left: 20%;
  width: 300px;
  height: 100%;
}

.about-item {
  position: absolute;
  width: 300px;
  padding: 20px;
  color: white;
  text-align: left;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s ease;
}

/* semicerc poziționare */
.about-item.top {
  top: 10%;
  left: 0;
}
.about-item.middle {
  top: 40%;
  left: -60px;
}
.about-item.bottom {
  top: 70%;
  left: 0;
}

.about-item.active {
  opacity: 1;
  transform: translateX(0);
}

/* titluri subliniate */
.about-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  position: relative;
}
.about-item h3::after {
  content: '';
  position: absolute;
  left: 12%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 60px;
  height: 3px;
  background: #00abf0;
}
/*SERVICES*/

.services {
  background: linear-gradient(135deg, #0e0e0e, #000);
  padding: 80px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  border-radius: 3% 3% 0 0;
}

.section-title {
  font-size: 36px;
  font-weight: 200;
  color: #ffffff;
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.glow-on-scroll {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 8px rgba(0, 171, 240, 0.4);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #00abf0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 171, 240, 0.3);
}

.service-card h3 {
  color: #00abf0;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #dddddd;
}

.service-card i {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
}


/* PROJECT CARDS */
.projects-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 200;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, text-shadow 0.5s ease;
}

.projects-title.glow-in {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 8px rgba(0, 171, 240, 0.4);
}

.projects-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #00abf0;
  margin: 10px auto 0;
  border-radius: 2px;
}


.projects {
  margin: 0;
  min-height: 100vh; /* permite conținutului să crească */
  display: block;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0e0e0e 100%);
  position: relative;
  overflow-x: hidden; /* previne ieșirea pe lateral */
  padding: 60px 20px; /* adaugă puțin spațiu în jur */
  box-sizing: border-box;
  flex-wrap: wrap; /* dacă ai mai multe rânduri de carduri */
}

.projects::before,
.projects::after{
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.projects::before{
  background: #00abf0;
  top: 10%;
  left: 10%;
}
.projects::after{
  background: #ff00f7;
  bottom: 10%;
  right: 10%;
}

.main-container {
  position: relative;
  width: 250px;
  height: 320px;
  perspective: 1000px; /* important pentru efect 3D */
}
.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px; /* spațiu între carduri */
  flex-wrap: wrap; /* pentru responsive */
  padding: 40px;
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.616);
  border-radius: 10%;
  transition: all 0.5s ease;
}


.card.flipped {
  transform: rotateY(180deg);
  
}


.front:hover {
  background-color: rgb(255, 255, 255);
  filter: invert();
  opacity: 0.8;
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  padding-top: 20px;
  text-align: center;
  border-radius: 10%;

}

.front {
  background-color: rgba(255, 255, 255, 0.285);
  backdrop-filter: blur(10px);
  color: black;
  font-size: 1.5rem;
  justify-content: center;
  align-items: top;
  transition: all 0.5s ease
}

.back {
  background: rgba(21, 0, 255, 0.203);
  color: white;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px;
  padding-bottom: 20px;
  padding-top: 20px;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(180deg);
}

.card-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00abf0;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.card-button::before,
.card-button::after {
  content: '';
  flex: 1;
  height: 2px;
  background: #00abf0;
  margin: 0 10px;
  transition: 0.3s ease;
}

.card-button:hover {
  color: #ffffff;
}

.card-button:hover::before,
.card-button:hover::after {
  background: #ffffff;
}

/* cards personalization */

.card-1 .front{
  background-image: url(./Images/Logos/Logo3.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; 
}

.card-2 .front{
  background-image: url(./Images/Logos/Logo9.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.card-3 .front{
  background-image: url(./Images/Logos/Logo2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.card-4 .front{
  background-image: url(./Images/Logos/Logo4.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.card-5 .front{
background-image: url(./Images/Logos/Logo8.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}

.card-6 .front{
  background-image: url(./Images/Logos/Logo1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  }

  /* UX CASE STUDIES */

.ux-case-study {
  margin: 0;
  min-height: 100vh; /* permite conținutului să crească */
  display: block;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0e0e0e 100%);
  position: relative;
  overflow-x: hidden; /* previne ieșirea pe lateral */
  padding: 60px 20px; /* adaugă puțin spațiu în jur */
  box-sizing: border-box;
  flex-wrap: wrap; /* dacă ai mai multe rânduri de carduri */
  
}

.ux-case-study::before,
.ux-case-study::after{
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.ux-case-study::before{
  background: #00abf0;
  top: 10%;
  left: 10%;
}
.ux-case-study::after{
  background: #ff00f7;
  bottom: 10%;
  right: 10%;
}

.ux-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 200;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, text-shadow 0.5s ease;
}

.ux-title.glow-in {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 8px rgba(0, 171, 240, 0.4);
}

.ux-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #00abf0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.main-container-ux {
  position: relative;
  width: 400px;
  height: 320px;
  perspective: 1000px; /* important pentru efect 3D */
}
.cards-wrapper-ux {
  display: flex;
  justify-content: center;
  gap: 40px; /* spațiu între carduri */
  flex-wrap: wrap; /* pentru responsive */
  padding: 40px;
}

.case {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.616);
  border-radius: 10%;
  transition: all 0.5s ease;
}


.case.flipped {
  transform: rotateY(180deg);
  
}


.ufront,
.uback {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  padding-top: 20px;
  text-align: center;
  border-radius: 10%;

}
.ufront {
  
  backdrop-filter: blur(10px);
  color: black;
  font-size: 1.5rem;
  justify-content: center;
  align-items: top;
  transition: all 0.5s ease
}

.uback {
  background: rgba(21, 0, 255, 0.203);
  color: white;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px;
  padding-bottom: 20px;
  padding-top: 20px;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(180deg);
}

.case1 .ufront{
  background: url(./Images/CleverPark\ Icon\ copy.jpg);
  background-position: center;
  background-size: cover;
}

.case2 .ufront{
  background: url(./Images/Project\ Perfectfit\ copy.jpg);
  background-position: center;
  background-size: cover;
}

/* TESTIMONIALS */
.testimonials {
  overflow: hidden;
  padding: 60px 0;
  background: #0e0e0e;
  position: relative;
  
}

.testimonial-slide {
  display: flex;
  width: max-content;
  animation: 40s slide-t infinite linear;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px;
  margin: 0 20px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 171, 240, 0.15);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #00abf0;
  margin: 0;
}

.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials::before {
  left: 0;
  background: linear-gradient(to left, rgba(14, 14, 14, 0), #0e0e0e);
}

.testimonials::after {
  right: 0;
  background: linear-gradient(to right, rgba(14, 14, 14, 0), #0e0e0e);
}

.testimonial-slide:hover{
  animation-play-state: paused;
}

@keyframes slide-t {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/*CONTACT */
.contact-section {
  padding: 80px 20px;
  background: #0e0e0e;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  border-radius: 0 0 3% 3%;
}

.contact-title {
  font-size: 36px;
  font-weight: 200;
  color: #ffffff;
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, text-shadow 0.5s ease;
}

.contact-title.glow-in {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 8px rgba(0, 171, 240, 0.4);
}

.contact-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #00abf0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00abf0;
  outline: none;
}

.contact-form button {
  background-color: #00abf0;
  color: #0e0e0e;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0086c3;
}

/*FOOTER*/

.footer {
  background: #0e0e0e;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px 20px;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  border-radius: 3% 3% 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.footer-left h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #00abf0;
}

.footer-left p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #cccccc;
}

.footer-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00abf0;
  color: #0e0e0e;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.footer-button:hover {
  background-color: #0086c3;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 5px 0;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00abf0;
}

.social-icons a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00abf0;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

/* CASE STUDIES */

.p-body{
 padding: 20px;
}

.presentation{
  display: flex;
  flex-direction:  column;
  gap: 10px;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 30px;
  z-index: 1000;
  padding: 10px 16px;
  background-color: #00abf0;
  color: #081b29;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background-color: #081b29;
  color: #00abf0;
}


/* BREAKPOINTS */

@media (max-width: 992px) {
  .header{
    padding: 1.3rem 5%;
  }
  .home-content h1{
    font-size: 48px;
  }
  .home-content h3{
    font-size: 24px;
  }
  .about-me {
    background-position: 95% center;
  }
  

}

@media (max-width: 768px){
  
  .home-devices{
    display: none;
  }
  .icons{
    display: inline-flex;
  }

  #check:checked~.icons #menu-icon{
    display: none;
  }
  .icons #close-icon{
    display: none;
  }
  #check:checked~.icons #close-icon{
    display: block;
  }
  .home::before{
    left: 30px;
    top: 140px;
  }
  .home::after{
    right: 30px;
    bottom: 30px;
  }
  .about-me {
    background-position: 100% center;
  }

  .about-vertical-container {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: left;
    left: 10%;
  }

  .about-item {
    position: static;
    margin: 15px 0;
    transform: translateX(100px);
  }

  .about-item.active {
    transform: translateX(0);
  }

    .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }



 @media (max-width: 600px){
    .home-content h1 {
      font-size: 42px;
    }
    .home-content h3 {
      font-size: 20px;
    }
    .home-content p {
      font-size: 14px;
    }
    .home-content{
      max-width: 600px;
    }
    .break-md{
      display: inline;
    }
    .home-sci {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    gap: 70px;
    padding-bottom: 20px;
  }
  .about-vertical-container{
    left: 5%;
  }
  .about-me{
      background-position: -180px center;
    }
  .home::before{
    left: 20px;
    top: 150px;
  }
  
 }
 @media (max-width: 450px){
  .about-me{
    background-position: -360px center;
  }
 }

   @media (max-width: 400px){
    .about-me{
      background-position: -350px center;
    }
    .home::before{
      top: 140px;
    }
   }


  .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(50px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s ease;
  }

  #check:checked~.navbar{
    height: 17.7rem;
  }
  .navbar a{
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    transition: 0.3s ease;
  }
  #check:checked~.navbar a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(.15s * var(--i));
  }
}

@media (hover: hover) and (pointer: fine) {
  .testimonials:hover .testimonial-slide {
    animation-play-state: paused;
  }
}