@import url("masterstyles.css");

@import url("print.css");

main{
    display: grid;
    grid-area: main;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas:
        "homecontainer";
    justify-content: flex-start;
    align-content: flex-start;
}

.homecontainer{
    display: grid;
    grid-area: homecontainer;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "headingbox"
        "homecontent";
    background-color: var(--clr-primary-600);
}

.headingbox{
    display: grid;
    grid-area: headingbox;
    background: #ccc;
    justify-content: center;
    align-content: center;
    padding: 18px 0;
}

.headingbox h1{
    font-family: var(--ff-secondary);
}

.homecontent{
    display: grid;
    grid-area: homecontent;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "textbox1"
        "textbox2";
    background-image: url(../images/home1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Resize the background image to cover the entire container */
}

.textbox1,
.textbox2{
    display: grid;
    background: #ccc;
    padding: 20px;
    margin: 40px;
    border: 1px solid #333;
    border-radius: 20px;
    justify-content: flex-start;
    align-content: flex-start;
    opacity: .75;
    font-size: 1.2em;
}

.textbox1{
    grid-area: textbox1;
}

.textbox1 p,
.textbox2 p{
    margin: 0;
    padding: 0;
    line-height: 24px;
}

.listbox{
    display: grid;
    justify-content: center;
    align-content: center;
    margin: 20px 0;
}

.textbox1 ol{
    display: grid;
    border:1px solid #ccc;
    list-style-type: upper-roman;
    width: 200px;
    padding: 18px 10px;
    justify-content: center;
    align-content: center;
}

.textbox1 li a{
    text-align: center;
}

.textbox2{
    grid-area: textbox2;
}

.textbox1 a,
.textbox2 a{
    color: var(--clr-primary-900);
    font-weight: bold;
}

@media only screen and (min-width: 800px) {
    
    
    
    footer{
        font-size: 1.2em;
    }


}/* close brace for desktop css */