@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed:100,200,300,400,500,600,700&subset=latin-ext');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow Condensed', sans-serif;
}

header {
    position: relative;
    height: 8vh;
    text-align: center;
    background-color: blueviolet;
    color: white;
}

header h1 {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4vh;
    font-weight: 500;
}

section.inputCal {
    display: flex;
    justify-content: space-evenly;
    margin: 20px auto;
    height: 11vh;
    max-width: 960px;
}

section.inputCal div {
    flex-basis: 25%;
    text-align: center;
    font-size: 3vh;
    font-weight: 200;
}

input {
    text-align: center;
    font-size: 6vh;
    color: #333;
    font-family: 'Barlow Condensed', sans-serif;
    border: none;
    border-bottom: 2px solid blueviolet;
    width: 100%;
}

button {
    flex-basis: 10%;
    font-size: 3vh;
    font-family: 'Barlow Condensed', sans-serif;
    padding: 5px;
    border: none;
    background-color: rgba(137, 43, 226, 0.164);
    border: 1px blueviolet solid;
    border-radius: 10%;
    text-align: center;
    outline: none;
}

div.meal {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 7vw;
    background-color: rgba(137, 43, 226, 0.295);
    border: 2px solid blueviolet;
    border-radius: 10px;
    width: 90%;
    height: 15vh;
    margin: 10px auto;
    max-width: 960px;
}

div.name {
    position: relative;
    /* border: 1px solid red; */
    flex-basis: 50%;
    width: 50%;
}

div.name div {
    position: absolute;
    width: 100%;
    top: 50%;
    left:0;
    transform: translateY(-50%);
    text-align: center;
    font-size: 4vh;
    font-weight: 500;
}

div.hours {
    /* border: 1px solid blue; */
    flex-basis: 50%;
    width: 50%;
    position: relative;
}

div.hours div {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 2.5vh;
    font-weight: 200;
}

div.hours div span {
    font-weight: 400;
}



div.calories {
    position: relative;
    /* border: 1px solid white; */
    flex-basis: 100%;
    width: 50%;
}

div.calories div {
    position: absolute;
    width: 100%;
    top: 50%;
    left:0;
    transform: translateY(-50%);
    text-align: center;
    font-size: 5vh;
    font-weight: 500;
}
