:root {
    --main-color: rgb(122, 13, 13);
    --accent-color: rgb(248, 210, 85);
    --nav-padding: 1.25rem;
}

html, body {
    font-size: 16px;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

@media (min-width: 1000px) {
    html, body {
        font-size: 18px;
    }
}

h1 {
    font-size: 3.05rem;
}

h2 {
    font-size: 2.44rem;
}

h3 {
    font-size: 1.95rem;
}

p {
    line-height: 1.618;
    opacity: 0.8;
}

body {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

nav {
    grid-column: 1 / -1;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    padding: var(--nav-padding);
    box-shadow: 3px 2px 5px rgba(0, 0, 0, 0.288);
}

a {
    text-decoration: none;
}

.container {
    grid-column: 1 / -1;
}

.intro {
    display: flex;
    flex-direction: column;
    width: 100%;

    color: white;

    background-image: url("bible3.webp");
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;

    height: 100vh;
}

main {
    flex: 1;
    display: grid;
    place-items: center;
    backdrop-filter: blur(2px);
}

.main-text {
    text-align: center;
}

.content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100vh;
}

.button {
    background-color: var(--main-color);
    padding: 0.75rem 1rem;
    color: white;
    font-weight: bold;
    border: none;
}

.button:hover {
    background-color: rgba(122, 13, 13, 0.8);
    cursor: pointer;
}

.content #search {
    grid-column: 1 / -1;

    padding: 1rem;
    font-size: 1.25rem;

    width: clamp(250px, 50%, 750px);
}

#search:focus {
    outline: 1px solid var(--main-color);
}

.item {
    grid-column: 1 / -1;
    text-align: center;
    /* Change the padding to only the top and bottom */
    padding-top: 2rem;
    padding-bottom: 2rem;
}