
footer {
    position: fixed;
    width: 100%;
    bottom: 0;
}

#mainContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 25px;
}


#form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#formSubDiv {
    display: flex;
    flex-direction: column;
    color: black;
    gap: 10px;
}

input {
    color: white;
    background-color: black;
    border: solid 4px;
    border-radius: 0%;
}

textarea {
    resize: none;
    color: white;
    background-color: black;
    border: solid 4px;
    border-radius: 0%;
}

h1 {
    margin-top: 10px;
}

.buttonWrapper {
    width: 100%;
}

@media screen and (max-width: 700px) {
    #mainContainer {
        display: block;
    }
    
    h1 {
        text-align: center;
    }

    h3 {
        text-align: center;
        font-size: 0.9em;
    }
    
    #text {
        text-align: center;
        margin-bottom: 10px;
    }

    #contactsContainer {
        text-align: center;
        margin-bottom: 10px;
        display: block;
    }
    
    input {
        width: 90%;
        margin: 0px auto;
    }
    
    textarea {
        width: 90%;
        margin: 0px auto;
    }

    .buttonWrapper {
        width: 90%;
    }

    footer {
        position: static;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        translate: 0px 100px;
        filter: blur(20px);
    }
    100% {
        translate: 0px 0px;
        filter: blur(0px);
        opacity: 1;
    }
}

#text h1{
    animation: fadeIn 500ms;
}

#text p{
    opacity: 0;
    animation: fadeIn 500ms forwards;   
}

#contactContainer {
    display: flex;
    margin: auto;
}

#contact {
    margin: auto;
}

#contact h2 {
    animation: fadeIn 500ms;
    color: #53D958;
    text-decoration: underline;
}

#text p:nth-child(2){
    animation-delay: 50ms;
}
#text p:nth-child(3){
    animation-delay: 100ms;
}
#text p:nth-child(4){
    animation-delay: 150ms;
}
#text p:nth-child(5){
    animation-delay: 200ms;
}

.a1 {
    opacity: 0;
    animation: fadeIn 500ms forwards; 
    animation-delay: 50ms;
}
.a2 {
    opacity: 0;
    animation: fadeIn 500ms forwards; 
    animation-delay: 100ms;
}
.a3 {
    opacity: 0;
    animation: fadeIn 500ms forwards; 
    animation-delay: 150ms;
}
.a4 {
    opacity: 0;
    animation: fadeIn 500ms forwards; 
    animation-delay: 200ms;
}
.a5 {
    opacity: 0;
    animation: fadeIn 500ms forwards; 
    animation-delay: 250ms;
}