
/* big dawgs */

body {
    background-image: 
    url("back/milestone2_background2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    
    
}

main {
    grid-row: 2 / 3;
    grid-column: 1 / 4;
    padding-top: 200px;
    padding-left: 100px;
    padding-right: 100px;
    align-content: center;
}

footer {
    color: black;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;

    
}

#wrapper {
    display:grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 300px) repeat(2, minmax(0, 992px)) minmax(0px, 300px);

}


/* headers */

h1{
    color:#000;
    align-content: center;
    text-align: center;
    font-size: 50pt;
    font-family: 'Josefin Sans', sans-serif;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color:lightgray;
    opacity: 70%;
   
}

h2 {
    color:#000;
    text-align: left;
    font-size: 40pt;
    font-family: 'Josefin Sans', sans-serif;
    padding-bottom: 10px;
}

/* navigation */

nav{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20pt;
    text-align: center;
    background: grey;
    opacity: 90%;
    position: sticky;
    width: 100%;
    color: white; 
    height: 100px;
    grid-row: 2 / 3;
    grid-column: 1 / 4;
   
}

nav ul {
    list-style-type: none;
    text-align: center;
    padding-top: 40px;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
    
}

nav a:hover{
    background-color: white;
    color: black;
    border-radius: 15px;
  
}

/* misc */

p  {
    font-family: 'Josefin Sans', sans-serif;
    text-align: left;
}


#type {
    font-size: 1.5rem;
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    opacity: 70%;
    
}

#type1 {
    background-color: white;
    padding: 75px;
    border-radius: 50px;
    font-size: 1.5rem;
    height: fit-content;
    width: 1000px;
    grid-column: 1 / 1;
}


a{
    text-decoration: none;
    padding: 40px 40px;
    text-align: center;
    color: white;

}

#works {
    display: flex;
    justify-content: center;
    flex-wrap: row nowrap;
    height: fit-content;
    width: auto;
    border-radius: 25px;
    background-color: white;
    margin: auto;

}

#works div {
    padding: 50px;
   
}

#me img {
    z-index: +1;
    background-color: grey;
    padding: 50px;
    border-radius: 15px;
      
}

figure {
    width: 400px;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;

}



/* classes */

.left { float: left; }
.right { float: right; }
.clearleft { clear: left; }
.clearright { clear: right; }
.clear { clear: both; }
.responsive {
    max-width: 100%;
    height: auto;
}

/* queries */

@media only screen and (max-width: 992px) {
    

    body {
        background-image: none;
        background-color: lightgray;
        
    }

    main {
        padding: 50px;
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 50px;
        
    }

    nav {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        height: 465px;
        width: auto;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    nav a:hover {
        padding-bottom: 15px;
        padding-top: 15px;
        background-color: white;

    }

    nav ul li{
        padding: 25px;
        padding-left: 10px;
        margin: auto;
        width: 50%;
        height: auto;
        
    }

    h2 {
        font-size: 30pt;
        text-align: center;
        padding-top: 100px;

    }

    h1 {
        font-size: 40pt;
        
        text-align: center;
        padding: 50px;
        
    }

    #type1 {
        margin: auto;
        width: auto;
        height: fit-content;
        padding: 20px;
        float: left;
        text-align: center;
        justify-content: center;
        border-radius: 30px;
        font-size: 1rem;

    }

    #type {
        font-size: 1rem;
    
    }

    img {
        height: 300px;
        width: 300px;
    
    }

    #works {
        flex-flow: column nowrap;
        justify-content: center;
        height: fit-content;
        padding-left: 20px;
        padding-right:20px;
        width: auto;
        height: auto;
    }

        
    
    #me img{
        height: auto;
        width: auto;
        border-radius: 30px;
        
    }


    figure {
        align-items: center;
        width: 80%;
        height: auto;
        
        
    }
    
}





@media only screen and (max-width: 786px) {

    body {
        background-image: none;
        background-color: lightgray;
        
    }

    main {
        padding: 50px;
    }

    nav {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        height: 465px;
        width: auto;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    nav a:hover {
        padding-bottom: 15px;
        padding-top: 15px;
        background-color: white;

    }

    nav ul li{
        padding: 25px;
        padding-left: 10px;
        margin: auto;
        width: 50%;
        height: auto;
        
    }

    h2 {
        font-size: 25pt;
        text-align: center;
        padding-top: 100px;
    }

    h1 {
        font-size: 30pt;
        text-align: center;
        padding: 50px;
    }

    #type1 {
        margin: auto;
        width: auto;
        height: fit-content;
        padding: 20px;
        float: left;
        text-align: center;
        justify-content: center;
        border-radius: 30px;
        font-size: 1rem;
    }

    #type {
        font-size: 1rem;
    }



    img {
        height: 250px;
        width: 300px;
    
    }

    #works {
        flex-flow: column nowrap;
        justify-content: center;
        height: fit-content;
        
        width: auto;
        height: auto;
    }

        
    
    #me img{
        height: auto;
        width: auto;
        border-radius: 20px;
        
    }


    figure {
        display: flex;
        flex-flow: column nowrap;
        float: none;
        width: 80%;
        height: auto;
        
        
    }

}















