/*@import url(/styles/home-page/inputs.css);
@import url(/styles/home-page/transition-classes.css);*/
@import url(/styles/shared/home-header.css);
@import url(/styles/shared/home-footer.css);

* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
}

#signup-button {
    background-color: white !important;
    color: #1777c0 !important;
}

.sex {
  text-align: center; font-size: 12px; color: #ffb432; margin-top: 10px;
}

#login-button:hover {
    background-color: #fff3 !important;
}

#main-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#background-image {
    height: 100vh;
    position: fixed;
    top: 0;
    left: -120px;
    z-index: -2;
}

.section {
    background-color: white;
    border: 1px solid #c3e5ff;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    row-gap: 10px;
    justify-content: center;
    width: 90%;
    margin: 1rem 0;
}

#donation-options-section {
    margin-top: 0rem;
}

.section-title {
    font: bold 1rem Helvetica;
    color: #2ca3ff;
    text-align: center;
}

.section-discrete-text {
    margin-left: 5px;
    font: normal 1.1rem Helvetica;
    color: #2ca3ff;
}

.section-input-1 {
    appearance: none;
    outline: none;
    border: 1px solid #64b2ed;
    border-radius: 4rem;
    height: 3rem;
    padding-inline: 10px;
    padding-left: 1.4rem;
    font-size: 1rem
}

#password-wrapper {
    display: flex;
    align-items: center;
    justify-content: end;
    width: auto;
}

#toggle-password-visibility {
    background-image: url(/assets/images/home/eye-slash.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.2rem;
    opacity: .4;
    height: 1.2rem;
    width: 1.2rem;
    position: absolute;
    margin-right: 1rem;
    outline: none;
    border: none;
}

#password {
    width: -webkit-fill-available;
}

#state {
    grid-row: 10;
    width: auto;
    color: #777;
}

#donation-amount-multichoice {
    display: flex;
    flex-direction: column;
    padding-inline: 2rem;
    margin-top: 20px;
}

.button-1 {
    border-radius: 10rem;
    font: normal 1rem Helvetica;
    padding: 0.6rem 0.6rem;
    border: 1px solid #2ca3ff;
    color: #2ca3ff;
    background-color: transparent;
    transition: .3s;
    margin: 5px 0;
}

.button-1:hover {
    background-color: #2ca3ff;
    color: white;
}

#custom-donation-container {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    justify-items: left;
    row-gap: 1rem;
    margin-top: 1rem;
}

#custom-donation-container .section-checkbox {
    grid-row: 1;
}

#custom-donation-container .section-text {
    grid-row: 1;
    grid-column-start: 2;
    grid-column-end: 4;
}

.section-values {
    display: flex;
    align-items: center;
    justify-content: start;
}

.section-option-values {
    display: flex;
    align-items: center;
    justify-content: center;
}

#custom-donation-error-message {
    margin-left: 15rem;
    margin-top: 3.5rem;
    display: none;
}

.input-error-message {
    color: #de4e4e;
    font: normal 12px Helvetica;
    position: absolute;
}

.section-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 30%;
    border: 1px solid #2ca3ff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.6rem;
}

.section-checkbox div {
    background-color: transparent;
    width: 1rem;
    height: 1rem;
    border: none;
    border-radius: 25%;
    transition: .3s;
}

.filled-checked {
    background-color: #ffb432 !important;
}

.section-text {
    font: bold 1rem Helvetica;
    color: #2ca3ff;
}

.section-input-2 {
    height: 2rem;
    width: 80%;
    margin-left: 1rem;
    border: none;
    border-radius: 10px;
    transition: .3s;
    padding-left: 1rem;
    padding-block: 0;
    font: normal 18px Helvetica;
    color: #1573bb;
    border: 1px solid #acc9df;
}

.section-input-2:enabled {
    border-color: #ffb432;
}

.section-input-2:disabled {
    background-color: #eee;
    color: #999;
}

.section-input-2:focus {
    outline: none;
}

.section-input-2::-webkit-input-placeholder {
    color: #ccc;
}

.button-2 {
    border: 1px solid #2ca3ff;
    height: 2.5em;
    border-radius: 6px;
    color: #2ca3ff;
    background-color: transparent;
    transition: .3s;
    padding: 0 0.6rem;
    margin: 0 0.2rem;
}

.button-2:disabled {
    color: #acc9df;
    border-color: #acc9df;
    background-color: #eee;
}

.button-2:enabled:hover {
    color: white;
    background-color: #2ca3ff;
}



#include-fee-choice {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#include-fee-choice p:nth-child(3):hover+#fee-info {
    opacity: 1 !important;
}

#fee-info {
    position: absolute;
    z-index: 10;
    margin-top: 3rem;
}

#subscription-checkbox,
#include-fee-checkbox {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.4rem;
}

.text-tax {
    position: absolute;
    margin-left: 2rem;
    width: 10rem;
}

.info-pin {
    font: normal 10px Helvetica;
    border: 1px solid #2ca3ff;
    color: #2ca3ff;
    border-radius: 1rem;
    padding: 0.6rem 0.6rem;
    user-select: none;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-width: 3px;
    font-size: 1rem;
}

.on-hover-popup {
    font: normal 11px Helvetica !important;
    color: #8b959d !important;
    border: 1px solid #acb7c0;
    background-color: white;
    box-shadow: 0px 0px 20px #0003;
    text-align: left;
    padding: .2rem;
    opacity: 0;
    transition: .3s;
    user-select: none;
}

#subscription-choice {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mark-checked  {
    background-image: url(/assets/images/home/check-mark.svg) !important;
    background-size: contain
}

#subscription-choice p:nth-child(3):hover+#subscription-info {
    opacity: 1 !important;
}
#subscription-info {
    position: absolute;
    z-index: 10;
    margin-top: 3rem;
}

.button-3 {
    margin-top: 3rem;
    background-color: #2ca3ff;
    border-radius: 10rem;
    color: white;
    border: none;
    font: bold 18px Helvetica;
    height: 4rem;
    padding-inline: 1.5rem;
    transition: .3s;
    cursor: pointer;
}

.button-3:hover {
    background-color: #007bbdff;
}

.button-3:disabled {
    background-color: #999;
}

.donation-choice-hasfocus {
    background-color: #ffb432 !important;
    border-color: #ffb432 !important;
    color: #fff !important;
}

.small-red {
    color: red;
    display: none;
    padding-left: 24px;
}

@media screen and (min-width: 600px) {
    #background-image {
        width: 100%;
        object-fit: cover;
        background-size:cover;
        left: 0;
    }

    #center-forms {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #main-content {
        width: 420px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section {
        width: 100%;
        padding: 0;
        padding: 0 1.4rem;
        margin: 2rem 0;
    }

    .section-title {
        margin-top: 2rem;
        margin-bottom: 1.2rem;
    }

    #additional_info {
        margin-bottom: 2rem;
    }

    #donation-amount-multichoice {
        margin-top: 0;
    }

    #submit-user-data {
        margin-bottom: 2rem;
    }
}