.left-section {
  flex: 2;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(7, 61, 177);
  overflow: hidden;
}

.left-section h1 {
  color: white;
  position: relative;
  font-weight: 500;
  text-align: center;
  font-size: 3.5vw;
}

.container {
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  background-color: white;
  height: 5px; 
  width: 0;
  bottom: 0;
  right: 50%;
  border-top-left-radius: 2.5px;
  border-bottom-left-radius: 2.5px;
  animation: animate 8s infinite;
}

.container::after {
  content: '';
  position: absolute;
  background-color: white;
  height: 5px; 
  width: 0;
  bottom: 0;
  left: 50%;
  border-top-right-radius: 2.5px;
  border-bottom-right-radius: 2.5px;
  animation: animate 8s infinite;
}



@keyframes animate {
  0% {
    width: 0px;
  }

  35% {
    width: 28%;
  }

  55% {
    width: 28%;
  }

  90% {
    width: 0px;
  }

  100% {
    width: 0px;
  }
}

@media only screen and (max-width: 600px) {
  .left-section {
    overflow: visible;
  }

  .container {
    margin: 30px 0;
  }

  .left-section h1 {
    font-size: 26px;
  }
}
