:root {
    --main-color: #5b9ad5;
    --text-color: #737373;
    --font-size: medium;
    --small-font-size: small;
    --border-radius: 0.5rem;
}

body::-webkit-scrollbar {
    display: none;  /* Chrome */
}
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

* {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size);
}

header {
    display: flex;
    position: fixed;
    background-color: var(--main-color);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    z-index: 3;
    top: 0px;
}

img.link_icon {
    max-height: 5vh;
    padding: 1vh 3vw 0.3vh 3vw;
}

div.logo {
    display: flex;
    flex-direction: column;
    block-size: 100vh;
    place-items: center;
    justify-content: space-evenly;
}

img#logo {
    max-height: 50vh;
    max-width: 50vw;
    margin: 18vh auto 12vh auto;
}

h4 {
    text-align: left;
    color: var(--main-color);
    margin-top: 2%;
}

p {
    text-align: left;
    color: var(--text-color);
}

section {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    margin: 2% 2% 8% 2%;
    align-items: center;
}

img.item {
    max-height: 30vh;
    max-width: 30vw;
}

aside {
    width: 40%;
}

table {
    width: 40%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(92, 99, 105, .2);
    padding: 2vh;
}

tr:not(.header) {
    height: 4vh;
}

th {
    background-color: var(--main-color);
    color: #fff;
}

td {
    color: var(--text-color);
}

th#model {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

th#razor {
    border-radius: 0 var(--border-radius) 0 0;
}

th#pol {
    border-radius: 0 0 var(--border-radius) 0;
}

div.ei {
    display: flex;
    margin-top: 5%;
    align-items: center;
}

img.ei {
    height: 5rem;
    margin-right: 1%;
}

h4.ei {
    margin: 0;
}

img.icon {
    max-height: 10vh;
    max-width: 10vw;
}

div.section_inner {
    max-width: 40%;
}

div#form {
    width: 50%;
}

form {
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(92, 99, 105, .2);
    text-align: left;
}

h1 {
    margin-bottom: 2rem;
    font-size: large;
    color: var(--text-color);
}

div#form_cont {
    width: 40vw;
}

div.form_div {
    position: relative;
    height: 2rem;
    border: 3px solid var(--main-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.form_input {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 97%;
    padding-left: 3%;
    font-size: var(--font-size);
    border: none;
    outline: none;
    background: none;
    z-index: 1;
}

label.animated {
    position: absolute;
    top: 0.3rem;
    left: 1%;
    color: var(--text-color);
    transition: .3s;
}

div#div_textarea {
    height: 11rem;
}

textarea {
    resize: none;
    padding-top: 1vh;
}

input[type=button] {
    color: #fff;
    outline: none;
    border: none;
    margin-top: 4%;
    padding: 2%;
    font-size: var(--font-size);
    border-radius: var(--border-radius);
    background-color: var(--main-color);
}

input[type=button]:hover {
    transition: .3s;
    box-shadow: 0 1vw 1vw rgba(0, 0, 0, 0.5);
}

label.radio_label {
    margin: 0 7% 0 1%;
}

div#check_btn {
    margin-top: 2%;
}

label.check_label {
    position: relative;
    top: 0;
}

.center {
    text-align: center;
}

p#links {
    margin: 25% 0 5% 0;
}

div#bottom_icons {
    display: flex;
    justify-content: space-evenly;
}

footer {
    background-color: var(--main-color);
}

.form_input:focus + label.animated {
    top: -0.6rem;
    left: .8rem;
    color: var(--main-color);
    background-color: #fff;
    font-size: var(--small-font-size);
    font-weight: 500;
    z-index: 2;
}

.form_input:not(:placeholder-shown).form_input:not(:focus) + label.animated {
    top: -0.6rem;
    left: .8rem;
    background-color: #fff;
    font-size: var(--small-font-size);
    font-weight: 500;
    z-index: 2;
}

div#msg_box {
    p { text-align: center; }
    input { transition: 0s }
    background: #fff;
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: space-evenly;
    position: fixed;
    visibility: hidden;
    width: 50vw;
    left: 25vw;
    top: 25vh;
    padding: 5vh 0;
    box-shadow: 0 10px 25px rgba(92, 99, 105, .2);
    border-radius: var(--border-radius);
    z-index: 5;
}

div#loader {
    position: fixed;
    visibility: hidden;
    border: 16px solid var(--text-color);
    border-top: 16px solid var(--main-color);
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    top: calc(50% - 2.5rem);
    left: calc(50% - 2.5rem);
    animation: spin 2s linear infinite;
    z-index: 4;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {

    p {
        text-align: center;
    }

    h4:not(#form_h4) {
        text-align: center;
    }

    section {
        flex-direction: column;
    }

    aside {
        width: auto;
    }

    table {
        margin-top: 2vh;
        width: 80%;
    }

    td, th {
        font-size: small;
    }

    div.section_inner {
        max-width: 90%;
    }

    img.icon {
        margin: 5%;
    }

    div#form_cont {
        width: 93%;
        margin-bottom: 4vh;
    }
}
