@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --color1: #fbb034;
    --color2: #00a4f5;
    --color3: #fdfffc;
    --color4: #08171e;
    --color5: #00c16e;
    --color6: #ababab;
    --color7: #f62727;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
}

body {
    max-width: 100vw;
    background-image: url(../images/banner2.jpg);
    background-position: center;
    background-color: var(--color4);
    background-size: cover;
}

#transparent-background {
    height: 100vh;
    width: 100%;
    background-color: #08171ecc;
    position: relative;
}

.donation {
    max-height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    height: fit-content;
    width: 100%;
    color: var(--color3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
    overflow: auto;
}

.donation h1 {
    font-size: 45px;
    font-weight: 500;
    text-align: center;
}

.donation .appeal {
    max-width: 800px;
    background-color: rgba(59, 74, 89, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    color: var(--color3);
    text-align: justify;
    font-size: 18px; 
}

.donation .appeal p {
    margin-bottom: 15px;
    line-height: 1.8; 
}

.donation .appeal p:first-of-type {
    font-size: 22px; 
    font-weight: bold; 
    text-align: center; 
}

.donation .appeal p:last-of-type {
    text-align: right; 
    font-style: italic; 
}

.donation form {
    width: 100%;
    max-width: 800px;
    background-color: transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.donation fieldset {
    border: 1px solid var(--color6);
    padding: 20px;
    margin-bottom: 20px;
}

.donation legend {
    font-size: 20px;
    font-weight: 500;
}

.donation label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
}

.donation input,
.donation select,
.donation textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--color6);
    border-radius: 5px;
    font-size: 16px;
    color: var(--color4);
    background-color: var(--color3);
}

.donation input[type="checkbox"]{
    width: 24px;
    height: 24px;
}

.donation button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color1);
    font-size: 18px;
    font-weight: 500;
    color: var(--color3);
    cursor: pointer;
}

.donation button:hover {
    background-color: var(--color2);
}

.payment-options ul {
    list-style-type: disc;
    margin: 10px 0;
    padding-left: 20px;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    outline: 2px solid var(--color2);
    box-shadow: 0 0 10px var(--color2);
    transform: translateY(-2px);
}

.form-errors{
    color: red;
}

img {
    width: 400px;
    border-radius: 10px;
} 

.scanner h3, .scanner p{
    text-align: center;
}

@media screen and (max-width: 750px) {
    img {
        width: 300px;
    } 
}
