@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Move the element down initially */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move the element back to its original position */
    }
}

@keyframes fadeInCenter {
    from {
       
        width: 0;
    }
    to {
        
        width: 80%;
    }
}

body {
    
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #121212;
}

form {
    
    width: 600px;
    animation: fadeIn 0.5s ease-in-out forwards;
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: none;
    border-radius: 4px;
    background-color: #333333;
    box-sizing: border-box;
    box-shadow: none;
    color: #fff;
}

/* Set a fixed width for the textarea */
textarea {
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    border: none;
    box-shadow: none;
    color: #fff;
    font-family: Arial, sans-serif;
}

#submit {
    width: 40%; /* Adjust the width as needed */
    height: 50px;
    font-size: 20px;
    border-radius: 4px;
    background-color: #121212;
    color: #fff;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 20px; /* Add margin-top to separate it from the textarea */
    margin-left: 30%; /* Adjust the margin-left to center the button */
}

#submit:hover {
    background-color: #fff;
    color: #1e1e1e;
}

.mainDiv{
    background-color: #121212;
}

nav {
    height: 100px;
    width: 100%;
}

.mainDiv {
    min-height: 100vh;
}

.formDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    
    margin-bottom: 100px;
    
}

.formDiv h1 {
    margin-bottom: 30px;
    font-size: 64px;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.line-break {
    background-color: #4f4f4f;
    height: 2px;
    width: 50%;
    margin: 0 auto;
    animation: fadeInCenter 0.5s ease-in-out forwards;
    margin-bottom: 20px;
}

.formDiv p {
    margin-bottom: 30px;
    text-align: center;
    width: 60%;
    color: #CCCCCC;
    animation: fadeIn 0.5s ease-in-out forwards;
    font-size: 18px;
    line-height: 1.7;
}

.backDiv {
    display: flex;
    align-items: center;
    
    
}

.backDiv a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.backDiv ion-icon {
    margin-right: 5px; /* Add space between the icon and text */
    font-size: 30px;
}

.thanksDiv {
    
    text-align: center;
    width: 60%;
    margin: 0 auto;
    margin-top: 100px;
    animation: fadeIn 0.5s ease-in-out forwards;
}


@media (max-width: 800px) {
  form{
    width: 90%;
  }

  .formDiv p {
    width: 80%;
  }

  .formDiv h1{
    font-size: 48px;
  }
}