@charset "UTF-8";

body {
  background-color: #efefef;
}

#container {
  width: 800px;
  height: 800px;
  margin: 100px auto 25px auto;
  padding: 28px;
  background-color: #fff;
  box-sizing: border-box;
}

.layout-one {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  padding: 28px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top {
  display: flex;
  gap: 20px;
  height: 180px;
}

.box1 {
  width: 25%;
  text-align: left;
}

.box2 {
  width: 50%;
  text-align: center;
}

.box3 {
  position: relative;
  overflow: hidden;
  width: 25%;
  text-align: right;
  line-height: 1.2;
}

.box3-text {
  position: absolute;
  top: 45px;
  right: 2px;
  line-height: 1.1;
  text-align: right;
  transform: rotate(22deg);
  transform-origin: top right;
  width: 75%;
  max-width: 100%;
  padding-right: 8px;
}

.middle {
  display: flex;
  gap: 12px;
  flex: 1;
}

.box4 {
  flex: 1;
}

.box5 {
  flex: 1;
  height: 180px;
}

.box6 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.box6-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.contact,
.social {
  width: 48%;
  line-height: 1.2;
  box-sizing: border-box;
}

.barcode {
  line-height: 1.2;
  box-sizing: border-box;
}

.box7 {
  flex: 1;
  height: 180px;
}

.right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.box {
  border: 2px solid #000;
  min-height: 100px;
  box-sizing: border-box;
  padding: 14px;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#info {
  width: 800px;
  margin: 0 auto 100px auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
}


#container-two {
  width: 800px;
  height: 800px;
  margin: 40px auto 25px auto;
  padding: 28px;
  background-color: #fff;
  box-sizing: border-box;
}

.layout-two {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  padding: 26px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.l2-top {
  display: flex;
  gap: 12px;
  flex: 1;
}

.l2-box1 {
  flex: 1.05;
}

.l2-right {
  flex: 1.05;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.l2-box5,
.l2-box6,
.l2-box7 {
  flex: 1;
}

.l2-bottom {
  display: flex;
  gap: 12px;
  height: 170px;
}

.l2-box2 {
  flex: 1.3;
}

.l2-box3 {
  flex: 0.9;
  position: relative;
  overflow: hidden;
}

.l2-box4 {
  flex: 1.6;
  position: relative;
  overflow: hidden;
}

.l2-box {
  border: 2px solid #000;
  box-sizing: border-box;
  padding: 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.12;
  overflow: hidden;
}

.l2-box6 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.l2-box6-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.l2-contact,
.l2-social {
  width: 48%;
}

.l2-barcode {
  width: 100%;
}


.l2-box2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.l2-box2-a,
.l2-box2-b,
.l2-box2-c {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
}


.l2-box3-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  transform-origin: center;
  text-align: center;
  white-space: nowrap;
}


.l2-box4-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
}

.l2-kitkat,
.l2-nestle {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* =========================
   LAYOUT 2 TYPOGRAPHY FIX
   ========================= */

#container-two,
.layout-two,
.l2-box,
.l2-contact,
.l2-social,
.l2-barcode {
  font-family: Helvetica, Arial, sans-serif;
  color: #000;
}


.layout-two {
  font-size: 12px;
  line-height: 1.15;
}


.l2-box1 {
  font-size: 12px;
  line-height: 1.15;
}

.l2-box1 strong {
  font-weight: 700;
}


.l2-box5 {
  font-size: 12px;
  line-height: 1.18;
}

.l2-box5 strong {
  font-weight: 700;
  font-style: italic;
}


.l2-box6 {
  font-size: 12px;
  line-height: 1.15;
}

.l2-contact strong,
.l2-social strong,
.l2-barcode strong {
  font-weight: 700;
}

.l2-contact em,
.l2-social em {
  font-style: italic;
}

.l2-box7 {
  font-size: 12px;
  line-height: 1.18;
}

.l2-box7 strong {
  font-weight: 700;
  font-style: italic;
}

.l2-box2 {
  font-size: 12px;
}

.l2-box2-a {
  font-style: italic;
}

.l2-box2-b {
  font-weight: 700;
}

.l2-box2-c {
  font-weight: 400;
}

.l2-box3-text {
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  white-space: nowrap;
}

.l2-kitkat {
  font-weight: 700;
}

.l2-nestle {
  font-style: italic;
  font-weight: 700;
}

#container-three {
  width: 800px;
  height: 800px;
  margin: 40px auto 25px auto;
  padding: 28px;
  background-color: #fff;
  box-sizing: border-box;
}

.layout-three {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  padding: 26px;
  box-sizing: border-box;

  display: flex;
  gap: 12px;
}

.l3-left {
  flex: 1.7;
  display: flex;
  flex-direction: column;
}

.l3-box1,
.l3-box2,
.l3-box3,
.l3-box4 {
  position: relative;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}

.l3-box1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.l3-brand {
  font-size: 96px;
  line-height: 0.9;
  font-weight: 700;
  color: red;
}

.l3-nestle {
  position: absolute;
  top: 14px;
  right: 16px;
  transform: rotate(45deg);
  transform-origin: top right;
  font-size: 20px;
  font-weight: 700;
}

.l3-box2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.l3-cocoa {
  transform: rotate(35deg);
  transform-origin: left top;
  width: 220px;
  line-height: 1.1;
}

.l3-weight {
  font-size: 16px;
  line-height: 1.1;
}

.l3-recipe {
  font-size: 10px;
  line-height: 1.1;
}

.l3-box3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  line-height: 1.1;
}

.l3-nutrition strong,
.l3-contact strong {
  font-weight: 700;
}

.l3-made {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-self: center;
  font-size: 10px;
}

.l3-box4 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1.1;
}

.l3-fr,
.l3-en,
.l3-social,
.l3-barcode {
  margin-bottom: 10px;
}

/* =========================
   LAYOUT 3 STRUCTURE FIX
   ========================= */

#container-three {
  width: 800px;
  height: 800px;
  margin: 40px auto 25px auto;
  padding: 28px;
  background: #fff;
  box-sizing: border-box;
}

.layout-three {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  padding: 26px;
  box-sizing: border-box;

  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}


.l3-left {
  flex: 1.65;
  display: flex;
  flex-direction: column;
}

.l3-bottom-row {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
}

.l3-box1,
.l3-box2,
.l3-box3,
.l3-box4 {
  border: 2px solid #000;
  box-sizing: border-box;
  padding: 12px;
  overflow: hidden;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
  color: #000;
}


.l3-box1 {
  flex: 1.05;
  border-bottom: 2px solid #000;
}

.l3-brand {
  font-size: 153px;
  line-height: 0.88;
  font-weight: 700;
  color: red;
}

.l3-nestle {
  position: absolute;
  top: 65px;
  right: 28px;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(45deg);
  transform-origin: top right;
}


.l3-box2 {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.l3-cocoa {
  width: 185px;
  line-height: 1.05;
  transform: rotate(30deg);
  transform-origin: center;
  font-style: italic;
}

.l3-weight {
  font-size: 17px;
  line-height: 1.05;
}

.l3-weight strong {
  font-weight: 700;
}

.l3-recipe {
  font-size: 10px;
  line-height: 1.05;
  width: 50px;
  align-self: flex-end;
  text-align: right;
  position: absolute;
  bottom: 12px;
  right: 12px;
}


.l3-box3 {
  flex: 1.05;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  font-size: 11px;
  line-height: 1.08;
}

.l3-nutrition {
  flex: 1;
  font-size: 11px;
  line-height: 1.08;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
  margin-bottom: auto;
}

.l3-contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0;
  font-size: 10.5px;
  line-height: 1.08;
}

.l3-contact-header,
.l3-social-header {
  font-size: 10.5px;
  line-height: 1.08;
  margin-bottom: 4px;
}

.l3-contact-body,
.l3-social-body {
  margin-top: 0;
}

.l3-contact strong {
  font-weight: 700;
}

.l3-made {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  line-height: 1;
  align-self: flex-end;
  padding-right: 4px;
  transform: rotate(180deg);
}


.l3-box4 {
  flex: 0.65;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  font-size: 10px;
  line-height: 1.08;
}

.l3-bottom-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.l3-bottom-social {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.l3-fr,
.l3-en,
.l3-social,
.l3-barcode {
  margin-bottom: 0;
}

.l3-fr strong,
.l3-en strong,
.l3-social strong,
.l3-barcode strong {
  font-weight: 700;
}

.l3-fr {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.l3-en {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.l3-social {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 10.5px;
  line-height: 1.08;
  align-self: flex-start;
}

.l3-barcode {
  margin-bottom: 0;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #ccc;
}

.l3-box2 {
  position: relative;
  overflow: hidden;
}


.l3-cocoa {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%) rotate(24deg);
  transform-origin: center top;
  width: 165px;
  line-height: 1.05;
  font-style: italic;
  text-align: center;
}

.l3-weight {
  position: absolute;
  left: 16px;
  bottom: 18px;
  font-size: 16px;
  line-height: 1.05;
}

.l3-weight strong {
  font-weight: 700;
}


.l3-recipe {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
  width: 80px;
}


.l3-made {
  position: absolute;
  right: 20px;
  bottom: 18px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  line-height: 1;
  transform: rotate(180deg);
}