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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: grid;
    width: 100%;
    min-height: 100vh;
    place-items: center;
    background-size: cover;
    background-position: center center;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 20px;
}

#calendar{
    width: 100%;
    max-width: 490px;
    display:-webkit-box;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    background-color: rgba(255,255,255,.9);
    border-radius: 5px;
    padding: 20px;
    gap: 5px;
}
#calendar .toprow{
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin-bottom: 20px;
}
#calendar .days, #calendar #dates{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 10px;
}

#calendar .days{
    font-weight: 700;
}

#calendar #dates div{
    display: grid;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    border: 1px solid lightgrey;
    height: 50px;
    border-radius: 5px;;
}
#calendar #dates div.date{
    border: 1px solid black;
}
#calendar #dates div.today{
    border: 1px solid green;
    background-color: green;
    color: white;
    font-weight: 700;
}

button, select, input{
    padding: 5px;
}
input{
    width: 70px;
    text-align: center;
}

#copy{
  margin-top:20px;
  padding: 5px;
    position: -webkit-sticky;
    position: sticky;
 background-color: rgba(0,0,0,.5);
    color: white;
    font-size: .8em;
}
#copy a{
    color: white;
}