home-background {

    background-image:url("https://robertgravesletters.org/images/RG.jpg"); 
    background-position:80% 20%;
    background-size:cover;
    box-sizing:border-box;
    display:grid;
    color:white;
    font-family:'Open Sans';
    grid-template-rows: auto 1fr auto;
    padding:1em 2em 1em 2em;
    height:100dvh;
}


/* HOME BRANDING **************************************************************/


home-branding {
    display:block;
    position:absolute;
    top:2em;
    left:2em;
}

home-branding h1 {
    font-size:2em;
    font-style:italic;
    margin:0;
    
}

home-branding h2 {
    font-size:0.94em;
    font-weight:100;
    margin-top:-0.25em;
}





/* HAMBURGER ******************************************************************/



home-header nav {
    column-gap:2em;
    display:flex;
    justify-content:end;
}


home-header nav hr {
    display:none;
    width:3em;
}


home-header nav a {
    color:white;
    text-decoration:none;
    border-bottom:1px dotted rgba(255,255,255,0);
}


home-header nav a:hover {
    border-bottom:1px dotted rgba(255,255,255,0.5);
}


home-header label {
    cursor: pointer;
    display:none;
    height:2em;
    position:fixed;
    right:2em;
    top:2em;
}


home-header input {
    display:none;

    
}

home-header span {
    background: white;
    border:none;
    display: block;
    height: 0.3em;
    position: relative;
    top:0.85em;
    width: 2.1em;
}


home-header span::before, home-header span::after{
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .25s ease-out;
    width: 100%;
}


home-header span::before {
    top: 0.7em;
}


home-header span::after {
    top: -0.7em;
}


home-header input:checked ~ label span::before { 
    transform: rotate(-45deg); top:0;
} 


home-header input:checked ~ label span::after { 
    transform: rotate(45deg); top:0;
} 


home-header input:checked ~ label span { 
    background: transparent; 
}


home-header input:checked ~ nav {
    column-gap:2em;
    display:flex;
    justify-content:end;
}






/* HOME MAIN ************************************************************8****/


home-main {
    align-items:center;    
    display:grid;
    grid-template-columns:2fr auto 1fr;
}


home-main p {
    font-size:1.2em;
    max-width:500px;
    text-align:justify;
}


home-main nav {
    display:flex;
    gap:1em;
    justify-content:center;
}

home-main nav a {
    border:1px solid rgba(255,255,255,0.5);
    color:white;
    padding:1em;
    text-decoration:none;
}


home-main nav a:hover {
    border:1px dotted rgba(255,255,255,0.5);
}



/*** FOOTER *******************************************************************/

home-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

home-footer nav {
    display:flex;
    gap:2em;
}


home-footer nav a {
    padding:0.5em;
    border:1px dotted rgba(255,255,255,0);
}

home-footer nav a:hover {
    border:1px dotted rgba(255,255,255,0.5);
}


home-footer img {
    height:3em;
    
}


/*******************************************************************************/

@media only screen and (max-width:900px) {home-background{font-size:0.975em;}}
@media only screen and (max-width:875px) {home-background{font-size:0.950em;}}
@media only screen and (max-width:850px) {home-background{font-size:0.925em;}}
@media only screen and (max-width:825px) {home-background{font-size:0.900em;}}
@media only screen and (max-width:800px) {home-background{font-size:0.875em;}}
@media only screen and (max-width:775px) {home-background{font-size:0.850em;}}



@media only screen and (max-width:750px) {
    
    
home-header input:checked ~ nav {
    align-items:center;
    background-color:rgba(255,0,0,0);
    display:grid;
    gap:0;    
    grid-template-rows:auto;
    justify-items:center;
    justify-content:center;
    margin-top:6em;
    margin-bottom:2em;
    width:100%;
}    
    
    
    
home-background {
    font-size:0.825em;
}    
    
home-header {
    font-size:1.1em;
}

home-main {
    font-size:0.9em;
    padding:0 2em 0 2em;
}
    
home-header label {
    display:block;
}

home-branding {
    top:1.25em;
    font-size:0.9em;
}


home-header  nav {
    display:none;
}

home-header nav hr {
    display:block;
}

 
}














