@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --blueViolet: #6943FF;
    --lightViolet: #B295FF;
    --darkViolet: #5A537B;
    --lightGray: #F4F4F4;
}

body {
    margin:0;
    text-align:center;
    font-family: 'Inter', sans-serif;
    width:100%;
}

#container {
    width:100%;
    margin:auto;
}

#header {
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    background: var(--blueViolet);
    color:white;
    padding:33px 51px;
}
#header h1 {
    margin:0 0 30px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 38px;
}
#header input {
    margin:0 0 26px 0;
    background:none;
    border-radius: 5px;
    border: 2px solid var(--lightViolet);
    color:white;
    font-size:58px;
    text-align:center;
    font-weight: 800;
    line-height: 24.393px;
    width:117px;
}
#header button{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    padding: 9px 27px;
    background:white;
    border-radius:5px;
    border:none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}
#header button:hover {
    background: #d4d4d4;
    cursor:pointer;
}

#units-container{
    background:var(--lightGray); 
    padding:35px 25px;   
    display:flex;
    flex-direction:column;
    gap:23px;
}

.unit-wrapper{
    background:white;
    padding:31px 14px 14px 14px;
    border-radius:4.7px;
}

.unit-wrapper h2{
    margin:0;
    color: var(--darkViolet);
    font-size: 20px;
    font-weight: 600;
}
.unit-wrapper p{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

@media (min-width: 600px) {
    #container {
        width:550px;
    }

    body {
        position:absolute;
        width:100%;
        height:100%;
        display:flex;
        justify-content:center;
        align-items:center;
    }
}