/*
Negro profundo	#1A1619	Fondo
Gris obsidiana	#2F252B	Superficies
Rosa carmesí	#B93A6A	Acento principal
Rosa Sakura	#E93A9A	Botones y elementos activos
Verde teal	#4F8F9A	Acento secundario
Marfil	#E8E1E3	Texto principal
Gris suave	#8A7F85	Texto secundario
Vino oscuro	#5A1F32	Fondos de énfasis 
*/

body{
  background-color: #1A1619;
  color: #E8E1E3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

header{
  padding: 15px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  background-color: #2F252B;
  border: 2px solid #2F252B;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 95%;
}

header > div{
  max-width: 20%;
  display: flex;
  flex-direction: row;
  align-items:center;
}

.logo{
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 20px;
  font-style: italic;
}

.logo label{
  align-self:center;  
}

.flower{
  background: none;
  height: 30%;
  width: 30%;
}

header i{
  font-size: 30px;
  padding: 5px;
  border-radius: 10px;
}

header i:hover{
   background-color: #B93A6A;
}

.main{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #2F252B;
  border: 2px solid #2F252B;
  border-radius: 12px;
  padding: 10px;
  gap: 20px;
  width: 80%;
  height: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: repeat(3, minmax(64px, auto));
}

.main button:hover{
  outline: 2px solid #4F8F9A;
  outline-offset: 2px;
}

.main button:active{
  background-color: #5A1F32;
}

.medidas {
  grid-column: 1;
  grid-row: 1 / 4;
  display: grid;
  grid-template-rows: subgrid;
}

.medidas label {

  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
}
 
.medidas input {
  background-color: #1A1619;
  color: #E8E1E3;
  width: 100%;
  height: 36px;
  border: 2px solid #B93A6A;
  border-radius: 10px;
}

.medidas input::placeholder {
  color: #8A7F85;
}

.medidas input:focus {
  outline: 2px solid #4F8F9A;
  outline-offset: 2px;
}

.destino{
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.destino button{
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  border: none;
  background-color: #B93A6A;
  color: #E8E1E3;
  font-size: larger;
  font-weight: bold
}

.tipo{
  display: grid;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-content: center;
}

.tipo button{
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background-color: #B93A6A;
  color: #E8E1E3;
  font-size: larger;
  font-weight: bold;
}

.agregar{
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.agregar button{
  cursor: pointer;
  margin: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #B93A6A;
  font-size: large;
  font-weight: bolder;
  color: #E8E1E3;
  border: none;
  border-radius: 50%;
}

.cantidad{
  font-size: 20px;
}

.main > button{
  color: #E8E1E3;
  cursor: pointer;
  grid-column: 1 / -1;
  padding: 16px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 15px;
  border: none;
  background-color: #B93A6A;
}

footer {
  display: none;
}

@media (max-width: 600px) {
  header{
    justify-content: space-between;
  }

  .logo{
    max-width: 70%;
  }

  .logo label{
    font-size: 25px;
  }

  body{
    gap: 24px;
    padding-bottom: 90px;
  }
 
  .main{
    width: 95%;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }
 
  .medidas,
  .destino,
  .tipo,
  .agregar{
    grid-column: 1;
    grid-row: auto;
  }
 
  .medidas{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 10px;
  }
 
  .destino button{
    flex-direction: column;
    min-height: 140px;
    gap: 8px;
  }
 
  .destino button i{
    font-size: large;
  }
 
  .agregar{
    padding: 0 24px;
  }

  footer{
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    height: 70px;
    padding: 8px 10px 10px;
    gap: 8px;
    background-color: #2F252B;
    border-top: 2px solid #5A1F32;
    border-radius: 15px 15px 0 0;
  }
 
  footer > div{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: #E8E1E3;
    cursor: pointer;
    border-bottom: 3px solid #5A1F32;
  }
 
  footer > div i{
    font-size: 22px;
  }
 
  footer > div:hover{
    border-bottom-color: #E93A9A;
  }
 
  footer > div:hover i{
    color: #E93A9A;
  }
}