html, body {
    margin: 0;
    padding: 0;
    font-family: gira-sans, sans-serif;
    overflow-x: hidden;
    background-color: #f6f9fc;
    height: fit-content;
    padding-bottom: 100px;
}

h2 {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 0;
}

h3 {
    font-size: 25px;
    margin-bottom: 0;
    font-weight: 600;
}

.contact-container {
    margin-left: 50px;
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    column-gap: 200px;
    align-items: flex-start;
    justify-content: center;
}

.copy-container {
    display: flex;
    flex-direction: column;
    margin-top: -50px;
}

.description {
    color: #425466;
    font-size: 18px;
    max-width: 480px;
    line-height: 1.55;
    margin-top: 40px;
    font-weight: 400;
}

.contact-col {
    width: 540px;
}

.contact-form {
    width: 540px;
    height: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}

.form-2 {
    height: 350px;
    opacity: 0;
}

.form-3 {
    opacity: 0;
}

.form-content {
    padding: 10px 0 0 35px;
}

.form-content-centered {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    padding-top: 80px;
    width: 100%;
}

.form-content-centered>p.description {
    margin-top: 15px;
    max-width: none;
}

.input-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 1px;
}

.input-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 60px;
    height: 47px;
}

.input-title {
    font-size: 15px;
    font-weight: 500;
}

.form-text-input {
    width: calc(300px - 24px);
    height: 24px;
    border-radius: 4px;
    border: none;
    background-color: #f6f9fc;
    color: #0a2540;
    padding: 5px 12px 7px;
    font-size: 15px;
}

.input-error {
    box-shadow: 0 0 0 1.5px #ff5996;
}

.submit-row {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
}

.continue {
    width: 113px;
    height: 34px;
    border-radius: 25px;
    border: 0;
    outline: 0;
    background-color: #4215cc;
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.continue:hover {
    cursor: pointer;
    background-color: black;
    color: white;
    transition-duration: 0.3s;
    opacity: 1;
}

.optional {
    font-size: 13px;
    color: rgb(96, 96, 96);
}

.animate-up-out {
    animation: upOut 0.45s ease-in-out forwards;
}

.animate-up-out-2 {
    animation: upOut2 0.45s ease-in-out forwards;
}

.animate-up-in {
    animation: upIn 0.45s ease-in-out forwards;
    animation-delay: 0.45s;
}

.animate-up-in-2 {
    animation: upIn2 0.45s ease-in-out forwards;
    animation-delay: 0.45s;
}

:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

@keyframes upOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-250px);
    }
}

@keyframes upOut2 {
    from {
        opacity: 1;
        transform: translateY(-300px);
    }

    to {
        opacity: 0;
        transform: translateY(-550px);
    }
}

@keyframes upIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(-300px);
    }
}

@keyframes upIn2 {
    from {
        opacity: 0;
        transform: translateY(-250px);
    }

    to {
        opacity: 1;
        transform: translateY(-675px);
    }
}

/* Media queries */
@media only screen and (max-width: 1182px) {
    .contact-container {
        column-gap: 150px;
    }
}

@media only screen and (max-width: 1082px) {
    .contact-container {
        column-gap: 100px;
    }
}

@media only screen and (max-width: 1032px) {
    h2 {
        font-size: 40px;
    }

    .contact-container {
        margin-top: 220px;
    }
}

@media only screen and (max-width: 950px) {
    h2 {
        font-size: 30px;
        margin-top: 50px;
    }
}

@media only screen and (max-width: 890px) {
    .contact-container {
        column-gap: 50px;
    }
}

@media only screen and (max-width: 840px) {
    .contact-container {
        margin-left: 0;
        column-gap: 0;
    }
    
    .copy-container {
        display: none;
    }
}

@media only screen and (max-width: 580px) {
    .contact-col {
        width: 90%;
    }

    .contact-form {
        width: 100%;
        height: fit-content;
        padding-bottom: 25px;
    }

    .input-row {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        height: fit-content;
        row-gap: 0;
    }

    .input-row > p.input-title {
        margin-bottom: 8px;
    }

    .input-container {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        row-gap: 1px;
    }

    .form-content-centered {
        padding-top: 25px;
    }

    @keyframes upIn {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
    
        to {
            opacity: 1;
            transform: translateY(-365px);
        }
    }
    
    @keyframes upIn2 {
        from {
            opacity: 0;
            transform: translateY(-250px);
        }
    
        to {
            opacity: 1;
            transform: translateY(-775px);
        }
    }
}

@media only screen and (max-width: 420px) {
    .form-text-input {
        width: 100%;
    }
}