* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --txt-color: #fff;
  --bg-color: linear-gradient(140deg, #161524 0%, #0c0b1d 50%, #1a1924 100%);
}
::-webkit-scrollbar {
  width: 0;
}

body {
  color: var(--txt-color);
  display: flex;
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-color);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.light {
  position: absolute;
  top: 100px;
  left: -50px;
  width: 400px;
  height: 400px;
  z-index: -1;
  border-radius: 50%;
  box-shadow: 0 0 200px 200px #1e1b3ea8;
  background-color: #1e1b3ea8;
  animation: lightball 2s ease-in infinite alternate-reverse;
}
@keyframes lightball {
  to {
    transform: translateY(-20px);
    transform: translateX(100px);
    box-shadow: 0 0 100px 100px #1e1b3e;
    background-color: #1e1b3e;
  }
}
a {
  color: var(--txt-color);
  text-decoration: none;
}
a:hover {
  color: #c837ab;
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 95%;
  margin: 5px 0;
}

.input-wrapper::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 20px;
  z-index: -1;
  filter: blur(10px);
  background: linear-gradient(0deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
    animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
  0% {
    background: linear-gradient(0deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  5% {
    background: linear-gradient(18deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  10% {
    background: linear-gradient(36deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  15% {
    background: linear-gradient(54deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  20% {
    background: linear-gradient(72deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  25% {
    background: linear-gradient(90deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  30% {
    background: linear-gradient(108deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  35% {
    background: linear-gradient(126deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  40% {
    background: linear-gradient(144deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  45% {
    background: linear-gradient(162deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  50% {
    background: linear-gradient(180deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  55% {
    background: linear-gradient(198deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  60% {
    background: linear-gradient(216deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  65% {
    background: linear-gradient(234deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  70% {
    background: linear-gradient(252deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  75% {
    background: linear-gradient(270deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  80% {
    background: linear-gradient(288deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  85% {
    background: linear-gradient(306deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  90% {
    background: linear-gradient(324deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  95% {
    background: linear-gradient(342deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
  100% {
    background: linear-gradient(360deg, #3a3769 30%, #c837ab 50%, #3a3769 70%);
  }
}

input {
  width: 100%;
  color: var(--txt-color);
  font-size: 25px;
  padding: 5px 10px;
  background: #0c0b1d88;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: solid 5px #1e1b3e;
  border-top: solid 3px #1e1b3e;
  border-bottom: solid 3px #1e1b3e;
  outline: none;
}

input:focus {
  border: solid 3px #3a3769;
  outline: none;
}

button {
  cursor: pointer;
  color: var(--txt-color);
  text-decoration: none;
  background: none;
  border: none;
  margin: 0 10px;
  font-size: 20px;
}
button:hover {
  color: #c837ab;
}
/* lode */
.loder {
  position: absolute;
  font-size: 40px;
  width: 100%;
  height: 100vh;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-color);
  transition: 1s;
}
.loder img {
  width: 70px;
}
.loder div {
  position: absolute;
  transition: 0.4s;
  opacity: 0;
}
/* lines */
.line {
  border: 5px solid #1e1b3e;
}
.line.top {
  height: 20px;
  width: 95%;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  margin: 5px 20px;
  border-radius: 0px 0px 20px 20px;
}
.line.bot {
  height: 20px;
  width: 95%;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  margin: 5px 20px;
  border-radius: 20px 20px 0px 0px;
}
.line.right {
  border-right: 0;
  border-bottom: 0;
  border-top: 0;
  width: 20px;
  margin: 0 5px;
  border-radius: 20px 0px 0px 20px;
}
.line.left {
  border-left: 0;
  border-bottom: 0;
  border-top: 0;
  width: 20px;
  margin: 0 5px;
  border-radius: 0px 20px 20px 0px;
}
/* header */
header {
  height: 32px;
  display: flex;
  padding: 5px 10px;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
}
header .links {
  display: flex;
  width: 80px;
  align-items: center;
  justify-content: space-between;
}
header img {
  width: 100%;
}

/* top */
.top {
  width: 100%;
  max-height: 60vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* video sction */
.top .video {
  position: relative;
  width: 60%;
  height: 100%;
  aspect-ratio: 16 / 9;
  max-height: 50vh;
  margin-bottom: 10px;
  margin-right: 10px;
}
.limgr {
  display: flex;
}
.top .video .topbot {
  height: 100%;
  background-color: #100e25b7;
  border-radius: 20%;
  box-shadow: 10px 10px 100px 50px #100e25;
}
.top .video iframe {
  width: 100%;
  border: none;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
}
.top .video img {
  width: 90%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
}

/* ----------------------------------------------------------- media section ---------------------------------------------- */
.rightt {
  width: 50%;
  height: 100%;
  padding-right: 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rightt .line.right {
  height: 84%;
  margin-bottom: 10px;
}
.media {
  width: 100%;
  height: 100%;
  aspect-ratio: 11.5 / 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 5px;
  padding-bottom: 13px;
}
.media .line.top {
  border-radius: 0px 0px 20px 0px;
  width: 100%;
  margin: 0;
  border-left: 0;
}
.media .line.bot {
  border-radius: 0px 20px 0px 0px;
  width: 100%;
  margin: 0;
  border-left: 0;
}
.media .header {
  display: flex;
  align-items: center;
  border-radius: 0 0 20px 0;
  padding: 5px 10px;
  margin-right: 15px;
  border: solid 5px #1e1b3e;
  border-left: 0;
  border-top: 0;
}
.media .header p {
  margin: 0 5px;
}
.media .content {
  padding: 0 20px;
  height: 100%;
  max-height: 350px;
  overflow-y: scroll;
}
.media .content .page {
  width: 100%;
  overflow: hidden;
}
.media .content .page h1 {
  font-size: 60px;
}
.media .content .page h2 {
  font-size: 50px;
}
.media #Contact {
  padding: 15px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.media #Portfolio {
  flex-wrap: wrap;
  justify-content: center;
}
.media #Portfolio .card {
  cursor: pointer;
  display: flex;
  margin: 5px;
  width: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.media #Portfolio .card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
/* --------------------------------------------------- time line ---------------------------------------------------------- */
.timeline {
  width: 100%;
  height: 30%;
  margin-top: 30px;
  position: relative;
  padding: 10px 0;
  display: flex;
  white-space: nowrap;
  align-items: center;
  box-shadow: 10px 10px 100px 70px #06060f;
  background: linear-gradient(300deg, #06060f 0%, #0c0b1d 50%, #1a1924 100%);
}
.timeline .line.top {
  position: absolute;
  top: -20px;
  border-radius: 0px 0px 20px 0px;
  width: 100%;
  margin: 0px;
  margin-left: -1.9%;
  border-left: 0;
}
.timeline .right {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.timeline .left {
  left: 0;
  top: -5px;
  width: 20%;
  z-index: 3;
  height: 100%;
  display: flex;
  max-width: 100px;
  border-left: none;
  position: absolute;
  align-items: center;
  margin-bottom: 10px;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 30px 30px 0;
  background-color: #100e25;
  border: 5px solid #1e1b3e;
  box-shadow: 20px 0 50px -10px #06060f;
}
.timeline .left::before {
  content: "";
  position: absolute;
  height: 85%;
  box-shadow: 0 0 40px 40px #06060f;
  width: 10px;
  background: #06060f;
  left: 0;
}
.timeline .left img {
  cursor: pointer;
  width: 30px;
}
.timeline img {
  height: 50px;
  margin: 5px 0;
}
.timeline .slider {
  height: 100%;
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 1;
  animation: slider 10s linear infinite alternate;
}
.timeline .time {
  color: gray;
  display: flex;
}

@keyframes slider {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.videolines,
.audiolines {
  display: flex;
  gap: 10px;
  width: max-content;
}
.videolines {
  animation: move-left 50s linear infinite;
}
.audiolines {
  animation: move-right 50s linear infinite;
}
@keyframes move-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes move-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slider {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(100vw - 90%));
  }
}
/* ------------------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .top {
    flex-direction: column;
    align-items: center;
    max-height: none;
  }
  .top .rightt {
    width: 100%;
  }
  .top .video {
    width: 95%;
  }
  .light {
    width: 100px;
    height: 100px;
  }
  .media {
    padding: 0;
  }
  .media .header button {
    font-size: 17px;
    margin: 3px;
  }
  .media .content .page h1 {
    font-size: 40px;
  }
  .media .content .page h2 {
    font-size: 35px;
  }  .media .content #Contact h2 {
    font-size: 30px;
  }
  .media .content {
    max-height: 30vh;
  }
  .media #Portfolio .card {
    width: 45%;
    font-size: 10px;
  }
  .rightt .line.right {
    height: 300px;
  }
  .timeline {
    font-size: 10px;
  }
  .timeline .timnts {
    font-size: 5px;
  }
  .timeline .left::before {
    width: 0px;
  }
}
