/* Fonts */

@font-face {
    font-family: "Tartufo";
    src: url("fonts/Tartuffo-Thin.otf");
}
@font-face {
    font-family: "Fraunces";
    src: url("fonts/fraunces.ttf");
}
@font-face {
    font-family: "Fraunces";
    src: url("fonts/fraunces-italic.ttf");
    font-style: italic;
}

/* Icon */

#icon-wrapper {
    display: flex;
    justify-content: center;
    /* These are needed, or else icon2 may overflow messily on narrow screens.*/
    overflow: hidden;
    position: relative;
}
#icon-wrapper img {
    margin: 0;
    width: 250px;
}
#icon2 {
    position: absolute;
    animation: btr-rotate 8s infinite linear;
}
#icon3 {
    position: absolute;
}
@keyframes btr-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


body {
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 30pt;
    font-family: "Tartufo";
    text-align: center;
    font-weight: 300;
    margin: 10px 0;
}
#logo {
    cursor: default;
}
h2 {
    font-size: 24pt;
    font-family: "Fraunces";
    font-weight: 100;
    margin: 0px 50px;
}
p {
    font-family: "Fraunces";
    font-size: 18px;
    font-weight: 40;
}
p.link {
    font-size: 24pt;
    font-family: "Fraunces";
    font-weight: 100;
    margin: 15px auto;
    text-align: center;
}
p.link a {
    color: black;
}
p:hover i {
    font-style: normal;
    font-weight: 100;
}
a {
    text-decoration: none;
    color: rgb(50, 142, 222);
}
a:hover {
    font-style: italic;
}
#vertical-padder {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Latter is preferred for mobile but has limited support.*/
    min-height: calc(100vh - 100px);
    min-height: calc(100dvh - 100px);
}

#header {
    height: 60px;
    margin: 0;
    padding: 20px 0 0 20px;
    position: relative;
}
#header a {
    color: black;
    font-family: "Tartufo";
    font-size: 24px;
}
#header a:hover {
    font-style: italic;
}

.footer {
    display: flex;
    flex-direction: row;
    /* These are needed, or else icon2 may overflow messily on narrow screens.*/
    overflow: hidden;
    position: relative;
}
.footer .flex-sub-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.footer img {
    width: 80px;
}
.footer p {
    font-size: 16px;
}

#home-nav {
    padding: 5vh;
}

#content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
    /* Limit width, and horitzontally center.*/
    max-width: 999px;
    margin: 0 auto;
    padding: 50px 0;
}


#manifesto {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    margin-bottom: 50px;
}
#manifesto p {
    margin-block-start: 20px;
    margin-block-end: 0;
    width: 85%;
    max-width: 800px;
    text-align: center;
}

#credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    margin-bottom: 50px;
}
#credits p {
    text-align: center;
    margin-block: 4px;
    width: 85%;
    max-width: 800px;
}
#credits p.spaced {
    margin-top: 30px;
}