* {
    box-sizing:border-box;
}
#wrapper {
    max-width: 992px;
    margin: 0 auto;
    display:grid;
    grid-auto-rows: minmax(0px, auto);
	grid-template-columns: minmax(0px, 1fr) repeat(6,minmax(0, 160px)) minmax(0px, 1fr);
}
#pinkbar {
    background-color: #ec3f96;
    grid-row:1/2;
    grid-column:1/-1;
}
#keyboardhero {
    height: 570px;
    background-image: url(images/keyboardhero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	align-content: center;
    border: 2px solid;
    border-radius: 25px;
}
#logo {
    display: flex;
    justify-content: center;
    align-content: center;
}
#lifehero {
    background-image: url(images/lifehero.jpg);
    width: 305px;
    height: 203px;
    float: right;
    grid-column: 6 / 7;
    grid-row: 5;
    object-fit: contain;
    background-size: cover;
}
#neshero {
    background-image: url(images/neshero.jpg);
    width: 230px;
    height: 345px;
    float: left;
    object-fit: contain;
    background-size: cover;
}
header {
    border-radius: 25px;
    grid-row: 1/2;
    grid-column: 2/-2;
}
header h1 {
    text-decoration-style: solid;
    text-decoration: none;
    color: #33CC00;
    font-family: Georgia;
    padding-left: 50px;
}
nav {
    background-color: #ec3f96;
    display: block;
    font-weight: bold;
    text-decoration: none;
    list-style-type: none;
    padding-right: 50px;
    padding-bottom: 50px;
    grid-row: 2 / 3;
    grid-column: 6 / 8;
}
ul {
    display: flex;
    padding: 0;
    margin: 0;
}
li {
    text-decoration-style: unset;
    display: inline-flex;
    text-align: right;
    font-size: 25px;
    background-color: #222222;
    border-radius: 5px;
    padding-top: 0.1rem;
    padding-right: 0.5rem;
    padding-bottom: 0.1rem;
    padding-left: 0.5rem;
}
header nav a {
    color: #33CC00;
    padding: 8px;
    text-align: right;
}
main {
    background-color: #D3D3D3;
    display: block;
    margin-left: 105px;
    margin-right: 105px;
    grid-row: 3 / 4;
    grid-column: 1 / -1;
}
main h2 {
    color: #ec3f96;
    text-align: center;
    font-family: Courier;
}
i {
    opacity: 65%;
}
h3 {
    color:#ec3f96;
    font-family: Georgia;
}
p {
    color:#000000;
    font-family: Verdana;
	font-size: 20px;
}
#section1 {
    display: block;
    margin-right: 305px;
    margin-left: 105px;
}
#section2 {
    display: block;
    margin-left: 230px;
    margin-right: 105px;
    padding-left: 15px;
}
footer {
    background-color:#33CC00;
    border-radius: 50px;
    text-align: center;
    height: 50px;
    grid-row: 5 / 6;
    grid-column: 1 / -1;
}
footer div {
    padding-top: 15px;
    font-family: Georgia;
    font-size: 25px;
}

@media only screen and (max-width: 992px) {
    #lifehero {
        border: 0.5em;
    }
    #neshero {
        border: 0.5em;
    }
    #section1 {
        padding: 0.5em;
        margin: 1rem;
        text-align: justify;
    }
    #section2 {
        padding: 0.5em;
        margin: 1rem;
        text-align: justify;
    }
}

@media only screen and (max-width: 768px) {
    #wrapper {
        width:100% !important;
        max-width:100%;
        margin: 0;
        margin-left: none;
        margin-right: none;
    }
    #keyboardhero {
        height: 300px;
    }
    #lifehero {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #neshero {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #section1 {
        margin-left: auto;
        margin-right: auto;
    }
    #section2 {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
    }
}