/* Header Css */
* {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: white;
  color: #222;
  border: 1px solid black;
  overflow-x: hidden;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  width: 100%;
  height: 63px;
  overflow-x: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #1f2937, #4f46e5);
  color: #fff;
}

.header h2 {
  display: flex;
  font-style: italic;
  /* justify-content: space-between; */
  gap: 10px;
}

nav {
  margin-top: .7cm;
}

.header nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}


/* hero section css */


.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, skyblue, #1c1f48);
  color: #fff;
  overflow-x: hidden;
}

.hero h1 {
  font-size: 1cm;
}

.btn {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 18px;
  border: none;
  background: #ffcc00;
  cursor: pointer;
  border-radius: 5px;
}


.wave-ellipse {
  width: 100%;
  height: 50px;
  background: white;
  margin-top: -2.1cm;
  clip-path: path("M0,10 C200,1 800,60 1200,50 C1350,40 1440,60 1440,50 L1440,140 L0,140 Z");
}




/* search box css */

.search {
  text-decoration: none;
  text-align: center;
  width: 100%;
  margin-top: -2px;
  height: auto;
  background-color: white;
}

.hero-sect {
  background-color: white;
  width: 100%;
  height: 200px;
  /* background-color: white; */
  margin: auto;
}

.hero-sect p {
  color: #555;
  font-size: 20px;
  margin-top: 7px;
}

.search-box {
  position: relative;
}

input[type="text"] {
  width: 70%;
  padding: 14px 18px;
  margin-top: 5px;

  font-size: 15px;
  border-radius: 40px;
}

input[type="text"]:focus {
  border-color: #007bff;
  outline: none;
}

.results {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 120px;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  font-size: 20px;
}

.result-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.result-item:hover {
  background-color: aliceblue;

}


.search-box input {
  width: 300px;
  padding: 12px 15px;
  border: 2px solid #4e5ee4;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}



.python-attract {
  width: 100%;
  margin-top: -1.3cm;
  /* min-height: 500px; */
  height: auto;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
}

.python-attract .left,
.python-attract .right {
  width: 50%;
  /* height: 300px; */
  height: auto;
}


.right h2 {
  text-align: center;
}

.right p {
  font-size: 15px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: justify;
  line-height: 29px;
}

.pythonb {
  background-color: #007bff;
  padding: 12px 25px;
  margin-left: 20px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.typewriter {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  border-right: 3px solid #555;
  white-space: nowrap;
  margin: auto;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40) forwards, blink .5s step-end infinite alternate;
  margin-bottom: 25px;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100px
  }
}

@keyframes blink {
  50% {
    border-color: transparent
  }
}

.left .code-box {
  background: #1e1e1e;
  color: #eee;
  padding: 20px;
  border-radius: 10px;
  margin: auto;
  width: 90%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
}

pre {
  font-size: 15px;
  line-height: 1.5;
}

.outp {
  color: orangered;
}

.variable {
  color: skyblue;
}

.function {
  color: #00ff9d;
}

.string {
  color: #CE9178;
}

.why-choose {
  width: 100%;
  height: auto;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
}

.why-choose .left,
.why-choose .right {
  width: 50%;
  height: auto;
}

.why-choose .left h2 {
  text-align: center;
}

.why-choose .left p {
  font-size: 15px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: justify;
  line-height: 29px;
}

.why-choose-im {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}



.move-to {
  background: white;
  padding: 100px;
  width: 100%;
  height: 300px;
  margin-top: 1cm;
}

.move-to .left {
  float: left;
  width: 50%;
  height: auto;
  background-color: white;
}

.move-to-bt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.move-to .right {
  float: left;
  width: 50%;
  height: auto;
  border-radius: 10px;
  background-color: black;
}

.move-to h1 {
  text-align: start;
}

.move-to p {
  color: #555;
  font-weight: bold;
  text-align: start;
  font-size: 20px;
}

.move-to-bt button {
  padding: 10px;
  font-size: 16px;
  margin: 0;
  border: black;
  border-radius: 5px;
}

.code-box {
  background: #0d0d0d;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  height: 270px;
  font-family: sans-serif;
  color: white;
  font-size: 16px;
  line-height: 12px;
  white-space: pre-wrap;   
    overflow-y: auto;        
  overflow-x: hidden;    
}

@media (min-width:320px) {
  .header h2 {
    white-space: nowrap;
    gap: 0;
    font-size: 18px;
    margin-top: -.3cm;
  }

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 320px
  }
}
  .header {
    height: 52px;
  }

  .header h2 img {
    width: 30px;
    height: 30px;
  }

  .header nav a {
    margin-left: 12px;
    font-size: 14px;
  }

  input[type="text"] {
    width: 70%;
  }

  .hero-sect h2 {
    font-size: 18px;
  }

  .hero-sect p {
    font-size: 14px;
  }
.results {
    font-size: 14px;
}
.move-to h1{
    font-size: 18px;

}
.move-to p{
    font-size: 14px;
}
  .right h2 {
    font-size: 18px;

  }

  .right p {
    font-size: 14px;
  }

  .typewriter {
    font-size: 19px;
  }

  pre {
    font-size: 16px;
    line-height: 1.5;
  }
.code-box {
  font-size: 16px;
  line-height: .5cm;
}
.why-choose .left h2 {
    font-size: 18px;
}

.why-choose .left p {
    font-size: 14px;
}

.why-choose-im {
  width: 100%;
}
  .search-box input::placeholder {
    font-size: 14px;
  }

  nav {
    margin-left: -8cm;
    margin-top: .4cm;
  }

  .hero h1 {
    font-size: 20px;
    margin-top: -1cm;
  }

  .btn {
    margin-top: 20px;
    padding: 8px 25px;
    font-size: 15px;
  }
.move-to-bt button{
    padding: 8px 25px;
    font-size: 18px;
}

.pythonb {
  padding: 8px 25px;
  font-size: 18px;
}
  .hero p {
    font-size: 14px;
  }

  .footer h1 {
    font-size: 18px;
  }

  .footer .left p,
  a {
    font-size: 13px;
  }

  .footer .colums h3,
  a {
    font-size: 14px;
  }
}
@media (min-width:320px) and (max-width:651px) {
.move-to h1{
  text-align: center;
}
.move-to p{
  text-align: center;
}
.move-to {
  height: 200px;
}
.move-to-bt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.move-to-bt button{
  border-radius: 0;
  padding: 5px;
}
.code-box {
  height: 200px;
}
.code-box {
  line-height: 25px;
}
}
@media (max-width: 650px) {

  .move-to .left,
  .move-to .right {
    width: 100%;
    height: auto;
  }

  .move-to-bt {
    display: flex;
    gap: 5px;
  }


  .move-to {
    padding: 10px;
  }

  .code-box {
    border-radius: 0;
  }
}
@media (max-width: 650px) {

  .python-attract .left,
  .python-attract .right {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 650px) {

  .why-choose .left,
  .why-choose .right {
    width: 100%;
    height: auto;
  }
}


.footer {
  z-index: 9999;
  overflow-y: hidden;
  position: relative;
  background-color: #0f1115;
  color: #fff;
  padding: 60px 10%;
  display: flex;
  overflow-x: hidden;

  justify-content: space-between;
  flex-wrap: wrap;
}

.footer .columns {
  flex: 1 1 200px;
  margin: 10px;
  min-width: 200px;
}

.footer h3 {
  color: #00bfff;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin: 8px 0;
}

.footer a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s;
}

.footer .left p {
  font-weight: normal;
}

.footer a:hover {
  color: #00bfff;
}

.footer-bottom {
  position: absolute;
  background-color: black;
  border-top: 1px solid #fff;
  font-size: 14px;
  color: #ddd;
  padding: 15px;
  margin-top: 50px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96%;
  text-align: center;
}