header {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: rgba(102, 102, 102, 1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
}

header .alert {
    /*display: none;*/
    overflow: hidden;
    background: radial-gradient(at top left,
        rgb(183, 154, 202) 0%,
        rgb(196, 148, 253) 50%,
        rgb(48, 138, 253) 75%,
        rgb(148, 223, 253) 100%
    );
    border-radius: 5px;
    margin: 5px 15px;
}

header .alert_article {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgb(196, 148, 253);
    border-radius: 5px;
    margin: 5px 15px;
}

header .alert_content  {
    color: rgba(102, 102, 102, 1);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-decoration: none;
}

header .alert_content h2 {
    font-size: 24px;
    text-indent: 10px;
    padding: 5px;
}

header .alert_content p {
    text-indent: 10px;
    padding: 5px;
    hyphens: auto;
}

header .alert_buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

header .alert_buttons li {
    display: block;
    margin: 2px;
    padding-right: 5px;
    padding-left: 5px;
}

header .logo img {
    margin: 5px 15px;
    width: 335px;
    border-top: 1px solid rgb(0, 174, 255);
    border-left: 1px solid rgb(0, 174, 255);
    border-bottom: 1px solid rgb(174, 255, 0);
    border-right: 1px solid rgb(174, 255, 0);
    border-radius: 5px;
}

header .header_buttons {
    display: flex;
}

header .search form {
    border-top: 1px solid rgb(0, 174, 255);
    border-left: 1px solid rgb(0, 174, 255);
    border-bottom: 1px solid rgb(174, 255, 0);
    border-right: 1px solid rgb(174, 255, 0);
    border-radius: 5px;
    margin: 5px 15px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}

header .search form input {
    border-width: 1px;
    border-radius: 5px 0 0 5px;
    height: 50px;
    padding-left: 50px;
    margin: 0;
    transition: width 1.3s;
}

header .search form img {
    position: absolute;
    top: 5px;
    left: 5px;
}

header .search form button {
    border-radius: 0 5px 5px 0;
    height: 50px;
    margin: 0;
}

header .top-panel {
}

header button {
    position: relative;
    margin: 5px 10px;
}

header button span {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: bold;
}

.cart-counter {
    position: absolute;
    top: 10px;
    right: 20px;
}

@media only screen and (max-width: 320px) {
    header {
        justify-content: center;
    }
    header .logo {
        display: inline-block;
    }
    header .search {
        display: inline-block;
    }
    header .top-panel {
        display: inline-block;
    }
    header .search {
    }
    header .search input {
        width: 120px;
    }
    header .alert {
        display: inline-block;
    }
}
@media only screen and (min-width: 321px) and (max-width: 480px) {
    header {
        justify-content: center;
    }
    header .logo {
        display: inline-block;
    }
    header .search {
        display: inline-block;
    }
    header .top-panel {
        display: inline-block;
    }
    header .search {
    }
    header .search input {
        width: 220px;
    }
    header .alert {
        display: inline-block;
    }
}
@media only screen and (min-width: 481px) and (max-width: 760px) {
    header {
        justify-content: center;
    }
    header .logo {
        display: inline-block;
    }
    header .search {
        display: inline-block;
    }
    header .top-panel {
        display: inline-block;
    }
    header .search {
    }
    header .search input {
        width: 380px;
    }
    header .alert {
        display: inline-block;
    }
}
@media only screen and (min-width: 761px) and (max-width: 960px) {
    header {
        justify-content: center;
    }
    header .logo {
        display: inline-block;
    }
    header .search {
        display: inline-block;
    }
    header .top-panel {
        display: inline-block;
    }
    header .search {
    }
    header .search input {
        width: 660px;
    }
    header .alert {
        display: inline-block;
    }
}
@media only screen and (min-width: 961px) and (max-width: 1200px) {
    header {
        justify-content: center;
    }
    header .logo {
        display: inline-block;
    }
    header .search {
        display: inline-block;
    }
    header .top-panel {
        display: inline-block;
    }
    header .search {
    }
    header .search input {
        width: 860px;
    }
    header .alert {
        display: inline-block;
    }
}
@media only screen and (min-width: 1201px) {
    header {
        justify-content: center;
    }
    header .search input {
        width: 450px;
    }
}
