* {
  margin: 0;
}

.icon {
  cursor: pointer;
  margin-left: 360px;
  opacity: 0.8;
}

.icon:hover {
  opacity: 1;
}

:root {
  --primary-color: black;
  --secondary-color: white;
  --success-color: cyan;
}

.light {
  --primary-color: orange;
  --secondary-color: white;
  --success-color: crimson;
}

.slider {
  border: 1px solid var(--primary-color);
  width: 450px;
  height: 450px;
  border-radius: 50px;
  margin-left: 750px;
  margin-top: 60px;
  overflow: hidden;
  position: fixed;
}
.image-container {
  width: 1500px;
  height: 550px;
  clear: both;
  position: relative;
  -webkit-transition: left 2s;
  -moz-transition: left 2s;
  -o-transition: left 2s;
  transition: left 2s;
}
.slide {
  float: left;
  margin: 0px;
  padding: 0px;
  position: relative;
  animation: slide 16s infinite;
}
#slide-1:target ~ .image-container {
  left: 0px;
}
#slide-2:target ~ .image-container {
  left: -500px;
}
#slide-3:target ~ .image-container {
  left: -1000px;
}
.buttons {
  position: relative;
  top: -75px;
}
.buttons a {
  display: inline-block;
  height: 15px;
  width: 15px;
  border-radius: 50px;
  background-color: var(--primary-color);
  margin-right: 5px;
  align-items: center;
}

.slide:hover {
  cursor: pointer;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(-100%);
  }
  /* 55% {
    transform: translateX(-200%);
  }
  75% {
    transform: translateX(-200%);
  } */
  /* 80%{
    transform: translateX(-300%);
  }
  100%{
    transform: translateX(-300%);
  } */
}

.text {
  display: flex;
}

.text > .auto > .container > h1 {
  font-family: system-ui;
  font-size: 40px;
  margin-left: 65px;
  color: var(--secondary-color);
  -webkit-text-stroke: 1.5px var(--primary-color);
  margin-top: 200px;
  position: fixed;
}

.btn {
  border-radius: 50px;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: var(--primary-color);
  font-family: system-ui;
  font-weight: 500;
  font-size: 20px;
  font: bold;
  height: 50px;
  width: 150px;
  margin-top: 350px;
  margin-left: 65px;
  border: none;
}

.btn:hover {
  transition: 0.9s all ease-out;
  background-color: var(--success-color);
}

.e {
  font-family: system-ui;
  font-size: 60px;
  margin-left: 65px;
  color: var(--secondary-color);
  -webkit-text-stroke: 1.5px var(--primary-color);
  margin-top: 100px;
  position: fixed;
}

.hub {
  font-family: system-ui;
  font-size: 60px;
  margin-left: 225px;
  color: var(--primary-color);
  -webkit-text-stroke: 1.5px var(--primary-color);
  margin-top: 100px;
  position: fixed;
}

@media screen and (max-width: 768px) {
  .btn {
    margin-top: 600px;
    width: 300px;
    height: 100px;
    border: none;
    outline: none;
    margin-left: 125px;
  }
  .slider {
    display: none;
  }
  .e {
    font-size: 75px;
    margin-left: 60px;
  }
  .hub {
    font-size: 75px;
    margin-left: 255px;
  }
  .text > .auto > .container > h1 {
    font-size: 50px;
    margin-top: 350px;
    margin-left: 20px;
  }
}
