/*--------------------BASIC WEBPAGE SET UP------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: rgba(247, 241, 241, 0.904);
    color: rgb(0, 0, 0);
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.clearfix {zoom: 1}
.clearfix:after {
    content:'.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;

}

.row {
    max-width: 1140px;
    margin: 0 auto 0 auto;  
}

section {
    padding: 150px 0;
}

/*-------HEADINGS--------*/


h1,
h2 {  
    font-weight: 300;    
    word-spacing: px;
}

h1 {
    margin-top: 0;
    margin-bottom: 1%;
    color: white;
    font-size: 250%;
    letter-spacing: 1px;

}

h2 {
    color: black;
    font-size: 180%;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}


h2:after {
    display: block;
    height: 2px;
    background-color: black;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom:40px;

}

h3 {
    font-weight: bold;
    color: black;
    font-size: 120%;
    text-align: left;
    margin-bottom: 15px;
    white-space: nowrap;
    margin-top: 40px;
}


.button-header:hover,
.button-header:active,
input[type=submit] {
    margin: 3px;
    background-color: black;
    border: 1px white;
    color: black;
    border-radius:200px ;
    transition: background-color 0.2s;
}

.button-header:link,
.button-header:visited,
input[type=submit]  {
    margin: 3px;
    display: inline-block;
    padding: 10px 30px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    border-radius: 200px;
    border: 0.5px solid white;

}

/*-------------------------------NAV BAR-------------------------------------*/

.main-nav {
    float: right;
    list-style: none;
}

.main-nav li {
    
    display:inline-block;
    margin-top: 8px;
    margin-left: 20px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0px;
    color:rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 200;
    font-size: 100%;   
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid rgb(255, 255, 255);
}

/*------------------ STICKY NAV BAR------------------*/

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 33, 33, 0.856);
    z-index: 9999;
}

.sticky-nav .main-nav li {
    
    display:inline-block;
    margin-top: 25px;
    margin-left: 20px;
    margin-bottom: 25px;
}


.blog-images {
    display: block;
    position: relative;
    height: 380px;
    width: 285px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border: 1px solid grey;
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.blog-images:hover {
    transform: scale(1.03);
    transition: transform 0.5s, opacity 0.5s;


}