.contact-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}


/* animation */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.contact-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    margin: 5rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}

.contact-title {
    text-align: center;
    font-size: 60px;
}

#contact-title {
    font-size: 50px;
    font-weight: bold;
}

#contact-p {
    font-size: 20px;
}

.contact-table {
    margin-left: auto;
    margin-right: auto;
}

.contact-table tr td {
    padding: 0 10px 15px 10px;
    font-size: 20px;
}

select {
    appearance: auto;
}

.contact-list-title {
    margin-top: 2rem;
    text-align: center;
    font-size: 20px;
}

.contact-list {
    display: flex;
    justify-content: center;
}

.contact-box {
    width: 100%;
    text-align: center;
    /* width: 100%; */
    margin: 1rem;
    /* border: 3px #000 solid; */
    padding: 2rem 1em;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
}

.contact-box-con {
    margin-top: 1rem;
    font-size: 20px;
}

.contact-box:hover {
    cursor: pointer;
}


/* #form-title {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    text-align: center;
    width: 200px;
    font-size: 30px;
    border-bottom: black solid 1px;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
}

form {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    margin-top: 10px;
    margin-bottom: 10px;
}

form #type {
    border: solid black 1px;
    height: 50px;
    border-radius: 10px;
    font-size: 20px;
    width: 100%;
    margin: 10px 0 5px 0;
    padding: 0px 15px 0 15px;
}

form #name {
    border: solid black 1px;
    width: 32%;
    height: 50px;
    font-size: 20px;
    border-radius: 10px;
    padding: 0px 15px 0 15px;
}

form #phone {
    border: solid black 1px;
    margin-top: 10px;
    margin-left: 2%;
    margin-right: 2%;
    width: 32%;
    height: 50px;
    border-radius: 10px;
    padding: 0px 15px 0 15px;
    font-size: 20px;
}

form #email {
    border: solid black 1px;
    margin-top: 10px;
    width: 31%;
    height: 50px;
    border-radius: 10px;
    padding: 0px 15px 0 15px;
    font-size: 20px;
}

form #message {
    border: solid black 1px;
    margin-top: 10px;
    border-radius: 10px;
    width: 100%;
    padding: 15px 15px 15px 15px;
    font-size: 20px;
}

form #submit {
    width: 100%;
    border-radius: 10px;
    font-size: 20px;
    height: 50px;
    background-color: black;
    color: white;
    font-weight: bold;
    border: black solid 1px;
} */


/* animation */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeIn-show {
    animation: fadeIn ease 2s;
}


/* animation */


/* mobile */

@media only screen and (max-width: 768px) {
    form #name,
    form #phone,
    form #email {
        width: 100%;
        margin: 5px 0;
    }
    .contact-box {
        width: auto;
    }
    .contact-list {
        flex-direction: column;
    }
}