.modal {
    display: none;
    position: fixed;
    z-index: 90;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    /* transform: scale(0%);
    opacity: 0; */
    transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -ms-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -o-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -moz-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -webkit-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
}

.inner_modal {
    background-color: #d3d3d3;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 650px;
}

.modal_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 60px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

form {
    overflow: scroll;
    width: 100%;
}

.openModal {
    display: block;
    transform: scale(100%);
    opacity: 1;
}

fieldset {
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: none;
    font-size: 25px;
}
fieldset:not(:last-of-type) {
    padding-bottom: 39px;
    border-bottom: 2px solid black;
}
.group {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.colums {
    flex-direction: column;
}

.rows {
    flex-direction: row;
}

.street input:first-of-type {
    flex: 5;
}

.street input:last-of-type {
    flex: 1;
    width: 30%;
}

.city {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

input[type="text"], input[type="number"], input[type="mail"], textarea, select{
    line-height: 1lh;
    width: 100%;
    border: none;
    outline: none;
    color: rgb(86, 86, 86);
    background-color: transparent;
    font-size: 20px;
    padding: 7px 21px;
    border-radius: 9px;
    box-shadow: inset 0 0 15px rgb(178 178 178);
    font-family: "Eczar Regular";
}

textarea {
    min-height: 3lh;
    width: 100%;
    resize: vertical;
}
input::placeholder {
    color: rgb(93, 93, 93);
}

fieldset p {
    display: flex;
    gap: .4ex;
    font-family: 'Cormorant Bold';
    color: hsl(180, 64%, 38%);

}

.important {
    color: hsl(0, 81%, 45%);
}

.hide {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.small {
    margin-top: 0;
    opacity: .4;
}
.fullheight {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fullheight p {
    width: 100%;
    max-width: 50%;
    margin-inline: auto;
    font-size: 30px;
    color: hsl(180, 50%, 30%);
    text-wrap: balance;
    font-family: 'Eczar Regular';
}
.warn.warn {
    background-color: hsl(0, 100%, 83%);
    box-shadow: inset 0 0 15px hsl(0, 40%, 30%);
    color: hsl(0, 80%, 27%);    
}
.warn.warn::placeholder {
    color: hsl(0, 80%, 27%);
}
input#send_trial_form, input#send_contact_form {
    background-color: hsl(180, 81%, 39%);
    color: white;
    font-family: 'Nunito Light';
    display: block;
    width: 100%;
    max-width: 60%;
    margin-inline: auto;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 25px;
    
    transition: color .25s ease-in-out, background-color .25s ease-in-out;
    -o-transition: color .25s ease-in-out, background-color .25s ease-in-out;
    -ms-transition: color .25s ease-in-out, background-color .25s ease-in-out;
    -webkit-transition: color .25s ease-in-out, background-color .25s ease-in-out;
}

input#send_trial_form:hover, 
input#send_contact_form:hover {
    background-color: hsl(0, 0%, 58%);
    color: white;
}
