@font-face {
    font-family: "Inter";
    src: url(fonts/inter-latin-ext-standard-normal.woff2)
}
/* Inter for titles */

@font-face {
    font-family: "Source Sans 3";
    src: url(fonts/source-sans-3-latin-wght-normal.woff2);
}
/* Source Sans 3 for body text */

    /* Main Code */
/* content and navigation */

body {
    margin: 0;
}

main {
    padding-left: 300px;
    padding-right: 300px;
    text-align: justify;
}

nav {
    position: fixed;
    background-color: #00cc00;
    padding: 20px 0 10px 300px;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}
nav a {
    color: white;
}

/* groups and IDs */

.main-content {
    padding-top: 100px;
}

.main-content img {
    width: 200px;
    height: auto;
    display: block;
	object-fit: cover;
	flex-shrink: 0;
}

.news-and-socials {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 150px;
}

.news {
    flex: 2;
}

.socials {
    flex: 1;
}

/* text */

h1,
h2,
h3 {
    font-family: "Inter", sans-serif;
}

a,
ul,
ol,
p {
    font-family: "Source Sans 3", sans-serif;
}

ol li,
ul li {
    margin-bottom: 5px;
}

h1 {
    font-size: 40px;
}
h2 {
    font-size: 30px;
}
h3 {
    font-size: 25px;
}
ol,
ul,
a,
p {
    font-size: 20px;
}

/* mobile support */

@media (max-width: 768px) {
    main {
        padding-left: 0px;
        padding-right: 0px;
        text-align: justify;
    }

    .news-and-socials {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}