/******************************************
/* CSS
/*******************************************/


* {
  box-sizing: border-box;
  font-family: 'PT Sans', sans-serif;
  /* font-family: 'Roboto Mono', monospace; */
}

html {
  font-size: 62.5%;
}

body {
  align-items: center;
  display: flex;
  background: rgb(209, 212, 219);
  flex-direction: column;
  font-size: 2rem;
  /* text-align: center; */
}

h1, h2, h3, h4, h5, h6, ul, ol, li {
  margin: 0;
  padding: 0;
}

form {
  box-shadow: none;
}

ul, li {
  list-style: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: gray;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 350px;
}


/******************************************
/* LAYOUT
/*******************************************/
h1, h2, h3, h4, button, input, img, p {
  margin-bottom: 2rem;
}

img, p {
  vertical-align: middle;
  padding: 1rem;
  width: 450px;
}

h1 {
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
  text-decoration: underline;
}

img {
  width: 300px;
}

input {
  background-color: lightgray;
}

.main {
  display: flex;
  flex-flow: row nowrap;
  max-width: 900px;
  justify-content: center;
  touch-action: manipulation;
}

/* .drinkInfo {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
} */

.cocktailMainSection,
.drinkImg,
.drinkInstructions,
.drinkInfo {
  align-items: center;
  display: flex;
  flex-flow: column nowrap;
  touch-action: manipulation;
}

.drinkText {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 4;
  margin-bottom: 2rem;
}

.drinkIngredients,
.drinkInstructions {
  max-width: 400px;
  text-align: center;
}

.drinkInstructions h2 {
  margin-bottom: 0;
  margin-right: 5rem;
}

.drinkIngredients ol,
.drinkIngredients li {
  list-style: decimal;
  min-width: 250px;
  text-align: center;
}

.drinkIngredients {
  width: 50%;
}

.drinkInstructions {
  width: 50%;
}

.cocktailMainSection {
  background: rgb(80, 80, 80);
  box-shadow: 1px 1px 2px rgb(55, 55, 55);
  flex: 5;
  max-width: 900px;
  padding: 1%;
}

.buttonFlex {
  display: flex;
  flex-flow: row nowrap;
}

.buttonFlex button {
  background: rgb(122, 122, 122);
  border: 1px solid rgb(80, 80, 80);
  color: white;
  font-size: 2rem;
  /* width: 35%; */
  padding: 2rem;
  /* width: 25%; */
  text-align: center;
}

.buttonFlex button:active {
  background: rgb(128, 128, 128);
  transform: scale(0.9);
}

.hidden {
  display: none;
}

.spaceLeft,
.spaceRight {
  flex: 2;
}

#drinkName {
  font-size: 5rem;
}

#drinkInstructions {
  font-style: italic;
  margin-right: 5rem;
  padding: 0 6rem 1rem 6rem;

}

#drinkImg {
  border-radius: 50%;
}

#findADrink {
  /* border-radius: 50%; */
  /* height: 70px; */
  background: rgb(122, 122, 122);
  border: 1px solid rgb(80, 80, 80);
  color: white;
  font-size: 2rem;
  /* width: 35%; */
  padding: 2rem;
  /* width: 25%; */
  text-align: center;
}

#findADrink:active {
  background: rgb(128, 128, 128);
  transform: scale(0.9);
}

.footerSection ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 2rem 0;
}

.footerSection li {
  margin: 0 2rem;
}


/* Media Queries */

@media screen and (max-width: 900px) {

  header {
    margin-top: 1.5rem;
  }

  #drinkName {
    font-size: 3rem;
  }

  img, p {
    vertical-align: middle;
    padding: 1rem;
    max-width: 350px;
  }

  .cocktailMainSection {
    margin-bottom: 1rem;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
  }

  .drinkText {
    align-items: center;
    flex-direction: column;
    text-align: left;
  }

  .drinkIngredients li {
    text-align: left;
  }

  .drinkIngredients ol {
    padding-left: 2rem;
  }

  .drinkIngredients {
    margin-bottom: 2rem;
  }

  .spaceLeft,
  .spaceRight {
    display: none;
  }

  #drinkInstructions, 
  .drinkInstructions h2 {
    margin-right: 0;
  }
