/*contact-body*/
#body {
    padding-top: 90px;
    background-image: url("../img/bg-ContactRequest.png");
    background-size: 100% 467px;
    background-repeat: no-repeat;
    background-color: #EBF3FF;
    border-top: 1px solid #FFFFFF;

    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}
#body > div.contact-head-text {
    width: 65%;
    max-width: 1262px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#body > div.contact-head-text > div.contact-title {
    width: 110%;
    text-align: left;

    font-family: 'Swansea', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 56px;
    color: #FFFFFF;

    flex-shrink: 1;
    margin-bottom: 28px;
}
#body > div.contact-head-text > div.contact-introduce {
    width: 100%;
    margin-bottom: 40px;

    text-align: left;
    opacity: 0.8;

    font-family: 'Switzer', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
}
#body #contact-content {
    max-width: 1262px;
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}
#body #contact-content div span {
    display: block;
}

/* form */
#form {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin-bottom: 20px;


    background: #FFFFFF;
    border: 1px solid #EBF3FF;
    border-radius: 10px;
}

/* response */
#form #response {
    visibility: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 80%;
    height: 60px;
    margin-top: 40px;
    margin-bottom: 10px;
    padding: 15px 20px;

    border-radius: 8px;
}
#form #response.successes {
    background: rgba(0, 150, 247, 0.1);
    border: 1px solid #0096F7;
    color: #031242;
}
#form #response.successes i.fa-circle-check {
    color: #0096F7;
}
#form #response.failed {
    background: rgba(226, 41, 41, 0.1);
    border: 1px solid #E22929;
    color: #E22929;
}
#form #response i.fa-circle-check {
    width: 17px;
    height: 20px;
    margin-right: 10px;

    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
}
#form #response button.fa-xmark {
    width: 12px;
    height: 18px;

    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    line-height: 18px;
    border: none;
    background: rgba(0, 150, 247, 0);

    cursor: pointer;
}
#form #response #response-text {
    font-family: 'Switzer', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    flex-grow: 1;
}

/* form-content */
#form > form {
    width: 100%;
}
#form #form-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 10%;
}
#form #form-content > div {
    display: flex;
}
#form #form-content div .title {
    margin-bottom: 20px;
    font-family: 'Switzer', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #031242;
}
#form #form-content .error-msg {
    margin-top: 10px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #E22929;
    visibility: hidden;
}

/* domain-and-email */
#form-content #domain-and-email {
    justify-content: space-between;
    width: 100%;
}
#form-content #domain-and-email #domain, #email {
    display: flex;
    flex-direction: column;
    width: 45%;
}
#form-content #domain-and-email div input {
    width: 100%;
    height: 60px;
    background: #FFFFFF;
    border: 1px solid rgba(3, 18, 66, 0.2);
    border-radius: 8px;
    padding-left: 20px;

    font-family: 'Proxima Nova',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #333333;
}
#form-content #domain-and-email div input::placeholder {
    color: #161412;
    opacity: 0.4;
}

/* whom-contact */
#form-content #whom-contact {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
#form-content #whom-contact select {
    width: 45%;
    height: 60px;
    background: #EBF3FF;
    border: 1px solid #EBF3FF;
    border-radius: 8px;

    font-family: 'Switzer', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #031242;

    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#form-content #whom-contact > span:nth-child(2) > i {
    width: 21px;
    height: 28px;
    margin-left: -41px;
    font-style: normal;
    font-size: 25px;
    color: #0096F7;
}

/* email-header */
#form-content #email-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 34px;
}
#form-content #email-header span {
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #031242;
    margin-bottom: 20px;
}
#email-header > span:nth-child(4):has(input[type=radio]) ~ textarea {
    display: none;
}
#email-header > span:nth-child(4):has(input[type=radio]:checked) ~ textarea {
    display: block;
}
#email-header > textarea {
    display: none;
    width: 56%;
    height: 180px;
    padding-top: 10px;
    padding-left: 20px;

    background: #FFFFFF;
    border: 1px solid rgba(3, 18, 66, 0.2);
    border-radius: 8px;

    font-family: 'Switzer', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #031242;
}
input[type="radio"]:checked {
    background-color: #0080FF;
}
/* verification */
#verification {
    flex-direction: column;
    margin-bottom: 26px;
}
#verification > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#verification > div > div:nth-child(1) {
    display: flex;
    align-items: center;
    width: 355px;
    height: 60px;
    justify-content: space-between;
}
#verification > div > div:nth-child(2) {
    width: 55%;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 5%;
}
#verification img {
    height: 60px;
    width: 257px;
}
#verification i {
    height: 28px;
    font-family: 'Font Awesome 6 Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #0080FF;
    font-size: 28px;
    cursor: pointer;
}
#verification .fa-redo {
    width: 28px;
}
#verification .fa-volume {
    width: 28px;
}
#verification .fa-pause {
    display: none;
    width: 28px;
}
#verification input {
    width: 100%;
    height: 60px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid rgba(3, 18, 66, 0.2);
    border-radius: 8px;

    font-family: 'Switzer', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #031242;
}

/* form-submit */
#submit-button {
    width: 100%;
    height: 60px;
    margin-bottom: 111px;
    background-color: #0080FF;
    border-radius: 10px;
    border: none;

    font-family: 'Switzer', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    cursor: pointer;
}

/* contact-note */
#contact-note {
    display: flex;
    margin-bottom: 91px;
}
#contact-content #note {
    height: 50%;
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #161412;
    background: rgba(22, 20, 18, 0.10);
    padding: 3px 6px;
    margin-right: 10px;
    border-radius: 50px;
}
#contact-content #note-message {
    font-family:Switzer,sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #161412;
    font-weight: 400;
    line-height: 30px;
    opacity: 0.6;
}

@media only screen and (max-width: 850px) {
    #body {
        background-size: 100% 347px;
    }
    #body > div.contact-head-text {
        width: 80%;
    }
    #body > div.contact-head-text > div.contact-title {
        font-size: 36px;
        line-height: 30px;
        margin-bottom: 20px;
    }
    #body > div.contact-head-text > div.contact-introduce {
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 25px;
    }
    #body #contact-content {
        width: 80%;
    }
    #form #form-content > div {
        margin-bottom: 15px;
    }
    #form #response {
        height: 50px;
        margin-top: 20px;
        border-radius: 6px;
    }
    #form #response #response-text {
        font-weight: 600;
        font-size: 15px;
    }
    #form #form-content div .title {
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 15px;
        line-height: 20px;
    }
    #form #form-content .error-msg {
        margin-top: 5px;
        font-size: 15px;
        line-height: 20px;
    }
    #form-content #domain-and-email #domain, #email {
        width: 49.5%;
    }
    #form-content #domain-and-email div input,
    #form-content #whom-contact select {
        height: 50px;
        border-radius: 6px;
        padding-left: 12px;

        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
    }
    #form-content #whom-contact > span:nth-child(2) > i {
        font-size: 20px;
    }
    #form-content #email-header span {
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 15px;
    }
    #form-content #email-header > textarea {
        height: 120px;
        border-radius: 8px;
        font-size: 15px;
        line-height: 20px;
    }

    #verification img {
        height: 40px;
        width: 160px;
    }
    #verification i {
        font-size: 16px;
    }
    #verification input {
        height: 50px;
        padding: 15px;
        border-radius: 6px;
        font-size: 12px;
        line-height: 20px;
    }
    #verification > div > div:nth-child(1) {
        width: 220px;
    }
    #verification > div > div:nth-child(2) {
        padding-left: 0;
    }
    #submit-button {
        height: 40px;
        margin-bottom: 60px;
    }
    #contact-content #note {
        border-radius: 20px;
    }
}

@media only screen and (max-width: 450px) {
    #body {
        padding-top: 20px;
        background-size: 100% 322px;
    }
    #body > div.contact-head-text > div.contact-title {
        width: 100%;
        font-size: 30px;
        line-height: 32px;
        margin-bottom: 11px;
    }
    #body > div.contact-head-text > div.contact-introduce {
        width: 100%;
        margin-bottom: 30px;
    }
    #body #contact-content {
        width: 90%;
    }

    #form #response {
        height: 40px;
        margin-top: 10px;
        border-radius: 4px;
    }
    #form #response #response-text {
        font-weight: 500;
        font-size: 12px;
    }
    #form-content #domain-and-email {
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    #form-content #domain-and-email div input,
    #form-content #whom-contact select {
        height: 40px;
        border-radius: 4px;
        padding-left: 8px;

        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
    }
    #form-content #whom-contact select {
        width: 98%;
    }
    #form-content #email-header span {
        font-weight: 400;
        font-size: 13px;
        line-height: 16px;
        margin-bottom: 10px;
    }
    #verification > div > div:nth-child(2) {
        justify-content: flex-start;
        padding-left: 0;
    }
    #verification i {
        line-height: 20px;
        font-size: 16px;
    }
    #verification > div {
        flex-direction: column;
    }
    #verification > div > div {
        margin-top: 10px;
    }
    #verification input {
        padding: 8px;
        height: 40px;
    }
    #form-content #domain-and-email #domain, #email,
    #email-header > textarea,
    #verification > div > div:nth-child(1),
    #verification > div > div:nth-child(2),
    #form-content #verification > div > div.verification-input,
    #verification-input input,
    #email-header > textarea {
        width: 100%;
    }
    #submit-button {
        height: 40px;
    }
}


