body {
  margin: 0;
  padding: 0;
  background: url(./images/hd-mars-image.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: black;
}
section {
  height: 100hv;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Optional: Style for the images */
img {
  max-width: 100%;
}

/* Optional: Style for the text inside columns */
p {
  margin-top: 10px;
  font-size: 14px;
}
.navigation {
  color: white;
  text-align: end;
  font-size: 30px;
  margin-right: 20px;
  margin-top: 10px;
}
.container {
  display: flex;
  flex-direction: column;
}

.myCV {
  text-decoration: none;
  font-weight: bold;
  font-size: large;
}
.section:nth-child(even) {
  background-color: #ccc;
}

.home {
  height: 30vh;
  position: relative;
  text-align: center;
  margin-top: 50px; /* Adjust as needed */
  z-index: 1; /* Bring the content above the background */
}

.test-section {
  min-height: 60vh;
}

.home-text {
  text-align: center;
  color: whitesmoke;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  background-color: rgba(
    255,
    255,
    255,
    0.2
  ); /* Adjust background color and opacity */
  border-radius: 10px;
  box-shadow: 0 10px 20px black;
}

.home-text h1 {
  font-size: 28px;
}

.home-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.cube {
  width: 200px;
  height: 200px;
  position: absolute;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
}

.side {
  position: absolute;
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.front {
  transform: rotateY(0deg) translateZ(100px);
  background-image: url("./images/javascript.png");
}
.back {
  transform: rotateY(180deg) translateZ(100px);
  background-image: url("");
}
.right {
  transform: rotateY(-90deg) translateZ(100px);
  background-image: url("./images/css.png");
}
.left {
  transform: rotateY(90deg) translateZ(100px);
  background-image: url("./images/html.png");
}
.top {
  transform: rotateX(-90deg) translateZ(100px);
  background-image: url("./images/threejs.png");
}
.bottom {
  transform: rotateX(90deg) translateZ(100px);
  background-image: url("./images/reactjs.png");
}

@keyframes rotate {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(360deg);
  }
}
/* intro */
.intro-view {
  margin: 2px;
  padding: 10px;
  text-decoration: none;
  font-size: 16pt;
  color: white;
}

.arrow {
  color: red;
  text-decoration: none;
}

/* about */
.about-section,
.projects-section,
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.about-section p {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.title {
  color: white;
}
.paragraph {
  margin: 60px;
  color: white;
}

/* footer */
footer p {
  padding: 10px;
  font-weight: bold;
  color: whitesmoke;
}

.social-icons {
  padding: 100px;
  text-align: center;
}

.social-icons a {
  color: whitesmoke;
  font-size: 30px;
  margin-left: 10px;
}

a:hover {
  color: red;
}

/* contact section*/
label {
  color: whitesmoke;
}
input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #3356ff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
p {
  color: white;
}

input[type="submit"]:hover {
  background-color: #337cff;
}

/* portfolio section */
.projects_container {
  width: 50%;
  text-align: center;
}

/* shooting star*/
span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: animate 3s linear infinite;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba (255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1);
}
span::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(0%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
}
@keyframes animate {
  0% {
    transform: rotate(315deg) translateX(0);
  }
  100% {
    transform: rotate(315deg) translate(-2000px);
  }
}
