@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
}
body{
    user-select: none;
    background-image: url(pictures/background.png);
    animation: bodyanimation 60s infinite;
    
}
@keyframes bodyanimation{
    from{
       background-position: 0% 0%;
    }
    to{
       background-position: 100% 0%; 
    }
}

@keyframes astronaut{
  
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}

.astronaut-animation{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: astronaut 10s forwards;
    animation-delay: 20s;
    
}
.astronaut-animation img{
    margin-top: 0px;
    width: 300px;
   
}

/*Macht das Scrollen für die Navbar cooler und smoother*/
html{
    scroll-behavior: smooth;
}

/*Navbar CSS*/
nav{
    display: flex;
    position: sticky;
    top: 0px;
    justify-content: flex-end;
    background-color: rgb(0, 0, 0);
    padding: 20px;
    
        
}
nav li{
    list-style-type: none;
    text-decoration-style: none;
}
nav ul{
   
    display: flex;
    padding: 0;
    margin: 0;
}
nav a{
   
    font-size: 22px;
    text-decoration: none;
    color: white;
    margin-left: 20px;
    font-family: 'Poppins',sans-serif,Arial;
    display: flex;
    justify-content: right;
    flex-direction: row;
    transition: color 0.5s ease;
}
.logo{
    position: absolute;
    border-radius: 10px;
    width: 50px;
    right: 200px;
}
.besidetext{
    position: relative;
    right: 1300px;
    font-size: 30px;
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Poppins',sans-serif,Arial;
}
nav a:hover{
    color: rgb(88, 88, 88);
}


/*Ab hier fängt der Home Div an*/

.home{
    display: flex;
}
.h-text1{
    margin-top: 150px;
    margin-left: 100px;
    color: white;
    font-size: 60px;
    font-family: 'Poppins',sans-serif,Arial;
    font-weight: 800;
    text-shadow: 6px 2px 10px rgba(255, 255, 255, 0.137);
    margin-bottom: 30px;
}


/*Ab hier Fängt die Button Class an!*/

.button-container{ }

.h-button1{
    margin-left: 250px;
    border: none;
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 17px;
  padding-bottom: 17px;
    border-radius: 10px;
    background-color: rgb(131, 130, 130);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: font-size, color,background-color 0.6s ease;
    margin-bottom: 0;
}
.h-button1:hover{
    color: black;
    background-color: rgb(219, 219, 219);
}
.h-button2{
    margin-left: 30px;
    border: none;
    background-color: rgb(131, 130, 130);
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 17px;
  padding-bottom: 17px;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color,color 0.6s ease;
}
.h-button2:hover{
    background-color: rgb(219, 219, 219);
    color: black;
}

/*Astronaut mit Animation*/
.astronautbeside{
    width: 120px;
    position: absolute;
    margin-left: 206px;
    margin-bottom: 200px;
    animation: astronaut 4s infinite ease;
}


/*Hier fängt Functions an*/

#functions {
    display: flex;
    color: white;
    margin-top: 500px;
}
.why-1{
    margin-top: 500px;    
    width: 900px;
    height: 300px;
    border-radius: 10px;
    background-color: rgb(70, 70, 70);
    position: relative;
    left:  900px;
    overflow: hidden;
    transition: border 0.8s ease;
}
.w-text1{
    cursor: text;
color: white;
font-family: Montserrat,sans-serif,Arial;
font-weight: 700;
margin-top: 15px;
margin-left: 80px;
font-size: 50px;
}
.w-text2{
    font-family: Montserrat,sans-serif,Arial;
    font-weight: 500;
    cursor: text;
    position: absolute;
    margin-right: 300px;
    justify-content: right;
    margin-top: 20px;
    font-size: 25px;
    color: white;
    margin-left: 50px;
    width: 800px;
    margin-bottom: 500px;
}
