* {
    font-family: 'Roboto', sans-serif;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid rgb(0, 168, 165);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    color: black;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
}

.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.box-header {
    flex: 0 1 auto;
}

header {
    padding: 20px 30px 0 30px;
}


.head {
    width: 100%;
    max-height: 73px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.header-left {
    height: 50px;
}


.header-left img {
    height: 100%;
}

.header-right {
    display: flex;
    align-content: center;
}

.header-button {
    display: flex;
    margin: 0 8px;
    border-radius: 2px;
    height: 30px;
    align-content: center;
    background-color: rgb(0, 168, 165);
    border: 0;
    color: white;
}

.header-button:hover {
    background-color: rgb(129, 138, 145);
}

.button {
    height: 100%;
    margin: 0 8px;
}

a, a:hover, a:visited {
    color: white;
    text-decoration: none;
    line-height: 30px;
    font-size: 12px;
    font-weight: bold;
}

.subheader header {
    box-sizing: border-box;
}

.subheader {
    height: 80px;
    background-color: rgb(0, 168, 165);
    padding: 0 30px;
}

.subheader, footer {
    padding: 0 30px;
}

header, footer, .subheader {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.subheader > .content, footer > .content {
    width: 100%;
}

.content {
    max-width: 1280px;
}

.content > h1 {
    color: white;
    width: 100%;
    display: block;
    font-weight: 300;
}

footer {
    background-color: rgb(0, 168, 165);
    padding: 10px 30px;
    color: white;
    flex: 0 1 109px
}

footer > .content {
    display: flex;
    justify-content: space-between;
}

footer > .content > .footer-left > p {
    font-weight: 200;
}

.footer-left {
    padding-top: 16px;
}

.footer-right {
    display: flex;
    align-content: center;
    flex-direction: column;
}

.footer-right > p {
    text-align: end;
    font-weight: 200;
    font-size: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-block;
    padding: 0 2px;
}

main {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 60px 0;
    background-color: #eef2f4;
}

.main-content {
    width: 570px;
    height: 100%;
    background-color: #eaedef;
    display: flex;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    box-sizing: border-box;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-label {
    font-size: 12px;
    display: block;
    text-align: center;
    margin: 8px 0;
}

.input {
    display: block;
    width: 260px;
    font-size: 14px;
    border: solid 1px #e7e8e8;
    padding: 4px 8px;
    border-radius: 2px;
}

.search-button {
    margin-top: 20px;
    width: 145px;
    -webkit-appearance: none;
    border-radius: 2px;
    text-align: center;
    display: table-cell;
    cursor: pointer;
}

.search-button[disabled]{
    background-color: rgb(129, 138, 145);
    cursor: default;
}

.product-data {
    align-self: center;
    width: 220px;
    margin-top: 20px;
}

.product-data > img {
    width: 100%;
    margin-bottom:8px;
}

.product-data-label {
    color: rgb(0, 168, 165);
    font-size: 12px;
    margin: 0;
}

.product-data-error {
    color: red;
    font-size: 12px;
    margin: 0;
}

.product-data-value {
    margin: 2px 0 8px 0;
    font-size: 13px;
    font-weight: 400;
}
.product-data-value, .input-label{
    color:#737374;
}


@media only screen and (max-width: 600px) {
    .head {
        max-height: 50px;
    }

    .header-left {
        height: 30px;
    }

    header {
        padding: 20px 20px 0 20px;
    }

    footer {
        padding: 10px 20px;
    }

    .subheader {
        padding: 0 20px;
    }

    .footer-left {
        width: 170px;
    }

    .footer-left > p {
        font-size: 12px;
    }

    .footer-left > img {
        max-height: 20px;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }
    main{
        padding: 0;
    }
}
