@font-face {
    font-family: 'Inter'; /*a name to be used later*/
    src: url('/Inter.ttf'); /*URL to font*/
}

html, body {
    font-family: 'Inter';
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 100vh;
}

.main, .today, .banner {
    background-color: #dddddd;
    padding: 20px;
    width: max(70vw, 500px);
    margin: 10px;
}

.banner {
    background-color: #a6f8a2;
    text-align: center;
}

.today {
    display: flex;
    flex-direction: row;
}
.today div {
    min-width: 0;
    overflow: auto;
    flex-grow: 1;
}
.today div h1,h2,h3,h4,h5,h6 {
    margin: 0;
}
.today img {
    margin: -6px;
}

.main h1 {
    margin: 0;
}
.main button {
    background-color: #eeeeee;
    border: solid 2px black;
    color: inherit;
	padding: 5px;
	font: inherit;
	cursor: pointer;
}
.main button.subscribe {
    /* Underline styles - details of technique here: https://nickymeuleman.netlify.app/blog/css-animated-wrapping-underline */
    cursor: pointer;
    background: linear-gradient(
        to right,
        rgba(100, 200, 200, 1),
        rgba(100, 200, 200, 1)
        ),
        linear-gradient(
        to right,
        rgba(255, 0, 0, 1),
        rgba(255, 0, 180, 1),
        rgba(0, 100, 200, 1)
        ),
        hsl(203, 100%, 91%);
    background-size: 100% 0.1em, 0 0.3em;
    background-position: 100% 125%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms, background-color 400ms;
}
.main button.subscribe:hover,
.main button.subscribe:focus {
  background-size: 0 0.1em, 100% 0.3em;
  background-color: white;
}

.main footer {
    margin-top: 10px;
}