
/* 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: 20px;
    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: 107px;
    
    grid-row: 2 / 3;
    grid-column: 1 / 4;
   
}

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

nav ul li {
    width: 100%;
    
}

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

/* misc */

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


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

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


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

}

h1 span {
    font-size: 39pt;
    
}


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

    

}

#works div a:hover {
    filter: drop-shadow(16px 20px 20px grey);
    transition: 2s;
    transition-timing-function: ease-in;
    transition-timing-function: ease-out;
}

#works div {
    padding: 50px;
   
}


#me img {
    z-index: +1;
    background-color: grey;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 50px;
    padding-top: 50px;
    border-radius: 25px;
}

figure {
    width: 400px;
    height: auto;
    padding-right: 60px;
    padding-top: 8px;
}

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

}

#gallery {
    display: flex;
    flex-flow: row nowrap;
    background-color: lightgrey;
    border-bottom-left-radius: 25pt;
    border-bottom-right-radius: 25pt;
    opacity: 70%;
}

/* classes */

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

.center  {
    text-align: center;
    padding:10px;
}

.center a {
    text-decoration: none;
    color: black
}

.center a:hover {
    text-decoration-line: underline;
    transition: 1s;
    transition-timing-function: ease-in;
    transition-timing-function: ease-out;
}


.text {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    color: black;
    justify-content: center;
    text-align: center;
    padding: 50px;
    padding-right: 75px;
}

.text a {
    text-decoration: none;
    color: black;

}

.text a:hover {
    
    text-decoration-line: underline;
    color: black;
    transition: 1s;
    transition-timing-function: ease-in;
    transition-timing-function: ease-out;
}





/* 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;
        
        
    }

    section {
        display: none;
    }
    
}





@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;
        
        
    }

    section {
        display: none;
    }

}















