html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
footer,
header,
nav,
section {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
figcaption,
figure,
main {
  display: block;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
audio,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  display: inline-block;
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details,
menu {
  display: block;
}
summary {
  display: list-item;
}
canvas {
  display: inline-block;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-size: 62.5%;
  color: rgb(225, 189, 255);
  background-image: url(./assets/main-background-img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
.wrapper {
  max-width: 1380px;
  margin: 0 auto;
  width: 65%;
}
h1 {
  margin-top: 80px;
  font-size: clamp(1.7rem, 4vw, 5rem);
  font-weight: 400;
  text-align: center;
  padding: 40px 0px;
  position: relative;
  color: rgb(226, 135, 245);
  animation: flicker2 8s infinite;
  width: 80%;
}
h1::before {
  position: absolute;
  content: attr(data-text);
  text-shadow: 0px 0px 50px rgb(226, 135, 245);
}
.divide {
  text-shadow: 0px 0px 100px rgb(226, 135, 245);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 span {
  animation: flicker 8s infinite linear;
}
h1 .delay1 {
  animation-delay: 0.8s;
}
h1 .delay2 {
  animation-delay: 1.4s;
}
h1 .delay3 {
  animation-delay: 2s;
}
@keyframes flicker {
  0% {
    filter: blur(5px) brightness(2);
  }
  3% {
    filter: blur(5px) brightness(0);
  }
  6% {
    filter: blur(5px) brightness(0);
  }
  7% {
    filter: blur(5px) brightness(2);
  }
  8% {
    filter: blur(5px) brightness(0);
  }
  9% {
    filter: blur(5px) brightness(2);
  }
  10% {
    filter: blur(5px) brightness(0);
  }
  20% {
    filter: blur(5px) brightness(2);
  }
  50% {
    filter: blur(5px) brightness(2);
  }
  80% {
    filter: blur(5px) brightness(2);
  }
  99% {
    filter: blur(5px) brightness(0);
  }
  100% {
    filter: blur(5px) brightness(2);
  }
}
@keyframes flicker2 {
  0% {
    filter: brightness(1);
  }
  3% {
    filter: brightness(0);
  }
  6% {
    filter: brightness(0);
  }
  7% {
    filter: brightness(1);
  }
  8% {
    filter: brightness(0);
  }
  9% {
    filter: brightness(1);
  }
  10% {
    filter: brightness(0);
  }
  20% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1);
  }
  80% {
    filter: brightness(1);
  }
  99% {
    filter: brightness(0);
  }
  100% {
    filter: brightness(1);
  }
}
#dropdown {
  width: 250px;
  height: 30px;
  border-radius: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  color: rgb(255, 255, 255);
  background-color: rgb(164, 125, 255);
  border-radius: 30px;
  border: none;
  margin-bottom: 20px;
  text-align: center;
  display: block;
  margin: 30px auto;
}
.cocktailImage {
  width: 100%;
  margin-right: 20px;
  border-radius: 50%;
}
.cocktailDescription {
  padding: 10px;
  display: flex;
  font-size: clamp(1rem, 1.2vw, 1.8rem);
  letter-spacing: 1px;
}
.imageClass,
.divide {
  width: 50%;
  display: flex;
}
.imageClass {
  align-items: center;
  margin: 3%;
}
.border {
  border: 3px solid rgb(164, 125, 255);
  border-radius: 30px;
  margin: 5% auto;
}

.ingredientClass {
  padding: 30px 0;
}
.cocktailName {
  font-size: clamp(1rem, 1.2vw, 2rem);
}
a {
  color: rgb(225, 189, 255);
  font-size: clamp(1.5rem, 1.6vw, 2rem);
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

footer {
  padding-bottom: 30px;
}

@media only screen and (max-width: 1000px) {
  h1 {
    width: 95%;
  }
  .alcoholPicture {
    flex-direction: column;
  }
  .imageClass {
    margin: 30px auto;
  }
  .divide {
    width: 100%;
  }
  .wrapper {
    width: 80%;
  }
}

@media only screen and (max-width: 430px) {
  h1::before {
    left: 1px;
  }
  .wrapper {
    width: 90%;
  }
}
