* {
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
  
}


body {
  margin-top: 5%;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 5%;
}

img {
  max-width: 100%;
  width: 100%;
}




.package {
  max-width: 380px;
  margin: 40px auto;  /* centered */
}

.product-img {
  display: block;  /* no gap underneath */
  width: 100%;
  border: 3px solid #14141c;
  border-bottom: none;
}

.label {
  border: 3px solid #14141c;
  padding: 6px 10px 10px;  /* top, sides, bottom */
  background-color: #ffffff;
}

.label h2, .label p {
  margin: 0;
}

.label h2 {
  font-size: 2.5rem;
}

.thick {
  border-top: 10px solid #14141c;
  padding-top: 4px;
}

.thin {
  border-top: 1px solid #14141c;
  padding: 3px 0;
}

.headline {
  font-size: 2rem;
}

.medium {
  border-top: 5px solid #14141c;
  padding: 3px 0;
}

.row {
  border-top: 1px solid #14141c;
  padding: 3px 0;  /* top/bottom, left/right */
}

nav {
  background-color: #ffffff;
  padding: 0 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
}

nav a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #14141c;

}

nav a:hover, nav a:focus {
  background-color: #811cda;
  color: #ffffff;
}

nav a.current {
  border-bottom: 4px solid #811cda;
}

.card {
  position: relative;
  border: 1px solid #14141c;
  padding: 6px 10px 10px; 
}

.sticker {
  position: absolute;
  top: -14px;
  right: -14px;
  padding: 6px 12px;
  background-color: #f2e394;
  border-radius: 20px;
  transform: rotate(8deg);
  z-index: 9999;
}

.backtotopbutton {
  position: fixed;
  bottom: 20px;
  right: 30px;
  height: 44px;
  width: 100px;
  text-align: center;
  line-height: 50px;
}

.backtotopbutton:hover {
  background-color: #811cda;
  color: #ffffff;
}

.backtotopbutton:focus {
  background-color: #811cda;
  color: #ffffff;
}


.floated-image {
  float: left;          
  margin-right: 20px;    
  margin-bottom: 10px;  
  width: 25%;
  max-width: 400px;       
  height: auto;
}

.clear-floats {
  clear: both;
}