@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Roboto+Condensed&family=Roboto+Mono&display=swap');

:root {
    --roboto: 'Roboto Condensed', sans-serif;
    --outfit: 'Outfit', sans-serif;
    --mono: 'Roboto Mono', monospace;
    --bg-1: white;
    --bg-2: rgba(0,0,0,0.2);
    --alt-bg-1: black;
    --fg-1: black;
    --padding: 1rem;
    --alt-fg-1: white;
    --menu-1: rgba(0,0,0,0.5);

    --drac-bg: #282a36;
    --drac-bg2: #44475a;
    --drac-fg: 	#f8f8f2;
    --drac-fg2: #6272a4;
    --drac-cyan: #8be9fd;
    --drac-green: #50fa7b;
    --drac-orange: #ffb86c;
    --drac-pink: #ff79c6;
    --drac-purple: #bd93f9;
    --drac-red: #ff5555;
    --drac-yellow: #f1fa8c;
    --gray: gray;
    --hl-bg: #f5f2f0;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    font-size: 16px;
    font-family: var(--outfit);
}

body {
    overflow-x: hidden;
    width: 100vw;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

small {
    font-size: 0.75rem;
    font-family: var(--mono);
    color: var(--gray);
}

nav {
    height: 50px;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: black;
    z-index: 1;
}


#hero {
    height: calc(100vh - 50px);
    width: 100vw;
    background-image: url(../img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-title {
    height: 33%;
    width: 33%;
    background-color: white;
    transform: translateX(-50%);
    padding: var(--padding);
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

#hero-title h1 {
    font-size: 3rem;
}

#hero-title p {
    font-family: var(--mono);
}

main {
    padding: 2rem 4rem;
}

#features {
    display: grid;
    column-gap: 1rem;
    width: 100%;
    grid-auto-columns: 1fr;
    /*grid-template-columns: repeat(3, minmax(0, 1fr));*/
    margin-bottom: 1rem;
    min-height: calc(200% + 1rem);
}

.card {
    min-height: 100px;
}

.card .card-title h3 {
    background-color: rebeccapurple;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
}

.card .card-body {
    padding: 1rem;
    border: 1px solid rebeccapurple;
    height: calc(100% - 3.5rem);
}

#feature-1 {
    grid-row: 1;
    grid-column: 1;
}


#feature-2 {
    grid-row: 1;
    grid-column: 2; 
}


#feature-3 {
    grid-row: 1;
    grid-column: 3; 
}

.news-item {
    margin-bottom: 1rem;
}

.news-item-title {
    background-color: rebeccapurple;
    padding: var(--padding);
    color: white;
}

.news-item-body {
    padding: var(--padding);
    border: 1px solid rebeccapurple;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

ul li:last-child {
    margin-bottom: 0;
}

li {
    margin-bottom: 0.5rem;
}

.code {
    background-color: var(--hl-bg);
    color: rebeccapurple;
    padding: 0 0.5rem;
    font: var(--mono);
}

.title {
    margin-bottom: 1rem;
}

.nav-spacer {
    height: 50px;
    width: 100%;
}