button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 110%;
}

button,
input,
select,
textarea {
    color: #5A5A5A;
    font: inherit;
    margin: 0;
}

input {
    line-height: normal;
}

textarea {
    overflow: auto;
}

#container {
    border: solid 3px #474544;
    max-width: 768px;
    margin: 60px auto;
    position: relative;
}

form {
    margin: 1rem;
}

input[type='text'],
[type='email'],
select {
    background: none;
    border: none;
    border-bottom: solid 1px #474544;
    color: #474544;
    font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

textarea {
    background: rgb(230, 230, 230);
    border: none;
    color: #474544;
    font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

input[type='text']:focus,
[type='email']:focus,
textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
}

textarea {
    line-height: 150%;
    height: 150px;
    resize: none;
    width: 100%;
}


/* Two-column layout to create two equal columns that float next to each other */

* {
    box-sizing: border-box;
}

.column {
    float: left;
    width: 50%;
}

/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Grid elements here */

.wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.grid-item-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

/* Background element on Home page */

.barblur {
    background: url(../images/home-bg.jpg);
    background-attachment: fixed;
    height: 426px;
    position: relative;
    overflow: hidden;
}

.barblur>header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: inherit;
    background-attachment: fixed;
    overflow: hidden;
}

.barblur>header::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 200%;
    height: 200%;
    background: inherit;
    background-attachment: fixed;
    -webkit-filter: blur(4px);
    filter: blur(4px);
}

.barblur>header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25)
}

.barblur>header>h1 {
    margin: 0;
    color: white;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    z-index: 1;
}

.barblur>header>h2 {
    margin: 0;
    color: white;
    position: relative;
    text-align: center;
    z-index: 1;
}

/* Manage images in blog posts */

img[src$='#center'] {
    display: block;
    margin: 0.9rem auto;
}

img[src$='#floatleft'] {
    float: left;
    margin: 0.9rem;
}

img[src$='#floatright'] {
    float: right;
    margin: 0.9rem;
}

