@import url("https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+DE+Grund:wght@100..400&family=Quicksand:wght@300..700&display=swap");
:root {
  --gray: rgb(219, 219, 219);
  --bg: #111315;
  --blue: #2a86ff;
  --dark: #30353c;
  --second: #2a86ffbc;
  --white:#f1f1f1;
  --sidebar:rgba(28, 29, 28, 0.908);


}
.light-mode {
  --gray: rgb(59, 59, 59);
  --bg: #fafafa;
  --blue: #2a86ff;
  --dark: #e4e5f1;
  --second: #2a86ffbc;
  --white: #333;
  --sidebar:rgba(251, 251, 251, 0.908);
}
html{
   
    scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}
body, .home, .section, .portfolio{
  width: 100%;
}

.typewriter{
  margin-left: 0;
  width: fit-content;


}
.typewriter h1 {
  overflow: hidden; 
  border-right: .15em solid var(--blue); 
  white-space: nowrap; 
  margin: 0 auto; 
  letter-spacing: .15em; 
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .8s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--blue) }
}
.goup{
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 1rem;
    right: 1rem;
    transition: all 0.3s;
}
.goup:hover{
    background-color: var(--second);
}
.goup i{
    color: white;
}
i:hover{
    transform: scale(1.02);
}
.portfolio {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  
  
}

.section,
.home {
  padding: 5rem 0;
}
.header {
  position: fixed;
  top: 0;
  width: 100%;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  z-index: 3;
  background-color: var(--bg);
}

.header button {
  background: var(--blue);
  color: white;
}
.header button:hover {
  background: #1169dd;
}
.home {
  position: relative;
  max-width: 100vw;
  padding: 9rem 3rem 5rem 3rem;
  height: 100vh;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: center;
  text-align: center;
  background: var(--dark);
  z-index: 1;
  position: relative;
}
.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  background-image: url("assets/bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.3);
  z-index: -1;
}
.light-mode .bg{
  filter: brightness(0.5);
  background-image: url("assets/bg.png");


}

.menu ul li {
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
}
.menu ul li::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--blue);
  bottom: 0;
  left: 0;
  transition: all 0.5s;
}
.menu ul li:hover::before {
  width: 100%;
} 
.menu ul li:hover a {
  color: var(--blue);
}

.home .leftside {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.leftside span {
  font-size: 2.5rem;
}
.leftside p{
  color: white;
}
.leftside button {
  width: 200px;
}


.home {
  position: relative;
}
.socialNetwork {
  position: absolute;
  bottom: -3.5rem;
  display: flex;
  gap: 1.6rem;
}
.socialNetwork i {
  color: white;
  font-size: 2rem;
}
.theborder {
  position: absolute;
  left: -20px;
  top: -20px;
  border-top-left-radius: 50px;
  border-top-right-radius: 300px;
  border-bottom-left-radius: 300px;
  border-bottom-right-radius: 300px;
  width: 460px;
  height: 460px;
  border: 8px solid white;
  overflow: hidden;
}

.profile {
  position: relative;
  transition: all 0.3s;
  animation:zoom 0.6s ease ;
}
@keyframes zoom {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
  
}
.leftside,i{
  animation: fadeIn 1s linear;
}
@keyframes fadeIn {
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
  }

.rightside {
  background: var(--second);
  border-top-left-radius: 50px;
  border-top-right-radius: 300px;
  border-bottom-left-radius: 300px;
  border-bottom-right-radius: 300px;
  width: 410px;
  height: 410px;
  overflow: hidden;
}
.rightside img {
  width: 100%;
  padding: 0;
  border-radius: 50%;
  object-fit: fill;
}
.home p {
  font-weight: 200;
  font-size: 1.2rem;
}
.column {
  display: flex;
  gap: 1rem;
}
.leftside .name {
  color: var(--blue);
  font-weight: 700;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  cursor: pointer;
  color: var(--white);
}
button {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
}
.header .menu ul {
  display: flex;
  gap: 15px;
}

.content {
  padding: 3rem;
}

.about .content {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.content .aboutImg {
  width: 80%;
  position: relative;
  text-align: right;
  object-fit: cover;
}
.aboutBtn {
  background-color: transparent;
  color: white;
}
.resumeBtn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}
.resumeBtn:hover {
  background-color: white;
  color: black;
}
.aboutBtn i {
  color: white;
  transition: all 0.3s;
}
.aboutBtn:hover i {
  padding-left: 5px;
}
.interests {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.intro {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.intro > p {
  font-weight: 300;
  line-height: 30px;
  text-align: justify;
}
.aboutImg img {
  width: 100%;
}
.cadre1,
.cadre2,
.cadre3,
.cadre4 {
  position: absolute;
  background-color: #2a86ff;
}
.cadre1,
.cadre3 {
  width: 100px;
  height: 7px;
}
.cadre2,
.cadre4 {
  height: 100px;
  width: 7px;
}
.cadre1 {
  top: -4%;
}
.cadre2 {
  top: -4%;
  left: -4%;
}
.cadre3 {
  bottom: -4%;
  right: 0;
}
.cadre4 {
  bottom: -4%;
  right: -4%;
}
.infos {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.key,
i {
  color: #fb8500;
  transition: all 0.3s;
}
.section {
  text-align: center;
}
.descPar {
  font-size: 1.2rem;
  font-weight: 300;
  padding: 1rem 3rem;
}
h1 {
  font-size: 50px;
  background: rgb(42,241,255);
  background: linear-gradient(90deg, rgba(42,241,255,1) 0%, rgba(42,134,255,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tracking-in-contract-bck-top {
	-webkit-animation: tracking-in-contract-bck-top 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-contract-bck-top 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
        animation-timeline: view();
}
@-webkit-keyframes tracking-in-contract-bck-top {
  0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(400px) translateY(-300px);
            transform: translateZ(400px) translateY(-300px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}
@keyframes tracking-in-contract-bck-top {
  0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(400px) translateY(-300px);
            transform: translateZ(400px) translateY(-300px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}


h3 {
  font-size: 25px;
  font-weight: 300;
  text-align: left;
  padding: 1rem 0;
  position: relative;
  color: #4c98fd;
}

h5 {
  font-weight: 300;
  color: var(--blue);
  font-size: 1.5rem;
}
.about,.item,.project, .education,.experience, .certifications,.contactme{
  animation: scrolling linear;
  animation-timeline: view();
  animation-range:entry 0 cover 50% ;
}
.item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 150px;
  height: 150px;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  
}

.slide-in-elliptic-bottom-fwd {
	-webkit-animation: slide-in-elliptic-bottom-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-elliptic-bottom-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
            /* animation-timeline: view(); */

}
/* ----------------------------------------------
 * Generated by Animista on 2024-11-24 23:19:39
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-elliptic-bottom-fwd
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-elliptic-bottom-fwd {
  0% {
    -webkit-transform: translateY(600px) rotateX(30deg) scale(0);
            transform: translateY(600px) rotateX(30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% -1400px;
            transform-origin: 50% -1400px;
    opacity: 1;
  }
}
@keyframes slide-in-elliptic-bottom-fwd {
  0% {
    -webkit-transform: translateY(600px) rotateX(30deg) scale(0);
            transform: translateY(600px) rotateX(30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% -1400px;
            transform-origin: 50% -1400px;
    opacity: 1;
  }
}

.item span {
  color: var(--white);
  display: none;
  transition: all 0.3s;
}
.item:hover {
  transform: scale(1.02);
  border-color: #2a86ff;
}
.item:hover span {
  display: block;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}
.item img {
  width: 80px;
  height: 80px;
  background-size: cover;
  border-radius: 5px;
}
.project {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(32, 33, 34, 0.899);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.githubBtn{
    margin-top: 2rem;
}
.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project p {
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 100;
}

.project button {
  margin: 5px;
  width: 290px;
  background: transparent;
  border: 1px solid var(--second);
  color: var(--second);
  transition: all 0.3s;
}
.project button:hover {
  background: var(--second);
  color: white;
}

h4 {
  font-weight: 400;
  color: var(--second);
  font-size: 1.2rem;
}


.career{
    padding: 1rem 6rem;

}
.education-item{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin:0.8rem 0;
    padding:1rem 0 1rem 1rem;
    background: var(--dark);
    transition: all 0.4s;
    cursor: pointer;
    animation: scrolling linear;
    animation-timeline: view();
    animation-range:entry 0 cover 50% ;
}
.education-item:hover{
    transform: scale(1.02);
}
.education-item:hover h3{
    color: white;
}
.education-item::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    left:0;
    top:0;
    background-color: var(--blue);
    transition: all 0.3s;
    z-index: 0;
}
.education-item:hover::before{
    width: 100%;
}
.education-item:hover p, span{
  color: white;
}
.education-item h3{
    padding: 0;
}
.education-item p{
    padding:0.3rem 0 0 1rem;
    font-weight: 300;
    z-index: 1;
}
.education-item span{
    padding:0.3rem 0 0 1rem;
    color: var(--gray);
    z-index: 1;
    font-weight: 200;
}


.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 3rem;
  row-gap: 2.5rem;
  width: 100%;
}
.footer_layer1 .footer-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-menu ul li {
  transition: all 0.5s;
}
.footer-menu ul li:hover {
  color: var(--blue);
}
.footer_layer1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer .social {
  display: flex;
  gap: 1rem;
}
.footer .social i {
  font-size: 1.5rem;
  color: var(--white);
}
.footer_layer2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer_layer2 span{
  color: var(--white);
}
.footer_layer2 div {
  display: flex;
  gap: 1rem;
}
.footer_layer2 i {
  font-size: 1.2rem;
  color: var(--white);
}
.footer_layer3 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

:root {
  --height: 200px;
  --width: 280px;
  --delay: 40s;
  --childs: 8;
}
.container2 {
  width: 70%;
  max-width: calc(var(--width) * var(--childs));
  height: calc(var(--height) + 2rem);
  margin-top: 1rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
  background: transparent;
  animation: scrolling linear;
  animation-timeline: view();
  animation-range:entry 0 cover 50% ;
}

.child,
.box {
  width: var(--width);
  height: var(--height);
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  
}
.comment {
  width: 100%;
  height: 100%;
  background-color: transparent;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: transparent;
  transition: all 0.4s;
}
.child:hover .comment{
    background-color: #111315a1;
    color: white;
}
.box:hover .comment{
    background-color: #111315a1;
    color: white;
}

/* btn */

.txt {
    width: 200px;
    height: auto;
    float: left;
    transition: .5s linear;
    position: relative;
    display: block;
    overflow: hidden;
    padding:20px 15px;
    text-align: center;
    margin: 0 5px;
    background: transparent;
    color: var(--white);
    text-transform: uppercase;
    border-radius: 10px;
    font-weight: 900;
  }
  
  .txt:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(100%);
  }
  
  .txt:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(-100%);
  }
  
  .txt:hover {
    box-shadow: 0 5px 15px var(--blue);
    color:var(--blue);
  }
  
  .txt:hover:before {
    border-color: var(--blue);
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .3s;
  }
  
  .txt:hover:after {
    border-color: var(--blue);
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .5s;
  }
  
  button {
    color: black;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
  }



.button-icon {
  display: flex;
  border: 3px #fff solid;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
}

.icon {
  background-color: #fff;
  padding: 10px 10px 5px 10px;
}

.icon svg {
  width: 25px;
  height: 25px;
}

.cube {
  transition: all 0.4s;
  transform-style: preserve-3d;
  width: 200px;
  height: 20px;
}

.button-icon:hover {
  border-color: #ff98a2;
}

.button-icon:hover .cube {
  transform: rotateX(90deg);
}

.side {
  position: absolute;
  height: 47px;
  width: 200px;
  display: flex;
  font-size: 0.8em;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
}

.top {
  background: #ff98a2;
  color: #fff;
  transform: rotateX(-90deg) translate3d(0, 13.5px, 2em);
}

.front {
  background: #222229;
  color: #fff;
  transform: translate3d(0, 0, 1em);
}

.child {
  left: max(calc(var(--width) * var(--childs)), 100%);
  animation: scroll var(--delay) linear infinite;
}
.child:hover,
.box:hover {
  cursor: pointer;
  transform: scale(1.09);
}


.container2 img {
  width: 100%;
  height: 100%;
  object-fit:cover;
  text-align: center;
}

.box {
  right: max(calc(var(--width) * var(--childs)), 100%);
  animation: scrollR var(--delay) linear infinite;
}

.child1 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 1) * -1
  );
}
.child2 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 2) * -1
  );
}
.child3 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 3) * -1
  );
}
.child4 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 4) * -1
  );
}

.child5 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 5) * -1
  );
}
.child6 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 6) * -1
  );
}
.child7 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 7) * -1
  );
}
.child8 {
  animation-delay: calc(
    var(--delay) / var(--childs) * (var(--childs) - 8) * -1
  );
}

@keyframes scroll {
  to {
    left: calc(var(--width) * -1);
  }
}
@keyframes scrollR {
  to {
    right: calc(var(--width) * -1);
  }
}

@keyframes scrolling { 
  from{
    opacity: 0;
    transform: scale(0.5);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}



.gradient-cards {
    display: flex;
    gap: 32px;
    padding: 2rem 3rem;
    width: 100%;
    animation: scrolling linear;
    animation-timeline: view();
    animation-range:entry 0 cover 50% ;
    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
    }
    
  }
  .card:hover{
    cursor: pointer;
    transform: scale(1.02);
  }
  
  .container-title {
    text-align: center;
    padding: 0 !important;
    margin-bottom: 40px;
    font-size: 40px;
    color: #fff;
    font-weight: 600;
    line-height: 60px;
  }
  
  .card {
    max-width: 550px;
    border: 0;
    width: 100%;
    margin-inline: auto;
    transition: all 0.3s;

  }
  .card img{
    width: 60px;
  }
  .container-card {
    position: relative;
    border: 2px solid transparent;
    background-color: var(--bg);
    background-clip: padding-box;
    border-radius: 45px;
    padding: 40px;
    img {
      margin-bottom: 32px;
    }
  }
  
  .bg-green-box,
  .bg-white-box,
  .bg-yellow-box,
  .bg-blue-box {
    position: relative;
  }
  
  .bg-green-box::after,
  .bg-white-box::after,
  .bg-yellow-box::after,
  .bg-blue-box::after {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    content: "";
    z-index: -1;
    border-radius: 45px;
  }
  
  .bg-green-box::after {
    background: linear-gradient(71deg, #0d1212, var(--blue), #0d1212);
  }
  
  .bg-white-box::after {
    background: linear-gradient(71deg, #121013, #b0afb0, #121013);
  }
  
  .bg-yellow-box::after {
    background: linear-gradient(71deg, #110e0e, #afa220, #110e0e);
  }
  
  .bg-blue-box::after {
    background: linear-gradient(71deg, #0c0a0e, #5f6fad, #0c0a0e);
  }
  
  .card-title {
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 20px;
    font-style: normal;
    font-size: 18px;
    padding-bottom: 10px;
  }
  .card-span{
    font-weight: 200;
    font-size: 15px;
    color: var(--second);
  }
  .card-description {
    padding-top: 10px;
    font-weight: 200;
    line-height: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    max-width: 470px;
  }

  /* From Uiverse.io by JulanDeAlb */ 
  .menuIcon{
    display:none;
  }
.hamburger {
    cursor: pointer;
  }
  
  .hamburger input {
    display: none;
  }
  
  .hamburger svg {
    /* The size of the SVG defines the overall size */
    height: 3em;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line {
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    /* Define the transition for transforming the Stroke */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line-top-bottom {
    stroke-dasharray: 12 63;
  }
  
  .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }
  
  .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }
  
  .sidebar {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 5rem;
    right: -300px; /* Initially hidden to the right */
    background: var(--sidebar);
    transition: right 0.3s ease-in-out; /* Transition for sliding effect */
    z-index: 8;
    padding-top: 3rem;
}
.sidebar ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sidebar ul li{
    padding:1rem;
    width: 100%;
}
.sidebar ul li:hover{
    background-color: rgba(50, 180, 255, 0.95);
}
.sidebar .contactme2{
    margin-top: 2rem;
    padding: 2px 20px;
    color: var(--sidebar);
    font-size: 17px;
    background-color: var(--blue);
}
.openSidebar {
    right: 0; /* Moves sidebar into view */
}

#formStatus {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  padding: 10px;
  border-radius: 4px;
  display: block;
  width: 400px;
}

#formStatus.success {
  color: #1e834a;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

#formStatus.error {
  color: #EF665B;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}
.contact-form-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.contact-form-container form{
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.sendBtn {
  font-family: inherit;
  font-size: 18px;
  background: linear-gradient(to bottom, #4dc7d9 0%,#66a6ff 100%);
  color: white;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.sendBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  padding: 0em;
  background: linear-gradient(to bottom, #5bd9ec 0%,#97c3ff 100%);
  cursor: pointer;
}

.sendBtn:active {
  transform: scale(0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.sendBtn span {
  display: block;
  margin-left: 0.4em;
  transition: all 0.3s;
}

.sendBtn:hover span {
  scale: 0;
  font-size: 0%;
  opacity: 0;
  transition: all 0.5s;
}

.sendBtn svg {
  width: 18px;
  height: 18px;
  fill: white;
  transition: all 0.3s;
}

.sendBtn .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.sendBtn:hover .svg-wrapper {
  background-color: rgba(43, 169, 228, 0.897);
  width: 54px;
  height: 54px;
}

.sendBtn:hover svg {
  width: 25px;
  height: 25px;
  margin-right: 5px;
  transform: rotate(45deg);
}


input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 16px;
    resize: none;
    outline: none;
    border: 1px solid rgb(83, 215, 255);
    background-color: transparent; 
    color: var(--white);
    font-size: 15px;
    font-weight: 100;
    font-family: "Montserrat", sans-serif;

}
::placeholder{
    color: var(--gray);
    font-weight: 200;

}

.block{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.theme-switcher i {
  cursor: pointer;
  color: var(--white);
  transition: transform 0.3s ease;
}

.theme-switcher:hover i {
  transform: rotate(30deg);
}




 /* Popup overlay */
 .popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup content */
.popup-content {
  background: var(--dark);
  border-radius: 10px;
  padding: 3rem;
  width: 90%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  transform: scale(0.5);
  animation: popIn 0.4s forwards;
  position: relative;
}
.popup-content p{
  color: var(--white);
  font-size: 1rem;

}
/* Close button */
.closeBtn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--white);
}

/* Language button styles */
.languageBtn {
  background-color: #0073e6;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.languageBtn:hover {
  background-color: #005bb5;
  transform: translateY(-3px);
}

/* Animation */
@keyframes popIn {
  to {
    transform: scale(1);
  }
}