/**
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html, body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  background: #121212;
  color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Roboto', sans-serif
}

a {
  color: #BB86FC;
}

a:hover {
  color: #03DAC5;
}

.btn {
  background: #BB86FC;
  color: #fff;
  padding: 5px 15px;
  display: inline-block;
  text-decoration: none;
  margin: 0 auto;
}

.btn.buy-one-click{
  background: #FC868C;
}

.btn:hover {
  background: #03DAC5;
}

.btn.clicked {
  background: #666666;
}

.topbar {
  background: #251b32;
  text-align:left;
}

.topbar::after {
  content: "";
  clear: both;
  display: table;
}

.topbar .company-logo,
.topbar .company-name {
  float: left;
}

.topbar .company-logo img {
  height: 60px;
  display: inline-block;
  margin: 10px;
}

.topbar .company-name h1 {
  margin: 22px 0px;
  font-size: 30px;
}

.topbar .account {
  float: right;
  margin: 10px;
}

.topbar .account .hello-container {
  float: left;
  padding: 8px 15px 0;
  text-align: right;
}

.topbar .account .hello-container span {
  display: block;
}

.topbar .account .hello-container .hello a {
  font-weight: 700;
  text-decoration: none;
}

.topbar .account .hello-container span.user-id {
  font-size: 12px;
  font-style: italic;
}

.topbar .account a.btn {
  float: left;
  display: block;
  background: #38284c;
  margin-top: 12px;
}

.page-container {
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #966bca;
}

nav ul li {
  float:left
}

nav ul li.basket {
  float:right;
}

nav ul li.basket a {
  padding: 6px 20px;
}

nav ul li.basket img {
  height: 40px;
}

nav ul li a {
  display: block;
  color: white;
  background: #BB86FC;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #03DAC5;
  color: #fff;
}

.container-highlight {
  background: #242424;
  margin: 10px 0;
  padding: 20px;
}

.product-image {
  width: 250px;
  height: 200px;
  object-fit: cover;
}

.basket-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
}

#clear-basket.btn {
  float:left;
}

#buy.btn {
  float: right;
}

ul.ordered-products {
  list-style-type: none;
}

ul.ordered-products li.total {
  margin: 10px;
  font-weight: bold;
}

form.login {
  max-width: 500px;
  margin: auto;
}

.login .form-group {
  display:block;
  margin-bottom: 10px
}

.login .form-group label {
  display: block;
}

.login .form-group input {
  width: 100%;
  text-align:center;
}

#cookie-banner-overlay {
  position: absolute;
  top:0;
  bottom:0;
  right: 0;
  left: 0;
  animation: fadeIn 0.1s;
  animation-fill-mode: forwards;
  display:none;
  z-index: 1;
}

@keyframes fadeIn {
  from { background: rgba(0, 0, 0, 0); }
  to { background: rgba(0, 0, 0, 0.8); }
}

#cookie-banner-icon {
  position: fixed;
  bottom:5px;
  right: 5px;
}

#cookie-banner-icon:hover {
  background: #03DAC5;
  border-radius: 50px;
  cursor: pointer;
}

#cookie-banner-icon img {
  height: 60px;
}

.cookie-banner-container {
  background: #251b32;
  max-width: 550px;
  padding: 20px;
  margin: 80px auto;
}

.cookie-banner-text form input[type='checkbox'] {
  margin-bottom: 25px;
}
