input, textarea {
    font-family: brix;
    font-weight: 300;
    font-size: 1.4em;
    padding: .4em;
}

[name='message'] {
}

textarea {
    line-height: 1.23;
    min-height: 6em;
    resize: vertical;
    min-height: 100px;
}

button[type='submit'] {
    text-align: center;
    text-transform: lowercase;
    font-feature-settings: 'c2sc','ss02';
    font-family: 'heliotrope';
    color: var(--black);
    background: white;
    border: 0;
    outline: 0.1em solid var(--black);
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    padding: 0.2em 2em;
    cursor: pointer;
    line-height: 1;
    font-weight: 600;
}

button[type='submit']:is(:disabled) {
    background-color: gray!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
    filter: blur(1px);
    cursor: default;
}

button[type='submit']:hover {
    color: black;
    background: rgba(105,255,71,0.5);
}

.section_title {
    font-size: 3em;
    font-family: 'concourse_sc';
    font-feature-settings: 'c2sc';
    padding-bottom: 0.6em
}

.structure {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

input:checked {
    animation: 0.15s fadeIn;
    animation-fill-mode: forwards;
}

.button.fira_arrow, .button.fira_arrow_reverse {
    border: 0.5em solid transparent;
}

.icon {
    /* background: rgba(255, 255, 255, 0) no-repeat center; */
}

.icon:hover {
    /* filter: invert(24%) sepia(65%) saturate(2104%) hue-rotate(228deg) brightness(91%) contrast(98%); */
}

.icon.fira_arrow {
    background-image: url(/img/fira_arrow.svg);
}

.icon.fira_download {
    background-image: url(/img/fira_download.svg);
}

.icon.mail {
    background-image: url(/img/mail.svg);
    width: 1.3em;
    height: 1.3em;
}

.icon.fira_arrow_reverse {
    background-image: url(/img/fira_arrow_reverse.svg);
    width: 1.6em;
}

.icon.home {
    background-image: url(/img/home.svg);
}

.icon.cart {
    background-image: url(/img/cart.svg);
}

.icon.user_login {
    background-image: url(/img/right_arrow.svg);
}

.icon.search {
    background-image: url(/img/search.svg);
}

form:not(#search) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    margin: 0;
    position: relative;
    /* gap: 0.2em; */
}

.float_label {
    display: flex;
    flex-flow: column;
    position: relative;
    /* align-self: baseline; */
    width: 100%;
    /* max-width: 25em; */
}

.float_label input, .float_label textarea {
    width: 100%;
    max-width: unset;
    outline: none;
    color: black;
    border: 2px solid transparent;
    border-bottom: 1px solid var(--main_color);
    border-radius: unset;
    margin-bottom: 1.5em;
    font-size: 1.5em;
    width: auto;
}

input[name="message"] {
}

.float_label input::placeholder {
    color: var(--other_black);
    opacity: 1;
}

.float_label input:focus::placeholder {
    color: transparent;
    transition: all 0.2s ease-out;
    /*animation: 1s fadeIn;
    animation-fill-mode: forwards;
    visibility: visible;*/
}

.float_label input:not(:focus):not(:valid):not(:disabled), .float_label textarea:not(:focus):not(:valid):not(:disabled) {
    background-color: rgba(34,34,55,0.04);
    background-color: rgba(104,255,239,.3);
}

.float_label input:focus, .float_label textarea:focus {
    border: 2px solid var(--main_color);
}

.float_label input:valid:not(:placeholder-shown):focus {
    border: 2px solid var(--highlight_main);
}

.float_label input:valid:not(:placeholder-shown), .float_label textarea:valid:not(:placeholder-shown) {
    border-bottom: 2px solid var(--highlight_main);
    border-color: var(--highlight_main);
}

.float_label label {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* height: auto; */
    /* padding-left: 0.7em; */
    position: absolute;
    /* background-color: black; */
    top: -0.4em;
    cursor: auto;
    font-size: 0.9em;
}

.float_label label:after {
    content: "  " var(--label) "";
    /* display: flex; */
    position: absolute;
    /* top: -1.05em; */
    font-size: 1.3em;
    font-family: 'heliotrope';
    font-weight: 600;
    font-feature-settings: 'c2sc';
    color: white;
    align-self: center;
    justify-self: center;
    /* margin-top: 2.4em; */
    width: 100%;
    background-color: var(--main_color);
    /* text-align: center; */
    animation: 0.3s fadeIn;
    animation-fill-mode: forwards;
    visibility: visible;
    /* cursor: auto; */
    /* margin-left: 1em; */
    text-indent: 0.5em;
}

.float_label input:focus+label, .float_label textarea:focus+label {
    display: flex;
    animation: 0.1s fadeIn;
    animation-fill-mode: forwards;
    visibility: visible;
    cursor: auto;
}

.float_label input:valid:not(:placeholder-shown)+label,
.float_label textarea:valid:not(:placeholder-shown)+label,
.float_label input:invalid:not(:placeholder-shown)+label,
.float_label textarea:invalid:not(:placeholder-shown)+label {
    display: flex;
}

.float_label input:valid:not(:placeholder-shown)+label:after, .float_label textarea:valid:not(:placeholder-shown)+label:after {
    background-color: var(--highlight_main);
    color: black;
    content: " " var(--label_answer) "";
    animation: 0.3s fadeIn;
    animation-fill-mode: forwards;
}

.float_label input:invalid:not(:placeholder-shown)+label:after, .float_label textarea:invalid:not(:placeholder-shown)+label:after {
    background-color: red;
    color: black;
    content: " Invalid " var(--label_invalid) "";
    animation: 0.3s fadeIn;
    animation-fill-mode: forwards;
}
