/* General setup */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: Nunito, Arial, Helvetica, sans-serif;
  color: #6f6f6f;
  line-height: 150%;
}

html {
  font-size: 18px;
}

.no-display {
  display: none;
}

.container {
  width: 90%;
  margin: auto;
}

.call-to-action {
  color: white;
  background-color: #2f74ce;
  padding: 0.5rem;
  white-space: nowrap;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.medium-btn {
  width: 60%;
  margin: auto;
}

button:active {
  background-color: #1d4b88;
}

p {
  margin: 1rem 0;
}

table {
  margin: auto;
  border-spacing: 0;
}

tbody tr:nth-of-type(odd) {
  background-color: #f8f8f8;
}

th,
td {
  padding: 1rem;
}

@media only screen and (width <= 600px) {
  table thead {
    display: none;
  }

  table td {
    display: flex;
    text-align: left;
  }

  table td::before {
    content: attr(label);
    font-weight: bold;
    width: 120px;
    min-width: 120px;
  }
}

/* HEADER */

.header,
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.menu {
  flex-grow: 2;
  margin: 0 1rem;
}

.menu-item a,
.sub-menu-name {
  padding: 1rem;
  display: block;
  position: relative;
  white-space: nowrap;
}

.sub-menu-item {
  display: flex;
  align-items: center;
}

.menu-link {
  transition: all 0.3s ease;
  background-color: white;
}

.menu-link:hover,
.menu-link:active {
  background-color: #ddd;
}

.sub-items {
  position: absolute;
  float: left;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

article img {
  max-height: 30vh;
  max-width: 100%;
  border-radius: 10px;
}

.header-logo img {
  height: 7rem;
  width: auto;
  display: block;
  margin: 0 auto;
}

@media only screen and (width <= 1100px) {
  .header {
    flex-wrap: wrap;
  }

  .menu {
    order: 1;
    flex-basis: 100%;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .menu-icons {
    display: flex;
    justify-content: center;
  }

  .sub-items {
    position: static;
    margin-left: 2rem;
    float: none;
  }

  .menu-link {
    background-color: transparent;
  }
}

.hamburger,
.cross {
  font-size: 2rem;
  cursor: pointer;
}

.collapsible {
  transition: all 0.3s ease-in-out;
  transform-origin: top;
}

.flatten {
  transform: scaleY(0);
  height: 0;
}

.fa-chevron-down {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.basket-icon-row {
  text-align: end;
  margin-right: 1.2%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

@media only screen and (width <= 1100px) {
  .basket-icon-row {
    display: flex;
    justify-content: space-around;
    margin-right: 0%;
  }
}

.break {
  flex-basis: 100%;
}

.fa-shopping-basket {
  font-size: 2rem;
  position: relative;
}

.small-basket {
  font-size: 1.2rem;
  color: white;
  margin-right: 0.5rem;
}

.basket-link {
  position: relative;
  display: block;
}

.basket-counter {
  color: white;
  background-color: #2f74ce;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  font-size: 18px;
  text-align: center;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.turn-chevron {
  transform: rotate(180deg);
}

/* HERO IMAGE */

.hero-image,
.small-hero-image {
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
}

.hero-image {
  height: 50vh;
}

.small-hero-image {
  height: 25vh;
}

.hero-image-text,
.small-hero-image-text {
  text-align: center;
  margin: auto;
  color: #c9c9c9;
  font-style: italic;
}

.hero-image-text {
  font-size: 1.25rem;
}

/* LIST PAGES */

article {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.list-title {
  margin-left: 1rem;
}

/* TEXT BODY */

.section,
.intro {
  padding: 2rem 0;
}

.news {
  padding: 4rem 0 0;
}

.center {
  text-align: center;
}

.row {
  display: flex;
}

.reverse {
  flex-direction: row-reverse;
}

.column {
  width: 50%;
  margin: auto;
}

.right {
  margin: 0;
  text-align: right;
}

@media only screen and (width <= 1100px) {
  .column {
    width: 90%;
  }
}

.column-image {
  max-height: 75vh;
  max-width: 80%;
  padding: 10vh 0;
}

@media only screen and (width <= 500px) {
  .row {
    flex-direction: column;
  }

  .reverse, .column-reverse {
    flex-direction: column-reverse;
  }

  .column-image {
    max-width: 100%;
  }
}

.section:nth-of-type(even) {
  background-color: #f8f8f8;
}

h1 {
  text-transform: uppercase;
  font-weight: 200;
}

hr {
  border: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent, #2f74ce, transparent);
  width: 50%;
  margin: auto;
}

/* Link styling */
a:not(.menu-link, .call-to-action, .media-link, .gallery-image, .sub-menu-name, .basket-link) {
  text-decoration: none;
  color: #2f74ce;
  position: relative;
}

a:not(.menu-link, .call-to-action, .media-link, .gallery-image, .sub-menu-name, .basket-link)::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #2f74ce;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  a:not(.menu-link, .call-to-action, .media-link, .gallery-image):hover::before {
    left: 0;
    right: auto;
    width: 100%;
  }
}

.music-icon {
  width: 2rem;
  margin: 1rem 0;
  color: red;
  filter: invert(37%) sepia(86%) saturate(990%) hue-rotate(187deg) brightness(89%) contrast(83%);
}

.news-title {
  margin-bottom: 1rem;
}

.text-body {
  width: 50%;
  margin: auto;
}

@media only screen and (width <= 600px) {
  .text-body {
    width: 90%;
  }
}

/* FOOTER */

footer {
  background-color: #ddd;
  padding: 1rem 0;
}

.footer-text div,
.social-media-links {
  color: #333;
}

footer .container {
  display: flex;
  justify-content: space-between;
}

.social-media-links i {
  font-size: 1.5rem;
  padding: 0.5rem;
}

.fa-facebook:hover {
  color: #3b5998;
}

.fa-instagram:hover {
  color: #fcaf45;
}

/* Loader */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #6f6f6f;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

.fa-location-dot {
  font-size: 1.2rem;
}

.fa-location-dot, .fa-clock {
  margin-right: 0.5rem;
  color: #2f74ce;
}

.fa-trash-alt {
   color: white;
}
