* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Amnesty Roman';
    font-style: normal;
    font-weight: bold;
    src: url(fonts/AmnestyTradeGothic-Bd2.ttf) format('truetype');
}

@font-face {
    font-family: 'Amnesty Condensed'; 
    font-style: normal;
    font-weight: bold;
    src: url(fonts/AmnestyTradeGothic-BdCn20.ttf) format('truetype');
}

@font-face {
    font-family: 'Amnesty Roman'; 
    font-style: normal;
    font-weight: normal;
    src: url(fonts/AmnestyTradeGothic.ttf) format('truetype');
}

html, body {
    font-family: 'Amnesty Condensed';
    font-weight: bold;
}

.container {
    display: block;
    margin: auto;
    width: auto;
}

#form-box {
    margin-top: 2rem;
    margin-left: 2rem;
    background-color: #252525;
    border: solid 3px black;
    width: 40%;
    min-width: 500px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.2rem 1.2rem 1.4rem 1.2rem;
    color: white;
    font-size: 0.9rem;
}

div.complete-bottom-row {
    width: 100%;
}


div.single-input {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
    position: relative;
    margin: 0.5rem 0;
    align-items: flex-end;
    width: 100%;
}

div.par-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.5rem 0;
    align-items: flex-end;
    width: 100%;
}

div.par-input div {
    position: relative;
    width: 48%;
}


input.ip-style, select {
    width: 100%;
    background-color: transparent;
    border: 0;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
}

input.ip-style {
    padding-top: 1rem;
    padding-left: 0.2rem;
    padding-bottom: 0.4rem;
}

select{
    position: relative;
    bottom: 1px;
    border-radius: 0;
    margin-top: 1rem;
    padding-bottom: 0rem;
    color: white;
}

.lista-dropdown {
    border-bottom: solid 3px white;
}

div.par-input div label, div.single-input label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-bottom: solid 3px white;
    transition: border-bottom 0.3s ease;
}

form input:focus + label {
    border-bottom: 3px solid #ff0;
}

input:focus {
    outline-color: transparent;
    outline-style: none;
}

select {
    outline-color: #ff0;
}

.content-name {
    color: rgb(134, 134, 134);
    position: absolute;
    bottom: 0.2rem;
    left: 0.2rem;
    transform-origin: left;
    transition: all 0.3s ease-out;
}

form input:focus + label .content-name, form input:not(:placeholder-shown) + label .content-name {
    transform: translateY(-1.1rem) scale(0.8);
}

h2.form-title {
    color: #ff0;
    text-transform: uppercase;
    font-family: 'Amnesty Condensed';
    font-size: 2.5rem;
}

textarea#mensaje {
    resize: none;
    width: 100%;
    height: 130px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    font-family: 'Amnesty Roman';
    font-size: 0.9rem;
    color: white;
    border: solid 3px white;
    margin: 0.5rem 0 0 0;
}

textarea:focus {
    outline-color: #ff0;
}

textarea#mensaje::placeholder {
    color: rgb(134, 134, 134);
    font-size: 0.9rem;
    font-weight: bold;
}

p.form-disclaimer {
    font-size: 0.5rem;
    margin-top: 0.2rem;
}

span.red {
    color: #FF5C5C;
}

span.reddish {
    color: rgba(255, 92, 92, 0.6);
}

span.light {
    opacity: 0.7;
}

div.bottom-row-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}


button.boton-form {
    text-transform: uppercase;
    padding: 0.5rem;
    width: 48%;
    background-color: transparent;
    color: white;
    border: solid 3px white;
    font-family: 'Amnesty Condensed';
    font-size: 2rem;
    transition: all 0.3s ease;
    height: 3.75rem;
}

button.boton-form:hover, button.boton-form:focus {
    background-color: #ff0;
    color: black;
    border-color: #ff0;
    outline-color: #ff0;
}

button.boton-form:hover div, button.boton-form:focus div {
    border-color: black;
}

div.parte-superior {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1.5rem 0;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

select, textarea#mensaje {
    font-weight: bold;
}



div.divider {
    margin-top: 1.5rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100%;
}

div.disclaimer {
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.7rem;
}

div.disclaimer a {
    color: #EF8200;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 562px) {

    #form-box {
        width: 90%;
        min-width: 270px;
        margin: 1rem auto;
    }

    div.tipo-donacion, div.monto-donacion {
        width: 100%;
        margin: 0.5rem 0;
    }

    div.parte-superior, div.monto-donacion {
        flex-direction: column;
    }

    div.monto-donacion div {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        margin: 0 -3px 0 0;
    }

    div.monto-donacion {
        margin-top: 1rem;
    }

    div.monto-donacion div + div {
        margin: -3px 0 0 0;
    }

    div.monto-donacion label {
        flex: 1;
    }

    div.monto-donacion label span {
        width: 100%;

    }

    div.monto-donacion label + label span {
        margin-top: 0px;
        border-left: 0px;
    }

    div.monto-donacion label span input {
        bottom: 0;
        margin-top: 0.3rem;
    }

    div.par-input {
        flex-direction: column;
        margin: 0;
    }

    div.par-input div {
        width: 100%;
        margin: 0.2rem 0;
    }
    
    h2.form-title {
        font-size: 2rem;
    }

    p.form-bottom-step {
        font-size: 1rem;
    }

    button.boton-form {
        text-transform: uppercase;
        padding: 0.5rem;
        width: 55%;
        font-size: 1.5rem;
        height: 3.75rem;
    }

    div.monto-donacion #otro span {
        padding-bottom: 0.7rem;
    }

    div.tarjeta-datos-cortos > div {
        width: 29%;
    }
}