#wrapper {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,16fr) minmax(0,1fr);
    grid-template-rows: repeat(4, minmax(0,auto));
    background-color: white;
}
#mission {
    grid-column: 1/3;
    grid-row: 2/3;
    background-color: lightgrey;
    color: black;
}
#icons {
    grid-column: 1/2;
    grid-row: 3/4;
    width: 75%;
    display: flex;
    flex-flow: column;
}
#topleft {
    grid-column: 1/2;
    grid-row: 1/2;
}
#main_2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#flex_row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#flex_column {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
iframe {
    height: auto;
    width: auto;
}

#footer_3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
#main_3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
#non {
    position: static;
}
div#rightside {
    display: flex;
    padding-top: 40px;
    font-size: 25px;
    font-weight: bold;

}
div.gallery {
    margin: 5px;
    border: 1px solid black;
    float: left;
    width: 300px;
}
div.gallery:hover {
    border: 1px solid #777;
}
div.gallery img {
    width: 100%;
    height: 300px;
}
div.desc {
    padding: 15px;
    text-align: center;
}
div h3 {
    text-align: center;
}
body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}
header {
    grid-column: 2/3;
    grid-row: 1/2;
    text-align: center;
}
nav {
    grid-row: 2/3;
    grid-column: 1/5;
    font-weight: bold;
    top: 0;
    background-color: lightgrey;
    position: sticky;
}
nav a {
    color: black;
    display: block;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    transition: background-color 0.5s ease-out;
}
.here {
    background-color: white;
}
#welcome {
    background-image: url(photos/pexels-pixabay-460295\(1\).jpg);
    background-repeat: no-repeat;
    background-position: 50% 60%;
    background-attachment: fixed;
    height: 500px;
    grid-row: 1/2;
    grid-column: 1/3;
    opacity: 0.4;
}
#welcome2 {
    background-image: url(photos/pexels-ketut-subiyanto-4473871\(1\).jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 500px;
    grid-row: 3/4;
    grid-column: 1/3;
    opacity: 0.4;
}
.overwelcome {
    grid-row: 1/2;
    grid-column: 1/3;
}
.overwelcome2 {
    grid-row: 3/4;
    grid-column: 1/3;
}
input, textarea {
    height: 50px;
    padding: 5px;
    border: 2px solid;
    resize: vertical;
    margin-right: 10px;
    width: 97%;
    resize: vertical;
}
#sumbit:hover {
    background-color: lightpink;
}
#by3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.2fr 1fr;
}
nav ul {
    display: flex;
    flex-flow: row;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
nav ul li {
    width: 100%;
}
nav a:hover {
    background-color: white;
}
main {
    grid-column: 2/3;
    grid-row: 3/4;
}

table {
    background-color: lightgrey;
    border: 1px solid black;
}
table h2 {
    text-align: center;
}
.fa {
    object-fit: cover;
    padding-bottom: 175px;
}
.fa:hover {
    opacity: 0.5;
}
footer {
    grid-column: 1/5;
    grid-row: 4/5;
    background-color: lightgray;
}
#rightside {
    grid-column: 3/4;
    grid-row: 3/4;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}
.stick {
    top: 0;
    position: sticky;
}
.down1 {
    grid-column: 1/2;
    padding-top: 20px;
}
.down2 {
    grid-column: 2/3;
    padding-top: 20px;
}
.down3 {
    grid-column: 3/4;
}
.down1, .down2, .down3 {
    text-align: center;
}
.imgtpleft {
    object-fit: cover;
}
.middle {
    text-align: center;
}
img {
    display: block;
    width: 100%;
    object-fit: cover;
}
td img {
    height: 250px;
    height: 250px;
    object-fit: fill;
}
@media only screen and (max-width: 992px) {
    #wrapper {
        display: grid;
        grid-template-columns: auto minmax(0, 768px) auto;
    }
    nav {
        position: static;

    }
    nav ul {
        flex-flow: column;
    }
    main  {
        grid-column: 2/5;
    }
    header {
        grid-column: 2/5;
        grid-row: 1/2;
    }
    div#rightside {
        grid-column: 5/6;
        grid-row: 3/5;
    }
    div.overwelcome2 {
        font-size: 12px;
    }
@media only screen and (max-width: 768px) {
    #wrapper {
        display: grid;
        grid-template-columns: 1fr
    }
    div h3 {
        font-size: 10px;
    }
}
}
