.container {
    position: absolute;
    width: 100vw;
    height: fit-content;
    display: flex;
    margin-top: 50vh;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
}

.contact-form {
  width: 300px;
  margin-top: 10vh;
  padding: 0 5% 5% 5%;
  margin-bottom: 10px;
  background-color: #f2f2f2;
  animation: fadeIn 0.5s ease-in-out;
  margin-left: 50%;
  transform: translateX(-50%);
}

.form-container {
    width: 500px;
}

h3 {
    margin-top: 4vh;
    margin-bottom: 5vh;
    animation: labelDisplay 0.5s ease-in-out;
}

.contact-form label {
    display: block;
    margin-top: 2vh;
    margin-bottom: 5px;
    animation: leftSlider 0.5s ease-in-out;
}

.contact-form input[type="text"] {
    width: 100%;
    padding: 10px 0 10px 0;
    margin-bottom: 2vh;
    border: 1px solid #ccc;
    border-radius: 5px;
    animation: leftSlider 0.5s ease-in-out;
    padding-left: 15px;
}

.contact-form input[type="email"] {
    width: 100%;
    padding: 10px 0 10px 0;
    margin-bottom: 2vh;
    border: 1px solid #ccc;
    border-radius: 5px;
    animation: leftSlider 0.5s ease-in-out;
    padding-left: 15px;
}

.contact-form textarea {
    width: 100%;
    padding: 10px 0 150px 0;
    margin-bottom: 2vh;
    border: 1px solid #ccc;
    resize: none;
    border-radius: 5px;
    animation: leftSlider 0.5s ease;
    padding-left: 15px;
}

.submitBtn {
    width: 100%;
    height: 5vh;
    background-color: #134564;
    color: white;
    border-radius: 5px;
    border-color: transparent;
    font-size: medium;
    font-weight: 600;
    margin-top: 3vh;
    animation: bottomSlider 0.5s ease;
    margin-bottom: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }  
}

@keyframes labelDisplay {
    from {
        opacity: 0;
        transform: translateY(-200%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes leftSlider {
    from {
        opacity: 0;
        transform: translateX(-20%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bottomSlider {
    from {
        opacity: 0;
        transform: translateY(200%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 16px;
        margin-left: 30px;
    }

    a {
        color: black;
        margin-bottom: 35px;
    }

    .navbar-right.mobile-menu {
        margin-right: 0;
    }

    .navbar-right {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.2);
        justify-content: center;
        backdrop-filter: blur(7px);
        margin-right: -65%;
        transition: all 0.5s ease;
    }

    .menu-hamburger {
        display: block;
        position: absolute;
        width: 35px;
        right: 30px;
    }
}

@media screen and (min-width: 1024px) {
    .contact-form {
        height: 65vh;
    }
}

@media screen and (min-width: 1536px) {
    .contact-form {
        width: 25vw;
    }    
}

@media screen and (min-width: 2560px) {
    .c-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
