.shadow-1 {
  box-shadow: 2px 2px 2px #0a3a65;
}
.shadow-2 {
  box-shadow: 4px 4px 16px #434d56;
}
.shadow-3 {
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.shadow-4 {
  box-shadow: 0 24px 28px -12px black;
}
.shadow-5 {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.shadow-6 {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.text-shadow-1 {
  text-shadow: 2px 2px 2px #484848bf;
}
/*
 * Fonts
 */
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Light.ttf') format('truetype');
  font-weight: lighter;
}
@font-face {
  font-family: "Roboto";
  src: url('..//resources/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: lighter;
}
@font-face {
  font-family: "Roboto";
  src: url('..//resources/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: "Roboto";
  src: url('..//resources/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Roboto";
  src: url('../resources/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
}
:root {
  font-size: 12pt;
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: Roboto, Helvetica;
  background-color: #333333;
  color: #65acd8;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background-color: #404040;
}
h1 {
  padding: 10px 50px 50px 50px;
  text-align: center;
}
/*
 * Common styles 
 */
.all-width {
  width: 100%;
}
.facebook-icon {
  color: #4267b2;
}
.youtube-icon {
  color: red;
}
.spotify-icon {
  color: #1ed760;
}
.amazon-icon {
  color: black;
}
/* 
 * Buttons 
 */
.button,
.smaller-button,
.reversed-button,
.naked-button {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}
.button,
.smaller-button {
  background-color: #404040;
  color: #fdfdfd;
  border-radius: 6px;
  box-sizing: border-box;
}
.button {
  padding: 12px 20px;
}
.reversed-button {
  padding: 11px 19px;
  background-color: #fdfdfd;
  color: #404040;
  border-style: solid;
  border-width: 2px;
  border-color: #404040;
  border-radius: 6px;
  box-sizing: content-box;
}
.smaller-button {
  padding: 10px 16px;
}
.naked-button {
  color: #737373;
}
.button:hover {
  background-color: #5a5a5a;
}
.naked-button:hover {
  text-decoration: underline;
}
/*
 * Sections
 */
.section {
  padding: 80px 0;
}
.section-title {
  padding: 20px;
  font-size: 2em;
  color: #404040;
  text-align: center;
}
.section-sub-title {
  padding: 20px;
  font-size: 1.5em;
  color: #404040;
  text-align: center;
}
.section-text {
  font-size: 1em;
  padding: 20px;
  color: #2c7aab;
}
/*
 * Vignettes
 */
.vignette-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}
.vignette-section-vertical {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}
.vignette,
.vignette-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-style: solid;
  border-width: 2px;
  border-color: #404040;
  border-radius: 2px;
  flex-grow: 0;
}
.vignette {
  flex-basis: 200px;
}
.clickable-vignette {
  cursor: pointer;
}
.vignette-title {
  color: #404040;
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
}
.vignette-title-with-detail {
  position: relative;
  padding-bottom: 10px;
  color: #404040;
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #404040;
}
.vignette-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vignette-text {
  color: #5a5a5a;
}
.vignette-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #5a5a5a;
}
/* 
 * Messages 
 */
#message-section {
  position: fixed;
  top: 0;
  width: 90%;
  margin: 0 5%;
  top: 200px;
  left: 0;
  text-align: center;
  font-size: 1.5em;
  z-index: 90;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  overflow-y: hidden;
}
.message-section-hidden {
  max-height: 0;
  transition: max-height 0.5s ease;
}
.message-section-shown,
.message-section-error {
  max-height: 200px;
  transition: max-height 2s ease;
  border-top-style: solid;
  border-top-width: 3px;
  border-top-color: #ffbe02;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-bottom-color: #ffbe02;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.message-section-shown {
  border-top-color: #ffbe02;
  border-bottom-color: #ffbe02;
}
.message-section-error {
  border-top-color: #ff0202;
  border-bottom-color: #ff0202;
}
.message,
.message-error {
  display: block;
  margin: 0 20% 0 20%;
  padding: 20px;
  opacity: 1;
  color: #fdfdfd;
}
/* 
 * Modals 
 */
.close-modal {
  position: absolute;
  display: block;
  right: 10px;
  top: 0;
  padding: 2px;
  color: #404040;
  font-size: 2em;
  cursor: pointer;
  z-index: 80;
}
.close-modal::after {
  content: "\00d7";
}
.modal,
.modal-wide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
  z-index: 80;
}
.modal {
  padding: 5% 20%;
}
.modal-wide {
  padding: 5% 10%;
}
/*
 * Header
 */
#header-section {
  position: sticky;
  width: 100%;
  top: 0;
  background-color: #fdfdfd;
  z-index: 9;
}
#header {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: space-between;
  padding: 6px 4%;
  vertical-align: top;
  color: #404040;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #404040;
}
/* Menu with logo + cart */
#logo-container {
  background-image: url("/resources/pictures/digest.png");
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 1s ease;
}
.normal-logo-container {
  width: 172px;
  height: 99px;
}
.small-logo-container {
  width: 86px;
  height: 50px;
}
#menu-hamburger {
  display: none;
  padding: 0 20px 0 0;
  cursor: pointer;
}
.menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
.menu-item {
  padding: 8px 10px;
  text-decoration: none;
}
.menu-item-text {
  color: #404040;
  cursor: pointer;
}
.menu-item-selected {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #404040;
}
.menu-item-text:hover {
  color: #5a5a5a;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #5a5a5a;
}
.menu-dropdown {
  padding: 2px;
  background-color: #fdfdfd;
  text-align: left;
  border-style: solid;
  border-color: #404040;
  border-width: 1px;
  position: absolute;
  text-align: center;
  z-index: 70;
}
.menu-dropdown-item {
  display: block;
  background-color: #404040;
  color: #fdfdfd;
  margin: 2px 0;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.8em;
  cursor: pointer;
}
.menu-dropdown-item:hover {
  background-color: #5a5a5a;
}
/* Submenu */
#submenu-section {
  position: relative;
  display: block;
  padding: 12px 4%;
  text-align: right;
  background-color: #404040;
}
/* Body */
#body-section {
  position: relative;
  display: block;
  box-sizing: border-box;
}
/*
 * Footer
 */
#footer-section {
  position: relative;
  display: block;
  box-sizing: border-box;
  background-color: #fdfdfd;
  z-index: 4;
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: #404040;
}
.footer-section {
  position: relative;
  display: inline-block;
  padding: 10px 4px;
  box-sizing: border-box;
  width: 33%;
  vertical-align: top;
  font-size: 0.9em;
  color: #404040;
}
#footer-about {
  text-align: center;
}
.footer-about-line {
  display: block;
  padding: 8px 0;
}
#footer-general {
  text-align: center;
}
.footer-general-line {
  display: block;
  padding: 8px 0;
}
#footer-contact {
  text-align: center;
}
.footer-contact-line {
  display: block;
  padding: 4px 0;
}
#footer-media {
  display: block;
  margin: 0 4%;
  padding: 10px 0;
  text-align: center;
  border-top-style: solid;
  border-top-width: 1px;
  color: #404040;
}
.footer-media-element {
  display: inline-block;
  padding: 0 6px;
  font-size: 1.4em;
}
/* 
 * Move to top widget
 */
#move-to-top-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #c0c0c0;
  color: #ffbe02;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 1s, opacity 1s;
  z-index: 50;
  border-style: solid;
  border-width: 1px;
  border-color: #8d8d8d;
  cursor: pointer;
}
@media only screen and (max-width: 950px) {
  #logo-container {
    width: 139px;
    height: 80px;
  }
  .modal {
    padding: 10% 10%;
  }
}
@media only screen and (max-width: 700px) {
  .modal {
    padding: 0;
  }
  #menu-hamburger {
    display: inline-block;
  }
  .menu {
    position: absolute;
    flex-direction: column;
    justify-content: center;
    display: none;
    width: 100%;
    left: 0;
    padding: 20px 0;
    background-color: #8d8d8d;
    text-align: center;
    z-index: 8;
  }
  .menu-shown {
    display: flex;
  }
  .footer-section {
    display: block;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #404040;
  }
  .footer-section:last-child {
    border-bottom-style: none;
  }
}
