/* CSS Document */


*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background-color: #2B627D;
    font-size: 100%;
    line-height: 20px;
}

h1, h2, p, a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
}

a {
    text-decoration: none;
}

main {
    background-image: url("images/background-working.png");
    padding-top: 60px;
    padding-bottom: 60px;
}

header {
    background: url("images/dog-white.png") no-repeat #362f2f;
    background-position: left 30px top 30px ;
    position: relative;
    height: 125px;
    margin-top: 50px;
}

h1 {
    color: white;
    font-size: 2em;
    position: relative;
    right: -125px;
    top: 40px;
}
    
.top {
    margin-top: 30px;
}

.top h2 {
    font-size: 3em;
    font-weight: 300;
    text-align: center;
}

.top ul {
    display: flex;
    gap: 100px;
    justify-content: center;
    margin-top: 50px
}

hr {
    width: 60%;
    margin-top: 35px;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
    background-color: black;
    border: none;
}

.middle {
    margin-top: 50px;
}

.middle h2 {
    font-size: 3em;
    font-weight: 300;
    text-align: center;
} 

.assignments {
    margin-top: 35px;
    
}

.assignments ul li {
    padding-bottom: 10px;
    margin: auto;
    text-align: center;
}


footer {
    background-color: #362F2F;
    height: 170px
}


#end a {
    color: white;
    display: block; 
    padding-top: 35px;
    text-align: center;
}

@media only screen and (min-width:  600px) {
    
    h1 {font-size: 2.5em;}
    .assignments {display: flex; flex-wrap: wrap; margin: auto; max-width: 550px; }
    .list {flex: 1 50%; padding-top: 40px; }
}


@media only screen and (min-width:  900px) {
    body {max-width: 1000px; margin: auto;}
    
    header { background: url("images/dog-white-lrg.png")right no-repeat #362f2f; background-position: right 50px top 15px ;
    }
    
    header {position: relative; height: 150px;
    }
    
    hr {width: 85%;}
    
    .assignments { flex-wrap: nowrap; justify-content: space-around; max-width: 800px;
    }
    
    h1 { font-size: 3.5em; 
        position: absolute;
        top: 60px;
        left: 50px
    }
    
    img {
        right: -850px;
    }
    
    footer {
        background: url("images/dog-white.png") repeat-x bottom #362f2f;
        height: 200px;
    }
        
    
}


