@font-face {
  font-family: 'public';
  src: url('static/fonts/public/PublicSans-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'public';
  src: url('static/fonts/public/PublicSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'public';
  src: url('static/fonts/public/PublicSans-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'public';
  src: url('static/fonts/public/PublicSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'public';
  src: url('static/fonts/public/PublicSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html{
  font-size: 16px;
  font-family: 'public';

  background-color: #eff1f1;
  color: #222;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing: grayscale; 

}

body{
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 2rem);
}

.container{
    margin: 0 auto;
    max-width: 500px;
    max-height: 100%;
    /* height: calc(100vh - 5rem); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5rem;
}

main{
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
}


h1{
    font-size: 1.2rem;
    margin: 0;
}

h2{
    font-size: 1rem;
    margin: 1rem 0;
    font-weight: 400;
}

footer{
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
}

a{
    color:#5b5b5b;
    text-decoration: underline;
}

a:hover{
    /* text-decoration: none; */
    color: #222;
}

img {
    max-width: 100px;
    margin: 0 auto;
}

hr {
    margin: 0 0 1rem 0;
    padding: 0;
    border: none;
    background: none;
    border-top: 2px solid #ccc;
}

ol{
    padding-left: 1rem;
    list-style-type: disc;
    margin: 1rem 0 0 0;
}

li{
    margin-bottom: 0;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    main {
        background-color: #2a2a2a;
    }

    a {
        color: #a0a0a0;
    }

    hr {
        border-top-color: #444;
    }

    a:hover{
        /* text-decoration: none; */
        color: #e0e0e0;
    }
}