/* RESET STYLES*/
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, 
ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, 
thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, 
header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, 
textarea, select, label, button, picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
img, picture, svg, video, canvas, article, aside, details, figcaption, figure, footer, 
header, hgroup, menu, nav, section, summary {
  display: block;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body {
  min-height: 100vh;
  line-height: 1.3;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}
a {
  text-decoration: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
a img, img, picture, svg, video, canvas {
  border: 0;
}
img, picture, svg, video, canvas {
  max-width: 100%;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}
/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em
}
/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}


:root {
  --color-beige: #fbf4e5;
  --color-red: #a41e23;
  --color-white: #ffffff;
}

/* GENERAL STYLES, TEXT FORMATTING AND  TYPOGRAPHY */

html, body {
  width: 100%;
  font: normal 500 16px "nexa", sans-serif;
  line-height: 1.2;
  background-color: var(--color-beige);
}

html, body,
a, a:link, a:active, a:visited,
.form__input,
.form__submit-btn {
  color: var(--color-red);
}

/* APPEARANCE */
body.no-webp {
  background-image: url(../img/bg-1096.jpg);
}

body.webp {
  background-image: url(../img/bg-1096.webp);
}

@media (min-width: 1096px) {
  body.no-webp {
    background-image: url(../img/bg-1920.jpg);
  }
  
  body.webp {
    background-image: url(../img/bg-1920.webp);
  }
}

body {
  background-repeat: no-repeat;
  background-position: center top;
}

/* STRUCTURE & BEHAVIOUR */
.wrapper,
.prize-item {
  position: relative;
}

.wrapper {
  max-width: 580px;
  padding: 45px 15px;
  text-align: center;
}

.wrapper,
.logo-idilio,
.giveaway-headline,
.btn, .btn-participa,
.bacardi-logo {
  margin-left: auto;
  margin-right: auto;
}

.logo-idilio, .logo-idilio img,
.giveaway-headline,
.btn, .btn-participa,
.form__label,
.bacardi-logo strong {
  display: block;
}

.form__message-display.show,
.prizes-container {
  display: flex;
}

.prizes-container {
  justify-content: space-between;
}

.headline,
.btn-participa,
.prizes-container {
  margin-bottom: 2.5rem;
}

/* TYPOGRAPHY */
.headline {
  font-size: 1.25rem;
}

.body-text,
.form__message-display_btn,
.form__input,
.bacardi-logo {
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.body-text.smaller {
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.body-text.smaller,
.btn {
  font-size: 0.6875rem;
}

.btn-participa, .btn-participa:link, .btn-participa:active, .btn-participa:visited,
.form__message-display_btn {
  color: var(--color-white);
}

strong {
  font-weight: 600;
}

strong.black,
.form__submit-btn {
  font-weight: 900;
}

em{
  font-style: italic;
}

/* BLOCKS & ELEMENTS */
.logo-idilio {
  width: 65px;
}

.giveaway-headline {
  width: 375px;
}

.logo-idilio {
  margin-bottom: 2.1875rem;
}

.giveaway-headline {
  margin-bottom: 3.125rem;
}

.btn,
.form__input,
.form__message-display-content {
  border: 1px solid var(--color-red);
}

.btn {
  width: 4.375rem;
}

.btn,
.form__message-display_btn {
  padding: 0.5rem;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.btn-participa {
  width: 9.75rem;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  background: transparent url(../img/bg-btn-participa.svg) no-repeat center top;
  background-size: 100% auto;
}

.btn-participa,
.prize-item {
  font-size: 1.125rem;
}

.prizes-container {
  padding-bottom: 2rem;
}

.prize-item {
  width: 14.25rem;
  height: 6.375rem;
  padding-top: 1.25rem;
  border: 2px solid var(--color-red);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.prize-item.taquillas {
  margin-bottom: 1.90625rem;
}

.prize-item.drink-glasses {
  margin-bottom: 1.3125rem;
}

.prize-item__img,
.banner-enjoy-responsibly {
  position: absolute;
}

.prize-item__img {
  z-index: 2;
  left: 50%;
}

.taquillas .prize-item__img {
  bottom: -1.90625rem;
  width: 4.3125rem;
  margin-left: -2.15625rem;
}

.drink-glasses .prize-item__img {
  bottom: -1.3125rem;
  width: 3rem;
  margin-left: -1.5rem;
}

.icon-plus-sign {
  width: 15px;
}

.form {
  text-align: left;
}

.form__group {
  margin-bottom: 10px;
}

.form__label,
.form__input {
  width: 100%;
}

.form__label {
  margin-bottom: 6px;
}

.form__input {
  padding: 0.75rem;
  background-color: transparent;
}

.form__submit-btn {
  background-color: transparent;
}

.form__submit-btn,
.form__message-display_btn {
  cursor: pointer;
}

.bacardi-logo {
  width: 11.8125rem;
  margin-top: 3.75rem;
  margin-bottom: 5rem;
  color: #000;
}

.bacardi-logo strong {
  margin-bottom: 8px;
}

#loader,
.form__message-display {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

#loader {
  background: rgba(255, 255, 255, 0.7) url(../img/ajax-loader.gif) no-repeat center center; 
}

.form__message-display {
  background-color: rgba(255, 255, 255, 0.8);
}

.form__message-display.show {
  justify-content: center;
  align-items: center;
}

.form__message-display-content {
  width: 90%;
  max-width: 500px;
  padding: 68px 16px 16px 16px;
  border-radius: 20px;
  background: var(--color-beige) url(../img/icon-information-outline.svg) no-repeat center 8px;
  background-size: 40px;
}

.form__message-display_btn {
  margin-top: 16px;
  margin-bottom: 0;
  background-color: var(--color-red);
}

.banner-enjoy-responsibly {
  top: 25px;
  right: 0;
  width: 75px;
}

@media (max-width: 1096px) {
  body {
    background-size: auto 100%;
  }

  .age-badge {
    bottom: 110px;
  }
}

@media (max-width: 768px) {
  .giveaway-headline {
    width: 275px;
  }

  .form__message-display-content {
    width: 95%;
  }
}

@media (max-width: 600px) {
  .prizes-container {
    flex-direction: column;
    align-items: center;
  }

  .icon-plus-sign {
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .body-text br,
  .headline br {
    display: none;
  }
}

@media (min-width: 600px) {
  .display-600 {
    display: none;
  }
}