body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
}

header {
    z-index: 2;
    position: fixed;
    top: 0;
    background-color: rgba(39, 41, 15, 0.7);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

header div {
    width: 50vw;
}

header a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
}

header a:hover{
    color: #4a9b44;
    text-decoration: underline;
}

.header_container{
    display: flex;
    justify-content: space-between;
    width: 50vw;
}

#header_logo {
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
}

#main_background {
    z-index: -1;
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    max-height: 100vh;
}

#background {
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 80%, rgba(255, 255, 255, 1)), url("../images/pexels-zhang-kaiyv-1083515.jpg");
    background-size: cover;
    top: 0%;
    left: 0%;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    color: #ffffff;
}

#background div, #background h1 {
    color: #fff;
    text-align: center;
}

#main_text {
    border-radius: 0.75rem;
    background-color:rgb(15, 41, 15);
    color: #ffffff;
    max-width: 50%;
    text-align: center;
    padding: 1rem 0.25rem;
}

.main_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: rgb(228, 228, 228);
}


.main_div img {
    width: 15rem;
    height: 8rem;
    border-radius: 0.75rem;
}

.main_div div {
    text-align:center;
}

.main_div>div>a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

.main_div>div>a:hover {
    text-decoration: underline;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0;
    background-color: rgba(39, 41, 15, 1);
    font-size: 1rem;
    color:#4a9b44;
}

main {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0;
}

@media screen and (min-width: 750px) {
    #main_text_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 1rem 0.25rem 0 0.25rem;
    }
    #bottom_row_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 0.25rem 1rem 0.25rem;
    }
}


@media screen and (min-width: 1040px) {
    #main_text_container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        padding: 1rem 0.25rem 0 0.25rem;
    }
}

@media screen and (max-height: 600px){
    #header_logo {
        font-size: 1rem;
    }

    header a {
        font-size: 1rem;
    }
}
