import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import "https://unpkg.com/open-props/easings.min.css";

body {
  transform: scale(0.7); /* 90% zoom out */
  transform-origin: top center;
  opacity: 0.5;
}

.date {
  display:block;
  color: #303030;
  margin:10px;
  font-size: 20px;
}

/*** Particles: Vainsan
	Earth: Foundation
	Text: Micke Berg
	Grid: Mandy Nicole
	Pendulum: Daniel Munoz
	Astronauts: NASA
***/

:root{
} 

.pager {
  color: rgba(6, 20, 82, 0.987); /* Change this to your desired color */
  font-family: 'Playball', cursive;
  font-size: 14px; /* Adjust the font size as needed */
  position: absolute;
  display: flex;
  justify-content: block;
  align-items: center;
  z-index: 5;
  top: 30px;
  left: 50px;
  animation: pulse 0.3s linear infinite;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(1300px);
  }
  20% {
    transform: translateX(0px);
  }
  30% {
    transform: translateX(1300px);
  }
  40% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(1300px);
  }
  60% {
    transform: translateX(0px);
  }
  70% {
    transform: translateX(1300px);
  }
  80% {
    transform: translateX(0px);
  }
  90% {
    transform: translateX(1300px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes pulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.5), 0 0 75px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 1), 0 0 50px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 1), 0 0 90px rgba(255, 255, 255, 1);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.5), 0 0 75px rgba(255, 255, 255, 0.5);
  }
}

.pager span {
  display: inline-block;
  animation: pendulum 4s linear infinite;
  transform-origin: top center;
  font-family: 'Satisfy', cursive;
  font-size: 48px;
  line-height: normal;
  color: var(--white-color); /* Ensure this variable is defined, or replace with a specific color like #fff */
  margin: 0;
  z-index: 6;
}

/* Optional staggered effect */
.pager span:nth-child(1) { animation-delay: 0.7s; }
.pager span:nth-child(2) { animation-delay: 0.5s; }
.pager span:nth-child(3) { animation-delay: 0.3s; }
.pager span:nth-child(4) { animation-delay: 0.1s; }

.title{
  color: #1377BD;
  font-size: 16px;
  margin: 4px;
  font-weight:500;
}

.title:hover {
  text-decoration: none !important;
}

.content{
  display:block;
  color: #303030;
  margin:2px;
  font-weight:300;
}

.container{
  max-width:350px;
}

.icon-title{
    display: flex;
    align-items: center;
}

.list {
  list-style-type:none;
}

.item {
    margin-top:5px;
    margin-bottom:5px;
}

@keyframes rotate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

@keyframes continuous-rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes continuous-rotate-left {
  from {
      transform: rotate(360deg);
  }
  to {
      transform: rotate(0deg);
  }
}

@keyframes continuous-rotate-left-half {
  from {
      transform: rotate(180deg);
  }
  to {
      transform: rotate(0deg);
  }
}

.element{
  transition-duration: 1s ;
  transition-timing-function: ease;
}

.top-text{
    min-height: calc(100vh - 128px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
}

.middle-text{
  margin-top: 44px;
  animation: rotateStar 10s linear infinite;
}


@keyframes handwritten {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(-20px);
  }
}

.container {
  height: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}

.paused {
  animation-play-state: paused;
}

.wrapper{
  width: 50%;
}

.scroll-wrapper::-webkit-scrollbar { 
    display: none; 
    margin-right: 5%;
}

.scroll-wrapper {
  height: 100%;
  display: flex;
  flex-direction: row;
}

.top-text p {
  font-size: 80px;
  font-family: 'Roboto', sans-serif;
}

.fixed-wrapper {
    position: absolute;
    right: 50%;
    top: 250px;
  }

.fixed-wrapper:hover {
  animation-play-state: paused;
} 

ul li a {
  color: #808080;
}

.text-title {
  top: 10px;
  left: 10px;
  margin:10px;
  animation: changeColor 5s alternate infinite, rotateStar 20s linear infinite, smokeTrail 50s alternate infinite;
  z-index: 1;
  position: relative;
  filter: blur(4px); /* Adds blur for the trail effect */
}

@keyframes smokeTrail {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}

.text-title:hover{
  opacity: 0.8;
  filter: alpha(opacity=80);
  text-decoration:none;
  z-index: 10;
  animation-play-state: paused;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0px);
  }
  40% {
      transform: translateY(-150px);
  }
  60% {
      transform: translateY(-75px);
  }
}

@keyframes changeColor {
  0% {
    color: rgb(28, 26, 26); /* Initial color */
  }
  50% {
    color: rgb(1, 2, 2); /* Midway color */
  }
  100% {
    color: rgb(245, 245, 245); /* Final color */
  }
}

@keyframes dropLetter {
  0% {
    transform: translateY(-100px); /* Start position above */
    opacity: 0;
  }
  100% {
    transform: translateY(0); /* End position */
    opacity: 1;
  }
}

.title-logo{
    height:24px;
    width:24px;
    margin: 0px 12px 0px 2px;
    opacity: 0.4;
    filter: alpha(opacity=40);
    text-decoration:none;
    z-index: 100;
    animation: rotateStar 20s linear;  
}

/* Keyframes for the animation */
@keyframes moveAndRotate {
  0% {
      transform: translateX(-100px) rotate(0deg);
  }
  100% {
      transform: translateX(calc(100vw + 100px)) rotate(360deg);
  }
}

.top-left {
  position: absolute;
  top: 0;
  left: 10;
  z-index: 1;
}

.top-left img {
  max-width: 7%;
  height: auto;
}

.title-logo:hover{
    opacity: 0.8;
    filter: alpha(opacity=80);
    text-decoration:none;
    animation: rotate 300ms linear infinite;
}

.mobile-view {
  display: none;
}

.desktop-view {
  display: block;
}

.text-content {
  margin:20px 0px 20px 0px;
}

@media only screen and (max-width: 100%) {
  .container {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .wrapper {
    width: 100%;
  }
  .mobile-view {
    display: block;
  }
  .desktop-view {
    display: none;
  }
  .wrapper.fixed-wrapper {
    display: flex;
    align-items: center;
    right: 0%;
    display:none;
  }
  .scroll-wrapper {
    align-items: center;
  }
  .social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #terminal {
    width: 100%;

  }
  .top-text p {
    font-size: 70px;
  }
}

@media only screen and (max-width: 100%) {
  #terminal .terminal .window-title .win-buttons{
    width: 60px;
  }
  #terminal .terminal {
    height: 600px;
  }
  .top-text p {
    font-size: 60px;
  }
}

#terminal #terminal-container .overlay {
  background-color: #FFF;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0.3;
  /* animation: rotate 25s linear infinite ; */
}

#terminal .terminal {
  background: rgba(38, 38, 38, 0.8);
  width: 80%;
  height: 260px;
  border-radius: 8px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  margin: 0;
  animation: rotateStar 15s alternate infinite ;
}

#terminal .terminal .window-title {
  background: linear-gradient(top, #dedede, #c0c0c0);
  width: calc(100% - 16px);
  height: 8%;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 1px 8px;
}

#terminal .terminal .window-title .win-buttons {
  position: fixed;
  width: 15%;
  left: -11px;
  float: left;
  margin: 0;
}

#terminal .terminal .window-title .button {
  display: inline-block;
  text-align: center;
  width: 10px;
  height: 10px;
  border: 0.5px solid;
  border-radius: 100px;
  vertical-align: middle;
  margin: 3px 2px 3px 0;
}

#terminal .terminal .window-title #close {
  background: #e25544;
  border-color: #d84b3a;
  animation: orbit 4s alternate infinite;
}

#terminal .terminal .window-title #min {
  background: #f5b640;
  border-color: #e0a12b;
  animation: orbit 6s alternate infinite;

}

#terminal .terminal .window-title #max {
  background: #7cb058;
  border-color: #6fa44b;
  animation: orbit 4s alternate infinite;
}

#terminal .terminal .title {
  position: fixed;
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  vertical-align: middle;
  top: 0.5px;
  left: -43px;
  animation: rotateStart 10s alternate-reverse infinite ;
}

#terminal .terminal .prompt {
  font-size: 98%;
}

#terminal .terminal .user {
  color: #ea7e7d;
  letter-spacing: 0.002em;
  padding-right: 3px;
}
#terminal .terminal .at {
  color: #e8d880;
  padding-right: 2px;
}
#terminal .terminal .path {
  color: #7ecdcb;
  letter-spacing: 0.002em;
  padding-right: 2px;
}
#terminal .terminal .caret {
  color: #50cd70;
}
#terminal .message {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Source Code Pro", monospace;
  width: 95%;
  margin: auto;
  padding: 1.5vh 0 0;
  z-index: 2;
  /* animation: rotate 5s alternate-reverse infinite ; */
}

@keyframes rotateStar {
  0%{
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

#terminal .message span {
  font-size: 90%;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.045em;
  margin-bottom: 1em;
}

#terminal .message span a {
  font-family: "Source Code Pro", monospace;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.75);

}

#terminal .message form input {
  background: transparent;
  border: none;
  outline: none;
  caret-color: #50cd70;
  
}
#terminal .message form input:focus {
  color: rgba(255, 255, 255, 0.75);
}
#terminal .message .typed-cursor {
  color: rgba(255, 255, 255, 0.9);
}
#terminal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
#terminal a:hover {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.9);
}

footer {
    text-align: center;
    padding: 1em;
    max-width: 80px;
    position: fixed;
    top: 0;
    right: 25px;
    a {
        text-decoration: none;
        display: inline-block;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: transparent;
        border: 1px dashed #fff;
        color: #fff;
        margin: 5px;
        &:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .icons {
            margin-top: 12px;
            display: inline-block;
            font-size: 20px;
        }
    }
}

.platon{
  position: absolute;	
  left: 90px;
  top: 3000px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 20s linear infinite ;
}


.davinci{
  position: absolute;	
  left: 50px;
  top: 3400px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 10s linear infinite ;
}

.buddha{
  position: absolute;	
  left: 50px;
  top: 4000px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 35s linear infinite ;
}

.cloudatom{
  position: absolute;	
  left: 50px;
  top: 4500px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 20s linear infinite ;
}

.rob{
  position: absolute;	
  left: 50px;
  top: 4150px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 30s linear infinite ;
}

.atom{
  position: absolute;	
  left: 50px;
  top: 3400px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 20s linear infinite ;
}

.ice{
  position: absolute;	
  left: 50px;
  top: 4700px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 15s linear infinite ;
}

.phil{
  position: absolute;	
  left: 50px;
  top: 4900px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 20s linear infinite ;
}

.saucer{
  position: absolute;	
  left: 30px;
  top: 3600px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 25s linear infinite ;
}

.flash{
  position: absolute;	
  left: 10px;
  top: 4300px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 35s linear infinite ;
}

.rick{
  position: absolute;	
  left: 10px;
  top: 3700px;
  width: 40px;
  height: auto;
  animation: moveAndRotate 35s linear infinite ;
}

@keyframes flip {
  from {
    transform: rotateY(0deg); /* Start at 0 degrees */
  }
  to {
    transform: rotateY(180deg); /* End at 180 degrees */
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg); /* Initial state */
  }
  to {
    transform: rotate(360deg); /* Final state after rotation */
  }
}

.title-logo {
  width: 40px;
  height: auto;
  animation: rotateAndChangeOrigin 5s linear infinite ;
}

.red-text {
  color: red;
}

.blue-text {
  color: rgb(56, 25, 194);
}

.turkis-text {
  color: rgb(17, 212, 212);
}

.green-text {
  color: rgb(101, 220, 87);
}

#sun {
  width: 100px;
  height: 100px;
  background: yellow;
  border-radius: 50%;
  position: fixed;
  opacity: 0.5;
  top: 100px;
  left: 100px;
  transform: translate(-50%, -50%);
  animation: zoomIn 5s alternate infinite; 
  z-index: 2;
}

.planet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation-timing-function: linear;
  position: fixed;
  justify-content: block;
  top: 80px;
  right: 100px;
  z-index: 3;
}

#mercury {
  background: gray;
  animation: combinedAnimation 19s alternate infinite; 
}

#venus {
  background: #ff9900;
  animation: combinedAnimation 12s alternate infinite;
}

#earth {
  background: #00ccff;
  animation: combinedAnimation 10s alternate-reverse infinite;
}

#mars {
  background: #ff3300;
  animation: combinedAnimation 17s alternate infinite; 
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(calc(10vw - 5px), calc(10vh - 5px)); }
}

@keyframes rotateAndChangeOrigin {
  0% {
      transform: rotate(0deg);
      transform-origin: center;
  }
  25% {
      transform: rotate(90deg);
      transform-origin: bottom left;
  }
  37% {
    transform: rotate(135deg);
    transform-origin: top left;
  }
  50% {
      transform: rotate(180deg);
      transform-origin: top left;
  }
  63% {
    transform: rotate(225deg);
    transform-origin: top right;
  }
  75% {
      transform: rotate(270deg);
      transform-origin: top right;
  }
  87% {
    transform: rotate(315deg);
    transform-origin: bottom right;
  }
  100% {
      transform: rotate(360deg);
      transform-origin: bottom left;
  }
}

@keyframes combinedAnimation {
  0% {
    transform: translateX(-50%) translateY(-50%) scale(5) rotate(0deg) translateX(10px) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(100%) scale(1) rotate(360deg) translateX(10px) rotate(36deg);
  }
}

@keyframes orbit {
  from {
      transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  to {
      transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes zoomIn {
  0% {
      transform: translateX(-50%) translateY(-50%) scale(5);
  }
  100% {
      transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

  @keyframes pendulum {
    0% {
      transform: rotate(15deg);
    }
    50% {
      transform: rotate(-15deg);
    }
    100% {
      transform: rotate(15deg);
    }
  }
  @keyframes flipHorizontal {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(-1);
    }
}

.image-split-color img {
  animation: rotateAndMove 15s alternate infinite;
}

/* Combined rotation and left-to-right movement */
@keyframes rotateAndMove {
  from {
    transform: rotate(0deg) translateX(0);
  }
  to {
    transform: rotate(360deg) translateX(500px);
  }
}

.image-container {
  position: relative;
  width: 100%;
  height: 100px; /* Adjust this to the height you want */
  display: flex;
  justify-content: center;
  align-items: center;
  top: 1050px;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}

.image-container img {
  width: 100px; /* Starting width of the images */
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.slider {
  position: absolute;
  white-space: nowrap;
  animation: slide 35s linear infinite;
  display: flex;
  align-items: center;
}

@keyframes slide {
  0% {
      transform: translateX(100%);
  }
  50% {
      transform: translateX(-50%);
  }
  100% {
      transform: translateX(-100%);
  }
}

.centered {
  transform: scale(1.5); /* Enlarge the image in the center */
}

.astro2{
  transition: transform 25s ease;
  position: relative;
  top: 300;
  left: 800px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 50s alternate infinite;
}
.astro21{
  transition: transform 25s ease;
  position: relative;
  top:300;
  left: 500px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 90s alternate infinite;
}

.astro3{
  transition: transform 25s ease;
  position: relative;
  top: 300;
  left: 1200px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 45s alternate infinite;
}

.astro31{
  transition: transform 25s ease;
  position: relative;
  left: 1000px;
  top: 500;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 65s alternate infinite;
}

.astro4{
  transition: transform 25s ease;
  position: relative;
  top: 600;
  left: 1000px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 50s alternate infinite;
}

.astro41{
  transition: transform 25s ease;
  position: relative;
  top: 500;
  left: 300px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 60s alternate infinite;
}

.astro5{
  transition: transform 5s ease;
  position: relative;
  top: 500;
  left: 300px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 25s alternate infinite;
}

.roman{
  transition: transform 15s ease;
  position: relative;
  top: 600;
  left: 1300px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 10s alternate infinite;
}

.astro7{
  transition: transform 55s ease;
  position: relative;
  top: 500;
  left: 300px;
  border-radius: 20%;
  animation: rotateAndChangeOrigin 20s alternate infinite;
}

@keyframes floatnew {
  50% {
    transform: scale(var(--scale, .8)) rotateZ(var(--rotate, .5turn));
  }
}

main {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  padding: 10px;
  
  > img {
    animation: floatnew 2s var(--ease-spring-2) var(--delay, 0) alternate infinite;
    transition: scale 1s var(--ease-spring-2);
    
    @starting-style {
      scale: .8;
    }
  }
}

@layer support {
  * {
    box-sizing: border-box;
    margin: 0;
  }

  html {
    block-size: 100%;
    color-scheme: dark light;
    background: var(--brad-bg);
  }
  
  img {
    max-inline-size: 100%;
  }
}

.image-container {
  position: relative;
  width: 100%;
  height: 100px; /* Adjust this to the height you want */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}



.perspective-text {
  position: absolute;
  top: 100%;
  left: 10%;
  transform: translate(-50%, -50%);
  font-family: Arial;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px #eeeeee;
}

.perspective-line {
  height: 50px;
  overflow: hidden;
  position: relative;
}

.perspective-line:nth-child(odd) {
  transform: skew(60deg, -30deg) scaleY(0.667);
}
.perspective-line:nth-child(even) {
  transform: skew(0deg, -30deg) scaleY(1.333);
}
.perspective-line {
  position: relative;
}
.perspective-line:nth-child(1) {
  left: 29px;
}
.perspective-line:nth-child(2) {
  left: 58px;
}
.perspective-line:nth-child(3) {
  left: 87px;
}
.perspective-line:nth-child(4) {
  left: 116px;
}
.perspective-line:nth-child(5) {
  left: 145px;
}

/* Sliding text on all lines */
.perspective-text p{
  transform: translate(0, -50px);
  animation-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  animation: text-anim 4s infinite;
}

/* Solid text on hover */
.perspective-line:hover p{
  color: #eeeeee2d;
}
  
@keyframes text-anim {
  0% {
    transform: translate(0, 0);
  }
    50% {
    transform: translate(0, -50px);
  }
  100% {
    transform: translate(0, 0);
  }
}
